Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: appengine/swarming/ui/build/elements.html

Issue 2704563006: Remove all tasks from task-list-summary (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | appengine/swarming/ui/res/imp/tasklist/task-list-summary.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html><head><meta charset="UTF-8"> </head><body><div hidden="" by -vulcanize=""><script>!function(){function e(){document.body.removeAttribute("un resolved")}window.WebComponents?addEventListener("WebComponentsReady",e):"intera ctive"===document.readyState||"complete"===document.readyState?e():addEventListe ner("DOMContentLoaded",e)}(),window.Polymer={Settings:function(){var e=window.Po lymer||{};if(!e.noUrlSettings)for(var t,r=location.search.slice(1).split("&"),i= 0;i<r.length&&(t=r[i]);i++)t=t.split("="),t[0]&&(e[t[0]]=t[1]||!0);return e.want Shadow="shadow"===e.dom,e.hasShadow=Boolean(Element.prototype.createShadowRoot), e.nativeShadow=e.hasShadow&&!window.ShadowDOMPolyfill,e.useShadow=e.wantShadow&& e.hasShadow,e.hasNativeImports=Boolean("import"in document.createElement("link") ),e.useNativeImports=e.hasNativeImports,e.useNativeCustomElements=!window.Custom Elements||window.CustomElements.useNative,e.useNativeShadow=e.useShadow&&e.nativ eShadow,e.usePolyfillProto=!e.useNativeCustomElements&&!Object.__proto__,e.hasNa tiveCSSProperties=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS .supports&&CSS.supports("box-shadow","0 0 0 var(--foo)"),e.useNativeCSSPropertie s=e.hasNativeCSSProperties&&e.lazyRegister&&e.useNativeCSSProperties,e}()},funct ion(){var e=window.Polymer;window.Polymer=function(e){"function"==typeof e&&(e=e .prototype),e||(e={});var r=t(e);e=r.prototype;var i={prototype:e};return e.exte nds&&(i.extends=e.extends),Polymer.telemetry._registrate(e),document.registerEle ment(e.is,i),r};var t=function(e){var t=Polymer.Base;return e.extends&&(t=Polyme r.Base._getExtendedPrototype(e.extends)),e=Polymer.Base.chainObject(e,t),e.regis terCallback(),e.constructor};if(e)for(var r in e)Polymer[r]=e[r];Polymer.Class=t }(),Polymer.telemetry={registrations:[],_regLog:function(e){console.log("["+e.is +"]: registered")},_registrate:function(e){this.registrations.push(e),Polymer.lo g&&this._regLog(e)},dumpRegistrations:function(){this.registrations.forEach(this ._regLog)}},Object.defineProperty(window,"currentImport",{enumerable:!0,configur able:!0,get:function(){return(document._currentScript||document.currentScript).o wnerDocument}}),Polymer.RenderStatus={_ready:!1,_callbacks:[],whenReady:function (e){this._ready?e():this._callbacks.push(e)},_makeReady:function(){this._ready=! 0;for(var e=0;e<this._callbacks.length;e++)this._callbacks[e]();this._callbacks= []},_catchFirstRender:function(){requestAnimationFrame(function(){Polymer.Render Status._makeReady()})},_afterNextRenderQueue:[],_waitingNextRender:!1,afterNextR ender:function(e,t,r){this._watchNextRender(),this._afterNextRenderQueue.push([e ,t,r])},hasRendered:function(){return this._ready},_watchNextRender:function(){i f(!this._waitingNextRender){this._waitingNextRender=!0;var e=function(){Polymer. RenderStatus._flushNextRender()};this._ready?requestAnimationFrame(e):this.whenR eady(e)}},_flushNextRender:function(){var e=this;setTimeout(function(){e._flushR enderCallbacks(e._afterNextRenderQueue),e._afterNextRenderQueue=[],e._waitingNex tRender=!1})},_flushRenderCallbacks:function(e){for(var t,r=0;r<e.length;r++)t=e [r],t[1].apply(t[0],t[2]||Polymer.nar)}},window.HTMLImports?HTMLImports.whenRead y(function(){Polymer.RenderStatus._catchFirstRender()}):Polymer.RenderStatus._ca tchFirstRender(),Polymer.ImportStatus=Polymer.RenderStatus,Polymer.ImportStatus. whenLoaded=Polymer.ImportStatus.whenReady,function(){"use strict";var e=Polymer. Settings;Polymer.Base={__isPolymerInstance__:!0,_addFeature:function(e){this.ext end(this,e)},registerCallback:function(){"max"===e.lazyRegister?this.beforeRegis ter&&this.beforeRegister():(this._desugarBehaviors(),this._doBehavior("beforeReg ister")),this._registerFeatures(),e.lazyRegister||this.ensureRegisterFinished()} ,createdCallback:function(){this.__hasRegisterFinished||this._ensureRegisterFini shed(this.__proto__),Polymer.telemetry.instanceCount++,this.root=this,this._doBe havior("created"),this._initFeatures()},ensureRegisterFinished:function(){this._ ensureRegisterFinished(this)},_ensureRegisterFinished:function(t){t.__hasRegiste rFinished===t.is&&t.is||("max"===e.lazyRegister&&(t._desugarBehaviors(),t._doBeh aviorOnly("beforeRegister")),t.__hasRegisterFinished=t.is,t._finishRegisterFeatu res&&t._finishRegisterFeatures(),t._doBehavior("registered"),e.usePolyfillProto& &t!==this&&t.extend(this,t))},attachedCallback:function(){var e=this;Polymer.Ren derStatus.whenReady(function(){e.isAttached=!0,e._doBehavior("attached")})},deta chedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.i sAttached=!1,e._doBehavior("detached")})},attributeChangedCallback:function(e,t, r){this._attributeChangedImpl(e),this._doBehavior("attributeChanged",[e,t,r])},_ attributeChangedImpl:function(e){this._setAttributeToProperty(this,e)},extend:fu nction(e,t){if(e&&t)for(var r,i=Object.getOwnPropertyNames(t),o=0;o<i.length&&(r =i[o]);o++)this.copyOwnProperty(r,t,e);return e||t},mixin:function(e,t){for(var r in t)e[r]=t[r];return e},copyOwnProperty:function(e,t,r){var i=Object.getOwnPr opertyDescriptor(t,e);i&&Object.defineProperty(r,e,i)},_logger:function(e,t){swi tch(1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"err or":console[e].apply(console,t)}},_log:function(){var e=Array.prototype.slice.ca ll(arguments,0);this._logger("log",e)},_warn:function(){var e=Array.prototype.sl ice.call(arguments,0);this._logger("warn",e)},_error:function(){var e=Array.prot otype.slice.call(arguments,0);this._logger("error",e)},_logf:function(){return t his._logPrefix.concat(this.is).concat(Array.prototype.slice.call(arguments,0))}} ,Polymer.Base._logPrefix=function(){var e=window.chrome&&!/edge/i.test(navigator .userAgent)||/firefox/i.test(navigator.userAgent);return e?["%c[%s::%s]:","font- weight: bold; background-color:#EEEE00;"]:["[%s::%s]:"]}(),Polymer.Base.chainObj ect=function(e,t){return e&&t&&e!==t&&(Object.__proto__||(e=Polymer.Base.extend( Object.create(t),e)),e.__proto__=t),e},Polymer.Base=Polymer.Base.chainObject(Pol ymer.Base,HTMLElement.prototype),window.CustomElements?Polymer.instanceof=Custom Elements.instanceof:Polymer.instanceof=function(e,t){return e instanceof t},Poly mer.isInstance=function(e){return Boolean(e&&e.__isPolymerInstance__)},Polymer.t elemetry.instanceCount=0}(),function(){function e(){if(s)for(var e,t=document._c urrentScript||document.currentScript,r=t&&t.ownerDocument||document,i=r.querySel ectorAll("dom-module"),o=i.length-1;o>=0&&(e=i[o]);o--){if(e.__upgraded__)return ;CustomElements.upgrade(e)}}var t={},r={},i=function(e){return t[e]||r[e.toLower Case()]},o=function(){return document.createElement("dom-module")};o.prototype=O bject.create(HTMLElement.prototype),Polymer.Base.extend(o.prototype,{constructor :o,createdCallback:function(){this.register()},register:function(e){e=e||this.id ||this.getAttribute("name")||this.getAttribute("is"),e&&(this.id=e,t[e]=this,r[e .toLowerCase()]=this)},import:function(t,r){if(t){var o=i(t);return o||(e(),o=i( t)),o&&r&&(o=o.querySelector(r)),o}}});var s=window.CustomElements&&!CustomEleme nts.useNative;document.registerElement("dom-module",o)}(),Polymer.Base._addFeatu re({_prepIs:function(){if(!this.is){var e=(document._currentScript||document.cur rentScript).parentNode;if("dom-module"===e.localName){var t=e.id||e.getAttribute ("name")||e.getAttribute("is");this.is=t}}this.is&&(this.is=this.is.toLowerCase( ))}}),Polymer.Base._addFeature({behaviors:[],_desugarBehaviors:function(){this.b ehaviors.length&&(this.behaviors=this._desugarSomeBehaviors(this.behaviors))},_d esugarSomeBehaviors:function(e){var t=[];e=this._flattenBehaviorsList(e);for(var r=e.length-1;r>=0;r--){var i=e[r];t.indexOf(i)===-1&&(this._mixinBehavior(i),t. unshift(i))}return t},_flattenBehaviorsList:function(e){for(var t=[],r=0;r<e.len gth;r++){var i=e[r];i instanceof Array?t=t.concat(this._flattenBehaviorsList(i)) :i?t.push(i):this._warn(this._logf("_flattenBehaviorsList","behavior is null, ch eck for missing or 404 import"))}return t},_mixinBehavior:function(e){for(var t, r=Object.getOwnPropertyNames(e),i=0;i<r.length&&(t=r[i]);i++)Polymer.Base._behav iorProperties[t]||this.hasOwnProperty(t)||this.copyOwnProperty(t,e,this)},_prepB ehaviors:function(){this._prepFlattenedBehaviors(this.behaviors)},_prepFlattened Behaviors:function(e){for(var t=0,r=e.length;t<r;t++)this._prepBehavior(e[t]);th is._prepBehavior(this)},_doBehavior:function(e,t){for(var r=0;r<this.behaviors.l ength;r++)this._invokeBehavior(this.behaviors[r],e,t);this._invokeBehavior(this, e,t)},_doBehaviorOnly:function(e,t){for(var r=0;r<this.behaviors.length;r++)this ._invokeBehavior(this.behaviors[r],e,t)},_invokeBehavior:function(e,t,r){var i=e [t];i&&i.apply(this,r||Polymer.nar)},_marshalBehaviors:function(){for(var e=0;e< this.behaviors.length;e++)this._marshalBehavior(this.behaviors[e]);this._marshal Behavior(this)}}),Polymer.Base._behaviorProperties={hostAttributes:!0,beforeRegi ster:!0,registered:!0,properties:!0,observers:!0,listeners:!0,created:!0,attache d:!0,detached:!0,attributeChanged:!0,ready:!0},Polymer.Base._addFeature({_getExt endedPrototype:function(e){return this._getExtendedNativePrototype(e)},_nativePr ototypes:{},_getExtendedNativePrototype:function(e){var t=this._nativePrototypes [e];if(!t){var r=this.getNativePrototype(e);t=this.extend(Object.create(r),Polym er.Base),this._nativePrototypes[e]=t}return t},getNativePrototype:function(e){re turn Object.getPrototypeOf(document.createElement(e))}}),Polymer.Base._addFeatur e({_prepConstructor:function(){this._factoryArgs=this.extends?[this.extends,this .is]:[this.is];var e=function(){return this._factory(arguments)};this.hasOwnProp erty("extends")&&(e.extends=this.extends),Object.defineProperty(this,"constructo r",{value:e,writable:!0,configurable:!0}),e.prototype=this},_factory:function(e) {var t=document.createElement.apply(document,this._factoryArgs);return this.fact oryImpl&&this.factoryImpl.apply(t,e),t}}),Polymer.nob=Object.create(null),Polyme r.Base._addFeature({properties:{},getPropertyInfo:function(e){var t=this._getPro pertyInfo(e,this.properties);if(!t)for(var r=0;r<this.behaviors.length;r++)if(t= this._getPropertyInfo(e,this.behaviors[r].properties))return t;return t||Polymer .nob},_getPropertyInfo:function(e,t){var r=t&&t[e];return"function"==typeof r&&( r=t[e]={type:r}),r&&(r.defined=!0),r},_prepPropertyInfo:function(){this._propert yInfo={};for(var e=0;e<this.behaviors.length;e++)this._addPropertyInfo(this._pro pertyInfo,this.behaviors[e].properties);this._addPropertyInfo(this._propertyInfo ,this.properties),this._addPropertyInfo(this._propertyInfo,this._propertyEffects )},_addPropertyInfo:function(e,t){if(t){var r,i;for(var o in t)r=e[o],i=t[o],("_ "!==o[0]||i.readOnly)&&(e[o]?(r.type||(r.type=i.type),r.readOnly||(r.readOnly=i. readOnly)):e[o]={type:"function"==typeof i?i:i.type,readOnly:i.readOnly,attribut e:Polymer.CaseMap.camelToDashCase(o)})}}}),Polymer.CaseMap={_caseMap:{},_rx:{das hToCamel:/-[a-z]/g,camelToDash:/([A-Z])/g},dashToCamelCase:function(e){return th is._caseMap[e]||(this._caseMap[e]=e.indexOf("-")<0?e:e.replace(this._rx.dashToCa mel,function(e){return e[1].toUpperCase()}))},camelToDashCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.replace(this._rx.camelToDash,"-$1").toLow erCase())}},Polymer.Base._addFeature({_addHostAttributes:function(e){this._aggre gatedAttributes||(this._aggregatedAttributes={}),e&&this.mixin(this._aggregatedA ttributes,e)},_marshalHostAttributes:function(){this._aggregatedAttributes&&this ._applyAttributes(this,this._aggregatedAttributes)},_applyAttributes:function(e, t){for(var r in t)if(!this.hasAttribute(r)&&"class"!==r){var i=t[r];this.seriali zeValueToAttribute(i,r,this)}},_marshalAttributes:function(){this._takeAttribute sToModel(this)},_takeAttributesToModel:function(e){if(this.hasAttributes())for(v ar t in this._propertyInfo){var r=this._propertyInfo[t];this.hasAttribute(r.attr ibute)&&this._setAttributeToProperty(e,r.attribute,t,r)}},_setAttributeToPropert y:function(e,t,r,i){if(!this._serializing&&(r=r||Polymer.CaseMap.dashToCamelCase (t),i=i||this._propertyInfo&&this._propertyInfo[r],i&&!i.readOnly)){var o=this.g etAttribute(t);e[r]=this.deserialize(o,i.type)}},_serializing:!1,reflectProperty ToAttribute:function(e,t,r){this._serializing=!0,r=void 0===r?this[e]:r,this.ser ializeValueToAttribute(r,t||Polymer.CaseMap.camelToDashCase(e)),this._serializin g=!1},serializeValueToAttribute:function(e,t,r){var i=this.serialize(e);r=r||thi s,void 0===i?r.removeAttribute(t):r.setAttribute(t,i)},deserialize:function(e,t) {switch(t){case Number:e=Number(e);break;case Boolean:e=null!=e;break;case Objec t:try{e=JSON.parse(e)}catch(e){}break;case Array:try{e=JSON.parse(e)}catch(t){e= null,console.warn("Polymer::Attributes: couldn`t decode Array as JSON")}break;ca se Date:e=new Date(e);break;case String:}return e},serialize:function(e){switch( typeof e){case"boolean":return e?"":void 0;case"object":if(e instanceof Date)ret urn e.toString();if(e)try{return JSON.stringify(e)}catch(e){return""}default:ret urn null!=e?e:void 0}}}),Polymer.version="1.7.0",Polymer.Base._addFeature({_regi sterFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstruct or(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes (e.hostAttributes)},_marshalBehavior:function(e){},_initFeatures:function(){this ._marshalHostAttributes(),this._marshalBehaviors()}})</script> <script>Polymer.B ase._addFeature({_prepTemplate:function(){void 0===this._template&&(this._templa te=Polymer.DomModule.import(this.is,"template")),this._template&&this._template. hasAttribute("is")&&this._warn(this._logf("_prepTemplate","top-level Polymer tem plate must not be a type-extension, found",this._template,"Move inside simple <t emplate>.")),this._template&&!this._template.content&&window.HTMLTemplateElement &&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(this._template)},_s tampTemplate:function(){this._template&&(this.root=this.instanceTemplate(this._t emplate))},instanceTemplate:function(e){var t=document.importNode(e._content||e. content,!0);return t}}),function(){var e=Polymer.Base.attachedCallback;Polymer.B ase._addFeature({_hostStack:[],ready:function(){},_registerHost:function(e){this .dataHost=e=e||Polymer.Base._hostStack[Polymer.Base._hostStack.length-1],e&&e._c lients&&e._clients.push(this),this._clients=null,this._clientsReadied=!1},_begin Hosting:function(){Polymer.Base._hostStack.push(this),this._clients||(this._clie nts=[])},_endHosting:function(){Polymer.Base._hostStack.pop()},_tryReady:functio n(){this._readied=!1,this._canReady()&&this._ready()},_canReady:function(){retur n!this.dataHost||this.dataHost._clientsReadied},_ready:function(){this._beforeCl ientsReady(),this._template&&(this._setupRoot(),this._readyClients()),this._clie ntsReadied=!0,this._clients=null,this._afterClientsReady(),this._readySelf()},_r eadyClients:function(){this._beginDistribute();var e=this._clients;if(e)for(var t,o=0,i=e.length;o<i&&(t=e[o]);o++)t._ready();this._finishDistribute()},_readySe lf:function(){this._doBehavior("ready"),this._readied=!0,this._attachedPending&& (this._attachedPending=!1,this.attachedCallback())},_beforeClientsReady:function (){},_afterClientsReady:function(){},_beforeAttached:function(){},attachedCallba ck:function(){this._readied?(this._beforeAttached(),e.call(this)):this._attached Pending=!0}})}(),Polymer.ArraySplice=function(){function e(e,t,o){return{index:e ,removed:t,addedCount:o}}function t(){}var o=0,i=1,n=2,s=3;return t.prototype={c alcEditDistances:function(e,t,o,i,n,s){for(var r=s-n+1,d=o-t+1,a=new Array(r),l= 0;l<r;l++)a[l]=new Array(d),a[l][0]=l;for(var h=0;h<d;h++)a[0][h]=h;for(l=1;l<r; l++)for(h=1;h<d;h++)if(this.equals(e[t+h-1],i[n+l-1]))a[l][h]=a[l-1][h-1];else{v ar u=a[l-1][h]+1,c=a[l][h-1]+1;a[l][h]=u<c?u:c}return a},spliceOperationsFromEdi tDistances:function(e){for(var t=e.length-1,r=e[0].length-1,d=e[t][r],a=[];t>0|| r>0;)if(0!=t)if(0!=r){var l,h=e[t-1][r-1],u=e[t-1][r],c=e[t][r-1];l=u<c?u<h?u:h: c<h?c:h,l==h?(h==d?a.push(o):(a.push(i),d=h),t--,r--):l==u?(a.push(s),t--,d=u):( a.push(n),r--,d=c)}else a.push(s),t--;else a.push(n),r--;return a.reverse(),a},c alcSplices:function(t,r,d,a,l,h){var u=0,c=0,_=Math.min(d-r,h-l);if(0==r&&0==l&& (u=this.sharedPrefix(t,a,_)),d==t.length&&h==a.length&&(c=this.sharedSuffix(t,a, _-u)),r+=u,l+=u,d-=c,h-=c,d-r==0&&h-l==0)return[];if(r==d){for(var f=e(r,[],0);l <h;)f.removed.push(a[l++]);return[f]}if(l==h)return[e(r,[],d-r)];var m=this.spli ceOperationsFromEditDistances(this.calcEditDistances(t,r,d,a,l,h));f=void 0;for( var p=[],v=r,g=l,b=0;b<m.length;b++)switch(m[b]){case o:f&&(p.push(f),f=void 0), v++,g++;break;case i:f||(f=e(v,[],0)),f.addedCount++,v++,f.removed.push(a[g]),g+ +;break;case n:f||(f=e(v,[],0)),f.addedCount++,v++;break;case s:f||(f=e(v,[],0)) ,f.removed.push(a[g]),g++}return f&&p.push(f),p},sharedPrefix:function(e,t,o){fo r(var i=0;i<o;i++)if(!this.equals(e[i],t[i]))return i;return o},sharedSuffix:fun ction(e,t,o){for(var i=e.length,n=t.length,s=0;s<o&&this.equals(e[--i],t[--n]);) s++;return s},calculateSplices:function(e,t){return this.calcSplices(e,0,e.lengt h,t,0,t.length)},equals:function(e,t){return e===t}},new t}(),Polymer.domInnerHT ML=function(){function e(e){switch(e){case"&":return"&amp;";case"<":return"&lt;" ;case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function t( t){return t.replace(r,e)}function o(t){return t.replace(d,e)}function i(e){for(v ar t={},o=0;o<e.length;o++)t[e[o]]=!0;return t}function n(e,i,n){switch(e.nodeTy pe){case Node.ELEMENT_NODE:for(var r,d=e.localName,h="<"+d,u=e.attributes,c=0;r= u[c];c++)h+=" "+r.name+'="'+t(r.value)+'"';return h+=">",a[d]?h:h+s(e,n)+"</"+d+ ">";case Node.TEXT_NODE:var _=e.data;return i&&l[i.localName]?_:o(_);case Node.C OMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw console.error(e),new E rror("not implemented")}}function s(e,t){e instanceof HTMLTemplateElement&&(e=e. content);for(var o,i="",s=Polymer.dom(e).childNodes,r=0,d=s.length;r<d&&(o=s[r]) ;r++)i+=n(o,e,t);return i}var r=/[&\u00A0"]/g,d=/[&\u00A0<>]/g,a=i(["area","base ","br","col","command","embed","hr","img","input","keygen","link","meta","param" ,"source","track","wbr"]),l=i(["style","script","xmp","iframe","noembed","nofram es","plaintext","noscript"]);return{getInnerHTML:s}}(),function(){"use strict";v ar e=Element.prototype.insertBefore,t=Element.prototype.appendChild,o=Element.pr ototype.removeChild;Polymer.TreeApi={arrayCopyChildNodes:function(e){for(var t=[ ],o=0,i=e.firstChild;i;i=i.nextSibling)t[o++]=i;return t},arrayCopyChildren:func tion(e){for(var t=[],o=0,i=e.firstElementChild;i;i=i.nextElementSibling)t[o++]=i ;return t},arrayCopy:function(e){for(var t=e.length,o=new Array(t),i=0;i<t;i++)o [i]=e[i];return o}},Polymer.TreeApi.Logical={hasParentNode:function(e){return Bo olean(e.__dom&&e.__dom.parentNode)},hasChildNodes:function(e){return Boolean(e._ _dom&&void 0!==e.__dom.childNodes)},getChildNodes:function(e){return this.hasChi ldNodes(e)?this._getChildNodes(e):e.childNodes},_getChildNodes:function(e){if(!e .__dom.childNodes){e.__dom.childNodes=[];for(var t=e.__dom.firstChild;t;t=t.__do m.nextSibling)e.__dom.childNodes.push(t)}return e.__dom.childNodes},getParentNod e:function(e){return e.__dom&&void 0!==e.__dom.parentNode?e.__dom.parentNode:e.p arentNode},getFirstChild:function(e){return e.__dom&&void 0!==e.__dom.firstChild ?e.__dom.firstChild:e.firstChild},getLastChild:function(e){return e.__dom&&void 0!==e.__dom.lastChild?e.__dom.lastChild:e.lastChild},getNextSibling:function(e){ return e.__dom&&void 0!==e.__dom.nextSibling?e.__dom.nextSibling:e.nextSibling}, getPreviousSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling? e.__dom.previousSibling:e.previousSibling},getFirstElementChild:function(e){retu rn e.__dom&&void 0!==e.__dom.firstChild?this._getFirstElementChild(e):e.firstEle mentChild},_getFirstElementChild:function(e){for(var t=e.__dom.firstChild;t&&t.n odeType!==Node.ELEMENT_NODE;)t=t.__dom.nextSibling;return t},getLastElementChild :function(e){return e.__dom&&void 0!==e.__dom.lastChild?this._getLastElementChil d(e):e.lastElementChild},_getLastElementChild:function(e){for(var t=e.__dom.last Child;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},get NextElementSibling:function(e){return e.__dom&&void 0!==e.__dom.nextSibling?this ._getNextElementSibling(e):e.nextElementSibling},_getNextElementSibling:function (e){for(var t=e.__dom.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.n extSibling;return t},getPreviousElementSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling?this._getPreviousElementSibling(e):e.previousElement Sibling},_getPreviousElementSibling:function(e){for(var t=e.__dom.previousSiblin g;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},saveChi ldNodes:function(e){if(!this.hasChildNodes(e)){e.__dom=e.__dom||{},e.__dom.first Child=e.firstChild,e.__dom.lastChild=e.lastChild,e.__dom.childNodes=[];for(var t =e.firstChild;t;t=t.nextSibling)t.__dom=t.__dom||{},t.__dom.parentNode=e,e.__dom .childNodes.push(t),t.__dom.nextSibling=t.nextSibling,t.__dom.previousSibling=t. previousSibling}},recordInsertBefore:function(e,t,o){if(t.__dom.childNodes=null, e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var i=e.firstChild;i;i=i.nextSiblin g)this._linkNode(i,t,o);else this._linkNode(e,t,o)},_linkNode:function(e,t,o){e. __dom=e.__dom||{},t.__dom=t.__dom||{},o&&(o.__dom=o.__dom||{}),e.__dom.previousS ibling=o?o.__dom.previousSibling:t.__dom.lastChild,e.__dom.previousSibling&&(e._ _dom.previousSibling.__dom.nextSibling=e),e.__dom.nextSibling=o||null,e.__dom.ne xtSibling&&(e.__dom.nextSibling.__dom.previousSibling=e),e.__dom.parentNode=t,o? o===t.__dom.firstChild&&(t.__dom.firstChild=e):(t.__dom.lastChild=e,t.__dom.firs tChild||(t.__dom.firstChild=e)),t.__dom.childNodes=null},recordRemoveChild:funct ion(e,t){e.__dom=e.__dom||{},t.__dom=t.__dom||{},e===t.__dom.firstChild&&(t.__do m.firstChild=e.__dom.nextSibling),e===t.__dom.lastChild&&(t.__dom.lastChild=e.__ dom.previousSibling);var o=e.__dom.previousSibling,i=e.__dom.nextSibling;o&&(o._ _dom.nextSibling=i),i&&(i.__dom.previousSibling=o),e.__dom.parentNode=e.__dom.pr eviousSibling=e.__dom.nextSibling=void 0,t.__dom.childNodes=null}},Polymer.TreeA pi.Composed={getChildNodes:function(e){return Polymer.TreeApi.arrayCopyChildNode s(e)},getParentNode:function(e){return e.parentNode},clearChildNodes:function(e) {e.textContent=""},insertBefore:function(t,o,i){return e.call(t,o,i||null)},appe ndChild:function(e,o){return t.call(e,o)},removeChild:function(e,t){return o.cal l(e,t)}}}(),Polymer.DomApi=function(){"use strict";var e=Polymer.Settings,t=Poly mer.TreeApi,o=function(e){this.node=i?o.wrap(e):e},i=e.hasShadow&&!e.nativeShado w;o.wrap=window.wrap?window.wrap:function(e){return e},o.prototype={flush:functi on(){Polymer.dom.flush()},deepContains:function(e){if(this.node.contains(e))retu rn!0;for(var t=e,o=e.ownerDocument;t&&t!==o&&t!==this.node;)t=Polymer.dom(t).par entNode||t.host;return t===this.node},queryDistributedElements:function(e){for(v ar t,i=this.getEffectiveChildNodes(),n=[],s=0,r=i.length;s<r&&(t=i[s]);s++)t.nod eType===Node.ELEMENT_NODE&&o.matchesSelector.call(t,e)&&n.push(t);return n},getE ffectiveChildNodes:function(){for(var e,t=[],o=this.childNodes,i=0,r=o.length;i< r&&(e=o[i]);i++)if(e.localName===n)for(var d=s(e).getDistributedNodes(),a=0;a<d. length;a++)t.push(d[a]);else t.push(e);return t},observeNodes:function(e){if(e)r eturn this.observer||(this.observer=this.node.localName===n?new o.DistributedNod esObserver(this):new o.EffectiveNodesObserver(this)),this.observer.addListener(e )},unobserveNodes:function(e){this.observer&&this.observer.removeListener(e)},no tifyObserver:function(){this.observer&&this.observer.notify()},_query:function(e ,o,i){o=o||this.node;var n=[];return this._queryElements(t.Logical.getChildNodes (o),e,i,n),n},_queryElements:function(e,t,o,i){for(var n,s=0,r=e.length;s<r&&(n= e[s]);s++)if(n.nodeType===Node.ELEMENT_NODE&&this._queryElement(n,t,o,i))return! 0},_queryElement:function(e,o,i,n){var s=o(e);return s&&n.push(e),i&&i(s)?s:void this._queryElements(t.Logical.getChildNodes(e),o,i,n)}};var n=o.CONTENT="conten t",s=o.factory=function(e){return e=e||document,e.__domApi||(e.__domApi=new o.ct or(e)),e.__domApi};o.hasApi=function(e){return Boolean(e.__domApi)},o.ctor=o,Pol ymer.dom=function(e,t){return e instanceof Event?Polymer.EventApi.factory(e):o.f actory(e,t)};var r=Element.prototype;return o.matchesSelector=r.matches||r.match esSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.web kitMatchesSelector,o}(),function(){"use strict";var e=Polymer.Settings,t=Polymer .DomApi,o=t.factory,i=Polymer.TreeApi,n=Polymer.domInnerHTML.getInnerHTML,s=t.CO NTENT;if(!e.useShadow){var r=Element.prototype.cloneNode,d=Document.prototype.im portNode;Polymer.Base.extend(t.prototype,{_lazyDistribute:function(e){e.shadyRoo t&&e.shadyRoot._distributionClean&&(e.shadyRoot._distributionClean=!1,Polymer.do m.addDebouncer(e.debounce("_distribute",e._distributeContent)))},appendChild:fun ction(e){return this.insertBefore(e)},insertBefore:function(e,n){if(n&&i.Logical .getParentNode(n)!==this.node)throw Error("The ref_node to be inserted before is not a child of this node");if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=i .Logical.getParentNode(e);r?(t.hasApi(r)&&o(r).notifyObserver(),this._removeNode (e)):this._removeOwnerShadyRoot(e)}if(!this._addNode(e,n)){n&&(n=n.localName===s ?this._firstComposedNode(n):n);var d=this.node._isShadyRoot?this.node.host:this. node;n?i.Composed.insertBefore(d,e,n):i.Composed.appendChild(d,e)}return this.no tifyObserver(),e},_addNode:function(e,t){var o=this.getOwnerRoot();if(o){var n=t his._maybeAddInsertionPoint(e,this.node);o._invalidInsertionPoints||(o._invalidI nsertionPoints=n),this._addNodeToHost(o.host,e)}i.Logical.hasChildNodes(this.nod e)&&i.Logical.recordInsertBefore(e,this.node,t);var s=this._maybeDistribute(e)|| this.node.shadyRoot;if(s)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(;e.firs tChild;)i.Composed.removeChild(e,e.firstChild);else{var r=i.Composed.getParentNo de(e);r&&i.Composed.removeChild(r,e)}return s},removeChild:function(e){if(i.Logi cal.getParentNode(e)!==this.node)throw Error("The node to be removed is not a ch ild of this node: "+e);if(!this._removeNode(e)){var t=this.node._isShadyRoot?thi s.node.host:this.node,o=i.Composed.getParentNode(e);t===o&&i.Composed.removeChil d(t,e)}return this.notifyObserver(),e},_removeNode:function(e){var t,n=i.Logical .hasParentNode(e)&&i.Logical.getParentNode(e),s=this._ownerShadyRootForNode(e);r eturn n&&(t=o(e)._maybeDistributeParent(),i.Logical.recordRemoveChild(e,n),s&&th is._removeDistributedChildren(s,e)&&(s._invalidInsertionPoints=!0,this._lazyDist ribute(s.host))),this._removeOwnerShadyRoot(e),s&&this._removeNodeFromHost(s.hos t,e),t},replaceChild:function(e,t){return this.insertBefore(e,t),this.removeChil d(t),e},_hasCachedOwnerRoot:function(e){return Boolean(void 0!==e._ownerShadyRoo t)},getOwnerRoot:function(){return this._ownerShadyRootForNode(this.node)},_owne rShadyRootForNode:function(e){if(e){var t=e._ownerShadyRoot;if(void 0===t){if(e. _isShadyRoot)t=e;else{var o=i.Logical.getParentNode(e);t=o?o._isShadyRoot?o:this ._ownerShadyRootForNode(o):null}(t||document.documentElement.contains(e))&&(e._o wnerShadyRoot=t)}return t}},_maybeDistribute:function(e){var t=e.nodeType===Node .DOCUMENT_FRAGMENT_NODE&&!e.__noContent&&o(e).querySelector(s),n=t&&i.Logical.ge tParentNode(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE,r=t||e.localName===s;if(r) {var d=this.getOwnerRoot();d&&this._lazyDistribute(d.host)}var a=this._nodeNeeds Distribution(this.node);return a&&this._lazyDistribute(this.node),a||r&&!n},_may beAddInsertionPoint:function(e,t){var n;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_N ODE||e.__noContent)e.localName===s&&(i.Logical.saveChildNodes(t),i.Logical.saveC hildNodes(e),n=!0);else for(var r,d,a,l=o(e).querySelectorAll(s),h=0;h<l.length& &(r=l[h]);h++)d=i.Logical.getParentNode(r),d===e&&(d=t),a=this._maybeAddInsertio nPoint(r,d),n=n||a;return n},_updateInsertionPoints:function(e){for(var t,n=e.sh adyRoot._insertionPoints=o(e.shadyRoot).querySelectorAll(s),r=0;r<n.length;r++)t =n[r],i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(i.Logical.getParentNo de(t))},_nodeNeedsDistribution:function(e){return e&&e.shadyRoot&&t.hasInsertion Point(e.shadyRoot)},_addNodeToHost:function(e,t){e._elementAdd&&e._elementAdd(t) },_removeNodeFromHost:function(e,t){e._elementRemove&&e._elementRemove(t)},_remo veDistributedChildren:function(e,t){for(var n,s=e._insertionPoints,r=0;r<s.lengt h;r++){var d=s[r];if(this._contains(t,d))for(var a=o(d).getDistributedNodes(),l= 0;l<a.length;l++){n=!0;var h=a[l],u=i.Composed.getParentNode(h);u&&i.Composed.re moveChild(u,h)}}return n},_contains:function(e,t){for(;t;){if(t==e)return!0;t=i. Logical.getParentNode(t)}},_removeOwnerShadyRoot:function(e){if(this._hasCachedO wnerRoot(e))for(var t,o=i.Logical.getChildNodes(e),n=0,s=o.length;n<s&&(t=o[n]); n++)this._removeOwnerShadyRoot(t);e._ownerShadyRoot=void 0},_firstComposedNode:f unction(e){for(var t,i,n=o(e).getDistributedNodes(),s=0,r=n.length;s<r&&(t=n[s]) ;s++)if(i=o(t).getDestinationInsertionPoints(),i[i.length-1]===e)return t},query Selector:function(e){var o=this._query(function(o){return t.matchesSelector.call (o,e)},this.node,function(e){return Boolean(e)})[0];return o||null},querySelecto rAll:function(e){return this._query(function(o){return t.matchesSelector.call(o, e)},this.node)},getDestinationInsertionPoints:function(){return this.node._desti nationInsertionPoints||[]},getDistributedNodes:function(){return this.node._dist ributedNodes||[]},_clear:function(){for(;this.childNodes.length;)this.removeChil d(this.childNodes[0])},setAttribute:function(e,t){this.node.setAttribute(e,t),th is._maybeDistributeParent()},removeAttribute:function(e){this.node.removeAttribu te(e),this._maybeDistributeParent()},_maybeDistributeParent:function(){if(this._ nodeNeedsDistribution(this.parentNode))return this._lazyDistribute(this.parentNo de),!0},cloneNode:function(e){var t=r.call(this.node,!1);if(e)for(var i,n=this.c hildNodes,s=o(t),d=0;d<n.length;d++)i=o(n[d]).cloneNode(!0),s.appendChild(i);ret urn t},importNode:function(e,t){var n=this.node instanceof Document?this.node:th is.node.ownerDocument,s=d.call(n,e,!1);if(t)for(var r,a=i.Logical.getChildNodes( e),l=o(s),h=0;h<a.length;h++)r=o(n).importNode(a[h],!0),l.appendChild(r);return s},_getComposedInnerHTML:function(){return n(this.node,!0)}}),Object.definePrope rties(t.prototype,{activeElement:{get:function(){var e=document.activeElement;if (!e)return null;var t=!!this.node._isShadyRoot;if(this.node!==document){if(!t)re turn null;if(this.node.host===e||!this.node.host.contains(e))return null}for(var i=o(e).getOwnerRoot();i&&i!==this.node;)e=i.host,i=o(e).getOwnerRoot();return t his.node===document?i?null:e:i===this.node?e:null},configurable:!0},childNodes:{ get:function(){var e=i.Logical.getChildNodes(this.node);return Array.isArray(e)? e:i.arrayCopyChildNodes(this.node)},configurable:!0},children:{get:function(){re turn i.Logical.hasChildNodes(this.node)?Array.prototype.filter.call(this.childNo des,function(e){return e.nodeType===Node.ELEMENT_NODE}):i.arrayCopyChildren(this .node)},configurable:!0},parentNode:{get:function(){return i.Logical.getParentNo de(this.node)},configurable:!0},firstChild:{get:function(){return i.Logical.getF irstChild(this.node)},configurable:!0},lastChild:{get:function(){return i.Logica l.getLastChild(this.node)},configurable:!0},nextSibling:{get:function(){return i .Logical.getNextSibling(this.node)},configurable:!0},previousSibling:{get:functi on(){return i.Logical.getPreviousSibling(this.node)},configurable:!0},firstEleme ntChild:{get:function(){return i.Logical.getFirstElementChild(this.node)},config urable:!0},lastElementChild:{get:function(){return i.Logical.getLastElementChild (this.node)},configurable:!0},nextElementSibling:{get:function(){return i.Logica l.getNextElementSibling(this.node)},configurable:!0},previousElementSibling:{get :function(){return i.Logical.getPreviousElementSibling(this.node)},configurable: !0},textContent:{get:function(){var e=this.node.nodeType;if(e===Node.TEXT_NODE|| e===Node.COMMENT_NODE)return this.node.textContent;for(var t,o=[],i=0,n=this.chi ldNodes;t=n[i];i++)t.nodeType!==Node.COMMENT_NODE&&o.push(t.textContent);return o.join("")},set:function(e){var t=this.node.nodeType;t===Node.TEXT_NODE||t===Nod e.COMMENT_NODE?this.node.textContent=e:(this._clear(),e&&this.appendChild(docume nt.createTextNode(e)))},configurable:!0},innerHTML:{get:function(){var e=this.no de.nodeType;return e===Node.TEXT_NODE||e===Node.COMMENT_NODE?null:n(this.node)}, set:function(e){var t=this.node.nodeType;if(t!==Node.TEXT_NODE||t!==Node.COMMENT _NODE){this._clear();var o=document.createElement("div");o.innerHTML=e;for(var n =i.arrayCopyChildNodes(o),s=0;s<n.length;s++)this.appendChild(n[s])}},configurab le:!0}}),t.hasInsertionPoint=function(e){return Boolean(e&&e._insertionPoints.le ngth)}}}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=Po lymer.DomApi;if(e.useShadow){Polymer.Base.extend(o.prototype,{querySelectorAll:f unction(e){return t.arrayCopy(this.node.querySelectorAll(e))},getOwnerRoot:funct ion(){for(var e=this.node;e;){if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.hos t)return e;e=e.parentNode}},importNode:function(e,t){var o=this.node instanceof Document?this.node:this.node.ownerDocument;return o.importNode(e,t)},getDestinat ionInsertionPoints:function(){var e=this.node.getDestinationInsertionPoints&&thi s.node.getDestinationInsertionPoints();return e?t.arrayCopy(e):[]},getDistribute dNodes:function(){var e=this.node.getDistributedNodes&&this.node.getDistributedN odes();return e?t.arrayCopy(e):[]}}),Object.defineProperties(o.prototype,{active Element:{get:function(){var e=o.wrap(this.node),t=e.activeElement;return e.conta ins(t)?t:null},configurable:!0},childNodes:{get:function(){return t.arrayCopyChi ldNodes(this.node)},configurable:!0},children:{get:function(){return t.arrayCopy Children(this.node)},configurable:!0},textContent:{get:function(){return this.no de.textContent},set:function(e){return this.node.textContent=e},configurable:!0} ,innerHTML:{get:function(){return this.node.innerHTML},set:function(e){return th is.node.innerHTML=e},configurable:!0}});var i=function(e){for(var t=0;t<e.length ;t++)n(e[t])},n=function(e){o.prototype[e]=function(){return this.node[e].apply( this.node,arguments)}};i(["cloneNode","appendChild","insertBefore","removeChild" ,"replaceChild","setAttribute","removeAttribute","querySelector"]);var s=functio n(e){for(var t=0;t<e.length;t++)r(e[t])},r=function(e){Object.defineProperty(o.p rototype,e,{get:function(){return this.node[e]},configurable:!0})};s(["parentNod e","firstChild","lastChild","nextSibling","previousSibling","firstElementChild", "lastElementChild","nextElementSibling","previousElementSibling"])}}(),Polymer.B ase.extend(Polymer.dom,{_flushGuard:0,_FLUSH_MAX:100,_needsTakeRecords:!Polymer. Settings.useNativeCustomElements,_debouncers:[],_staticFlushList:[],_finishDebou ncer:null,flush:function(){for(this._flushGuard=0,this._prepareFlush();this._deb ouncers.length&&this._flushGuard<this._FLUSH_MAX;){for(;this._debouncers.length; )this._debouncers.shift().complete();this._finishDebouncer&&this._finishDebounce r.complete(),this._prepareFlush(),this._flushGuard++}this._flushGuard>=this._FLU SH_MAX&&console.warn("Polymer.dom.flush aborted. Flush may not be complete.")},_ prepareFlush:function(){this._needsTakeRecords&&CustomElements.takeRecords();for (var e=0;e<this._staticFlushList.length;e++)this._staticFlushList[e]()},addStati cFlush:function(e){this._staticFlushList.push(e)},removeStaticFlush:function(e){ var t=this._staticFlushList.indexOf(e);t>=0&&this._staticFlushList.splice(t,1)}, addDebouncer:function(e){this._debouncers.push(e),this._finishDebouncer=Polymer. Debounce(this._finishDebouncer,this._finishFlush)},_finishFlush:function(){Polym er.dom._debouncers=[]}}),Polymer.EventApi=function(){"use strict";var e=Polymer. DomApi.ctor,t=Polymer.Settings;e.Event=function(e){this.event=e},t.useShadow?e.E vent.prototype={get rootTarget(){return this.event.path[0]},get localTarget(){re turn this.event.target},get path(){var e=this.event.path;return Array.isArray(e) ||(e=Array.prototype.slice.call(e)),e}}:e.Event.prototype={get rootTarget(){retu rn this.event.target},get localTarget(){for(var e=this.event.currentTarget,t=e&& Polymer.dom(e).getOwnerRoot(),o=this.path,i=0;i<o.length;i++)if(Polymer.dom(o[i] ).getOwnerRoot()===t)return o[i]},get path(){if(!this.event._path){for(var e=[], t=this.rootTarget;t;){e.push(t);var o=Polymer.dom(t).getDestinationInsertionPoin ts();if(o.length){for(var i=0;i<o.length-1;i++)e.push(o[i]);t=o[o.length-1]}else t=Polymer.dom(t).parentNode||t.host}e.push(window),this.event._path=e}return th is.event._path}};var o=function(t){return t.__eventApi||(t.__eventApi=new e.Even t(t)),t.__eventApi};return{factory:o}}(),function(){"use strict";var e=Polymer.D omApi.ctor,t=Polymer.Settings.useShadow;Object.defineProperty(e.prototype,"class List",{get:function(){return this._classList||(this._classList=new e.ClassList(t his)),this._classList},configurable:!0}),e.ClassList=function(e){this.domApi=e,t his.node=e.node},e.ClassList.prototype={add:function(){this.node.classList.add.a pply(this.node.classList,arguments),this._distributeParent()},remove:function(){ this.node.classList.remove.apply(this.node.classList,arguments),this._distribute Parent()},toggle:function(){this.node.classList.toggle.apply(this.node.classList ,arguments),this._distributeParent()},_distributeParent:function(){t||this.domAp i._maybeDistributeParent()},contains:function(){return this.node.classList.conta ins.apply(this.node.classList,arguments)}}}(),function(){"use strict";var e=Poly mer.DomApi.ctor,t=Polymer.Settings;if(e.EffectiveNodesObserver=function(e){this. domApi=e,this.node=this.domApi.node,this._listeners=[]},e.EffectiveNodesObserver .prototype={addListener:function(e){this._isSetup||(this._setup(),this._isSetup= !0);var t={fn:e,_nodes:[]};return this._listeners.push(t),this._scheduleNotify() ,t},removeListener:function(e){var t=this._listeners.indexOf(e);t>=0&&(this._lis teners.splice(t,1),e._nodes=[]),this._hasListeners()||(this._cleanup(),this._isS etup=!1)},_setup:function(){this._observeContentElements(this.domApi.childNodes) },_cleanup:function(){this._unobserveContentElements(this.domApi.childNodes)},_h asListeners:function(){return Boolean(this._listeners.length)},_scheduleNotify:f unction(){this._debouncer&&this._debouncer.stop(),this._debouncer=Polymer.Deboun ce(this._debouncer,this._notify),this._debouncer.context=this,Polymer.dom.addDeb ouncer(this._debouncer)},notify:function(){this._hasListeners()&&this._scheduleN otify()},_notify:function(){this._beforeCallListeners(),this._callListeners()},_ beforeCallListeners:function(){this._updateContentElements()},_updateContentElem ents:function(){this._observeContentElements(this.domApi.childNodes)},_observeCo ntentElements:function(e){for(var t,o=0;o<e.length&&(t=e[o]);o++)this._isContent (t)&&(t.__observeNodesMap=t.__observeNodesMap||new WeakMap,t.__observeNodesMap.h as(this)||t.__observeNodesMap.set(this,this._observeContent(t)))},_observeConten t:function(e){var t=this,o=Polymer.dom(e).observeNodes(function(){t._scheduleNot ify()});return o._avoidChangeCalculation=!0,o},_unobserveContentElements:functio n(e){for(var t,o,i=0;i<e.length&&(t=e[i]);i++)this._isContent(t)&&(o=t.__observe NodesMap.get(this),o&&(Polymer.dom(t).unobserveNodes(o),t.__observeNodesMap.dele te(this)))},_isContent:function(e){return"content"===e.localName},_callListeners :function(){for(var e,t=this._listeners,o=this._getEffectiveNodes(),i=0;i<t.leng th&&(e=t[i]);i++){var n=this._generateListenerInfo(e,o);(n||e._alwaysNotify)&&th is._callListener(e,n)}},_getEffectiveNodes:function(){return this.domApi.getEffe ctiveChildNodes()},_generateListenerInfo:function(e,t){if(e._avoidChangeCalculat ion)return!0;for(var o,i=e._nodes,n={target:this.node,addedNodes:[],removedNodes :[]},s=Polymer.ArraySplice.calculateSplices(t,i),r=0;r<s.length&&(o=s[r]);r++)fo r(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)n.removedNodes.push(d);for( r=0,o;r<s.length&&(o=s[r]);r++)for(a=o.index;a<o.index+o.addedCount;a++)n.addedN odes.push(t[a]);return e._nodes=t,n.addedNodes.length||n.removedNodes.length?n:v oid 0},_callListener:function(e,t){return e.fn.call(this.node,t)},enableShadowAt tributeTracking:function(){}},t.useShadow){var o=e.EffectiveNodesObserver.protot ype._setup,i=e.EffectiveNodesObserver.prototype._cleanup;Polymer.Base.extend(e.E ffectiveNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=thi s;this._mutationHandler=function(t){t&&t.length&&e._scheduleNotify()},this._obse rver=new MutationObserver(this._mutationHandler),this._boundFlush=function(){e._ flush()},Polymer.dom.addStaticFlush(this._boundFlush),this._observer.observe(thi s.node,{childList:!0})}o.call(this)},_cleanup:function(){this._observer.disconne ct(),this._observer=null,this._mutationHandler=null,Polymer.dom.removeStaticFlus h(this._boundFlush),i.call(this)},_flush:function(){this._observer&&this._mutati onHandler(this._observer.takeRecords())},enableShadowAttributeTracking:function( ){if(this._observer){this._makeContentListenersAlwaysNotify(),this._observer.dis connect(),this._observer.observe(this.node,{childList:!0,attributes:!0,subtree:! 0});var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).observer&&Pol ymer.dom(t).observer.enableShadowAttributeTracking()}},_makeContentListenersAlwa ysNotify:function(){for(var e,t=0;t<this._listeners.length;t++)e=this._listeners [t],e._alwaysNotify=e._isContentListener}})}}(),function(){"use strict";var e=Po lymer.DomApi.ctor,t=Polymer.Settings;e.DistributedNodesObserver=function(t){e.Ef fectiveNodesObserver.call(this,t)},e.DistributedNodesObserver.prototype=Object.c reate(e.EffectiveNodesObserver.prototype),Polymer.Base.extend(e.DistributedNodes Observer.prototype,{_setup:function(){},_cleanup:function(){},_beforeCallListene rs:function(){},_getEffectiveNodes:function(){return this.domApi.getDistributedN odes()}}),t.useShadow&&Polymer.Base.extend(e.DistributedNodesObserver.prototype, {_setup:function(){if(!this._observer){var e=this.domApi.getOwnerRoot(),t=e&&e.h ost;if(t){var o=this;this._observer=Polymer.dom(t).observeNodes(function(){o._sc heduleNotify()}),this._observer._isContentListener=!0,this._hasAttrSelect()&&Pol ymer.dom(t).observer.enableShadowAttributeTracking()}}},_hasAttrSelect:function( ){var e=this.node.getAttribute("select");return e&&e.match(/[[.]+/)},_cleanup:fu nction(){var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).unobserv eNodes(this._observer),this._observer=null}})}(),function(){function e(e,t){t._d istributedNodes.push(e);var o=e._destinationInsertionPoints;o?o.push(t):e._desti nationInsertionPoints=[t]}function t(e){var t=e._distributedNodes;if(t)for(var o =0;o<t.length;o++){var i=t[o]._destinationInsertionPoints;i&&i.splice(i.indexOf( e)+1,i.length)}}function o(e,t){var o=u.Logical.getParentNode(e);o&&o.shadyRoot& &h.hasInsertionPoint(o.shadyRoot)&&o.shadyRoot._distributionClean&&(o.shadyRoot. _distributionClean=!1,t.shadyRoot._dirtyRoots.push(o))}function i(e,t){var o=t._ destinationInsertionPoints;return o&&o[o.length-1]===e}function n(e){return"cont ent"==e.localName}function s(e){for(;e&&r(e);)e=e.domHost;return e}function r(e) {for(var t,o=u.Logical.getChildNodes(e),i=0;i<o.length;i++)if(t=o[i],t.localName &&"content"===t.localName)return e.domHost}function d(e){for(var t,o=0;o<e._inse rtionPoints.length;o++)t=e._insertionPoints[o],h.hasApi(t)&&Polymer.dom(t).notif yObserver()}function a(e){h.hasApi(e)&&Polymer.dom(e).notifyObserver()}function l(e){if(c&&e)for(var t=0;t<e.length;t++)CustomElements.upgrade(e[t])}var h=Polym er.DomApi,u=Polymer.TreeApi;Polymer.Base._addFeature({_prepShady:function(){this ._useContent=this._useContent||Boolean(this._template)},_setupShady:function(){t his.shadyRoot=null,this.__domApi||(this.__domApi=null),this.__dom||(this.__dom=n ull),this._ownerShadyRoot||(this._ownerShadyRoot=void 0)},_poolContent:function( ){this._useContent&&u.Logical.saveChildNodes(this)},_setupRoot:function(){this._ useContent&&(this._createLocalRoot(),this.dataHost||l(u.Logical.getChildNodes(th is)))},_createLocalRoot:function(){this.shadyRoot=this.root,this.shadyRoot._dist ributionClean=!1,this.shadyRoot._hasDistributed=!1,this.shadyRoot._isShadyRoot=! 0,this.shadyRoot._dirtyRoots=[];var e=this.shadyRoot._insertionPoints=!this._not es||this._notes._hasContent?this.shadyRoot.querySelectorAll("content"):[];u.Logi cal.saveChildNodes(this.shadyRoot);for(var t,o=0;o<e.length;o++)t=e[o],u.Logical .saveChildNodes(t),u.Logical.saveChildNodes(t.parentNode);this.shadyRoot.host=th is},get domHost(){var e=Polymer.dom(this).getOwnerRoot();return e&&e.host},distr ibuteContent:function(e){if(this.shadyRoot){this.shadyRoot._invalidInsertionPoin ts=this.shadyRoot._invalidInsertionPoints||e;var t=s(this);Polymer.dom(this)._la zyDistribute(t)}},_distributeContent:function(){this._useContent&&!this.shadyRoo t._distributionClean&&(this.shadyRoot._invalidInsertionPoints&&(Polymer.dom(this )._updateInsertionPoints(this),this.shadyRoot._invalidInsertionPoints=!1),this._ beginDistribute(),this._distributeDirtyRoots(),this._finishDistribute())},_begin Distribute:function(){this._useContent&&h.hasInsertionPoint(this.shadyRoot)&&(th is._resetDistribution(),this._distributePool(this.shadyRoot,this._collectPool()) ); 1 <!DOCTYPE html><html><head><meta charset="UTF-8"> </head><body><div hidden="" by -vulcanize=""><script>!function(){function e(){document.body.removeAttribute("un resolved")}window.WebComponents?addEventListener("WebComponentsReady",e):"intera ctive"===document.readyState||"complete"===document.readyState?e():addEventListe ner("DOMContentLoaded",e)}(),window.Polymer={Settings:function(){var e=window.Po lymer||{};if(!e.noUrlSettings)for(var t,r=location.search.slice(1).split("&"),i= 0;i<r.length&&(t=r[i]);i++)t=t.split("="),t[0]&&(e[t[0]]=t[1]||!0);return e.want Shadow="shadow"===e.dom,e.hasShadow=Boolean(Element.prototype.createShadowRoot), e.nativeShadow=e.hasShadow&&!window.ShadowDOMPolyfill,e.useShadow=e.wantShadow&& e.hasShadow,e.hasNativeImports=Boolean("import"in document.createElement("link") ),e.useNativeImports=e.hasNativeImports,e.useNativeCustomElements=!window.Custom Elements||window.CustomElements.useNative,e.useNativeShadow=e.useShadow&&e.nativ eShadow,e.usePolyfillProto=!e.useNativeCustomElements&&!Object.__proto__,e.hasNa tiveCSSProperties=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS .supports&&CSS.supports("box-shadow","0 0 0 var(--foo)"),e.useNativeCSSPropertie s=e.hasNativeCSSProperties&&e.lazyRegister&&e.useNativeCSSProperties,e}()},funct ion(){var e=window.Polymer;window.Polymer=function(e){"function"==typeof e&&(e=e .prototype),e||(e={});var r=t(e);e=r.prototype;var i={prototype:e};return e.exte nds&&(i.extends=e.extends),Polymer.telemetry._registrate(e),document.registerEle ment(e.is,i),r};var t=function(e){var t=Polymer.Base;return e.extends&&(t=Polyme r.Base._getExtendedPrototype(e.extends)),e=Polymer.Base.chainObject(e,t),e.regis terCallback(),e.constructor};if(e)for(var r in e)Polymer[r]=e[r];Polymer.Class=t }(),Polymer.telemetry={registrations:[],_regLog:function(e){console.log("["+e.is +"]: registered")},_registrate:function(e){this.registrations.push(e),Polymer.lo g&&this._regLog(e)},dumpRegistrations:function(){this.registrations.forEach(this ._regLog)}},Object.defineProperty(window,"currentImport",{enumerable:!0,configur able:!0,get:function(){return(document._currentScript||document.currentScript).o wnerDocument}}),Polymer.RenderStatus={_ready:!1,_callbacks:[],whenReady:function (e){this._ready?e():this._callbacks.push(e)},_makeReady:function(){this._ready=! 0;for(var e=0;e<this._callbacks.length;e++)this._callbacks[e]();this._callbacks= []},_catchFirstRender:function(){requestAnimationFrame(function(){Polymer.Render Status._makeReady()})},_afterNextRenderQueue:[],_waitingNextRender:!1,afterNextR ender:function(e,t,r){this._watchNextRender(),this._afterNextRenderQueue.push([e ,t,r])},hasRendered:function(){return this._ready},_watchNextRender:function(){i f(!this._waitingNextRender){this._waitingNextRender=!0;var e=function(){Polymer. RenderStatus._flushNextRender()};this._ready?requestAnimationFrame(e):this.whenR eady(e)}},_flushNextRender:function(){var e=this;setTimeout(function(){e._flushR enderCallbacks(e._afterNextRenderQueue),e._afterNextRenderQueue=[],e._waitingNex tRender=!1})},_flushRenderCallbacks:function(e){for(var t,r=0;r<e.length;r++)t=e [r],t[1].apply(t[0],t[2]||Polymer.nar)}},window.HTMLImports?HTMLImports.whenRead y(function(){Polymer.RenderStatus._catchFirstRender()}):Polymer.RenderStatus._ca tchFirstRender(),Polymer.ImportStatus=Polymer.RenderStatus,Polymer.ImportStatus. whenLoaded=Polymer.ImportStatus.whenReady,function(){"use strict";var e=Polymer. Settings;Polymer.Base={__isPolymerInstance__:!0,_addFeature:function(e){this.ext end(this,e)},registerCallback:function(){"max"===e.lazyRegister?this.beforeRegis ter&&this.beforeRegister():(this._desugarBehaviors(),this._doBehavior("beforeReg ister")),this._registerFeatures(),e.lazyRegister||this.ensureRegisterFinished()} ,createdCallback:function(){this.__hasRegisterFinished||this._ensureRegisterFini shed(this.__proto__),Polymer.telemetry.instanceCount++,this.root=this,this._doBe havior("created"),this._initFeatures()},ensureRegisterFinished:function(){this._ ensureRegisterFinished(this)},_ensureRegisterFinished:function(t){t.__hasRegiste rFinished===t.is&&t.is||("max"===e.lazyRegister&&(t._desugarBehaviors(),t._doBeh aviorOnly("beforeRegister")),t.__hasRegisterFinished=t.is,t._finishRegisterFeatu res&&t._finishRegisterFeatures(),t._doBehavior("registered"),e.usePolyfillProto& &t!==this&&t.extend(this,t))},attachedCallback:function(){var e=this;Polymer.Ren derStatus.whenReady(function(){e.isAttached=!0,e._doBehavior("attached")})},deta chedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.i sAttached=!1,e._doBehavior("detached")})},attributeChangedCallback:function(e,t, r){this._attributeChangedImpl(e),this._doBehavior("attributeChanged",[e,t,r])},_ attributeChangedImpl:function(e){this._setAttributeToProperty(this,e)},extend:fu nction(e,t){if(e&&t)for(var r,i=Object.getOwnPropertyNames(t),o=0;o<i.length&&(r =i[o]);o++)this.copyOwnProperty(r,t,e);return e||t},mixin:function(e,t){for(var r in t)e[r]=t[r];return e},copyOwnProperty:function(e,t,r){var i=Object.getOwnPr opertyDescriptor(t,e);i&&Object.defineProperty(r,e,i)},_logger:function(e,t){swi tch(1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"err or":console[e].apply(console,t)}},_log:function(){var e=Array.prototype.slice.ca ll(arguments,0);this._logger("log",e)},_warn:function(){var e=Array.prototype.sl ice.call(arguments,0);this._logger("warn",e)},_error:function(){var e=Array.prot otype.slice.call(arguments,0);this._logger("error",e)},_logf:function(){return t his._logPrefix.concat(this.is).concat(Array.prototype.slice.call(arguments,0))}} ,Polymer.Base._logPrefix=function(){var e=window.chrome&&!/edge/i.test(navigator .userAgent)||/firefox/i.test(navigator.userAgent);return e?["%c[%s::%s]:","font- weight: bold; background-color:#EEEE00;"]:["[%s::%s]:"]}(),Polymer.Base.chainObj ect=function(e,t){return e&&t&&e!==t&&(Object.__proto__||(e=Polymer.Base.extend( Object.create(t),e)),e.__proto__=t),e},Polymer.Base=Polymer.Base.chainObject(Pol ymer.Base,HTMLElement.prototype),window.CustomElements?Polymer.instanceof=Custom Elements.instanceof:Polymer.instanceof=function(e,t){return e instanceof t},Poly mer.isInstance=function(e){return Boolean(e&&e.__isPolymerInstance__)},Polymer.t elemetry.instanceCount=0}(),function(){function e(){if(s)for(var e,t=document._c urrentScript||document.currentScript,r=t&&t.ownerDocument||document,i=r.querySel ectorAll("dom-module"),o=i.length-1;o>=0&&(e=i[o]);o--){if(e.__upgraded__)return ;CustomElements.upgrade(e)}}var t={},r={},i=function(e){return t[e]||r[e.toLower Case()]},o=function(){return document.createElement("dom-module")};o.prototype=O bject.create(HTMLElement.prototype),Polymer.Base.extend(o.prototype,{constructor :o,createdCallback:function(){this.register()},register:function(e){e=e||this.id ||this.getAttribute("name")||this.getAttribute("is"),e&&(this.id=e,t[e]=this,r[e .toLowerCase()]=this)},import:function(t,r){if(t){var o=i(t);return o||(e(),o=i( t)),o&&r&&(o=o.querySelector(r)),o}}});var s=window.CustomElements&&!CustomEleme nts.useNative;document.registerElement("dom-module",o)}(),Polymer.Base._addFeatu re({_prepIs:function(){if(!this.is){var e=(document._currentScript||document.cur rentScript).parentNode;if("dom-module"===e.localName){var t=e.id||e.getAttribute ("name")||e.getAttribute("is");this.is=t}}this.is&&(this.is=this.is.toLowerCase( ))}}),Polymer.Base._addFeature({behaviors:[],_desugarBehaviors:function(){this.b ehaviors.length&&(this.behaviors=this._desugarSomeBehaviors(this.behaviors))},_d esugarSomeBehaviors:function(e){var t=[];e=this._flattenBehaviorsList(e);for(var r=e.length-1;r>=0;r--){var i=e[r];t.indexOf(i)===-1&&(this._mixinBehavior(i),t. unshift(i))}return t},_flattenBehaviorsList:function(e){for(var t=[],r=0;r<e.len gth;r++){var i=e[r];i instanceof Array?t=t.concat(this._flattenBehaviorsList(i)) :i?t.push(i):this._warn(this._logf("_flattenBehaviorsList","behavior is null, ch eck for missing or 404 import"))}return t},_mixinBehavior:function(e){for(var t, r=Object.getOwnPropertyNames(e),i=0;i<r.length&&(t=r[i]);i++)Polymer.Base._behav iorProperties[t]||this.hasOwnProperty(t)||this.copyOwnProperty(t,e,this)},_prepB ehaviors:function(){this._prepFlattenedBehaviors(this.behaviors)},_prepFlattened Behaviors:function(e){for(var t=0,r=e.length;t<r;t++)this._prepBehavior(e[t]);th is._prepBehavior(this)},_doBehavior:function(e,t){for(var r=0;r<this.behaviors.l ength;r++)this._invokeBehavior(this.behaviors[r],e,t);this._invokeBehavior(this, e,t)},_doBehaviorOnly:function(e,t){for(var r=0;r<this.behaviors.length;r++)this ._invokeBehavior(this.behaviors[r],e,t)},_invokeBehavior:function(e,t,r){var i=e [t];i&&i.apply(this,r||Polymer.nar)},_marshalBehaviors:function(){for(var e=0;e< this.behaviors.length;e++)this._marshalBehavior(this.behaviors[e]);this._marshal Behavior(this)}}),Polymer.Base._behaviorProperties={hostAttributes:!0,beforeRegi ster:!0,registered:!0,properties:!0,observers:!0,listeners:!0,created:!0,attache d:!0,detached:!0,attributeChanged:!0,ready:!0},Polymer.Base._addFeature({_getExt endedPrototype:function(e){return this._getExtendedNativePrototype(e)},_nativePr ototypes:{},_getExtendedNativePrototype:function(e){var t=this._nativePrototypes [e];if(!t){var r=this.getNativePrototype(e);t=this.extend(Object.create(r),Polym er.Base),this._nativePrototypes[e]=t}return t},getNativePrototype:function(e){re turn Object.getPrototypeOf(document.createElement(e))}}),Polymer.Base._addFeatur e({_prepConstructor:function(){this._factoryArgs=this.extends?[this.extends,this .is]:[this.is];var e=function(){return this._factory(arguments)};this.hasOwnProp erty("extends")&&(e.extends=this.extends),Object.defineProperty(this,"constructo r",{value:e,writable:!0,configurable:!0}),e.prototype=this},_factory:function(e) {var t=document.createElement.apply(document,this._factoryArgs);return this.fact oryImpl&&this.factoryImpl.apply(t,e),t}}),Polymer.nob=Object.create(null),Polyme r.Base._addFeature({properties:{},getPropertyInfo:function(e){var t=this._getPro pertyInfo(e,this.properties);if(!t)for(var r=0;r<this.behaviors.length;r++)if(t= this._getPropertyInfo(e,this.behaviors[r].properties))return t;return t||Polymer .nob},_getPropertyInfo:function(e,t){var r=t&&t[e];return"function"==typeof r&&( r=t[e]={type:r}),r&&(r.defined=!0),r},_prepPropertyInfo:function(){this._propert yInfo={};for(var e=0;e<this.behaviors.length;e++)this._addPropertyInfo(this._pro pertyInfo,this.behaviors[e].properties);this._addPropertyInfo(this._propertyInfo ,this.properties),this._addPropertyInfo(this._propertyInfo,this._propertyEffects )},_addPropertyInfo:function(e,t){if(t){var r,i;for(var o in t)r=e[o],i=t[o],("_ "!==o[0]||i.readOnly)&&(e[o]?(r.type||(r.type=i.type),r.readOnly||(r.readOnly=i. readOnly)):e[o]={type:"function"==typeof i?i:i.type,readOnly:i.readOnly,attribut e:Polymer.CaseMap.camelToDashCase(o)})}}}),Polymer.CaseMap={_caseMap:{},_rx:{das hToCamel:/-[a-z]/g,camelToDash:/([A-Z])/g},dashToCamelCase:function(e){return th is._caseMap[e]||(this._caseMap[e]=e.indexOf("-")<0?e:e.replace(this._rx.dashToCa mel,function(e){return e[1].toUpperCase()}))},camelToDashCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.replace(this._rx.camelToDash,"-$1").toLow erCase())}},Polymer.Base._addFeature({_addHostAttributes:function(e){this._aggre gatedAttributes||(this._aggregatedAttributes={}),e&&this.mixin(this._aggregatedA ttributes,e)},_marshalHostAttributes:function(){this._aggregatedAttributes&&this ._applyAttributes(this,this._aggregatedAttributes)},_applyAttributes:function(e, t){for(var r in t)if(!this.hasAttribute(r)&&"class"!==r){var i=t[r];this.seriali zeValueToAttribute(i,r,this)}},_marshalAttributes:function(){this._takeAttribute sToModel(this)},_takeAttributesToModel:function(e){if(this.hasAttributes())for(v ar t in this._propertyInfo){var r=this._propertyInfo[t];this.hasAttribute(r.attr ibute)&&this._setAttributeToProperty(e,r.attribute,t,r)}},_setAttributeToPropert y:function(e,t,r,i){if(!this._serializing&&(r=r||Polymer.CaseMap.dashToCamelCase (t),i=i||this._propertyInfo&&this._propertyInfo[r],i&&!i.readOnly)){var o=this.g etAttribute(t);e[r]=this.deserialize(o,i.type)}},_serializing:!1,reflectProperty ToAttribute:function(e,t,r){this._serializing=!0,r=void 0===r?this[e]:r,this.ser ializeValueToAttribute(r,t||Polymer.CaseMap.camelToDashCase(e)),this._serializin g=!1},serializeValueToAttribute:function(e,t,r){var i=this.serialize(e);r=r||thi s,void 0===i?r.removeAttribute(t):r.setAttribute(t,i)},deserialize:function(e,t) {switch(t){case Number:e=Number(e);break;case Boolean:e=null!=e;break;case Objec t:try{e=JSON.parse(e)}catch(e){}break;case Array:try{e=JSON.parse(e)}catch(t){e= null,console.warn("Polymer::Attributes: couldn`t decode Array as JSON")}break;ca se Date:e=new Date(e);break;case String:}return e},serialize:function(e){switch( typeof e){case"boolean":return e?"":void 0;case"object":if(e instanceof Date)ret urn e.toString();if(e)try{return JSON.stringify(e)}catch(e){return""}default:ret urn null!=e?e:void 0}}}),Polymer.version="1.7.0",Polymer.Base._addFeature({_regi sterFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstruct or(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes (e.hostAttributes)},_marshalBehavior:function(e){},_initFeatures:function(){this ._marshalHostAttributes(),this._marshalBehaviors()}})</script> <script>Polymer.B ase._addFeature({_prepTemplate:function(){void 0===this._template&&(this._templa te=Polymer.DomModule.import(this.is,"template")),this._template&&this._template. hasAttribute("is")&&this._warn(this._logf("_prepTemplate","top-level Polymer tem plate must not be a type-extension, found",this._template,"Move inside simple <t emplate>.")),this._template&&!this._template.content&&window.HTMLTemplateElement &&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(this._template)},_s tampTemplate:function(){this._template&&(this.root=this.instanceTemplate(this._t emplate))},instanceTemplate:function(e){var t=document.importNode(e._content||e. content,!0);return t}}),function(){var e=Polymer.Base.attachedCallback;Polymer.B ase._addFeature({_hostStack:[],ready:function(){},_registerHost:function(e){this .dataHost=e=e||Polymer.Base._hostStack[Polymer.Base._hostStack.length-1],e&&e._c lients&&e._clients.push(this),this._clients=null,this._clientsReadied=!1},_begin Hosting:function(){Polymer.Base._hostStack.push(this),this._clients||(this._clie nts=[])},_endHosting:function(){Polymer.Base._hostStack.pop()},_tryReady:functio n(){this._readied=!1,this._canReady()&&this._ready()},_canReady:function(){retur n!this.dataHost||this.dataHost._clientsReadied},_ready:function(){this._beforeCl ientsReady(),this._template&&(this._setupRoot(),this._readyClients()),this._clie ntsReadied=!0,this._clients=null,this._afterClientsReady(),this._readySelf()},_r eadyClients:function(){this._beginDistribute();var e=this._clients;if(e)for(var t,o=0,i=e.length;o<i&&(t=e[o]);o++)t._ready();this._finishDistribute()},_readySe lf:function(){this._doBehavior("ready"),this._readied=!0,this._attachedPending&& (this._attachedPending=!1,this.attachedCallback())},_beforeClientsReady:function (){},_afterClientsReady:function(){},_beforeAttached:function(){},attachedCallba ck:function(){this._readied?(this._beforeAttached(),e.call(this)):this._attached Pending=!0}})}(),Polymer.ArraySplice=function(){function e(e,t,o){return{index:e ,removed:t,addedCount:o}}function t(){}var o=0,i=1,n=2,s=3;return t.prototype={c alcEditDistances:function(e,t,o,i,n,s){for(var r=s-n+1,d=o-t+1,a=new Array(r),l= 0;l<r;l++)a[l]=new Array(d),a[l][0]=l;for(var h=0;h<d;h++)a[0][h]=h;for(l=1;l<r; l++)for(h=1;h<d;h++)if(this.equals(e[t+h-1],i[n+l-1]))a[l][h]=a[l-1][h-1];else{v ar u=a[l-1][h]+1,c=a[l][h-1]+1;a[l][h]=u<c?u:c}return a},spliceOperationsFromEdi tDistances:function(e){for(var t=e.length-1,r=e[0].length-1,d=e[t][r],a=[];t>0|| r>0;)if(0!=t)if(0!=r){var l,h=e[t-1][r-1],u=e[t-1][r],c=e[t][r-1];l=u<c?u<h?u:h: c<h?c:h,l==h?(h==d?a.push(o):(a.push(i),d=h),t--,r--):l==u?(a.push(s),t--,d=u):( a.push(n),r--,d=c)}else a.push(s),t--;else a.push(n),r--;return a.reverse(),a},c alcSplices:function(t,r,d,a,l,h){var u=0,c=0,_=Math.min(d-r,h-l);if(0==r&&0==l&& (u=this.sharedPrefix(t,a,_)),d==t.length&&h==a.length&&(c=this.sharedSuffix(t,a, _-u)),r+=u,l+=u,d-=c,h-=c,d-r==0&&h-l==0)return[];if(r==d){for(var f=e(r,[],0);l <h;)f.removed.push(a[l++]);return[f]}if(l==h)return[e(r,[],d-r)];var m=this.spli ceOperationsFromEditDistances(this.calcEditDistances(t,r,d,a,l,h));f=void 0;for( var p=[],v=r,g=l,b=0;b<m.length;b++)switch(m[b]){case o:f&&(p.push(f),f=void 0), v++,g++;break;case i:f||(f=e(v,[],0)),f.addedCount++,v++,f.removed.push(a[g]),g+ +;break;case n:f||(f=e(v,[],0)),f.addedCount++,v++;break;case s:f||(f=e(v,[],0)) ,f.removed.push(a[g]),g++}return f&&p.push(f),p},sharedPrefix:function(e,t,o){fo r(var i=0;i<o;i++)if(!this.equals(e[i],t[i]))return i;return o},sharedSuffix:fun ction(e,t,o){for(var i=e.length,n=t.length,s=0;s<o&&this.equals(e[--i],t[--n]);) s++;return s},calculateSplices:function(e,t){return this.calcSplices(e,0,e.lengt h,t,0,t.length)},equals:function(e,t){return e===t}},new t}(),Polymer.domInnerHT ML=function(){function e(e){switch(e){case"&":return"&amp;";case"<":return"&lt;" ;case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function t( t){return t.replace(r,e)}function o(t){return t.replace(d,e)}function i(e){for(v ar t={},o=0;o<e.length;o++)t[e[o]]=!0;return t}function n(e,i,n){switch(e.nodeTy pe){case Node.ELEMENT_NODE:for(var r,d=e.localName,h="<"+d,u=e.attributes,c=0;r= u[c];c++)h+=" "+r.name+'="'+t(r.value)+'"';return h+=">",a[d]?h:h+s(e,n)+"</"+d+ ">";case Node.TEXT_NODE:var _=e.data;return i&&l[i.localName]?_:o(_);case Node.C OMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw console.error(e),new E rror("not implemented")}}function s(e,t){e instanceof HTMLTemplateElement&&(e=e. content);for(var o,i="",s=Polymer.dom(e).childNodes,r=0,d=s.length;r<d&&(o=s[r]) ;r++)i+=n(o,e,t);return i}var r=/[&\u00A0"]/g,d=/[&\u00A0<>]/g,a=i(["area","base ","br","col","command","embed","hr","img","input","keygen","link","meta","param" ,"source","track","wbr"]),l=i(["style","script","xmp","iframe","noembed","nofram es","plaintext","noscript"]);return{getInnerHTML:s}}(),function(){"use strict";v ar e=Element.prototype.insertBefore,t=Element.prototype.appendChild,o=Element.pr ototype.removeChild;Polymer.TreeApi={arrayCopyChildNodes:function(e){for(var t=[ ],o=0,i=e.firstChild;i;i=i.nextSibling)t[o++]=i;return t},arrayCopyChildren:func tion(e){for(var t=[],o=0,i=e.firstElementChild;i;i=i.nextElementSibling)t[o++]=i ;return t},arrayCopy:function(e){for(var t=e.length,o=new Array(t),i=0;i<t;i++)o [i]=e[i];return o}},Polymer.TreeApi.Logical={hasParentNode:function(e){return Bo olean(e.__dom&&e.__dom.parentNode)},hasChildNodes:function(e){return Boolean(e._ _dom&&void 0!==e.__dom.childNodes)},getChildNodes:function(e){return this.hasChi ldNodes(e)?this._getChildNodes(e):e.childNodes},_getChildNodes:function(e){if(!e .__dom.childNodes){e.__dom.childNodes=[];for(var t=e.__dom.firstChild;t;t=t.__do m.nextSibling)e.__dom.childNodes.push(t)}return e.__dom.childNodes},getParentNod e:function(e){return e.__dom&&void 0!==e.__dom.parentNode?e.__dom.parentNode:e.p arentNode},getFirstChild:function(e){return e.__dom&&void 0!==e.__dom.firstChild ?e.__dom.firstChild:e.firstChild},getLastChild:function(e){return e.__dom&&void 0!==e.__dom.lastChild?e.__dom.lastChild:e.lastChild},getNextSibling:function(e){ return e.__dom&&void 0!==e.__dom.nextSibling?e.__dom.nextSibling:e.nextSibling}, getPreviousSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling? e.__dom.previousSibling:e.previousSibling},getFirstElementChild:function(e){retu rn e.__dom&&void 0!==e.__dom.firstChild?this._getFirstElementChild(e):e.firstEle mentChild},_getFirstElementChild:function(e){for(var t=e.__dom.firstChild;t&&t.n odeType!==Node.ELEMENT_NODE;)t=t.__dom.nextSibling;return t},getLastElementChild :function(e){return e.__dom&&void 0!==e.__dom.lastChild?this._getLastElementChil d(e):e.lastElementChild},_getLastElementChild:function(e){for(var t=e.__dom.last Child;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},get NextElementSibling:function(e){return e.__dom&&void 0!==e.__dom.nextSibling?this ._getNextElementSibling(e):e.nextElementSibling},_getNextElementSibling:function (e){for(var t=e.__dom.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.n extSibling;return t},getPreviousElementSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling?this._getPreviousElementSibling(e):e.previousElement Sibling},_getPreviousElementSibling:function(e){for(var t=e.__dom.previousSiblin g;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},saveChi ldNodes:function(e){if(!this.hasChildNodes(e)){e.__dom=e.__dom||{},e.__dom.first Child=e.firstChild,e.__dom.lastChild=e.lastChild,e.__dom.childNodes=[];for(var t =e.firstChild;t;t=t.nextSibling)t.__dom=t.__dom||{},t.__dom.parentNode=e,e.__dom .childNodes.push(t),t.__dom.nextSibling=t.nextSibling,t.__dom.previousSibling=t. previousSibling}},recordInsertBefore:function(e,t,o){if(t.__dom.childNodes=null, e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var i=e.firstChild;i;i=i.nextSiblin g)this._linkNode(i,t,o);else this._linkNode(e,t,o)},_linkNode:function(e,t,o){e. __dom=e.__dom||{},t.__dom=t.__dom||{},o&&(o.__dom=o.__dom||{}),e.__dom.previousS ibling=o?o.__dom.previousSibling:t.__dom.lastChild,e.__dom.previousSibling&&(e._ _dom.previousSibling.__dom.nextSibling=e),e.__dom.nextSibling=o||null,e.__dom.ne xtSibling&&(e.__dom.nextSibling.__dom.previousSibling=e),e.__dom.parentNode=t,o? o===t.__dom.firstChild&&(t.__dom.firstChild=e):(t.__dom.lastChild=e,t.__dom.firs tChild||(t.__dom.firstChild=e)),t.__dom.childNodes=null},recordRemoveChild:funct ion(e,t){e.__dom=e.__dom||{},t.__dom=t.__dom||{},e===t.__dom.firstChild&&(t.__do m.firstChild=e.__dom.nextSibling),e===t.__dom.lastChild&&(t.__dom.lastChild=e.__ dom.previousSibling);var o=e.__dom.previousSibling,i=e.__dom.nextSibling;o&&(o._ _dom.nextSibling=i),i&&(i.__dom.previousSibling=o),e.__dom.parentNode=e.__dom.pr eviousSibling=e.__dom.nextSibling=void 0,t.__dom.childNodes=null}},Polymer.TreeA pi.Composed={getChildNodes:function(e){return Polymer.TreeApi.arrayCopyChildNode s(e)},getParentNode:function(e){return e.parentNode},clearChildNodes:function(e) {e.textContent=""},insertBefore:function(t,o,i){return e.call(t,o,i||null)},appe ndChild:function(e,o){return t.call(e,o)},removeChild:function(e,t){return o.cal l(e,t)}}}(),Polymer.DomApi=function(){"use strict";var e=Polymer.Settings,t=Poly mer.TreeApi,o=function(e){this.node=i?o.wrap(e):e},i=e.hasShadow&&!e.nativeShado w;o.wrap=window.wrap?window.wrap:function(e){return e},o.prototype={flush:functi on(){Polymer.dom.flush()},deepContains:function(e){if(this.node.contains(e))retu rn!0;for(var t=e,o=e.ownerDocument;t&&t!==o&&t!==this.node;)t=Polymer.dom(t).par entNode||t.host;return t===this.node},queryDistributedElements:function(e){for(v ar t,i=this.getEffectiveChildNodes(),n=[],s=0,r=i.length;s<r&&(t=i[s]);s++)t.nod eType===Node.ELEMENT_NODE&&o.matchesSelector.call(t,e)&&n.push(t);return n},getE ffectiveChildNodes:function(){for(var e,t=[],o=this.childNodes,i=0,r=o.length;i< r&&(e=o[i]);i++)if(e.localName===n)for(var d=s(e).getDistributedNodes(),a=0;a<d. length;a++)t.push(d[a]);else t.push(e);return t},observeNodes:function(e){if(e)r eturn this.observer||(this.observer=this.node.localName===n?new o.DistributedNod esObserver(this):new o.EffectiveNodesObserver(this)),this.observer.addListener(e )},unobserveNodes:function(e){this.observer&&this.observer.removeListener(e)},no tifyObserver:function(){this.observer&&this.observer.notify()},_query:function(e ,o,i){o=o||this.node;var n=[];return this._queryElements(t.Logical.getChildNodes (o),e,i,n),n},_queryElements:function(e,t,o,i){for(var n,s=0,r=e.length;s<r&&(n= e[s]);s++)if(n.nodeType===Node.ELEMENT_NODE&&this._queryElement(n,t,o,i))return! 0},_queryElement:function(e,o,i,n){var s=o(e);return s&&n.push(e),i&&i(s)?s:void this._queryElements(t.Logical.getChildNodes(e),o,i,n)}};var n=o.CONTENT="conten t",s=o.factory=function(e){return e=e||document,e.__domApi||(e.__domApi=new o.ct or(e)),e.__domApi};o.hasApi=function(e){return Boolean(e.__domApi)},o.ctor=o,Pol ymer.dom=function(e,t){return e instanceof Event?Polymer.EventApi.factory(e):o.f actory(e,t)};var r=Element.prototype;return o.matchesSelector=r.matches||r.match esSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.web kitMatchesSelector,o}(),function(){"use strict";var e=Polymer.Settings,t=Polymer .DomApi,o=t.factory,i=Polymer.TreeApi,n=Polymer.domInnerHTML.getInnerHTML,s=t.CO NTENT;if(!e.useShadow){var r=Element.prototype.cloneNode,d=Document.prototype.im portNode;Polymer.Base.extend(t.prototype,{_lazyDistribute:function(e){e.shadyRoo t&&e.shadyRoot._distributionClean&&(e.shadyRoot._distributionClean=!1,Polymer.do m.addDebouncer(e.debounce("_distribute",e._distributeContent)))},appendChild:fun ction(e){return this.insertBefore(e)},insertBefore:function(e,n){if(n&&i.Logical .getParentNode(n)!==this.node)throw Error("The ref_node to be inserted before is not a child of this node");if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=i .Logical.getParentNode(e);r?(t.hasApi(r)&&o(r).notifyObserver(),this._removeNode (e)):this._removeOwnerShadyRoot(e)}if(!this._addNode(e,n)){n&&(n=n.localName===s ?this._firstComposedNode(n):n);var d=this.node._isShadyRoot?this.node.host:this. node;n?i.Composed.insertBefore(d,e,n):i.Composed.appendChild(d,e)}return this.no tifyObserver(),e},_addNode:function(e,t){var o=this.getOwnerRoot();if(o){var n=t his._maybeAddInsertionPoint(e,this.node);o._invalidInsertionPoints||(o._invalidI nsertionPoints=n),this._addNodeToHost(o.host,e)}i.Logical.hasChildNodes(this.nod e)&&i.Logical.recordInsertBefore(e,this.node,t);var s=this._maybeDistribute(e)|| this.node.shadyRoot;if(s)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(;e.firs tChild;)i.Composed.removeChild(e,e.firstChild);else{var r=i.Composed.getParentNo de(e);r&&i.Composed.removeChild(r,e)}return s},removeChild:function(e){if(i.Logi cal.getParentNode(e)!==this.node)throw Error("The node to be removed is not a ch ild of this node: "+e);if(!this._removeNode(e)){var t=this.node._isShadyRoot?thi s.node.host:this.node,o=i.Composed.getParentNode(e);t===o&&i.Composed.removeChil d(t,e)}return this.notifyObserver(),e},_removeNode:function(e){var t,n=i.Logical .hasParentNode(e)&&i.Logical.getParentNode(e),s=this._ownerShadyRootForNode(e);r eturn n&&(t=o(e)._maybeDistributeParent(),i.Logical.recordRemoveChild(e,n),s&&th is._removeDistributedChildren(s,e)&&(s._invalidInsertionPoints=!0,this._lazyDist ribute(s.host))),this._removeOwnerShadyRoot(e),s&&this._removeNodeFromHost(s.hos t,e),t},replaceChild:function(e,t){return this.insertBefore(e,t),this.removeChil d(t),e},_hasCachedOwnerRoot:function(e){return Boolean(void 0!==e._ownerShadyRoo t)},getOwnerRoot:function(){return this._ownerShadyRootForNode(this.node)},_owne rShadyRootForNode:function(e){if(e){var t=e._ownerShadyRoot;if(void 0===t){if(e. _isShadyRoot)t=e;else{var o=i.Logical.getParentNode(e);t=o?o._isShadyRoot?o:this ._ownerShadyRootForNode(o):null}(t||document.documentElement.contains(e))&&(e._o wnerShadyRoot=t)}return t}},_maybeDistribute:function(e){var t=e.nodeType===Node .DOCUMENT_FRAGMENT_NODE&&!e.__noContent&&o(e).querySelector(s),n=t&&i.Logical.ge tParentNode(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE,r=t||e.localName===s;if(r) {var d=this.getOwnerRoot();d&&this._lazyDistribute(d.host)}var a=this._nodeNeeds Distribution(this.node);return a&&this._lazyDistribute(this.node),a||r&&!n},_may beAddInsertionPoint:function(e,t){var n;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_N ODE||e.__noContent)e.localName===s&&(i.Logical.saveChildNodes(t),i.Logical.saveC hildNodes(e),n=!0);else for(var r,d,a,l=o(e).querySelectorAll(s),h=0;h<l.length& &(r=l[h]);h++)d=i.Logical.getParentNode(r),d===e&&(d=t),a=this._maybeAddInsertio nPoint(r,d),n=n||a;return n},_updateInsertionPoints:function(e){for(var t,n=e.sh adyRoot._insertionPoints=o(e.shadyRoot).querySelectorAll(s),r=0;r<n.length;r++)t =n[r],i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(i.Logical.getParentNo de(t))},_nodeNeedsDistribution:function(e){return e&&e.shadyRoot&&t.hasInsertion Point(e.shadyRoot)},_addNodeToHost:function(e,t){e._elementAdd&&e._elementAdd(t) },_removeNodeFromHost:function(e,t){e._elementRemove&&e._elementRemove(t)},_remo veDistributedChildren:function(e,t){for(var n,s=e._insertionPoints,r=0;r<s.lengt h;r++){var d=s[r];if(this._contains(t,d))for(var a=o(d).getDistributedNodes(),l= 0;l<a.length;l++){n=!0;var h=a[l],u=i.Composed.getParentNode(h);u&&i.Composed.re moveChild(u,h)}}return n},_contains:function(e,t){for(;t;){if(t==e)return!0;t=i. Logical.getParentNode(t)}},_removeOwnerShadyRoot:function(e){if(this._hasCachedO wnerRoot(e))for(var t,o=i.Logical.getChildNodes(e),n=0,s=o.length;n<s&&(t=o[n]); n++)this._removeOwnerShadyRoot(t);e._ownerShadyRoot=void 0},_firstComposedNode:f unction(e){for(var t,i,n=o(e).getDistributedNodes(),s=0,r=n.length;s<r&&(t=n[s]) ;s++)if(i=o(t).getDestinationInsertionPoints(),i[i.length-1]===e)return t},query Selector:function(e){var o=this._query(function(o){return t.matchesSelector.call (o,e)},this.node,function(e){return Boolean(e)})[0];return o||null},querySelecto rAll:function(e){return this._query(function(o){return t.matchesSelector.call(o, e)},this.node)},getDestinationInsertionPoints:function(){return this.node._desti nationInsertionPoints||[]},getDistributedNodes:function(){return this.node._dist ributedNodes||[]},_clear:function(){for(;this.childNodes.length;)this.removeChil d(this.childNodes[0])},setAttribute:function(e,t){this.node.setAttribute(e,t),th is._maybeDistributeParent()},removeAttribute:function(e){this.node.removeAttribu te(e),this._maybeDistributeParent()},_maybeDistributeParent:function(){if(this._ nodeNeedsDistribution(this.parentNode))return this._lazyDistribute(this.parentNo de),!0},cloneNode:function(e){var t=r.call(this.node,!1);if(e)for(var i,n=this.c hildNodes,s=o(t),d=0;d<n.length;d++)i=o(n[d]).cloneNode(!0),s.appendChild(i);ret urn t},importNode:function(e,t){var n=this.node instanceof Document?this.node:th is.node.ownerDocument,s=d.call(n,e,!1);if(t)for(var r,a=i.Logical.getChildNodes( e),l=o(s),h=0;h<a.length;h++)r=o(n).importNode(a[h],!0),l.appendChild(r);return s},_getComposedInnerHTML:function(){return n(this.node,!0)}}),Object.definePrope rties(t.prototype,{activeElement:{get:function(){var e=document.activeElement;if (!e)return null;var t=!!this.node._isShadyRoot;if(this.node!==document){if(!t)re turn null;if(this.node.host===e||!this.node.host.contains(e))return null}for(var i=o(e).getOwnerRoot();i&&i!==this.node;)e=i.host,i=o(e).getOwnerRoot();return t his.node===document?i?null:e:i===this.node?e:null},configurable:!0},childNodes:{ get:function(){var e=i.Logical.getChildNodes(this.node);return Array.isArray(e)? e:i.arrayCopyChildNodes(this.node)},configurable:!0},children:{get:function(){re turn i.Logical.hasChildNodes(this.node)?Array.prototype.filter.call(this.childNo des,function(e){return e.nodeType===Node.ELEMENT_NODE}):i.arrayCopyChildren(this .node)},configurable:!0},parentNode:{get:function(){return i.Logical.getParentNo de(this.node)},configurable:!0},firstChild:{get:function(){return i.Logical.getF irstChild(this.node)},configurable:!0},lastChild:{get:function(){return i.Logica l.getLastChild(this.node)},configurable:!0},nextSibling:{get:function(){return i .Logical.getNextSibling(this.node)},configurable:!0},previousSibling:{get:functi on(){return i.Logical.getPreviousSibling(this.node)},configurable:!0},firstEleme ntChild:{get:function(){return i.Logical.getFirstElementChild(this.node)},config urable:!0},lastElementChild:{get:function(){return i.Logical.getLastElementChild (this.node)},configurable:!0},nextElementSibling:{get:function(){return i.Logica l.getNextElementSibling(this.node)},configurable:!0},previousElementSibling:{get :function(){return i.Logical.getPreviousElementSibling(this.node)},configurable: !0},textContent:{get:function(){var e=this.node.nodeType;if(e===Node.TEXT_NODE|| e===Node.COMMENT_NODE)return this.node.textContent;for(var t,o=[],i=0,n=this.chi ldNodes;t=n[i];i++)t.nodeType!==Node.COMMENT_NODE&&o.push(t.textContent);return o.join("")},set:function(e){var t=this.node.nodeType;t===Node.TEXT_NODE||t===Nod e.COMMENT_NODE?this.node.textContent=e:(this._clear(),e&&this.appendChild(docume nt.createTextNode(e)))},configurable:!0},innerHTML:{get:function(){var e=this.no de.nodeType;return e===Node.TEXT_NODE||e===Node.COMMENT_NODE?null:n(this.node)}, set:function(e){var t=this.node.nodeType;if(t!==Node.TEXT_NODE||t!==Node.COMMENT _NODE){this._clear();var o=document.createElement("div");o.innerHTML=e;for(var n =i.arrayCopyChildNodes(o),s=0;s<n.length;s++)this.appendChild(n[s])}},configurab le:!0}}),t.hasInsertionPoint=function(e){return Boolean(e&&e._insertionPoints.le ngth)}}}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=Po lymer.DomApi;if(e.useShadow){Polymer.Base.extend(o.prototype,{querySelectorAll:f unction(e){return t.arrayCopy(this.node.querySelectorAll(e))},getOwnerRoot:funct ion(){for(var e=this.node;e;){if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.hos t)return e;e=e.parentNode}},importNode:function(e,t){var o=this.node instanceof Document?this.node:this.node.ownerDocument;return o.importNode(e,t)},getDestinat ionInsertionPoints:function(){var e=this.node.getDestinationInsertionPoints&&thi s.node.getDestinationInsertionPoints();return e?t.arrayCopy(e):[]},getDistribute dNodes:function(){var e=this.node.getDistributedNodes&&this.node.getDistributedN odes();return e?t.arrayCopy(e):[]}}),Object.defineProperties(o.prototype,{active Element:{get:function(){var e=o.wrap(this.node),t=e.activeElement;return e.conta ins(t)?t:null},configurable:!0},childNodes:{get:function(){return t.arrayCopyChi ldNodes(this.node)},configurable:!0},children:{get:function(){return t.arrayCopy Children(this.node)},configurable:!0},textContent:{get:function(){return this.no de.textContent},set:function(e){return this.node.textContent=e},configurable:!0} ,innerHTML:{get:function(){return this.node.innerHTML},set:function(e){return th is.node.innerHTML=e},configurable:!0}});var i=function(e){for(var t=0;t<e.length ;t++)n(e[t])},n=function(e){o.prototype[e]=function(){return this.node[e].apply( this.node,arguments)}};i(["cloneNode","appendChild","insertBefore","removeChild" ,"replaceChild","setAttribute","removeAttribute","querySelector"]);var s=functio n(e){for(var t=0;t<e.length;t++)r(e[t])},r=function(e){Object.defineProperty(o.p rototype,e,{get:function(){return this.node[e]},configurable:!0})};s(["parentNod e","firstChild","lastChild","nextSibling","previousSibling","firstElementChild", "lastElementChild","nextElementSibling","previousElementSibling"])}}(),Polymer.B ase.extend(Polymer.dom,{_flushGuard:0,_FLUSH_MAX:100,_needsTakeRecords:!Polymer. Settings.useNativeCustomElements,_debouncers:[],_staticFlushList:[],_finishDebou ncer:null,flush:function(){for(this._flushGuard=0,this._prepareFlush();this._deb ouncers.length&&this._flushGuard<this._FLUSH_MAX;){for(;this._debouncers.length; )this._debouncers.shift().complete();this._finishDebouncer&&this._finishDebounce r.complete(),this._prepareFlush(),this._flushGuard++}this._flushGuard>=this._FLU SH_MAX&&console.warn("Polymer.dom.flush aborted. Flush may not be complete.")},_ prepareFlush:function(){this._needsTakeRecords&&CustomElements.takeRecords();for (var e=0;e<this._staticFlushList.length;e++)this._staticFlushList[e]()},addStati cFlush:function(e){this._staticFlushList.push(e)},removeStaticFlush:function(e){ var t=this._staticFlushList.indexOf(e);t>=0&&this._staticFlushList.splice(t,1)}, addDebouncer:function(e){this._debouncers.push(e),this._finishDebouncer=Polymer. Debounce(this._finishDebouncer,this._finishFlush)},_finishFlush:function(){Polym er.dom._debouncers=[]}}),Polymer.EventApi=function(){"use strict";var e=Polymer. DomApi.ctor,t=Polymer.Settings;e.Event=function(e){this.event=e},t.useShadow?e.E vent.prototype={get rootTarget(){return this.event.path[0]},get localTarget(){re turn this.event.target},get path(){var e=this.event.path;return Array.isArray(e) ||(e=Array.prototype.slice.call(e)),e}}:e.Event.prototype={get rootTarget(){retu rn this.event.target},get localTarget(){for(var e=this.event.currentTarget,t=e&& Polymer.dom(e).getOwnerRoot(),o=this.path,i=0;i<o.length;i++)if(Polymer.dom(o[i] ).getOwnerRoot()===t)return o[i]},get path(){if(!this.event._path){for(var e=[], t=this.rootTarget;t;){e.push(t);var o=Polymer.dom(t).getDestinationInsertionPoin ts();if(o.length){for(var i=0;i<o.length-1;i++)e.push(o[i]);t=o[o.length-1]}else t=Polymer.dom(t).parentNode||t.host}e.push(window),this.event._path=e}return th is.event._path}};var o=function(t){return t.__eventApi||(t.__eventApi=new e.Even t(t)),t.__eventApi};return{factory:o}}(),function(){"use strict";var e=Polymer.D omApi.ctor,t=Polymer.Settings.useShadow;Object.defineProperty(e.prototype,"class List",{get:function(){return this._classList||(this._classList=new e.ClassList(t his)),this._classList},configurable:!0}),e.ClassList=function(e){this.domApi=e,t his.node=e.node},e.ClassList.prototype={add:function(){this.node.classList.add.a pply(this.node.classList,arguments),this._distributeParent()},remove:function(){ this.node.classList.remove.apply(this.node.classList,arguments),this._distribute Parent()},toggle:function(){this.node.classList.toggle.apply(this.node.classList ,arguments),this._distributeParent()},_distributeParent:function(){t||this.domAp i._maybeDistributeParent()},contains:function(){return this.node.classList.conta ins.apply(this.node.classList,arguments)}}}(),function(){"use strict";var e=Poly mer.DomApi.ctor,t=Polymer.Settings;if(e.EffectiveNodesObserver=function(e){this. domApi=e,this.node=this.domApi.node,this._listeners=[]},e.EffectiveNodesObserver .prototype={addListener:function(e){this._isSetup||(this._setup(),this._isSetup= !0);var t={fn:e,_nodes:[]};return this._listeners.push(t),this._scheduleNotify() ,t},removeListener:function(e){var t=this._listeners.indexOf(e);t>=0&&(this._lis teners.splice(t,1),e._nodes=[]),this._hasListeners()||(this._cleanup(),this._isS etup=!1)},_setup:function(){this._observeContentElements(this.domApi.childNodes) },_cleanup:function(){this._unobserveContentElements(this.domApi.childNodes)},_h asListeners:function(){return Boolean(this._listeners.length)},_scheduleNotify:f unction(){this._debouncer&&this._debouncer.stop(),this._debouncer=Polymer.Deboun ce(this._debouncer,this._notify),this._debouncer.context=this,Polymer.dom.addDeb ouncer(this._debouncer)},notify:function(){this._hasListeners()&&this._scheduleN otify()},_notify:function(){this._beforeCallListeners(),this._callListeners()},_ beforeCallListeners:function(){this._updateContentElements()},_updateContentElem ents:function(){this._observeContentElements(this.domApi.childNodes)},_observeCo ntentElements:function(e){for(var t,o=0;o<e.length&&(t=e[o]);o++)this._isContent (t)&&(t.__observeNodesMap=t.__observeNodesMap||new WeakMap,t.__observeNodesMap.h as(this)||t.__observeNodesMap.set(this,this._observeContent(t)))},_observeConten t:function(e){var t=this,o=Polymer.dom(e).observeNodes(function(){t._scheduleNot ify()});return o._avoidChangeCalculation=!0,o},_unobserveContentElements:functio n(e){for(var t,o,i=0;i<e.length&&(t=e[i]);i++)this._isContent(t)&&(o=t.__observe NodesMap.get(this),o&&(Polymer.dom(t).unobserveNodes(o),t.__observeNodesMap.dele te(this)))},_isContent:function(e){return"content"===e.localName},_callListeners :function(){for(var e,t=this._listeners,o=this._getEffectiveNodes(),i=0;i<t.leng th&&(e=t[i]);i++){var n=this._generateListenerInfo(e,o);(n||e._alwaysNotify)&&th is._callListener(e,n)}},_getEffectiveNodes:function(){return this.domApi.getEffe ctiveChildNodes()},_generateListenerInfo:function(e,t){if(e._avoidChangeCalculat ion)return!0;for(var o,i=e._nodes,n={target:this.node,addedNodes:[],removedNodes :[]},s=Polymer.ArraySplice.calculateSplices(t,i),r=0;r<s.length&&(o=s[r]);r++)fo r(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)n.removedNodes.push(d);for( r=0,o;r<s.length&&(o=s[r]);r++)for(a=o.index;a<o.index+o.addedCount;a++)n.addedN odes.push(t[a]);return e._nodes=t,n.addedNodes.length||n.removedNodes.length?n:v oid 0},_callListener:function(e,t){return e.fn.call(this.node,t)},enableShadowAt tributeTracking:function(){}},t.useShadow){var o=e.EffectiveNodesObserver.protot ype._setup,i=e.EffectiveNodesObserver.prototype._cleanup;Polymer.Base.extend(e.E ffectiveNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=thi s;this._mutationHandler=function(t){t&&t.length&&e._scheduleNotify()},this._obse rver=new MutationObserver(this._mutationHandler),this._boundFlush=function(){e._ flush()},Polymer.dom.addStaticFlush(this._boundFlush),this._observer.observe(thi s.node,{childList:!0})}o.call(this)},_cleanup:function(){this._observer.disconne ct(),this._observer=null,this._mutationHandler=null,Polymer.dom.removeStaticFlus h(this._boundFlush),i.call(this)},_flush:function(){this._observer&&this._mutati onHandler(this._observer.takeRecords())},enableShadowAttributeTracking:function( ){if(this._observer){this._makeContentListenersAlwaysNotify(),this._observer.dis connect(),this._observer.observe(this.node,{childList:!0,attributes:!0,subtree:! 0});var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).observer&&Pol ymer.dom(t).observer.enableShadowAttributeTracking()}},_makeContentListenersAlwa ysNotify:function(){for(var e,t=0;t<this._listeners.length;t++)e=this._listeners [t],e._alwaysNotify=e._isContentListener}})}}(),function(){"use strict";var e=Po lymer.DomApi.ctor,t=Polymer.Settings;e.DistributedNodesObserver=function(t){e.Ef fectiveNodesObserver.call(this,t)},e.DistributedNodesObserver.prototype=Object.c reate(e.EffectiveNodesObserver.prototype),Polymer.Base.extend(e.DistributedNodes Observer.prototype,{_setup:function(){},_cleanup:function(){},_beforeCallListene rs:function(){},_getEffectiveNodes:function(){return this.domApi.getDistributedN odes()}}),t.useShadow&&Polymer.Base.extend(e.DistributedNodesObserver.prototype, {_setup:function(){if(!this._observer){var e=this.domApi.getOwnerRoot(),t=e&&e.h ost;if(t){var o=this;this._observer=Polymer.dom(t).observeNodes(function(){o._sc heduleNotify()}),this._observer._isContentListener=!0,this._hasAttrSelect()&&Pol ymer.dom(t).observer.enableShadowAttributeTracking()}}},_hasAttrSelect:function( ){var e=this.node.getAttribute("select");return e&&e.match(/[[.]+/)},_cleanup:fu nction(){var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).unobserv eNodes(this._observer),this._observer=null}})}(),function(){function e(e,t){t._d istributedNodes.push(e);var o=e._destinationInsertionPoints;o?o.push(t):e._desti nationInsertionPoints=[t]}function t(e){var t=e._distributedNodes;if(t)for(var o =0;o<t.length;o++){var i=t[o]._destinationInsertionPoints;i&&i.splice(i.indexOf( e)+1,i.length)}}function o(e,t){var o=u.Logical.getParentNode(e);o&&o.shadyRoot& &h.hasInsertionPoint(o.shadyRoot)&&o.shadyRoot._distributionClean&&(o.shadyRoot. _distributionClean=!1,t.shadyRoot._dirtyRoots.push(o))}function i(e,t){var o=t._ destinationInsertionPoints;return o&&o[o.length-1]===e}function n(e){return"cont ent"==e.localName}function s(e){for(;e&&r(e);)e=e.domHost;return e}function r(e) {for(var t,o=u.Logical.getChildNodes(e),i=0;i<o.length;i++)if(t=o[i],t.localName &&"content"===t.localName)return e.domHost}function d(e){for(var t,o=0;o<e._inse rtionPoints.length;o++)t=e._insertionPoints[o],h.hasApi(t)&&Polymer.dom(t).notif yObserver()}function a(e){h.hasApi(e)&&Polymer.dom(e).notifyObserver()}function l(e){if(c&&e)for(var t=0;t<e.length;t++)CustomElements.upgrade(e[t])}var h=Polym er.DomApi,u=Polymer.TreeApi;Polymer.Base._addFeature({_prepShady:function(){this ._useContent=this._useContent||Boolean(this._template)},_setupShady:function(){t his.shadyRoot=null,this.__domApi||(this.__domApi=null),this.__dom||(this.__dom=n ull),this._ownerShadyRoot||(this._ownerShadyRoot=void 0)},_poolContent:function( ){this._useContent&&u.Logical.saveChildNodes(this)},_setupRoot:function(){this._ useContent&&(this._createLocalRoot(),this.dataHost||l(u.Logical.getChildNodes(th is)))},_createLocalRoot:function(){this.shadyRoot=this.root,this.shadyRoot._dist ributionClean=!1,this.shadyRoot._hasDistributed=!1,this.shadyRoot._isShadyRoot=! 0,this.shadyRoot._dirtyRoots=[];var e=this.shadyRoot._insertionPoints=!this._not es||this._notes._hasContent?this.shadyRoot.querySelectorAll("content"):[];u.Logi cal.saveChildNodes(this.shadyRoot);for(var t,o=0;o<e.length;o++)t=e[o],u.Logical .saveChildNodes(t),u.Logical.saveChildNodes(t.parentNode);this.shadyRoot.host=th is},get domHost(){var e=Polymer.dom(this).getOwnerRoot();return e&&e.host},distr ibuteContent:function(e){if(this.shadyRoot){this.shadyRoot._invalidInsertionPoin ts=this.shadyRoot._invalidInsertionPoints||e;var t=s(this);Polymer.dom(this)._la zyDistribute(t)}},_distributeContent:function(){this._useContent&&!this.shadyRoo t._distributionClean&&(this.shadyRoot._invalidInsertionPoints&&(Polymer.dom(this )._updateInsertionPoints(this),this.shadyRoot._invalidInsertionPoints=!1),this._ beginDistribute(),this._distributeDirtyRoots(),this._finishDistribute())},_begin Distribute:function(){this._useContent&&h.hasInsertionPoint(this.shadyRoot)&&(th is._resetDistribution(),this._distributePool(this.shadyRoot,this._collectPool()) );
2 },_distributeDirtyRoots:function(){for(var e,t=this.shadyRoot._dirtyRoots,o=0,i= t.length;o<i&&(e=t[o]);o++)e._distributeContent();this.shadyRoot._dirtyRoots=[]} ,_finishDistribute:function(){if(this._useContent){if(this.shadyRoot._distributi onClean=!0,h.hasInsertionPoint(this.shadyRoot))this._composeTree(),d(this.shadyR oot);else if(this.shadyRoot._hasDistributed){var e=this._composeNode(this);this. _updateChildNodes(this,e)}else u.Composed.clearChildNodes(this),this.appendChild (this.shadyRoot);this.shadyRoot._hasDistributed||a(this),this.shadyRoot._hasDist ributed=!0}},elementMatches:function(e,t){return t=t||this,h.matchesSelector.cal l(t,e)},_resetDistribution:function(){for(var e=u.Logical.getChildNodes(this),o= 0;o<e.length;o++){var i=e[o];i._destinationInsertionPoints&&(i._destinationInser tionPoints=void 0),n(i)&&t(i)}for(var s=this.shadyRoot,r=s._insertionPoints,d=0; d<r.length;d++)r[d]._distributedNodes=[]},_collectPool:function(){for(var e=[],t =u.Logical.getChildNodes(this),o=0;o<t.length;o++){var i=t[o];n(i)?e.push.apply( e,i._distributedNodes):e.push(i)}return e},_distributePool:function(e,t){for(var i,n=e._insertionPoints,s=0,r=n.length;s<r&&(i=n[s]);s++)this._distributeInserti onPoint(i,t),o(i,this)},_distributeInsertionPoint:function(t,o){for(var i,n=!1,s =0,r=o.length;s<r;s++)i=o[s],i&&this._matchesContentSelect(i,t)&&(e(i,t),o[s]=vo id 0,n=!0);if(!n)for(var d=u.Logical.getChildNodes(t),a=0;a<d.length;a++)e(d[a], t)},_composeTree:function(){this._updateChildNodes(this,this._composeNode(this)) ;for(var e,t,o=this.shadyRoot._insertionPoints,i=0,n=o.length;i<n&&(e=o[i]);i++) t=u.Logical.getParentNode(e),t._useContent||t===this||t===this.shadyRoot||this._ updateChildNodes(t,this._composeNode(t))},_composeNode:function(e){for(var t=[], o=u.Logical.getChildNodes(e.shadyRoot||e),s=0;s<o.length;s++){var r=o[s];if(n(r) )for(var d=r._distributedNodes,a=0;a<d.length;a++){var l=d[a];i(r,l)&&t.push(l)} else t.push(r)}return t},_updateChildNodes:function(e,t){for(var o,i=u.Composed. getChildNodes(e),n=Polymer.ArraySplice.calculateSplices(t,i),s=0,r=0;s<n.length& &(o=n[s]);s++){for(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)u.Composed .getParentNode(d)===e&&u.Composed.removeChild(e,d),i.splice(o.index+r,1);r-=o.ad dedCount}for(var o,l,s=0;s<n.length&&(o=n[s]);s++)for(l=i[o.index],a=o.index,d;a <o.index+o.addedCount;a++)d=t[a],u.Composed.insertBefore(e,d,l),i.splice(a,0,d)} ,_matchesContentSelect:function(e,t){var o=t.getAttribute("select");if(!o)return !0;if(o=o.trim(),!o)return!0;if(!(e instanceof Element))return!1;var i=/^(:not\( )?[*.#[a-zA-Z_|]/;return!!i.test(o)&&this.elementMatches(o,e)},_elementAdd:funct ion(){},_elementRemove:function(){}});var c=window.CustomElements&&!CustomElemen ts.useNative}(),Polymer.Settings.useShadow&&Polymer.Base._addFeature({_poolConte nt:function(){},_beginDistribute:function(){},distributeContent:function(){},_di stributeContent:function(){},_finishDistribute:function(){},_createLocalRoot:fun ction(){this.createShadowRoot(),this.shadowRoot.appendChild(this.root),this.root =this.shadowRoot}}),Polymer.Async={_currVal:0,_lastVal:0,_callbacks:[],_twiddleC ontent:0,_twiddle:document.createTextNode(""),run:function(e,t){return t>0?~setT imeout(e,t):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.pu sh(e),this._currVal++)},cancel:function(e){if(e<0)clearTimeout(~e);else{var t=e- this._lastVal;if(t>=0){if(!this._callbacks[t])throw"invalid async handle: "+e;th is._callbacks[t]=null}}},_atEndOfMicrotask:function(){for(var e=this._callbacks. length,t=0;t<e;t++){var o=this._callbacks[t];if(o)try{o()}catch(e){throw t++,thi s._callbacks.splice(0,t),this._lastVal+=t,this._twiddle.textContent=this._twiddl eContent++,e}}this._callbacks.splice(0,e),this._lastVal+=e}},new window.Mutation Observer(function(){Polymer.Async._atEndOfMicrotask()}).observe(Polymer.Async._t widdle,{characterData:!0}),Polymer.Debounce=function(){function e(e,t,i){return e?e.stop():e=new o(this),e.go(t,i),e}var t=Polymer.Async,o=function(e){this.cont ext=e;var t=this;this.boundComplete=function(){t.complete()}};return o.prototype ={go:function(e,o){var i;this.finish=function(){t.cancel(i)},i=t.run(this.boundC omplete,o),this.callback=e},stop:function(){this.finish&&(this.finish(),this.fin ish=null,this.callback=null)},complete:function(){if(this.finish){var e=this.cal lback;this.stop(),e.call(this.context)}}},e}(),Polymer.Base._addFeature({_setupD ebouncers:function(){this._debouncers={}},debounce:function(e,t,o){return this._ debouncers[e]=Polymer.Debounce.call(this,this._debouncers[e],t,o)},isDebouncerAc tive:function(e){var t=this._debouncers[e];return!(!t||!t.finish)},flushDebounce r:function(e){var t=this._debouncers[e];t&&t.complete()},cancelDebouncer:functio n(e){var t=this._debouncers[e];t&&t.stop()}}),Polymer.DomModule=document.createE lement("dom-module"),Polymer.Base._addFeature({_registerFeatures:function(){this ._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepTemplate(),th is._prepShady(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHos tAttributes(e.hostAttributes)},_initFeatures:function(){this._registerHost(),thi s._template&&(this._poolContent(),this._beginHosting(),this._stampTemplate(),thi s._endHosting()),this._marshalHostAttributes(),this._setupDebouncers(),this._mar shalBehaviors(),this._tryReady()},_marshalBehavior:function(e){}})</script> <scr ipt>Polymer.nar=[],Polymer.Annotations={parseAnnotations:function(e){var t=[],n= e._content||e.content;return this._parseNodeAnnotations(n,t,e.hasAttribute("stri p-whitespace")),t},_parseNodeAnnotations:function(e,t,n){return e.nodeType===Nod e.TEXT_NODE?this._parseTextNodeAnnotation(e,t):this._parseElementAnnotations(e,t ,n)},_bindingRegex:function(){var e="(?:[a-zA-Z_$][\\w.:$\\-*]*)",t="(?:[-+]?[0- 9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",n="(?:'(?:[^'\\\\]|\\\\.)*')",r='(?:"(?:[^"\ \\\]|\\\\.)*")',s="(?:"+n+"|"+r+")",i="(?:"+e+"|"+t+"|"+s+"\\s*)",o="(?:"+i+"(?: ,\\s*"+i+")*)",a="(?:\\(\\s*(?:"+o+"?)\\)\\s*)",l="("+e+"\\s*"+a+"?)",c="(\\[\\[ |{{)\\s*",h="(?:]]|}})",u="(?:(!)\\s*)?",f=c+u+l+h;return new RegExp(f,"g")}(),_ parseBindings:function(e){for(var t,n=this._bindingRegex,r=[],s=0;null!==(t=n.ex ec(e));){t.index>s&&r.push({literal:e.slice(s,t.index)});var i,o,a,l=t[1][0],c=B oolean(t[2]),h=t[3].trim();"{"==l&&(a=h.indexOf("::"))>0&&(o=h.substring(a+2),h= h.substring(0,a),i=!0),r.push({compoundIndex:r.length,value:h,mode:l,negate:c,ev ent:o,customEvent:i}),s=n.lastIndex}if(s&&s<e.length){var u=e.substring(s);u&&r. push({literal:u})}if(r.length)return r},_literalFromParts:function(e){for(var t= "",n=0;n<e.length;n++){var r=e[n].literal;t+=r||""}return t},_parseTextNodeAnnot ation:function(e,t){var n=this._parseBindings(e.textContent);if(n){e.textContent =this._literalFromParts(n)||" ";var r={bindings:[{kind:"text",name:"textContent" ,parts:n,isCompound:1!==n.length}]};return t.push(r),r}},_parseElementAnnotation s:function(e,t,n){var r={bindings:[],events:[]};return"content"===e.localName&&( t._hasContent=!0),this._parseChildNodesAnnotations(e,r,t,n),e.attributes&&(this. _parseNodeAttributeAnnotations(e,r,t),this.prepElement&&this.prepElement(e)),(r. bindings.length||r.events.length||r.id)&&t.push(r),r},_parseChildNodesAnnotation s:function(e,t,n,r){if(e.firstChild)for(var s=e.firstChild,i=0;s;){var o=s.nextS ibling;if("template"!==s.localName||s.hasAttribute("preserve-content")||this._pa rseTemplate(s,i,n,t),"slot"==s.localName&&(s=this._replaceSlotWithContent(s)),s. nodeType===Node.TEXT_NODE){for(var a=o;a&&a.nodeType===Node.TEXT_NODE;)s.textCon tent+=a.textContent,o=a.nextSibling,e.removeChild(a),a=o;r&&!s.textContent.trim( )&&(e.removeChild(s),i--)}if(s.parentNode){var l=this._parseNodeAnnotations(s,n, r);l&&(l.parent=t,l.index=i)}s=o,i++}},_replaceSlotWithContent:function(e){for(v ar t=e.ownerDocument.createElement("content");e.firstChild;)t.appendChild(e.firs tChild);for(var n=e.attributes,r=0;r<n.length;r++){var s=n[r];t.setAttribute(s.n ame,s.value)}var i=e.getAttribute("name"),o=i?"[slot='"+i+"']":":not([slot])";re turn t.setAttribute("select",o),e.parentNode.replaceChild(t,e),t},_parseTemplate :function(e,t,n,r){var s=document.createDocumentFragment();s._notes=this.parseAn notations(e),s.appendChild(e.content),n.push({bindings:Polymer.nar,events:Polyme r.nar,templateContent:s,parent:r,index:t})},_parseNodeAttributeAnnotations:funct ion(e,t){for(var n,r=Array.prototype.slice.call(e.attributes),s=r.length-1;n=r[s ];s--){var i,o=n.name,a=n.value;"on-"===o.slice(0,3)?(e.removeAttribute(o),t.eve nts.push({name:o.slice(3),value:a})):(i=this._parseNodeAttributeAnnotation(e,o,a ))?t.bindings.push(i):"id"===o&&(t.id=a)}},_parseNodeAttributeAnnotation:functio n(e,t,n){var r=this._parseBindings(n);if(r){var s=t,i="property";"$"==t[t.length -1]&&(t=t.slice(0,-1),i="attribute");var o=this._literalFromParts(r);o&&"attribu te"==i&&e.setAttribute(t,o),"input"===e.localName&&"value"===s&&e.setAttribute(s ,""),e.removeAttribute(s);var a=Polymer.CaseMap.dashToCamelCase(t);return"proper ty"===i&&(t=a),{kind:i,name:t,propertyName:a,parts:r,literal:o,isCompound:1!==r. length}}},findAnnotatedNode:function(e,t){var n=t.parent&&Polymer.Annotations.fi ndAnnotatedNode(e,t.parent);if(!n)return e;for(var r=n.firstChild,s=0;r;r=r.next Sibling)if(t.index===s++)return r}},function(){function e(e,t){return e.replace( a,function(e,r,s,i){return r+"'"+n(s.replace(/["']/g,""),t)+"'"+i})}function t(t ,r){for(var s in l)for(var i,o,a,c=l[s],u=0,f=c.length;u<f&&(i=c[u]);u++)"*"!==s &&t.localName!==s||(o=t.attributes[i],a=o&&o.value,a&&a.search(h)<0&&(o.value="s tyle"===i?e(a,r):n(a,r)))}function n(e,t){if(e&&c.test(e))return e;var n=s(t);re turn n.href=e,n.href||e}function r(e,t){return i||(i=document.implementation.cre ateHTMLDocument("temp"),o=i.createElement("base"),i.head.appendChild(o)),o.href= t,n(e,i)}function s(e){return e.__urlResolver||(e.__urlResolver=e.createElement( "a"))}var i,o,a=/(url\()([^)]*)(\))/g,l={"*":["href","src","style","url"],form:[ "action"]},c=/(^\/)|(^#)|(^[\w-\d]*:)/,h=/\{\{|\[\[/;Polymer.ResolveUrl={resolve Css:e,resolveAttrs:t,resolveUrl:r}}(),Polymer.Path={root:function(e){var t=e.ind exOf(".");return t===-1?e:e.slice(0,t)},isDeep:function(e){return e.indexOf(".") !==-1},isAncestor:function(e,t){return 0===e.indexOf(t+".")},isDescendant:functi on(e,t){return 0===t.indexOf(e+".")},translate:function(e,t,n){return t+n.slice( e.length)},matches:function(e,t,n){return e===n||this.isAncestor(e,n)||Boolean(t )&&this.isDescendant(e,n)}},Polymer.Base._addFeature({_prepAnnotations:function( ){if(this._template){var e=this;Polymer.Annotations.prepElement=function(t){e._p repElement(t)},this._template._content&&this._template._content._notes?this._not es=this._template._content._notes:(this._notes=Polymer.Annotations.parseAnnotati ons(this._template),this._processAnnotations(this._notes)),Polymer.Annotations.p repElement=null}else this._notes=[]},_processAnnotations:function(e){for(var t=0 ;t<e.length;t++){for(var n=e[t],r=0;r<n.bindings.length;r++)for(var s=n.bindings [r],i=0;i<s.parts.length;i++){var o=s.parts[i];if(!o.literal){var a=this._parseM ethod(o.value);a?o.signature=a:o.model=Polymer.Path.root(o.value)}}if(n.template Content){this._processAnnotations(n.templateContent._notes);var l=n.templateCont ent._parentProps=this._discoverTemplateParentProps(n.templateContent._notes),c=[ ];for(var h in l){var u="_parent_"+h;c.push({index:n.index,kind:"property",name: u,propertyName:u,parts:[{mode:"{",model:h,value:h}]})}n.bindings=n.bindings.conc at(c)}}},_discoverTemplateParentProps:function(e){for(var t,n={},r=0;r<e.length& &(t=e[r]);r++){for(var s,i=0,o=t.bindings;i<o.length&&(s=o[i]);i++)for(var a,l=0 ,c=s.parts;l<c.length&&(a=c[l]);l++)if(a.signature){for(var h=a.signature.args,u =0;u<h.length;u++){var f=h[u].model;f&&(n[f]=!0)}a.signature.dynamicFn&&(n[a.sig nature.method]=!0)}else a.model&&(n[a.model]=!0);if(t.templateContent){var p=t.t emplateContent._parentProps;Polymer.Base.mixin(n,p)}}return n},_prepElement:func tion(e){Polymer.ResolveUrl.resolveAttrs(e,this._template.ownerDocument)},_findAn notatedNode:Polymer.Annotations.findAnnotatedNode,_marshalAnnotationReferences:f unction(){this._template&&(this._marshalIdNodes(),this._marshalAnnotatedNodes(), this._marshalAnnotatedListeners())},_configureAnnotationReferences:function(){fo r(var e=this._notes,t=this._nodes,n=0;n<e.length;n++){var r=e[n],s=t[n];this._co nfigureTemplateContent(r,s),this._configureCompoundBindings(r,s)}},_configureTem plateContent:function(e,t){e.templateContent&&(t._content=e.templateContent)},_c onfigureCompoundBindings:function(e,t){for(var n=e.bindings,r=0;r<n.length;r++){ var s=n[r];if(s.isCompound){for(var i=t.__compoundStorage__||(t.__compoundStorag e__={}),o=s.parts,a=new Array(o.length),l=0;l<o.length;l++)a[l]=o[l].literal;var c=s.name;i[c]=a,s.literal&&"property"==s.kind&&(t._configValue?t._configValue(c ,s.literal):t[c]=s.literal)}}},_marshalIdNodes:function(){this.$={};for(var e,t= 0,n=this._notes.length;t<n&&(e=this._notes[t]);t++)e.id&&(this.$[e.id]=this._fin dAnnotatedNode(this.root,e))},_marshalAnnotatedNodes:function(){if(this._notes&& this._notes.length){for(var e=new Array(this._notes.length),t=0;t<this._notes.le ngth;t++)e[t]=this._findAnnotatedNode(this.root,this._notes[t]);this._nodes=e}}, _marshalAnnotatedListeners:function(){for(var e,t=0,n=this._notes.length;t<n&&(e =this._notes[t]);t++)if(e.events&&e.events.length)for(var r,s=this._findAnnotate dNode(this.root,e),i=0,o=e.events;i<o.length&&(r=o[i]);i++)this.listen(s,r.name, r.value)}}),Polymer.Base._addFeature({listeners:{},_listenListeners:function(e){ var t,n,r;for(r in e)r.indexOf(".")<0?(t=this,n=r):(n=r.split("."),t=this.$[n[0] ],n=n[1]),this.listen(t,n,e[r])},listen:function(e,t,n){var r=this._recallEventH andler(this,t,e,n);r||(r=this._createEventHandler(e,t,n)),r._listening||(this._l isten(e,t,r),r._listening=!0)},_boundListenerKey:function(e,t){return e+":"+t},_ recordEventHandler:function(e,t,n,r,s){var i=e.__boundListeners;i||(i=e.__boundL isteners=new WeakMap);var o=i.get(n);o||(o={},i.set(n,o));var a=this._boundListe nerKey(t,r);o[a]=s},_recallEventHandler:function(e,t,n,r){var s=e.__boundListene rs;if(s){var i=s.get(n);if(i){var o=this._boundListenerKey(t,r);return i[o]}}},_ createEventHandler:function(e,t,n){var r=this,s=function(e){r[n]?r[n](e,e.detail ):r._warn(r._logf("_createEventHandler","listener method `"+n+"` not defined"))} ;return s._listening=!1,this._recordEventHandler(r,t,e,n,s),s},unlisten:function (e,t,n){var r=this._recallEventHandler(this,t,e,n);r&&(this._unlisten(e,t,r),r._ listening=!1)},_listen:function(e,t,n){e.addEventListener(t,n)},_unlisten:functi on(e,t,n){e.removeEventListener(t,n)}}),function(){"use strict";function e(e){fo r(var t,n=g?["click"]:m,r=0;r<n.length;r++)t=n[r],e?document.addEventListener(t, P,!0):document.removeEventListener(t,P,!0)}function t(){S.mouse.mouseIgnoreJob|| e(!0);var t=function(){e(),S.mouse.target=null,S.mouse.mouseIgnoreJob=null};S.mo use.mouseIgnoreJob=Polymer.Debounce(S.mouse.mouseIgnoreJob,t,d)}function n(e){va r t=e.type;if(m.indexOf(t)===-1)return!1;if("mousemove"===t){var n=void 0===e.bu ttons?1:e.buttons;return e instanceof window.MouseEvent&&!v&&(n=y[e.which]||0),B oolean(1&n)}var r=void 0===e.button?0:e.button;return 0===r}function r(e){if("cl ick"===e.type){if(0===e.detail)return!0;var t=C.findOriginalTarget(e),n=t.getBou ndingClientRect(),r=e.pageX,s=e.pageY;return!(r>=n.left&&r<=n.right&&s>=n.top&&s <=n.bottom)}return!1}function s(e){for(var t,n=Polymer.dom(e).path,r="auto",s=0; s<n.length;s++)if(t=n[s],t[u]){r=t[u];break}return r}function i(e,t,n){e.movefn= t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("m ouseup",n)}function o(e){document.removeEventListener("mousemove",e.movefn),docu ment.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}var a=Polym er.DomApi.wrap,l="string"==typeof document.head.style.touchAction,c="__polymerGe stures",h="__polymerGesturesHandled",u="__polymerGesturesTouchAction",f=25,p=5,_ =2,d=2500,m=["mousedown","mousemove","mouseup","click"],y=[0,1,4,2],v=function() {try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}() ,g=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),P=function(e){var t=e.s ourceCapabilities;if((!t||t.firesTouchEvents)&&(e[h]={skip:!0},"click"===e.type) ){for(var n=Polymer.dom(e).path,r=0;r<n.length;r++)if(n[r]===S.mouse.target)retu rn;e.preventDefault(),e.stopPropagation()}},S={mouse:{target:null,mouseIgnoreJob :null},touch:{x:0,y:0,id:-1,scrollDecided:!1}},C={gestures:{},recognizers:[],dee pTargetFind:function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shad owRoot;)r=r.shadowRoot.elementFromPoint(e,t),r&&(n=r);return n},findOriginalTarg et:function(e){return e.path?e.path[0]:e.target},handleNative:function(e){var n, r=e.type,s=a(e.currentTarget),i=s[c];if(i){var o=i[r];if(o){if(!e[h]&&(e[h]={}," touch"===r.slice(0,5))){var u=e.changedTouches[0];if("touchstart"===r&&1===e.tou ches.length&&(S.touch.id=u.identifier),S.touch.id!==u.identifier)return;l||"touc hstart"!==r&&"touchmove"!==r||C.handleTouchAction(e),"touchend"===r&&(S.mouse.ta rget=Polymer.dom(e).rootTarget,t())}if(n=e[h],!n.skip){for(var f,p=C.recognizers ,_=0;_<p.length;_++)f=p[_],o[f.name]&&!n[f.name]&&f.flow&&f.flow.start.indexOf(e .type)>-1&&f.reset&&f.reset();for(_=0,f;_<p.length;_++)f=p[_],o[f.name]&&!n[f.na me]&&(n[f.name]=!0,f[r](e))}}}},handleTouchAction:function(e){var t=e.changedTou ches[0],n=e.type;if("touchstart"===n)S.touch.x=t.clientX,S.touch.y=t.clientY,S.t ouch.scrollDecided=!1;else if("touchmove"===n){if(S.touch.scrollDecided)return;S .touch.scrollDecided=!0;var r=s(e),i=!1,o=Math.abs(S.touch.x-t.clientX),a=Math.a bs(S.touch.y-t.clientY);e.cancelable&&("none"===r?i=!0:"pan-x"===r?i=a>o:"pan-y" ===r&&(i=o>a)),i?e.preventDefault():C.prevent("track")}},add:function(e,t,n){e=a (e);var r=this.gestures[t],s=r.deps,i=r.name,o=e[c];o||(e[c]=o={});for(var l,h,u =0;u<s.length;u++)l=s[u],g&&m.indexOf(l)>-1&&"click"!==l||(h=o[l],h||(o[l]=h={_c ount:0}),0===h._count&&e.addEventListener(l,this.handleNative),h[i]=(h[i]||0)+1, h._count=(h._count||0)+1);e.addEventListener(t,n),r.touchAction&&this.setTouchAc tion(e,r.touchAction)},remove:function(e,t,n){e=a(e);var r=this.gestures[t],s=r. deps,i=r.name,o=e[c];if(o)for(var l,h,u=0;u<s.length;u++)l=s[u],h=o[l],h&&h[i]&& (h[i]=(h[i]||1)-1,h._count=(h._count||1)-1,0===h._count&&e.removeEventListener(l ,this.handleNative));e.removeEventListener(t,n)},register:function(e){this.recog nizers.push(e);for(var t=0;t<e.emits.length;t++)this.gestures[e.emits[t]]=e},fin dRecognizerByEvent:function(e){for(var t,n=0;n<this.recognizers.length;n++){t=th is.recognizers[n];for(var r,s=0;s<t.emits.length;s++)if(r=t.emits[s],r===e)retur n t}return null},setTouchAction:function(e,t){l&&(e.style.touchAction=t),e[u]=t} ,fire:function(e,t,n){var r=Polymer.Base.fire(t,n,{node:e,bubbles:!0,cancelable: !0});if(r.defaultPrevented){var s=n.preventer||n.sourceEvent;s&&s.preventDefault &&s.preventDefault()}},prevent:function(e){var t=this.findRecognizerByEvent(e);t .info&&(t.info.prevent=!0)},resetMouseCanceller:function(){S.mouse.mouseIgnoreJo b&&S.mouse.mouseIgnoreJob.complete()}};C.register({name:"downup",deps:["mousedow n","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup ","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function() {o(this.info)},mousedown:function(e){if(n(e)){var t=C.findOriginalTarget(e),r=th is,s=function(e){n(e)||(r.fire("up",t,e),o(r.info))},a=function(e){n(e)&&r.fire( "up",t,e),o(r.info)};i(this.info,s,a),this.fire("down",t,e)}},touchstart:functio n(e){this.fire("down",C.findOriginalTarget(e),e.changedTouches[0],e)},touchend:f unction(e){this.fire("up",C.findOriginalTarget(e),e.changedTouches[0],e)},fire:f unction(e,t,n,r){C.fire(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,p revent:function(e){return C.prevent(e)}})}}),C.register({name:"track",touchActio n:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mo usedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0 ,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>_&&this .moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:funct ion(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info. x=0,this.info.y=0,this.info.prevent=!1,o(this.info)},hasMovedEnough:function(e,t ){if(this.info.prevent)return!1;if(this.info.started)return!0;var n=Math.abs(thi s.info.x-e),r=Math.abs(this.info.y-t);return n>=p||r>=p},mousedown:function(e){i f(n(e)){var t=C.findOriginalTarget(e),r=this,s=function(e){var s=e.clientX,i=e.c lientY;r.hasMovedEnough(s,i)&&(r.info.state=r.info.started?"mouseup"===e.type?"e nd":"track":"start","start"===r.info.state&&C.prevent("tap"),r.info.addMove({x:s ,y:i}),n(e)||(r.info.state="end",o(r.info)),r.fire(t,e),r.info.started=!0)},a=fu nction(e){r.info.started&&s(e),o(r.info)};i(this.info,s,a),this.info.x=e.clientX ,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.i nfo.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=C.findOrigina lTarget(e),n=e.changedTouches[0],r=n.clientX,s=n.clientY;this.hasMovedEnough(r,s )&&("start"===this.info.state&&C.prevent("tap"),this.info.addMove({x:r,y:s}),thi s.fire(t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){ var t=C.findOriginalTarget(e),n=e.changedTouches[0];this.info.started&&(this.inf o.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),this.fire(t,n,e))},fi re:function(e,t,n){var r,s=this.info.moves[this.info.moves.length-2],i=this.info .moves[this.info.moves.length-1],o=i.x-this.info.x,a=i.y-this.info.y,l=0;return s&&(r=i.x-s.x,l=i.y-s.y),C.fire(e,"track",{state:this.info.state,x:t.clientX,y:t .clientY,dx:o,dy:a,ddx:r,ddy:l,sourceEvent:t,preventer:n,hover:function(){return C.deepTargetFind(t.clientX,t.clientY)}})}}),C.register({name:"tap",deps:["mouse down","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],en d:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:functi on(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},save:function(e){this .info.x=e.clientX,this.info.y=e.clientY},mousedown:function(e){n(e)&&this.save(e )},click:function(e){n(e)&&this.forward(e)},touchstart:function(e){this.save(e.c hangedTouches[0],e)},touchend:function(e){this.forward(e.changedTouches[0],e)},f orward:function(e,t){var n=Math.abs(e.clientX-this.info.x),s=Math.abs(e.clientY- this.info.y),i=C.findOriginalTarget(e);(isNaN(n)||isNaN(s)||n<=f&&s<=f||r(e))&&( this.info.prevent||C.fire(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,prevent er:t}))}});var E={x:"pan-x",y:"pan-y",none:"none",all:"auto"};Polymer.Base._addF eature({_setupGestures:function(){this.__polymerGestures=null},_listen:function( e,t,n){C.gestures[t]?C.add(e,t,n):e.addEventListener(t,n)},_unlisten:function(e, t,n){C.gestures[t]?C.remove(e,t,n):e.removeEventListener(t,n)},setScrollDirectio n:function(e,t){t=t||this,C.setTouchAction(t,E[e]||"auto")}}),Polymer.Gestures=C }(),function(){"use strict";if(Polymer.Base._addFeature({$$:function(e){return P olymer.dom(this.root).querySelector(e)},toggleClass:function(e,t,n){n=n||this,1= =arguments.length&&(t=!n.classList.contains(e)),t?Polymer.dom(n).classList.add(e ):Polymer.dom(n).classList.remove(e)},toggleAttribute:function(e,t,n){n=n||this, 1==arguments.length&&(t=!n.hasAttribute(e)),t?Polymer.dom(n).setAttribute(e,""): Polymer.dom(n).removeAttribute(e)},classFollows:function(e,t,n){n&&Polymer.dom(n ).classList.remove(e),t&&Polymer.dom(t).classList.add(e)},attributeFollows:funct ion(e,t,n){n&&Polymer.dom(n).removeAttribute(e),t&&Polymer.dom(t).setAttribute(e ,"")},getEffectiveChildNodes:function(){return Polymer.dom(this).getEffectiveChi ldNodes()},getEffectiveChildren:function(){var e=Polymer.dom(this).getEffectiveC hildNodes();return e.filter(function(e){return e.nodeType===Node.ELEMENT_NODE})} ,getEffectiveTextContent:function(){for(var e,t=this.getEffectiveChildNodes(),n= [],r=0;e=t[r];r++)e.nodeType!==Node.COMMENT_NODE&&n.push(Polymer.dom(e).textCont ent);return n.join("")},queryEffectiveChildren:function(e){var t=Polymer.dom(thi s).queryDistributedElements(e);return t&&t[0]},queryAllEffectiveChildren:functio n(e){return Polymer.dom(this).queryDistributedElements(e)},getContentChildNodes: function(e){var t=Polymer.dom(this.root).querySelector(e||"content");return t?Po lymer.dom(t).getDistributedNodes():[]},getContentChildren:function(e){return thi s.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NO DE})},fire:function(e,t,n){n=n||Polymer.nob;var r=n.node||this;t=null===t||void 0===t?{}:t;var s=void 0===n.bubbles||n.bubbles,i=Boolean(n.cancelable),o=n._useC ache,a=this._getEvent(e,s,i,o);return a.detail=t,o&&(this.__eventCache[e]=null), r.dispatchEvent(a),o&&(this.__eventCache[e]=a),a},__eventCache:{},_getEvent:func tion(e,t,n,r){var s=r&&this.__eventCache[e];return s&&s.bubbles==t&&s.cancelable ==n||(s=new Event(e,{bubbles:Boolean(t),cancelable:n})),s},async:function(e,t){v ar n=this;return Polymer.Async.run(function(){e.call(n)},t)},cancelAsync:functio n(e){Polymer.Async.cancel(e)},arrayDelete:function(e,t){var n;if(Array.isArray(e )){if(n=e.indexOf(t),n>=0)return e.splice(n,1)}else{var r=this._get(e);if(n=r.in dexOf(t),n>=0)return this.splice(e,n,1)}},transform:function(e,t){t=t||this,t.st yle.webkitTransform=e,t.style.transform=e},translate3d:function(e,t,n,r){r=r||th is,this.transform("translate3d("+e+","+t+","+n+")",r)},importHref:function(e,t,n ,r){var s=document.createElement("link");s.rel="import",s.href=e;var i=Polymer.B ase.importHref.imported=Polymer.Base.importHref.imported||{},o=i[s.href],a=o||s, l=this;if(t){var c=function(e){return e.target.__firedLoad=!0,e.target.removeEve ntListener("load",c),t.call(l,e)};a.addEventListener("load",c)}if(n){var h=funct ion(e){return e.target.__firedError=!0,e.target.removeEventListener("error",h),n .call(l,e)};a.addEventListener("error",h)}return o?(o.__firedLoad&&o.dispatchEve nt(new Event("load")),o.__firedError&&o.dispatchEvent(new Event("error"))):(i[s. href]=s,r=Boolean(r),r&&s.setAttribute("async",""),document.head.appendChild(s)) ,a},create:function(e,t){var n=document.createElement(e);if(t)for(var r in t)n[r ]=t[r];return n},isLightDescendant:function(e){return this!==e&&this.contains(e) &&Polymer.dom(this).getOwnerRoot()===Polymer.dom(e).getOwnerRoot()},isLocalDesce ndant:function(e){return this.root===Polymer.dom(e).getOwnerRoot()}}),!Polymer.S ettings.useNativeCustomElements){var e=Polymer.Base.importHref;Polymer.Base.impo rtHref=function(t,n,r,s){CustomElements.ready=!1;var i=function(e){if(CustomElem ents.upgradeDocumentTree(document),CustomElements.ready=!0,n)return n.call(this, e)};return e.call(this,t,i,r,s)}}}(),Polymer.Bind={prepareModel:function(e){Poly mer.Base.mixin(e,this._modelApi)},_modelApi:{_notifyChange:function(e,t,n){n=voi d 0===n?this[e]:n,t=t||Polymer.CaseMap.camelToDashCase(e)+"-changed",this.fire(t ,{value:n},{bubbles:!1,cancelable:!1,_useCache:!0})},_propertySetter:function(e, t,n,r){var s=this.__data__[e];return s===t||s!==s&&t!==t||(this.__data__[e]=t,"o bject"==typeof t&&this._clearPath(e),this._propertyChanged&&this._propertyChange d(e,t,s),n&&this._effectEffects(e,t,n,s,r)),s},__setProperty:function(e,t,n,r){r =r||this;var s=r._propertyEffects&&r._propertyEffects[e];s?r._propertySetter(e,t ,s,n):r[e]!==t&&(r[e]=t)},_effectEffects:function(e,t,n,r,s){for(var i,o=0,a=n.l ength;o<a&&(i=n[o]);o++)i.fn.call(this,e,this[e],i.effect,r,s)},_clearPath:funct ion(e){for(var t in this.__data__)Polymer.Path.isDescendant(e,t)&&(this.__data__ [t]=void 0)}},ensurePropertyEffects:function(e,t){e._propertyEffects||(e._proper tyEffects={});var n=e._propertyEffects[t];return n||(n=e._propertyEffects[t]=[]) ,n},addPropertyEffect:function(e,t,n,r){var s=this.ensurePropertyEffects(e,t),i= {kind:n,effect:r,fn:Polymer.Bind["_"+n+"Effect"]};return s.push(i),i},createBind ings:function(e){var t=e._propertyEffects;if(t)for(var n in t){var r=t[n];r.sort (this._sortPropertyEffects),this._createAccessors(e,n,r)}},_sortPropertyEffects: function(){var e={compute:0,annotation:1,annotatedComputation:2,reflect:3,notify :4,observer:5,complexObserver:6,function:7};return function(t,n){return e[t.kind ]-e[n.kind]}}(),_createAccessors:function(e,t,n){var r={get:function(){return th is.__data__[t]}},s=function(e){this._propertySetter(t,e,n)},i=e.getPropertyInfo& &e.getPropertyInfo(t);i&&i.readOnly?i.computed||(e["_set"+this.upper(t)]=s):r.se t=s,Object.defineProperty(e,t,r)},upper:function(e){return e[0].toUpperCase()+e. substring(1)},_addAnnotatedListener:function(e,t,n,r,s,i){e._bindListeners||(e._ bindListeners=[]);var o=this._notedListenerFactory(n,r,Polymer.Path.isDeep(r),i) ,a=s||Polymer.CaseMap.camelToDashCase(n)+"-changed";e._bindListeners.push({index :t,property:n,path:r,changedFn:o,event:a})},_isEventBogus:function(e,t){return e .path&&e.path[0]!==t},_notedListenerFactory:function(e,t,n,r){return function(s, i,o){if(o){var a=Polymer.Path.translate(e,t,o);this._notifyPath(a,i)}else i=s[e] ,r&&(i=!i),n?this.__data__[t]!=i&&this.set(t,i):this[t]=i}},prepareInstance:func tion(e){e.__data__=Object.create(null)},setupBindListeners:function(e){for(var t ,n=e._bindListeners,r=0,s=n.length;r<s&&(t=n[r]);r++){var i=e._nodes[t.index];th is._addNotifyListener(i,e,t.event,t.changedFn)}},_addNotifyListener:function(e,t ,n,r){e.addEventListener(n,function(e){return t._notifyListener(r,e)})}},Polymer .Base.extend(Polymer.Bind,{_shouldAddListener:function(e){return e.name&&"attrib ute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode},_annotationE ffect:function(e,t,n){e!=n.value&&(t=this._get(n.value),this.__data__[n.value]=t ),this._applyEffectValue(n,t)},_reflectEffect:function(e,t,n){this.reflectProper tyToAttribute(e,n.attribute,t)},_notifyEffect:function(e,t,n,r,s){s||this._notif yChange(e,n.event,t)},_functionEffect:function(e,t,n,r,s){n.call(this,e,t,r,s)}, _observerEffect:function(e,t,n,r){var s=this[n.method];s?s.call(this,t,r):this._ warn(this._logf("_observerEffect","observer method `"+n.method+"` not defined")) },_complexObserverEffect:function(e,t,n){var r=this[n.method];if(r){var s=Polyme r.Bind._marshalArgs(this.__data__,n,e,t);s&&r.apply(this,s)}else n.dynamicFn||th is._warn(this._logf("_complexObserverEffect","observer method `"+n.method+"` not defined"))},_computeEffect:function(e,t,n){var r=this[n.method];if(r){var s=Pol ymer.Bind._marshalArgs(this.__data__,n,e,t);if(s){var i=r.apply(this,s);this.__s etProperty(n.name,i)}}else n.dynamicFn||this._warn(this._logf("_computeEffect"," compute method `"+n.method+"` not defined"))},_annotatedComputationEffect:functi on(e,t,n){var r=this._rootDataHost||this,s=r[n.method];if(s){var i=Polymer.Bind. _marshalArgs(this.__data__,n,e,t);if(i){var o=s.apply(r,i);this._applyEffectValu e(n,o)}}else n.dynamicFn||r._warn(r._logf("_annotatedComputationEffect","compute method `"+n.method+"` not defined"))},_marshalArgs:function(e,t,n,r){for(var s= [],i=t.args,o=i.length>1||t.dynamicFn,a=0,l=i.length;a<l;a++){var c,h=i[a],u=h.n ame;if(h.literal?c=h.value:n===u?c=r:(c=e[u],void 0===c&&h.structured&&(c=Polyme r.Base._get(u,e))),o&&void 0===c)return;if(h.wildcard){var f=Polymer.Path.isAnce stor(n,u);s[a]={path:f?n:u,value:f?r:c,base:c}}else s[a]=c}return s}}),Polymer.B ase._addFeature({_addPropertyEffect:function(e,t,n){var r=Polymer.Bind.addProper tyEffect(this,e,t,n);r.pathFn=this["_"+r.kind+"PathEffect"]},_prepEffects:functi on(){Polymer.Bind.prepareModel(this),this._addAnnotationEffects(this._notes)},_p repBindings:function(){Polymer.Bind.createBindings(this)},_addPropertyEffects:fu nction(e){if(e)for(var t in e){var n=e[t];if(n.observer&&this._addObserverEffect (t,n.observer),n.computed&&(n.readOnly=!0,this._addComputedEffect(t,n.computed)) ,n.notify&&this._addPropertyEffect(t,"notify",{event:Polymer.CaseMap.camelToDash Case(t)+"-changed"}),n.reflectToAttribute){var r=Polymer.CaseMap.camelToDashCase (t);"-"===r[0]?this._warn(this._logf("_addPropertyEffects","Property "+t+" canno t be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.')):this._addPropert yEffect(t,"reflect",{attribute:r})}n.readOnly&&Polymer.Bind.ensurePropertyEffect s(this,t)}},_addComputedEffect:function(e,t){for(var n,r=this._parseMethod(t),s= r.dynamicFn,i=0;i<r.args.length&&(n=r.args[i]);i++)this._addPropertyEffect(n.mod el,"compute",{method:r.method,args:r.args,trigger:n,name:e,dynamicFn:s});s&&this ._addPropertyEffect(r.method,"compute",{method:r.method,args:r.args,trigger:null ,name:e,dynamicFn:s})},_addObserverEffect:function(e,t){this._addPropertyEffect( e,"observer",{method:t,property:e})},_addComplexObserverEffects:function(e){if(e )for(var t,n=0;n<e.length&&(t=e[n]);n++)this._addComplexObserverEffect(t)},_addC omplexObserverEffect:function(e){var t=this._parseMethod(e);if(!t)throw new Erro r("Malformed observer expression '"+e+"'");for(var n,r=t.dynamicFn,s=0;s<t.args. length&&(n=t.args[s]);s++)this._addPropertyEffect(n.model,"complexObserver",{met hod:t.method,args:t.args,trigger:n,dynamicFn:r});r&&this._addPropertyEffect(t.me thod,"complexObserver",{method:t.method,args:t.args,trigger:null,dynamicFn:r})}, _addAnnotationEffects:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++)for(var r,s=t.bindings,i=0;i<s.length&&(r=s[i]);i++)this._addAnnotationEffect(r,n)},_ad dAnnotationEffect:function(e,t){Polymer.Bind._shouldAddListener(e)&&Polymer.Bind ._addAnnotatedListener(this,t,e.name,e.parts[0].value,e.parts[0].event,e.parts[0 ].negate);for(var n=0;n<e.parts.length;n++){var r=e.parts[n];r.signature?this._a ddAnnotatedComputationEffect(e,r,t):r.literal||("attribute"===e.kind&&"-"===e.na me[0]?this._warn(this._logf("_addAnnotationEffect","Cannot set attribute "+e.nam e+' because "-" is not a valid attribute starting character')):this._addProperty Effect(r.model,"annotation",{kind:e.kind,index:t,name:e.name,propertyName:e.prop ertyName,value:r.value,isCompound:e.isCompound,compoundIndex:r.compoundIndex,eve nt:r.event,customEvent:r.customEvent,negate:r.negate}))}},_addAnnotatedComputati onEffect:function(e,t,n){var r=t.signature;if(r.static)this.__addAnnotatedComput ationEffect("__static__",n,e,t,null);else{for(var s,i=0;i<r.args.length&&(s=r.ar gs[i]);i++)s.literal||this.__addAnnotatedComputationEffect(s.model,n,e,t,s);r.dy namicFn&&this.__addAnnotatedComputationEffect(r.method,n,e,t,null)}},__addAnnota tedComputationEffect:function(e,t,n,r,s){this._addPropertyEffect(e,"annotatedCom putation",{index:t,isCompound:n.isCompound,compoundIndex:r.compoundIndex,kind:n. kind,name:n.name,negate:r.negate,method:r.signature.method,args:r.signature.args ,trigger:s,dynamicFn:r.signature.dynamicFn})},_parseMethod:function(e){var t=e.m atch(/([^\s]+?)\(([\s\S]*)\)/);if(t){var n={method:t[1],static:!0};if(this.getPr opertyInfo(n.method)!==Polymer.nob&&(n.static=!1,n.dynamicFn=!0),t[2].trim()){va r r=t[2].replace(/\\,/g,"&comma;").split(",");return this._parseArgs(r,n)}return n.args=Polymer.nar,n}},_parseArgs:function(e,t){return t.args=e.map(function(e) {var n=this._parseArg(e);return n.literal||(t.static=!1),n},this),t},_parseArg:f unction(e){var t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name :t},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n .value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}r eturn n.literal||(n.model=Polymer.Path.root(t),n.structured=Polymer.Path.isDeep( t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2) ))),n},_marshalInstanceEffects:function(){Polymer.Bind.prepareInstance(this),thi s._bindListeners&&Polymer.Bind.setupBindListeners(this)},_applyEffectValue:funct ion(e,t){var n=this._nodes[e.index],r=e.name;if(t=this._computeFinalAnnotationVa lue(n,r,t,e),"attribute"==e.kind)this.serializeValueToAttribute(t,r,n);else{var s=n._propertyInfo&&n._propertyInfo[r];if(s&&s.readOnly)return;this.__setProperty (r,t,!1,n)}},_computeFinalAnnotationValue:function(e,t,n,r){if(r.negate&&(n=!n), r.isCompound){var s=e.__compoundStorage__[t];s[r.compoundIndex]=n,n=s.join("")}r eturn"attribute"!==r.kind&&("className"===t&&(n=this._scopeElementClass(e,n)),(" textContent"===t||"input"==e.localName&&"value"==t)&&(n=void 0==n?"":n)),n},_exe cuteStaticEffects:function(){this._propertyEffects&&this._propertyEffects.__stat ic__&&this._effectEffects("__static__",null,this._propertyEffects.__static__)}}) ,function(){var e=Polymer.Settings.usePolyfillProto;Polymer.Base._addFeature({_s etupConfigure:function(e){if(this._config={},this._handlers=[],this._aboveConfig =null,e)for(var t in e)void 0!==e[t]&&(this._config[t]=e[t])},_marshalAttributes :function(){this._takeAttributesToModel(this._config)},_attributeChangedImpl:fun ction(e){var t=this._clientsReadied?this:this._config;this._setAttributeToProper ty(t,e)},_configValue:function(e,t){var n=this._propertyInfo[e];n&&n.readOnly||( this._config[e]=t)},_beforeClientsReady:function(){this._configure()},_configure :function(){this._configureAnnotationReferences(),this._configureInstancePropert ies(),this._aboveConfig=this.mixin({},this._config);for(var e={},t=0;t<this.beha viors.length;t++)this._configureProperties(this.behaviors[t].properties,e);this. _configureProperties(this.properties,e),this.mixin(e,this._aboveConfig),this._co nfig=e,this._clients&&this._clients.length&&this._distributeConfig(this._config) },_configureInstanceProperties:function(){for(var t in this._propertyEffects)!e& &this.hasOwnProperty(t)&&(this._configValue(t,this[t]), 2 },_distributeDirtyRoots:function(){for(var e,t=this.shadyRoot._dirtyRoots,o=0,i= t.length;o<i&&(e=t[o]);o++)e._distributeContent();this.shadyRoot._dirtyRoots=[]} ,_finishDistribute:function(){if(this._useContent){if(this.shadyRoot._distributi onClean=!0,h.hasInsertionPoint(this.shadyRoot))this._composeTree(),d(this.shadyR oot);else if(this.shadyRoot._hasDistributed){var e=this._composeNode(this);this. _updateChildNodes(this,e)}else u.Composed.clearChildNodes(this),this.appendChild (this.shadyRoot);this.shadyRoot._hasDistributed||a(this),this.shadyRoot._hasDist ributed=!0}},elementMatches:function(e,t){return t=t||this,h.matchesSelector.cal l(t,e)},_resetDistribution:function(){for(var e=u.Logical.getChildNodes(this),o= 0;o<e.length;o++){var i=e[o];i._destinationInsertionPoints&&(i._destinationInser tionPoints=void 0),n(i)&&t(i)}for(var s=this.shadyRoot,r=s._insertionPoints,d=0; d<r.length;d++)r[d]._distributedNodes=[]},_collectPool:function(){for(var e=[],t =u.Logical.getChildNodes(this),o=0;o<t.length;o++){var i=t[o];n(i)?e.push.apply( e,i._distributedNodes):e.push(i)}return e},_distributePool:function(e,t){for(var i,n=e._insertionPoints,s=0,r=n.length;s<r&&(i=n[s]);s++)this._distributeInserti onPoint(i,t),o(i,this)},_distributeInsertionPoint:function(t,o){for(var i,n=!1,s =0,r=o.length;s<r;s++)i=o[s],i&&this._matchesContentSelect(i,t)&&(e(i,t),o[s]=vo id 0,n=!0);if(!n)for(var d=u.Logical.getChildNodes(t),a=0;a<d.length;a++)e(d[a], t)},_composeTree:function(){this._updateChildNodes(this,this._composeNode(this)) ;for(var e,t,o=this.shadyRoot._insertionPoints,i=0,n=o.length;i<n&&(e=o[i]);i++) t=u.Logical.getParentNode(e),t._useContent||t===this||t===this.shadyRoot||this._ updateChildNodes(t,this._composeNode(t))},_composeNode:function(e){for(var t=[], o=u.Logical.getChildNodes(e.shadyRoot||e),s=0;s<o.length;s++){var r=o[s];if(n(r) )for(var d=r._distributedNodes,a=0;a<d.length;a++){var l=d[a];i(r,l)&&t.push(l)} else t.push(r)}return t},_updateChildNodes:function(e,t){for(var o,i=u.Composed. getChildNodes(e),n=Polymer.ArraySplice.calculateSplices(t,i),s=0,r=0;s<n.length& &(o=n[s]);s++){for(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)u.Composed .getParentNode(d)===e&&u.Composed.removeChild(e,d),i.splice(o.index+r,1);r-=o.ad dedCount}for(var o,l,s=0;s<n.length&&(o=n[s]);s++)for(l=i[o.index],a=o.index,d;a <o.index+o.addedCount;a++)d=t[a],u.Composed.insertBefore(e,d,l),i.splice(a,0,d)} ,_matchesContentSelect:function(e,t){var o=t.getAttribute("select");if(!o)return !0;if(o=o.trim(),!o)return!0;if(!(e instanceof Element))return!1;var i=/^(:not\( )?[*.#[a-zA-Z_|]/;return!!i.test(o)&&this.elementMatches(o,e)},_elementAdd:funct ion(){},_elementRemove:function(){}});var c=window.CustomElements&&!CustomElemen ts.useNative}(),Polymer.Settings.useShadow&&Polymer.Base._addFeature({_poolConte nt:function(){},_beginDistribute:function(){},distributeContent:function(){},_di stributeContent:function(){},_finishDistribute:function(){},_createLocalRoot:fun ction(){this.createShadowRoot(),this.shadowRoot.appendChild(this.root),this.root =this.shadowRoot}}),Polymer.Async={_currVal:0,_lastVal:0,_callbacks:[],_twiddleC ontent:0,_twiddle:document.createTextNode(""),run:function(e,t){return t>0?~setT imeout(e,t):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.pu sh(e),this._currVal++)},cancel:function(e){if(e<0)clearTimeout(~e);else{var t=e- this._lastVal;if(t>=0){if(!this._callbacks[t])throw"invalid async handle: "+e;th is._callbacks[t]=null}}},_atEndOfMicrotask:function(){for(var e=this._callbacks. length,t=0;t<e;t++){var o=this._callbacks[t];if(o)try{o()}catch(e){throw t++,thi s._callbacks.splice(0,t),this._lastVal+=t,this._twiddle.textContent=this._twiddl eContent++,e}}this._callbacks.splice(0,e),this._lastVal+=e}},new window.Mutation Observer(function(){Polymer.Async._atEndOfMicrotask()}).observe(Polymer.Async._t widdle,{characterData:!0}),Polymer.Debounce=function(){function e(e,t,i){return e?e.stop():e=new o(this),e.go(t,i),e}var t=Polymer.Async,o=function(e){this.cont ext=e;var t=this;this.boundComplete=function(){t.complete()}};return o.prototype ={go:function(e,o){var i;this.finish=function(){t.cancel(i)},i=t.run(this.boundC omplete,o),this.callback=e},stop:function(){this.finish&&(this.finish(),this.fin ish=null,this.callback=null)},complete:function(){if(this.finish){var e=this.cal lback;this.stop(),e.call(this.context)}}},e}(),Polymer.Base._addFeature({_setupD ebouncers:function(){this._debouncers={}},debounce:function(e,t,o){return this._ debouncers[e]=Polymer.Debounce.call(this,this._debouncers[e],t,o)},isDebouncerAc tive:function(e){var t=this._debouncers[e];return!(!t||!t.finish)},flushDebounce r:function(e){var t=this._debouncers[e];t&&t.complete()},cancelDebouncer:functio n(e){var t=this._debouncers[e];t&&t.stop()}}),Polymer.DomModule=document.createE lement("dom-module"),Polymer.Base._addFeature({_registerFeatures:function(){this ._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepTemplate(),th is._prepShady(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHos tAttributes(e.hostAttributes)},_initFeatures:function(){this._registerHost(),thi s._template&&(this._poolContent(),this._beginHosting(),this._stampTemplate(),thi s._endHosting()),this._marshalHostAttributes(),this._setupDebouncers(),this._mar shalBehaviors(),this._tryReady()},_marshalBehavior:function(e){}})</script> <scr ipt>Polymer.nar=[],Polymer.Annotations={parseAnnotations:function(e){var t=[],n= e._content||e.content;return this._parseNodeAnnotations(n,t,e.hasAttribute("stri p-whitespace")),t},_parseNodeAnnotations:function(e,t,n){return e.nodeType===Nod e.TEXT_NODE?this._parseTextNodeAnnotation(e,t):this._parseElementAnnotations(e,t ,n)},_bindingRegex:function(){var e="(?:[a-zA-Z_$][\\w.:$\\-*]*)",t="(?:[-+]?[0- 9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",n="(?:'(?:[^'\\\\]|\\\\.)*')",r='(?:"(?:[^"\ \\\]|\\\\.)*")',s="(?:"+n+"|"+r+")",i="(?:"+e+"|"+t+"|"+s+"\\s*)",o="(?:"+i+"(?: ,\\s*"+i+")*)",a="(?:\\(\\s*(?:"+o+"?)\\)\\s*)",l="("+e+"\\s*"+a+"?)",c="(\\[\\[ |{{)\\s*",h="(?:]]|}})",u="(?:(!)\\s*)?",f=c+u+l+h;return new RegExp(f,"g")}(),_ parseBindings:function(e){for(var t,n=this._bindingRegex,r=[],s=0;null!==(t=n.ex ec(e));){t.index>s&&r.push({literal:e.slice(s,t.index)});var i,o,a,l=t[1][0],c=B oolean(t[2]),h=t[3].trim();"{"==l&&(a=h.indexOf("::"))>0&&(o=h.substring(a+2),h= h.substring(0,a),i=!0),r.push({compoundIndex:r.length,value:h,mode:l,negate:c,ev ent:o,customEvent:i}),s=n.lastIndex}if(s&&s<e.length){var u=e.substring(s);u&&r. push({literal:u})}if(r.length)return r},_literalFromParts:function(e){for(var t= "",n=0;n<e.length;n++){var r=e[n].literal;t+=r||""}return t},_parseTextNodeAnnot ation:function(e,t){var n=this._parseBindings(e.textContent);if(n){e.textContent =this._literalFromParts(n)||" ";var r={bindings:[{kind:"text",name:"textContent" ,parts:n,isCompound:1!==n.length}]};return t.push(r),r}},_parseElementAnnotation s:function(e,t,n){var r={bindings:[],events:[]};return"content"===e.localName&&( t._hasContent=!0),this._parseChildNodesAnnotations(e,r,t,n),e.attributes&&(this. _parseNodeAttributeAnnotations(e,r,t),this.prepElement&&this.prepElement(e)),(r. bindings.length||r.events.length||r.id)&&t.push(r),r},_parseChildNodesAnnotation s:function(e,t,n,r){if(e.firstChild)for(var s=e.firstChild,i=0;s;){var o=s.nextS ibling;if("template"!==s.localName||s.hasAttribute("preserve-content")||this._pa rseTemplate(s,i,n,t),"slot"==s.localName&&(s=this._replaceSlotWithContent(s)),s. nodeType===Node.TEXT_NODE){for(var a=o;a&&a.nodeType===Node.TEXT_NODE;)s.textCon tent+=a.textContent,o=a.nextSibling,e.removeChild(a),a=o;r&&!s.textContent.trim( )&&(e.removeChild(s),i--)}if(s.parentNode){var l=this._parseNodeAnnotations(s,n, r);l&&(l.parent=t,l.index=i)}s=o,i++}},_replaceSlotWithContent:function(e){for(v ar t=e.ownerDocument.createElement("content");e.firstChild;)t.appendChild(e.firs tChild);for(var n=e.attributes,r=0;r<n.length;r++){var s=n[r];t.setAttribute(s.n ame,s.value)}var i=e.getAttribute("name"),o=i?"[slot='"+i+"']":":not([slot])";re turn t.setAttribute("select",o),e.parentNode.replaceChild(t,e),t},_parseTemplate :function(e,t,n,r){var s=document.createDocumentFragment();s._notes=this.parseAn notations(e),s.appendChild(e.content),n.push({bindings:Polymer.nar,events:Polyme r.nar,templateContent:s,parent:r,index:t})},_parseNodeAttributeAnnotations:funct ion(e,t){for(var n,r=Array.prototype.slice.call(e.attributes),s=r.length-1;n=r[s ];s--){var i,o=n.name,a=n.value;"on-"===o.slice(0,3)?(e.removeAttribute(o),t.eve nts.push({name:o.slice(3),value:a})):(i=this._parseNodeAttributeAnnotation(e,o,a ))?t.bindings.push(i):"id"===o&&(t.id=a)}},_parseNodeAttributeAnnotation:functio n(e,t,n){var r=this._parseBindings(n);if(r){var s=t,i="property";"$"==t[t.length -1]&&(t=t.slice(0,-1),i="attribute");var o=this._literalFromParts(r);o&&"attribu te"==i&&e.setAttribute(t,o),"input"===e.localName&&"value"===s&&e.setAttribute(s ,""),e.removeAttribute(s);var a=Polymer.CaseMap.dashToCamelCase(t);return"proper ty"===i&&(t=a),{kind:i,name:t,propertyName:a,parts:r,literal:o,isCompound:1!==r. length}}},findAnnotatedNode:function(e,t){var n=t.parent&&Polymer.Annotations.fi ndAnnotatedNode(e,t.parent);if(!n)return e;for(var r=n.firstChild,s=0;r;r=r.next Sibling)if(t.index===s++)return r}},function(){function e(e,t){return e.replace( a,function(e,r,s,i){return r+"'"+n(s.replace(/["']/g,""),t)+"'"+i})}function t(t ,r){for(var s in l)for(var i,o,a,c=l[s],u=0,f=c.length;u<f&&(i=c[u]);u++)"*"!==s &&t.localName!==s||(o=t.attributes[i],a=o&&o.value,a&&a.search(h)<0&&(o.value="s tyle"===i?e(a,r):n(a,r)))}function n(e,t){if(e&&c.test(e))return e;var n=s(t);re turn n.href=e,n.href||e}function r(e,t){return i||(i=document.implementation.cre ateHTMLDocument("temp"),o=i.createElement("base"),i.head.appendChild(o)),o.href= t,n(e,i)}function s(e){return e.__urlResolver||(e.__urlResolver=e.createElement( "a"))}var i,o,a=/(url\()([^)]*)(\))/g,l={"*":["href","src","style","url"],form:[ "action"]},c=/(^\/)|(^#)|(^[\w-\d]*:)/,h=/\{\{|\[\[/;Polymer.ResolveUrl={resolve Css:e,resolveAttrs:t,resolveUrl:r}}(),Polymer.Path={root:function(e){var t=e.ind exOf(".");return t===-1?e:e.slice(0,t)},isDeep:function(e){return e.indexOf(".") !==-1},isAncestor:function(e,t){return 0===e.indexOf(t+".")},isDescendant:functi on(e,t){return 0===t.indexOf(e+".")},translate:function(e,t,n){return t+n.slice( e.length)},matches:function(e,t,n){return e===n||this.isAncestor(e,n)||Boolean(t )&&this.isDescendant(e,n)}},Polymer.Base._addFeature({_prepAnnotations:function( ){if(this._template){var e=this;Polymer.Annotations.prepElement=function(t){e._p repElement(t)},this._template._content&&this._template._content._notes?this._not es=this._template._content._notes:(this._notes=Polymer.Annotations.parseAnnotati ons(this._template),this._processAnnotations(this._notes)),Polymer.Annotations.p repElement=null}else this._notes=[]},_processAnnotations:function(e){for(var t=0 ;t<e.length;t++){for(var n=e[t],r=0;r<n.bindings.length;r++)for(var s=n.bindings [r],i=0;i<s.parts.length;i++){var o=s.parts[i];if(!o.literal){var a=this._parseM ethod(o.value);a?o.signature=a:o.model=Polymer.Path.root(o.value)}}if(n.template Content){this._processAnnotations(n.templateContent._notes);var l=n.templateCont ent._parentProps=this._discoverTemplateParentProps(n.templateContent._notes),c=[ ];for(var h in l){var u="_parent_"+h;c.push({index:n.index,kind:"property",name: u,propertyName:u,parts:[{mode:"{",model:h,value:h}]})}n.bindings=n.bindings.conc at(c)}}},_discoverTemplateParentProps:function(e){for(var t,n={},r=0;r<e.length& &(t=e[r]);r++){for(var s,i=0,o=t.bindings;i<o.length&&(s=o[i]);i++)for(var a,l=0 ,c=s.parts;l<c.length&&(a=c[l]);l++)if(a.signature){for(var h=a.signature.args,u =0;u<h.length;u++){var f=h[u].model;f&&(n[f]=!0)}a.signature.dynamicFn&&(n[a.sig nature.method]=!0)}else a.model&&(n[a.model]=!0);if(t.templateContent){var p=t.t emplateContent._parentProps;Polymer.Base.mixin(n,p)}}return n},_prepElement:func tion(e){Polymer.ResolveUrl.resolveAttrs(e,this._template.ownerDocument)},_findAn notatedNode:Polymer.Annotations.findAnnotatedNode,_marshalAnnotationReferences:f unction(){this._template&&(this._marshalIdNodes(),this._marshalAnnotatedNodes(), this._marshalAnnotatedListeners())},_configureAnnotationReferences:function(){fo r(var e=this._notes,t=this._nodes,n=0;n<e.length;n++){var r=e[n],s=t[n];this._co nfigureTemplateContent(r,s),this._configureCompoundBindings(r,s)}},_configureTem plateContent:function(e,t){e.templateContent&&(t._content=e.templateContent)},_c onfigureCompoundBindings:function(e,t){for(var n=e.bindings,r=0;r<n.length;r++){ var s=n[r];if(s.isCompound){for(var i=t.__compoundStorage__||(t.__compoundStorag e__={}),o=s.parts,a=new Array(o.length),l=0;l<o.length;l++)a[l]=o[l].literal;var c=s.name;i[c]=a,s.literal&&"property"==s.kind&&(t._configValue?t._configValue(c ,s.literal):t[c]=s.literal)}}},_marshalIdNodes:function(){this.$={};for(var e,t= 0,n=this._notes.length;t<n&&(e=this._notes[t]);t++)e.id&&(this.$[e.id]=this._fin dAnnotatedNode(this.root,e))},_marshalAnnotatedNodes:function(){if(this._notes&& this._notes.length){for(var e=new Array(this._notes.length),t=0;t<this._notes.le ngth;t++)e[t]=this._findAnnotatedNode(this.root,this._notes[t]);this._nodes=e}}, _marshalAnnotatedListeners:function(){for(var e,t=0,n=this._notes.length;t<n&&(e =this._notes[t]);t++)if(e.events&&e.events.length)for(var r,s=this._findAnnotate dNode(this.root,e),i=0,o=e.events;i<o.length&&(r=o[i]);i++)this.listen(s,r.name, r.value)}}),Polymer.Base._addFeature({listeners:{},_listenListeners:function(e){ var t,n,r;for(r in e)r.indexOf(".")<0?(t=this,n=r):(n=r.split("."),t=this.$[n[0] ],n=n[1]),this.listen(t,n,e[r])},listen:function(e,t,n){var r=this._recallEventH andler(this,t,e,n);r||(r=this._createEventHandler(e,t,n)),r._listening||(this._l isten(e,t,r),r._listening=!0)},_boundListenerKey:function(e,t){return e+":"+t},_ recordEventHandler:function(e,t,n,r,s){var i=e.__boundListeners;i||(i=e.__boundL isteners=new WeakMap);var o=i.get(n);o||(o={},i.set(n,o));var a=this._boundListe nerKey(t,r);o[a]=s},_recallEventHandler:function(e,t,n,r){var s=e.__boundListene rs;if(s){var i=s.get(n);if(i){var o=this._boundListenerKey(t,r);return i[o]}}},_ createEventHandler:function(e,t,n){var r=this,s=function(e){r[n]?r[n](e,e.detail ):r._warn(r._logf("_createEventHandler","listener method `"+n+"` not defined"))} ;return s._listening=!1,this._recordEventHandler(r,t,e,n,s),s},unlisten:function (e,t,n){var r=this._recallEventHandler(this,t,e,n);r&&(this._unlisten(e,t,r),r._ listening=!1)},_listen:function(e,t,n){e.addEventListener(t,n)},_unlisten:functi on(e,t,n){e.removeEventListener(t,n)}}),function(){"use strict";function e(e){fo r(var t,n=g?["click"]:m,r=0;r<n.length;r++)t=n[r],e?document.addEventListener(t, P,!0):document.removeEventListener(t,P,!0)}function t(){S.mouse.mouseIgnoreJob|| e(!0);var t=function(){e(),S.mouse.target=null,S.mouse.mouseIgnoreJob=null};S.mo use.mouseIgnoreJob=Polymer.Debounce(S.mouse.mouseIgnoreJob,t,d)}function n(e){va r t=e.type;if(m.indexOf(t)===-1)return!1;if("mousemove"===t){var n=void 0===e.bu ttons?1:e.buttons;return e instanceof window.MouseEvent&&!v&&(n=y[e.which]||0),B oolean(1&n)}var r=void 0===e.button?0:e.button;return 0===r}function r(e){if("cl ick"===e.type){if(0===e.detail)return!0;var t=C.findOriginalTarget(e),n=t.getBou ndingClientRect(),r=e.pageX,s=e.pageY;return!(r>=n.left&&r<=n.right&&s>=n.top&&s <=n.bottom)}return!1}function s(e){for(var t,n=Polymer.dom(e).path,r="auto",s=0; s<n.length;s++)if(t=n[s],t[u]){r=t[u];break}return r}function i(e,t,n){e.movefn= t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("m ouseup",n)}function o(e){document.removeEventListener("mousemove",e.movefn),docu ment.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}var a=Polym er.DomApi.wrap,l="string"==typeof document.head.style.touchAction,c="__polymerGe stures",h="__polymerGesturesHandled",u="__polymerGesturesTouchAction",f=25,p=5,_ =2,d=2500,m=["mousedown","mousemove","mouseup","click"],y=[0,1,4,2],v=function() {try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}() ,g=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),P=function(e){var t=e.s ourceCapabilities;if((!t||t.firesTouchEvents)&&(e[h]={skip:!0},"click"===e.type) ){for(var n=Polymer.dom(e).path,r=0;r<n.length;r++)if(n[r]===S.mouse.target)retu rn;e.preventDefault(),e.stopPropagation()}},S={mouse:{target:null,mouseIgnoreJob :null},touch:{x:0,y:0,id:-1,scrollDecided:!1}},C={gestures:{},recognizers:[],dee pTargetFind:function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shad owRoot;)r=r.shadowRoot.elementFromPoint(e,t),r&&(n=r);return n},findOriginalTarg et:function(e){return e.path?e.path[0]:e.target},handleNative:function(e){var n, r=e.type,s=a(e.currentTarget),i=s[c];if(i){var o=i[r];if(o){if(!e[h]&&(e[h]={}," touch"===r.slice(0,5))){var u=e.changedTouches[0];if("touchstart"===r&&1===e.tou ches.length&&(S.touch.id=u.identifier),S.touch.id!==u.identifier)return;l||"touc hstart"!==r&&"touchmove"!==r||C.handleTouchAction(e),"touchend"===r&&(S.mouse.ta rget=Polymer.dom(e).rootTarget,t())}if(n=e[h],!n.skip){for(var f,p=C.recognizers ,_=0;_<p.length;_++)f=p[_],o[f.name]&&!n[f.name]&&f.flow&&f.flow.start.indexOf(e .type)>-1&&f.reset&&f.reset();for(_=0,f;_<p.length;_++)f=p[_],o[f.name]&&!n[f.na me]&&(n[f.name]=!0,f[r](e))}}}},handleTouchAction:function(e){var t=e.changedTou ches[0],n=e.type;if("touchstart"===n)S.touch.x=t.clientX,S.touch.y=t.clientY,S.t ouch.scrollDecided=!1;else if("touchmove"===n){if(S.touch.scrollDecided)return;S .touch.scrollDecided=!0;var r=s(e),i=!1,o=Math.abs(S.touch.x-t.clientX),a=Math.a bs(S.touch.y-t.clientY);e.cancelable&&("none"===r?i=!0:"pan-x"===r?i=a>o:"pan-y" ===r&&(i=o>a)),i?e.preventDefault():C.prevent("track")}},add:function(e,t,n){e=a (e);var r=this.gestures[t],s=r.deps,i=r.name,o=e[c];o||(e[c]=o={});for(var l,h,u =0;u<s.length;u++)l=s[u],g&&m.indexOf(l)>-1&&"click"!==l||(h=o[l],h||(o[l]=h={_c ount:0}),0===h._count&&e.addEventListener(l,this.handleNative),h[i]=(h[i]||0)+1, h._count=(h._count||0)+1);e.addEventListener(t,n),r.touchAction&&this.setTouchAc tion(e,r.touchAction)},remove:function(e,t,n){e=a(e);var r=this.gestures[t],s=r. deps,i=r.name,o=e[c];if(o)for(var l,h,u=0;u<s.length;u++)l=s[u],h=o[l],h&&h[i]&& (h[i]=(h[i]||1)-1,h._count=(h._count||1)-1,0===h._count&&e.removeEventListener(l ,this.handleNative));e.removeEventListener(t,n)},register:function(e){this.recog nizers.push(e);for(var t=0;t<e.emits.length;t++)this.gestures[e.emits[t]]=e},fin dRecognizerByEvent:function(e){for(var t,n=0;n<this.recognizers.length;n++){t=th is.recognizers[n];for(var r,s=0;s<t.emits.length;s++)if(r=t.emits[s],r===e)retur n t}return null},setTouchAction:function(e,t){l&&(e.style.touchAction=t),e[u]=t} ,fire:function(e,t,n){var r=Polymer.Base.fire(t,n,{node:e,bubbles:!0,cancelable: !0});if(r.defaultPrevented){var s=n.preventer||n.sourceEvent;s&&s.preventDefault &&s.preventDefault()}},prevent:function(e){var t=this.findRecognizerByEvent(e);t .info&&(t.info.prevent=!0)},resetMouseCanceller:function(){S.mouse.mouseIgnoreJo b&&S.mouse.mouseIgnoreJob.complete()}};C.register({name:"downup",deps:["mousedow n","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup ","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function() {o(this.info)},mousedown:function(e){if(n(e)){var t=C.findOriginalTarget(e),r=th is,s=function(e){n(e)||(r.fire("up",t,e),o(r.info))},a=function(e){n(e)&&r.fire( "up",t,e),o(r.info)};i(this.info,s,a),this.fire("down",t,e)}},touchstart:functio n(e){this.fire("down",C.findOriginalTarget(e),e.changedTouches[0],e)},touchend:f unction(e){this.fire("up",C.findOriginalTarget(e),e.changedTouches[0],e)},fire:f unction(e,t,n,r){C.fire(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,p revent:function(e){return C.prevent(e)}})}}),C.register({name:"track",touchActio n:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mo usedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0 ,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>_&&this .moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:funct ion(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info. x=0,this.info.y=0,this.info.prevent=!1,o(this.info)},hasMovedEnough:function(e,t ){if(this.info.prevent)return!1;if(this.info.started)return!0;var n=Math.abs(thi s.info.x-e),r=Math.abs(this.info.y-t);return n>=p||r>=p},mousedown:function(e){i f(n(e)){var t=C.findOriginalTarget(e),r=this,s=function(e){var s=e.clientX,i=e.c lientY;r.hasMovedEnough(s,i)&&(r.info.state=r.info.started?"mouseup"===e.type?"e nd":"track":"start","start"===r.info.state&&C.prevent("tap"),r.info.addMove({x:s ,y:i}),n(e)||(r.info.state="end",o(r.info)),r.fire(t,e),r.info.started=!0)},a=fu nction(e){r.info.started&&s(e),o(r.info)};i(this.info,s,a),this.info.x=e.clientX ,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.i nfo.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=C.findOrigina lTarget(e),n=e.changedTouches[0],r=n.clientX,s=n.clientY;this.hasMovedEnough(r,s )&&("start"===this.info.state&&C.prevent("tap"),this.info.addMove({x:r,y:s}),thi s.fire(t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){ var t=C.findOriginalTarget(e),n=e.changedTouches[0];this.info.started&&(this.inf o.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),this.fire(t,n,e))},fi re:function(e,t,n){var r,s=this.info.moves[this.info.moves.length-2],i=this.info .moves[this.info.moves.length-1],o=i.x-this.info.x,a=i.y-this.info.y,l=0;return s&&(r=i.x-s.x,l=i.y-s.y),C.fire(e,"track",{state:this.info.state,x:t.clientX,y:t .clientY,dx:o,dy:a,ddx:r,ddy:l,sourceEvent:t,preventer:n,hover:function(){return C.deepTargetFind(t.clientX,t.clientY)}})}}),C.register({name:"tap",deps:["mouse down","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],en d:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:functi on(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},save:function(e){this .info.x=e.clientX,this.info.y=e.clientY},mousedown:function(e){n(e)&&this.save(e )},click:function(e){n(e)&&this.forward(e)},touchstart:function(e){this.save(e.c hangedTouches[0],e)},touchend:function(e){this.forward(e.changedTouches[0],e)},f orward:function(e,t){var n=Math.abs(e.clientX-this.info.x),s=Math.abs(e.clientY- this.info.y),i=C.findOriginalTarget(e);(isNaN(n)||isNaN(s)||n<=f&&s<=f||r(e))&&( this.info.prevent||C.fire(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,prevent er:t}))}});var E={x:"pan-x",y:"pan-y",none:"none",all:"auto"};Polymer.Base._addF eature({_setupGestures:function(){this.__polymerGestures=null},_listen:function( e,t,n){C.gestures[t]?C.add(e,t,n):e.addEventListener(t,n)},_unlisten:function(e, t,n){C.gestures[t]?C.remove(e,t,n):e.removeEventListener(t,n)},setScrollDirectio n:function(e,t){t=t||this,C.setTouchAction(t,E[e]||"auto")}}),Polymer.Gestures=C }(),function(){"use strict";if(Polymer.Base._addFeature({$$:function(e){return P olymer.dom(this.root).querySelector(e)},toggleClass:function(e,t,n){n=n||this,1= =arguments.length&&(t=!n.classList.contains(e)),t?Polymer.dom(n).classList.add(e ):Polymer.dom(n).classList.remove(e)},toggleAttribute:function(e,t,n){n=n||this, 1==arguments.length&&(t=!n.hasAttribute(e)),t?Polymer.dom(n).setAttribute(e,""): Polymer.dom(n).removeAttribute(e)},classFollows:function(e,t,n){n&&Polymer.dom(n ).classList.remove(e),t&&Polymer.dom(t).classList.add(e)},attributeFollows:funct ion(e,t,n){n&&Polymer.dom(n).removeAttribute(e),t&&Polymer.dom(t).setAttribute(e ,"")},getEffectiveChildNodes:function(){return Polymer.dom(this).getEffectiveChi ldNodes()},getEffectiveChildren:function(){var e=Polymer.dom(this).getEffectiveC hildNodes();return e.filter(function(e){return e.nodeType===Node.ELEMENT_NODE})} ,getEffectiveTextContent:function(){for(var e,t=this.getEffectiveChildNodes(),n= [],r=0;e=t[r];r++)e.nodeType!==Node.COMMENT_NODE&&n.push(Polymer.dom(e).textCont ent);return n.join("")},queryEffectiveChildren:function(e){var t=Polymer.dom(thi s).queryDistributedElements(e);return t&&t[0]},queryAllEffectiveChildren:functio n(e){return Polymer.dom(this).queryDistributedElements(e)},getContentChildNodes: function(e){var t=Polymer.dom(this.root).querySelector(e||"content");return t?Po lymer.dom(t).getDistributedNodes():[]},getContentChildren:function(e){return thi s.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NO DE})},fire:function(e,t,n){n=n||Polymer.nob;var r=n.node||this;t=null===t||void 0===t?{}:t;var s=void 0===n.bubbles||n.bubbles,i=Boolean(n.cancelable),o=n._useC ache,a=this._getEvent(e,s,i,o);return a.detail=t,o&&(this.__eventCache[e]=null), r.dispatchEvent(a),o&&(this.__eventCache[e]=a),a},__eventCache:{},_getEvent:func tion(e,t,n,r){var s=r&&this.__eventCache[e];return s&&s.bubbles==t&&s.cancelable ==n||(s=new Event(e,{bubbles:Boolean(t),cancelable:n})),s},async:function(e,t){v ar n=this;return Polymer.Async.run(function(){e.call(n)},t)},cancelAsync:functio n(e){Polymer.Async.cancel(e)},arrayDelete:function(e,t){var n;if(Array.isArray(e )){if(n=e.indexOf(t),n>=0)return e.splice(n,1)}else{var r=this._get(e);if(n=r.in dexOf(t),n>=0)return this.splice(e,n,1)}},transform:function(e,t){t=t||this,t.st yle.webkitTransform=e,t.style.transform=e},translate3d:function(e,t,n,r){r=r||th is,this.transform("translate3d("+e+","+t+","+n+")",r)},importHref:function(e,t,n ,r){var s=document.createElement("link");s.rel="import",s.href=e;var i=Polymer.B ase.importHref.imported=Polymer.Base.importHref.imported||{},o=i[s.href],a=o||s, l=this;if(t){var c=function(e){return e.target.__firedLoad=!0,e.target.removeEve ntListener("load",c),t.call(l,e)};a.addEventListener("load",c)}if(n){var h=funct ion(e){return e.target.__firedError=!0,e.target.removeEventListener("error",h),n .call(l,e)};a.addEventListener("error",h)}return o?(o.__firedLoad&&o.dispatchEve nt(new Event("load")),o.__firedError&&o.dispatchEvent(new Event("error"))):(i[s. href]=s,r=Boolean(r),r&&s.setAttribute("async",""),document.head.appendChild(s)) ,a},create:function(e,t){var n=document.createElement(e);if(t)for(var r in t)n[r ]=t[r];return n},isLightDescendant:function(e){return this!==e&&this.contains(e) &&Polymer.dom(this).getOwnerRoot()===Polymer.dom(e).getOwnerRoot()},isLocalDesce ndant:function(e){return this.root===Polymer.dom(e).getOwnerRoot()}}),!Polymer.S ettings.useNativeCustomElements){var e=Polymer.Base.importHref;Polymer.Base.impo rtHref=function(t,n,r,s){CustomElements.ready=!1;var i=function(e){if(CustomElem ents.upgradeDocumentTree(document),CustomElements.ready=!0,n)return n.call(this, e)};return e.call(this,t,i,r,s)}}}(),Polymer.Bind={prepareModel:function(e){Poly mer.Base.mixin(e,this._modelApi)},_modelApi:{_notifyChange:function(e,t,n){n=voi d 0===n?this[e]:n,t=t||Polymer.CaseMap.camelToDashCase(e)+"-changed",this.fire(t ,{value:n},{bubbles:!1,cancelable:!1,_useCache:!0})},_propertySetter:function(e, t,n,r){var s=this.__data__[e];return s===t||s!==s&&t!==t||(this.__data__[e]=t,"o bject"==typeof t&&this._clearPath(e),this._propertyChanged&&this._propertyChange d(e,t,s),n&&this._effectEffects(e,t,n,s,r)),s},__setProperty:function(e,t,n,r){r =r||this;var s=r._propertyEffects&&r._propertyEffects[e];s?r._propertySetter(e,t ,s,n):r[e]!==t&&(r[e]=t)},_effectEffects:function(e,t,n,r,s){for(var i,o=0,a=n.l ength;o<a&&(i=n[o]);o++)i.fn.call(this,e,this[e],i.effect,r,s)},_clearPath:funct ion(e){for(var t in this.__data__)Polymer.Path.isDescendant(e,t)&&(this.__data__ [t]=void 0)}},ensurePropertyEffects:function(e,t){e._propertyEffects||(e._proper tyEffects={});var n=e._propertyEffects[t];return n||(n=e._propertyEffects[t]=[]) ,n},addPropertyEffect:function(e,t,n,r){var s=this.ensurePropertyEffects(e,t),i= {kind:n,effect:r,fn:Polymer.Bind["_"+n+"Effect"]};return s.push(i),i},createBind ings:function(e){var t=e._propertyEffects;if(t)for(var n in t){var r=t[n];r.sort (this._sortPropertyEffects),this._createAccessors(e,n,r)}},_sortPropertyEffects: function(){var e={compute:0,annotation:1,annotatedComputation:2,reflect:3,notify :4,observer:5,complexObserver:6,function:7};return function(t,n){return e[t.kind ]-e[n.kind]}}(),_createAccessors:function(e,t,n){var r={get:function(){return th is.__data__[t]}},s=function(e){this._propertySetter(t,e,n)},i=e.getPropertyInfo& &e.getPropertyInfo(t);i&&i.readOnly?i.computed||(e["_set"+this.upper(t)]=s):r.se t=s,Object.defineProperty(e,t,r)},upper:function(e){return e[0].toUpperCase()+e. substring(1)},_addAnnotatedListener:function(e,t,n,r,s,i){e._bindListeners||(e._ bindListeners=[]);var o=this._notedListenerFactory(n,r,Polymer.Path.isDeep(r),i) ,a=s||Polymer.CaseMap.camelToDashCase(n)+"-changed";e._bindListeners.push({index :t,property:n,path:r,changedFn:o,event:a})},_isEventBogus:function(e,t){return e .path&&e.path[0]!==t},_notedListenerFactory:function(e,t,n,r){return function(s, i,o){if(o){var a=Polymer.Path.translate(e,t,o);this._notifyPath(a,i)}else i=s[e] ,r&&(i=!i),n?this.__data__[t]!=i&&this.set(t,i):this[t]=i}},prepareInstance:func tion(e){e.__data__=Object.create(null)},setupBindListeners:function(e){for(var t ,n=e._bindListeners,r=0,s=n.length;r<s&&(t=n[r]);r++){var i=e._nodes[t.index];th is._addNotifyListener(i,e,t.event,t.changedFn)}},_addNotifyListener:function(e,t ,n,r){e.addEventListener(n,function(e){return t._notifyListener(r,e)})}},Polymer .Base.extend(Polymer.Bind,{_shouldAddListener:function(e){return e.name&&"attrib ute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode},_annotationE ffect:function(e,t,n){e!=n.value&&(t=this._get(n.value),this.__data__[n.value]=t ),this._applyEffectValue(n,t)},_reflectEffect:function(e,t,n){this.reflectProper tyToAttribute(e,n.attribute,t)},_notifyEffect:function(e,t,n,r,s){s||this._notif yChange(e,n.event,t)},_functionEffect:function(e,t,n,r,s){n.call(this,e,t,r,s)}, _observerEffect:function(e,t,n,r){var s=this[n.method];s?s.call(this,t,r):this._ warn(this._logf("_observerEffect","observer method `"+n.method+"` not defined")) },_complexObserverEffect:function(e,t,n){var r=this[n.method];if(r){var s=Polyme r.Bind._marshalArgs(this.__data__,n,e,t);s&&r.apply(this,s)}else n.dynamicFn||th is._warn(this._logf("_complexObserverEffect","observer method `"+n.method+"` not defined"))},_computeEffect:function(e,t,n){var r=this[n.method];if(r){var s=Pol ymer.Bind._marshalArgs(this.__data__,n,e,t);if(s){var i=r.apply(this,s);this.__s etProperty(n.name,i)}}else n.dynamicFn||this._warn(this._logf("_computeEffect"," compute method `"+n.method+"` not defined"))},_annotatedComputationEffect:functi on(e,t,n){var r=this._rootDataHost||this,s=r[n.method];if(s){var i=Polymer.Bind. _marshalArgs(this.__data__,n,e,t);if(i){var o=s.apply(r,i);this._applyEffectValu e(n,o)}}else n.dynamicFn||r._warn(r._logf("_annotatedComputationEffect","compute method `"+n.method+"` not defined"))},_marshalArgs:function(e,t,n,r){for(var s= [],i=t.args,o=i.length>1||t.dynamicFn,a=0,l=i.length;a<l;a++){var c,h=i[a],u=h.n ame;if(h.literal?c=h.value:n===u?c=r:(c=e[u],void 0===c&&h.structured&&(c=Polyme r.Base._get(u,e))),o&&void 0===c)return;if(h.wildcard){var f=Polymer.Path.isAnce stor(n,u);s[a]={path:f?n:u,value:f?r:c,base:c}}else s[a]=c}return s}}),Polymer.B ase._addFeature({_addPropertyEffect:function(e,t,n){var r=Polymer.Bind.addProper tyEffect(this,e,t,n);r.pathFn=this["_"+r.kind+"PathEffect"]},_prepEffects:functi on(){Polymer.Bind.prepareModel(this),this._addAnnotationEffects(this._notes)},_p repBindings:function(){Polymer.Bind.createBindings(this)},_addPropertyEffects:fu nction(e){if(e)for(var t in e){var n=e[t];if(n.observer&&this._addObserverEffect (t,n.observer),n.computed&&(n.readOnly=!0,this._addComputedEffect(t,n.computed)) ,n.notify&&this._addPropertyEffect(t,"notify",{event:Polymer.CaseMap.camelToDash Case(t)+"-changed"}),n.reflectToAttribute){var r=Polymer.CaseMap.camelToDashCase (t);"-"===r[0]?this._warn(this._logf("_addPropertyEffects","Property "+t+" canno t be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.')):this._addPropert yEffect(t,"reflect",{attribute:r})}n.readOnly&&Polymer.Bind.ensurePropertyEffect s(this,t)}},_addComputedEffect:function(e,t){for(var n,r=this._parseMethod(t),s= r.dynamicFn,i=0;i<r.args.length&&(n=r.args[i]);i++)this._addPropertyEffect(n.mod el,"compute",{method:r.method,args:r.args,trigger:n,name:e,dynamicFn:s});s&&this ._addPropertyEffect(r.method,"compute",{method:r.method,args:r.args,trigger:null ,name:e,dynamicFn:s})},_addObserverEffect:function(e,t){this._addPropertyEffect( e,"observer",{method:t,property:e})},_addComplexObserverEffects:function(e){if(e )for(var t,n=0;n<e.length&&(t=e[n]);n++)this._addComplexObserverEffect(t)},_addC omplexObserverEffect:function(e){var t=this._parseMethod(e);if(!t)throw new Erro r("Malformed observer expression '"+e+"'");for(var n,r=t.dynamicFn,s=0;s<t.args. length&&(n=t.args[s]);s++)this._addPropertyEffect(n.model,"complexObserver",{met hod:t.method,args:t.args,trigger:n,dynamicFn:r});r&&this._addPropertyEffect(t.me thod,"complexObserver",{method:t.method,args:t.args,trigger:null,dynamicFn:r})}, _addAnnotationEffects:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++)for(var r,s=t.bindings,i=0;i<s.length&&(r=s[i]);i++)this._addAnnotationEffect(r,n)},_ad dAnnotationEffect:function(e,t){Polymer.Bind._shouldAddListener(e)&&Polymer.Bind ._addAnnotatedListener(this,t,e.name,e.parts[0].value,e.parts[0].event,e.parts[0 ].negate);for(var n=0;n<e.parts.length;n++){var r=e.parts[n];r.signature?this._a ddAnnotatedComputationEffect(e,r,t):r.literal||("attribute"===e.kind&&"-"===e.na me[0]?this._warn(this._logf("_addAnnotationEffect","Cannot set attribute "+e.nam e+' because "-" is not a valid attribute starting character')):this._addProperty Effect(r.model,"annotation",{kind:e.kind,index:t,name:e.name,propertyName:e.prop ertyName,value:r.value,isCompound:e.isCompound,compoundIndex:r.compoundIndex,eve nt:r.event,customEvent:r.customEvent,negate:r.negate}))}},_addAnnotatedComputati onEffect:function(e,t,n){var r=t.signature;if(r.static)this.__addAnnotatedComput ationEffect("__static__",n,e,t,null);else{for(var s,i=0;i<r.args.length&&(s=r.ar gs[i]);i++)s.literal||this.__addAnnotatedComputationEffect(s.model,n,e,t,s);r.dy namicFn&&this.__addAnnotatedComputationEffect(r.method,n,e,t,null)}},__addAnnota tedComputationEffect:function(e,t,n,r,s){this._addPropertyEffect(e,"annotatedCom putation",{index:t,isCompound:n.isCompound,compoundIndex:r.compoundIndex,kind:n. kind,name:n.name,negate:r.negate,method:r.signature.method,args:r.signature.args ,trigger:s,dynamicFn:r.signature.dynamicFn})},_parseMethod:function(e){var t=e.m atch(/([^\s]+?)\(([\s\S]*)\)/);if(t){var n={method:t[1],static:!0};if(this.getPr opertyInfo(n.method)!==Polymer.nob&&(n.static=!1,n.dynamicFn=!0),t[2].trim()){va r r=t[2].replace(/\\,/g,"&comma;").split(",");return this._parseArgs(r,n)}return n.args=Polymer.nar,n}},_parseArgs:function(e,t){return t.args=e.map(function(e) {var n=this._parseArg(e);return n.literal||(t.static=!1),n},this),t},_parseArg:f unction(e){var t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name :t},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n .value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}r eturn n.literal||(n.model=Polymer.Path.root(t),n.structured=Polymer.Path.isDeep( t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2) ))),n},_marshalInstanceEffects:function(){Polymer.Bind.prepareInstance(this),thi s._bindListeners&&Polymer.Bind.setupBindListeners(this)},_applyEffectValue:funct ion(e,t){var n=this._nodes[e.index],r=e.name;if(t=this._computeFinalAnnotationVa lue(n,r,t,e),"attribute"==e.kind)this.serializeValueToAttribute(t,r,n);else{var s=n._propertyInfo&&n._propertyInfo[r];if(s&&s.readOnly)return;this.__setProperty (r,t,!1,n)}},_computeFinalAnnotationValue:function(e,t,n,r){if(r.negate&&(n=!n), r.isCompound){var s=e.__compoundStorage__[t];s[r.compoundIndex]=n,n=s.join("")}r eturn"attribute"!==r.kind&&("className"===t&&(n=this._scopeElementClass(e,n)),(" textContent"===t||"input"==e.localName&&"value"==t)&&(n=void 0==n?"":n)),n},_exe cuteStaticEffects:function(){this._propertyEffects&&this._propertyEffects.__stat ic__&&this._effectEffects("__static__",null,this._propertyEffects.__static__)}}) ,function(){var e=Polymer.Settings.usePolyfillProto;Polymer.Base._addFeature({_s etupConfigure:function(e){if(this._config={},this._handlers=[],this._aboveConfig =null,e)for(var t in e)void 0!==e[t]&&(this._config[t]=e[t])},_marshalAttributes :function(){this._takeAttributesToModel(this._config)},_attributeChangedImpl:fun ction(e){var t=this._clientsReadied?this:this._config;this._setAttributeToProper ty(t,e)},_configValue:function(e,t){var n=this._propertyInfo[e];n&&n.readOnly||( this._config[e]=t)},_beforeClientsReady:function(){this._configure()},_configure :function(){this._configureAnnotationReferences(),this._configureInstancePropert ies(),this._aboveConfig=this.mixin({},this._config);for(var e={},t=0;t<this.beha viors.length;t++)this._configureProperties(this.behaviors[t].properties,e);this. _configureProperties(this.properties,e),this.mixin(e,this._aboveConfig),this._co nfig=e,this._clients&&this._clients.length&&this._distributeConfig(this._config) },_configureInstanceProperties:function(){for(var t in this._propertyEffects)!e& &this.hasOwnProperty(t)&&(this._configValue(t,this[t]),
3 delete this[t])},_configureProperties:function(e,t){for(var n in e){var r=e[n];i f(void 0!==r.value){var s=r.value;"function"==typeof s&&(s=s.call(this,this._con fig)),t[n]=s}}},_distributeConfig:function(e){var t=this._propertyEffects;if(t)f or(var n in e){var r=t[n];if(r)for(var s,i=0,o=r.length;i<o&&(s=r[i]);i++)if("an notation"===s.kind){var a=this._nodes[s.effect.index],l=s.effect.propertyName,c= "attribute"==s.effect.kind,h=a._propertyEffects&&a._propertyEffects[l];if(a._con figValue&&(h||!c)){var u=n===s.effect.value?e[n]:this._get(s.effect.value,e);u=t his._computeFinalAnnotationValue(a,l,u,s.effect),c&&(u=a.deserialize(this.serial ize(u),a._propertyInfo[l].type)),a._configValue(l,u)}}}},_afterClientsReady:func tion(){this._executeStaticEffects(),this._applyConfig(this._config,this._aboveCo nfig),this._flushHandlers()},_applyConfig:function(e,t){for(var n in e)void 0=== this[n]&&this.__setProperty(n,e[n],n in t)},_notifyListener:function(e,t){if(!Po lymer.Bind._isEventBogus(t,t.target)){var n,r;if(t.detail&&(n=t.detail.value,r=t .detail.path),this._clientsReadied)return e.call(this,t.target,n,r);this._queueH andler([e,t.target,n,r])}},_queueHandler:function(e){this._handlers.push(e)},_fl ushHandlers:function(){for(var e,t=this._handlers,n=0,r=t.length;n<r&&(e=t[n]);n ++)e[0].call(this,e[1],e[2],e[3]);this._handlers=[]}})}(),function(){"use strict ";var e=Polymer.Path;Polymer.Base._addFeature({notifyPath:function(e,t,n){var r= {},s=this._get(e,this,r);1===arguments.length&&(t=s),r.path&&this._notifyPath(r. path,t,n)},_notifyPath:function(e,t,n){var r=this._propertySetter(e,t);if(r!==t& &(r===r||t===t))return this._pathEffector(e,t),n||this._notifyPathUp(e,t),!0},_g etPathParts:function(e){if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)for (var r=e[n].toString().split("."),s=0;s<r.length;s++)t.push(r[s]);return t}retur n e.toString().split(".")},set:function(e,t,n){var r,s=n||this,i=this._getPathPa rts(e),o=i[i.length-1];if(i.length>1){for(var a=0;a<i.length-1;a++){var l=i[a];i f(r&&"#"==l[0]?s=Polymer.Collection.get(r).getItem(l):(s=s[l],r&&parseInt(l,10)= =l&&(i[a]=Polymer.Collection.get(r).getKey(s))),!s)return;r=Array.isArray(s)?s:n ull}if(r){var c,h,u=Polymer.Collection.get(r);"#"==o[0]?(h=o,c=u.getItem(h),o=r. indexOf(c),u.setItem(h,t)):parseInt(o,10)==o&&(c=s[o],h=u.getKey(c),i[a]=h,u.set Item(h,t))}s[o]=t,n||this._notifyPath(i.join("."),t)}else s[e]=t},get:function(e ,t){return this._get(e,t)},_get:function(e,t,n){for(var r,s=t||this,i=this._getP athParts(e),o=0;o<i.length;o++){if(!s)return;var a=i[o];r&&"#"==a[0]?s=Polymer.C ollection.get(r).getItem(a):(s=s[a],n&&r&&parseInt(a,10)==a&&(i[o]=Polymer.Colle ction.get(r).getKey(s))),r=Array.isArray(s)?s:null}return n&&(n.path=i.join(".") ),s},_pathEffector:function(t,n){var r=e.root(t),s=this._propertyEffects&&this._ propertyEffects[r];if(s)for(var i,o=0;o<s.length&&(i=s[o]);o++){var a=i.pathFn;a &&a.call(this,t,n,i.effect)}this._boundPaths&&this._notifyBoundPaths(t,n)},_anno tationPathEffect:function(t,n,r){if(e.matches(r.value,!1,t))Polymer.Bind._annota tionEffect.call(this,t,n,r);else if(!r.negate&&e.isDescendant(r.value,t)){var s= this._nodes[r.index];if(s&&s._notifyPath){var i=e.translate(r.value,r.name,t);s. _notifyPath(i,n,!0)}}},_complexObserverPathEffect:function(t,n,r){e.matches(r.tr igger.name,r.trigger.wildcard,t)&&Polymer.Bind._complexObserverEffect.call(this, t,n,r)},_computePathEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wi ldcard,t)&&Polymer.Bind._computeEffect.call(this,t,n,r)},_annotatedComputationPa thEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wildcard,t)&&Polymer .Bind._annotatedComputationEffect.call(this,t,n,r)},linkPaths:function(e,t){this ._boundPaths=this._boundPaths||{},t?this._boundPaths[e]=t:this.unlinkPaths(e)},u nlinkPaths:function(e){this._boundPaths&&delete this._boundPaths[e]},_notifyBoun dPaths:function(t,n){for(var r in this._boundPaths){var s=this._boundPaths[r];e. isDescendant(r,t)?this._notifyPath(e.translate(r,s,t),n):e.isDescendant(s,t)&&th is._notifyPath(e.translate(s,r,t),n)}},_notifyPathUp:function(t,n){var r=e.root( t),s=Polymer.CaseMap.camelToDashCase(r),i=s+this._EVENT_CHANGED;this.fire(i,{pat h:t,value:n},{bubbles:!1,_useCache:!0})},_EVENT_CHANGED:"-changed",notifySplices :function(e,t){var n={},r=this._get(e,this,n);this._notifySplices(r,n.path,t)},_ notifySplices:function(e,t,n){var r={keySplices:Polymer.Collection.applySplices( e,n),indexSplices:n},s=t+".splices";this._notifyPath(s,r),this._notifyPath(t+".l ength",e.length),this.__data__[s]={keySplices:null,indexSplices:null}},_notifySp lice:function(e,t,n,r,s){this._notifySplices(e,t,[{index:n,addedCount:r,removed: s,object:e,type:"splice"}])},push:function(e){var t={},n=this._get(e,this,t),r=A rray.prototype.slice.call(arguments,1),s=n.length,i=n.push.apply(n,r);return r.l ength&&this._notifySplice(n,t.path,s,r.length,[]),i},pop:function(e){var t={},n= this._get(e,this,t),r=Boolean(n.length),s=Array.prototype.slice.call(arguments,1 ),i=n.pop.apply(n,s);return r&&this._notifySplice(n,t.path,n.length,0,[i]),i},sp lice:function(e,t){var n={},r=this._get(e,this,n);t=t<0?r.length-Math.floor(-t): Math.floor(t),t||(t=0);var s=Array.prototype.slice.call(arguments,1),i=r.splice. apply(r,s),o=Math.max(s.length-2,0);return(o||i.length)&&this._notifySplice(r,n. path,t,o,i),i},shift:function(e){var t={},n=this._get(e,this,t),r=Boolean(n.leng th),s=Array.prototype.slice.call(arguments,1),i=n.shift.apply(n,s);return r&&thi s._notifySplice(n,t.path,0,0,[i]),i},unshift:function(e){var t={},n=this._get(e, this,t),r=Array.prototype.slice.call(arguments,1),s=n.unshift.apply(n,r);return r.length&&this._notifySplice(n,t.path,0,r.length,[]),s},prepareModelNotifyPath:f unction(e){this.mixin(e,{fire:Polymer.Base.fire,_getEvent:Polymer.Base._getEvent ,__eventCache:Polymer.Base.__eventCache,notifyPath:Polymer.Base.notifyPath,_get: Polymer.Base._get,_EVENT_CHANGED:Polymer.Base._EVENT_CHANGED,_notifyPath:Polymer .Base._notifyPath,_notifyPathUp:Polymer.Base._notifyPathUp,_pathEffector:Polymer .Base._pathEffector,_annotationPathEffect:Polymer.Base._annotationPathEffect,_co mplexObserverPathEffect:Polymer.Base._complexObserverPathEffect,_annotatedComput ationPathEffect:Polymer.Base._annotatedComputationPathEffect,_computePathEffect: Polymer.Base._computePathEffect,_notifyBoundPaths:Polymer.Base._notifyBoundPaths ,_getPathParts:Polymer.Base._getPathParts})}})}(),Polymer.Base._addFeature({reso lveUrl:function(e){var t=Polymer.DomModule.import(this.is),n="";if(t){var r=t.ge tAttribute("assetpath")||"";n=Polymer.ResolveUrl.resolveUrl(r,t.ownerDocument.ba seURI)}return Polymer.ResolveUrl.resolveUrl(e,n)}}),Polymer.CssParse=function(){ return{parse:function(e){return e=this._clean(e),this._parseCss(this._lex(e),e)} ,_clean:function(e){return e.replace(this._rx.comments,"").replace(this._rx.port ,"")},_lex:function(e){for(var t={start:0,end:e.length},n=t,r=0,s=e.length;r<s;r ++)switch(e[r]){case this.OPEN_BRACE:n.rules||(n.rules=[]);var i=n,o=i.rules[i.r ules.length-1];n={start:r+1,parent:i,previous:o},i.rules.push(n);break;case this .CLOSE_BRACE:n.end=r+1,n=n.parent||t}return t},_parseCss:function(e,t){var n=t.s ubstring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent){var r= e.previous?e.previous.end:e.parent.start;n=t.substring(r,e.start-1),n=this._expa ndUnicodeEscapes(n),n=n.replace(this._rx.multipleSpaces," "),n=n.substring(n.las tIndexOf(";")+1);var s=e.parsedSelector=e.selector=n.trim();e.atRule=0===s.index Of(this.AT_START),e.atRule?0===s.indexOf(this.MEDIA_START)?e.type=this.types.MED IA_RULE:s.match(this._rx.keyframesRule)&&(e.type=this.types.KEYFRAMES_RULE,e.key framesName=e.selector.split(this._rx.multipleSpaces).pop()):0===s.indexOf(this.V AR_START)?e.type=this.types.MIXIN_RULE:e.type=this.types.STYLE_RULE}var i=e.rule s;if(i)for(var o,a=0,l=i.length;a<l&&(o=i[a]);a++)this._parseCss(o,t);return e}, _expandUnicodeEscapes:function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,funct ion(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e})},stringify :function(e,t,n){n=n||"";var r="";if(e.cssText||e.rules){var s=e.rules;if(s&&!th is._hasMixinRules(s))for(var i,o=0,a=s.length;o<a&&(i=s[o]);o++)r=this.stringify (i,t,r);else r=t?e.cssText:this.removeCustomProps(e.cssText),r=r.trim(),r&&(r=" "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" "+this.OPEN_BRACE+"\n"),n+=r, e.selector&&(n+=this.CLOSE_BRACE+"\n\n")),n},_hasMixinRules:function(e){return 0 ===e[0].selector.indexOf(this.VAR_START)},removeCustomProps:function(e){return e =this.removeCustomPropAssignment(e),this.removeCustomPropApply(e)},removeCustomP ropAssignment:function(e){return e.replace(this._rx.customProp,"").replace(this. _rx.mixinProp,"")},removeCustomPropApply:function(e){return e.replace(this._rx.m ixinApply,"").replace(this._rx.varApply,"")},types:{STYLE_RULE:1,KEYFRAMES_RULE: 7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE:"{",CLOSE_BRACE:"}",_rx:{comments:/\/\ *[^*]*\*+([^\/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s }]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^ {};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/ gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]* keyframes/,multipleSpaces:/\s+/g},VAR_START:"--",MEDIA_START:"@media",AT_START:" @"}}(),Polymer.StyleUtil=function(){var e=Polymer.Settings;return{NATIVE_VARIABL ES:Polymer.Settings.useNativeCSSProperties,MODULE_STYLES_SELECTOR:"style, link[r el=import][type~=css], template",INCLUDE_ATTR:"include",toCssText:function(e,t){ return"string"==typeof e&&(e=this.parser.parse(e)),t&&this.forEachRule(e,t),this .parser.stringify(e,this.NATIVE_VARIABLES)},forRulesInStyles:function(e,t,n){if( e)for(var r,s=0,i=e.length;s<i&&(r=e[s]);s++)this.forEachRuleInStyle(r,t,n)},for ActiveRulesInStyles:function(e,t,n){if(e)for(var r,s=0,i=e.length;s<i&&(r=e[s]); s++)this.forEachRuleInStyle(r,t,n,!0)},rulesForStyle:function(e){return!e.__cssR ules&&e.textContent&&(e.__cssRules=this.parser.parse(e.textContent)),e.__cssRule s},isKeyframesSelector:function(e){return e.parent&&e.parent.type===this.ruleTyp es.KEYFRAMES_RULE},forEachRuleInStyle:function(e,t,n,r){var s,i,o=this.rulesForS tyle(e);t&&(s=function(n){t(n,e)}),n&&(i=function(t){n(t,e)}),this.forEachRule(o ,s,i,r)},forEachRule:function(e,t,n,r){if(e){var s=!1;if(r&&e.type===this.ruleTy pes.MEDIA_RULE){var i=e.selector.match(this.rx.MEDIA_MATCH);i&&(window.matchMedi a(i[1]).matches||(s=!0))}e.type===this.ruleTypes.STYLE_RULE?t(e):n&&e.type===thi s.ruleTypes.KEYFRAMES_RULE?n(e):e.type===this.ruleTypes.MIXIN_RULE&&(s=!0);var o =e.rules;if(o&&!s)for(var a,l=0,c=o.length;l<c&&(a=o[l]);l++)this.forEachRule(a, t,n,r)}},applyCss:function(e,t,n,r){var s=this.createScopeStyle(e,t);return this .applyStyle(s,n,r)},applyStyle:function(e,t,n){t=t||document.head;var r=n&&n.nex tSibling||t.firstChild;return this.__lastHeadApplyNode=e,t.insertBefore(e,r)},cr eateScopeStyle:function(e,t){var n=document.createElement("style");return t&&n.s etAttribute("scope",t),n.textContent=e,n},__lastHeadApplyNode:null,applyStylePla ceHolder:function(e){var t=document.createComment(" Shady DOM styles for "+e+" " ),n=this.__lastHeadApplyNode?this.__lastHeadApplyNode.nextSibling:null,r=documen t.head;return r.insertBefore(t,n||r.firstChild),this.__lastHeadApplyNode=t,t},cs sFromModules:function(e,t){for(var n=e.trim().split(" "),r="",s=0;s<n.length;s++ )r+=this.cssFromModule(n[s],t);return r},cssFromModule:function(e,t){var n=Polym er.DomModule.import(e);return n&&!n._cssText&&(n._cssText=this.cssFromElement(n) ),!n&&t&&console.warn("Could not find style data in module named",e),n&&n._cssTe xt||""},cssFromElement:function(e){for(var t,n="",r=e.content||e,s=Polymer.TreeA pi.arrayCopy(r.querySelectorAll(this.MODULE_STYLES_SELECTOR)),i=0;i<s.length;i++ )if(t=s[i],"template"===t.localName)t.hasAttribute("preserve-content")||(n+=this .cssFromElement(t));else if("style"===t.localName){var o=t.getAttribute(this.INC LUDE_ATTR);o&&(n+=this.cssFromModules(o,!0)),t=t.__appliedElement||t,t.parentNod e.removeChild(t),n+=this.resolveCss(t.textContent,e.ownerDocument)}else t.import &&t.import.body&&(n+=this.resolveCss(t.import.body.textContent,t.import));return n},isTargetedBuild:function(t){return e.useNativeShadow?"shadow"===t:"shady"=== t},cssBuildTypeForModule:function(e){var t=Polymer.DomModule.import(e);if(t)retu rn this.getCssBuildType(t)},getCssBuildType:function(e){return e.getAttribute("c ss-build")},_findMatchingParen:function(e,t){for(var n=0,r=t,s=e.length;r<s;r++) switch(e[r]){case"(":n++;break;case")":if(0===--n)return r}return-1},processVari ableAndFallback:function(e,t){var n=e.indexOf("var(");if(n===-1)return t(e,"","" ,"");var r=this._findMatchingParen(e,n+3),s=e.substring(n+4,r),i=e.substring(0,n ),o=this.processVariableAndFallback(e.substring(r+1),t),a=s.indexOf(",");if(a=== -1)return t(i,s.trim(),"",o);var l=s.substring(0,a).trim(),c=s.substring(a+1).tr im();return t(i,l,c,o)},rx:{VAR_ASSIGN:/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^; {]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,MIXIN_MATCH:/(?:^|\W+)@apply\s*\(?([^);\n]*)\ )?/gi,VAR_CONSUMED:/(--[\w-]+)\s*([:,;)]|$)/gi,ANIMATION_MATCH:/(animation\s*:)| (animation-name\s*:)/,MEDIA_MATCH:/@media[^(]*(\([^)]*\))/,IS_VAR:/^--/,BRACKETE D:/\{[^}]*\}/g,HOST_PREFIX:"(?:^|[^.#[:])",HOST_SUFFIX:"($|[.:[\\s>+~])"},resolv eCss:Polymer.ResolveUrl.resolveCss,parser:Polymer.CssParse,ruleTypes:Polymer.Css Parse.types}}(),Polymer.StyleTransformer=function(){var e=Polymer.StyleUtil,t=Po lymer.Settings,n={dom:function(e,t,n,r){this._transformDom(e,t||"",n,r)},_transf ormDom:function(e,t,n,r){e.setAttribute&&this.element(e,t,n,r);for(var s=Polymer .dom(e).childNodes,i=0;i<s.length;i++)this._transformDom(s[i],t,n,r)},element:fu nction(e,t,n,s){if(n)s?e.removeAttribute(r):e.setAttribute(r,t);else if(t)if(e.c lassList)s?(e.classList.remove(r),e.classList.remove(t)):(e.classList.add(r),e.c lassList.add(t));else if(e.getAttribute){var i=e.getAttribute(g);s?i&&e.setAttri bute(g,i.replace(r,"").replace(t,"")):e.setAttribute(g,(i?i+" ":"")+r+" "+t)}},e lementStyles:function(n,r){var s,i=n._styles,o="",a=n.__cssBuild,l=t.useNativeSh adow||"shady"===a;if(l){var h=this;s=function(e){e.selector=h._slottedToContent( e.selector),e.selector=e.selector.replace(c,":host > *"),r&&r(e)}}for(var u,f=0, p=i.length;f<p&&(u=i[f]);f++){var _=e.rulesForStyle(u);o+=l?e.toCssText(_,s):thi s.css(_,n.is,n.extends,r,n._scopeCssViaAttr)+"\n\n"}return o.trim()},css:functio n(t,n,r,s,i){var o=this._calcHostScope(n,r);n=this._calcElementScope(n,i);var a= this;return e.toCssText(t,function(e){e.isScoped||(a.rule(e,n,o),e.isScoped=!0), s&&s(e,n,o)})},_calcElementScope:function(e,t){return e?t?m+e+y:d+e:""},_calcHos tScope:function(e,t){return t?"[is="+e+"]":e},rule:function(e,t,n){this._transfo rmRule(e,this._transformComplexSelector,t,n)},_transformRule:function(e,t,n,r){e .selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)},_transformRuleC ss:function(t,n,r,s){var o=t.selector.split(i);if(!e.isKeyframesSelector(t))for( var a,l=0,c=o.length;l<c&&(a=o[l]);l++)o[l]=n.call(this,a,r,s);return o.join(i)} ,_transformComplexSelector:function(e,t,n){var r=!1,s=!1,a=this;return e=e.trim( ),e=this._slottedToContent(e),e=e.replace(c,":host > *"),e=e.replace(P,l+" $1"), e=e.replace(o,function(e,i,o){if(r)o=o.replace(_," ");else{var l=a._transformCom poundSelector(o,i,t,n);r=r||l.stop,s=s||l.hostContext,i=l.combinator,o=l.value}r eturn i+o}),s&&(e=e.replace(f,function(e,t,r,s){return t+r+" "+n+s+i+" "+t+n+r+s })),e},_transformCompoundSelector:function(e,t,n,r){var s=e.search(_),i=!1;e.ind exOf(u)>=0?i=!0:e.indexOf(l)>=0?e=this._transformHostSelector(e,r):0!==s&&(e=n?t his._transformSimpleSelector(e,n):e),e.indexOf(p)>=0&&(t="");var o;return s>=0&& (e=e.replace(_," "),o=!0),{value:e,combinator:t,stop:o,hostContext:i}},_transfor mSimpleSelector:function(e,t){var n=e.split(v);return n[0]+=t,n.join(v)},_transf ormHostSelector:function(e,t){var n=e.match(h),r=n&&n[2].trim()||"";if(r){if(r[0 ].match(a))return e.replace(h,function(e,n,r){return t+r});var s=r.split(a)[0];r eturn s===t?r:S}return e.replace(l,t)},documentRule:function(e){e.selector=e.par sedSelector,this.normalizeRootSelector(e),t.useNativeShadow||this._transformRule (e,this._transformDocumentSelector)},normalizeRootSelector:function(e){e.selecto r=e.selector.replace(c,"html")},_transformDocumentSelector:function(e){return e. match(_)?this._transformComplexSelector(e,s):this._transformSimpleSelector(e.tri m(),s)},_slottedToContent:function(e){return e.replace(C,p+"> $1")},SCOPE_NAME:" style-scope"},r=n.SCOPE_NAME,s=":not(["+r+"]):not(."+r+")",i=",",o=/(^|[\s>+~]+) ((?:\[.+?\]|[^\s>+~=\[])+)/g,a=/[[.:#*]/,l=":host",c=":root",h=/(:host)(?:\(((?: \([^)(]*\)|[^)(]*)+?)\))/,u=":host-context",f=/(.*)(?::host-context)(?:\(((?:\([ ^)(]*\)|[^)(]*)+?)\))(.*)/,p="::content",_=/::content|::shadow|\/deep\//,d=".",m ="["+r+"~=",y="]",v=":",g="class",P=new RegExp("^("+p+")"),S="should_not_match", C=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g;return n}(),Polymer.StyleExt ends=function(){var e=Polymer.StyleUtil;return{hasExtends:function(e){return Boo lean(e.match(this.rx.EXTEND))},transform:function(t){var n=e.rulesForStyle(t),r= this;return e.forEachRule(n,function(e){if(r._mapRuleOntoParent(e),e.parent)for( var t;t=r.rx.EXTEND.exec(e.cssText);){var n=t[1],s=r._findExtendor(n,e);s&&r._ex tendRule(e,s)}e.cssText=e.cssText.replace(r.rx.EXTEND,"")}),e.toCssText(n,functi on(e){e.selector.match(r.rx.STRIP)&&(e.cssText="")},!0)},_mapRuleOntoParent:func tion(e){if(e.parent){for(var t,n=e.parent.map||(e.parent.map={}),r=e.selector.sp lit(","),s=0;s<r.length;s++)t=r[s],n[t.trim()]=e;return n}},_findExtendor:functi on(e,t){return t.parent&&t.parent.map&&t.parent.map[e]||this._findExtendor(e,t.p arent)},_extendRule:function(e,t){e.parent!==t.parent&&this._cloneAndAddRuleToPa rent(t,e.parent),e.extends=e.extends||[],e.extends.push(t),t.selector=t.selector .replace(this.rx.STRIP,""),t.selector=(t.selector&&t.selector+",\n")+e.selector, t.extends&&t.extends.forEach(function(t){this._extendRule(e,t)},this)},_cloneAnd AddRuleToParent:function(e,t){e=Object.create(e),e.parent=t,e.extends&&(e.extend s=e.extends.slice()),t.rules.push(e)},rx:{EXTEND:/@extends\(([^)]*)\)\s*?;/gim,S TRIP:/%[^,]*$/}}}(),Polymer.ApplyShim=function(){"use strict";function e(e,t){e= e.trim(),m[e]={properties:t,dependants:{}}}function t(e){return e=e.trim(),m[e]} function n(e,t){var n=_.exec(t);return n&&(t=n[1]?y._getInitialValueForProperty( e):"apply-shim-inherit"),t}function r(e){for(var t,r,s,i,o=e.split(";"),a={},l=0 ;l<o.length;l++)s=o[l],s&&(i=s.split(":"),i.length>1&&(t=i[0].trim(),r=n(t,i.sli ce(1).join(":")),a[t]=r));return a}function s(e){var t=y.__currentElementProto,n =t&&t.is;for(var r in e.dependants)r!==n&&(e.dependants[r].__applyShimInvalid=!0 )}function i(n,i,o,a){if(o&&c.processVariableAndFallback(o,function(e,n){n&&t(n) &&(a="@apply "+n+";")}),!a)return n;var h=l(a),u=n.slice(0,n.indexOf("--")),f=r( h),p=f,_=t(i),m=_&&_.properties;m?(p=Object.create(m),p=Polymer.Base.mixin(p,f)) :e(i,p);var y,v,g=[],P=!1;for(y in p)v=f[y],void 0===v&&(v="initial"),!m||y in m ||(P=!0),g.push(i+d+y+": "+v);return P&&s(_),_&&(_.properties=p),o&&(u=n+";"+u), u+g.join("; ")+";"}function o(e,t,n){return"var("+t+",var("+n+"))"}function a(n, r){n=n.replace(p,"");var s=[],i=t(n);if(i||(e(n,{}),i=t(n)),i){var o=y.__current ElementProto;o&&(i.dependants[o.is]=o);var a,l,c;for(a in i.properties)c=r&&r[a] ,l=[a,": var(",n,d,a],c&&l.push(",",c),l.push(")"),s.push(l.join(""))}return s.j oin("; ")}function l(e){for(var t;t=h.exec(e);){var n=t[0],s=t[1],i=t.index,o=i+ n.indexOf("@apply"),l=i+n.length,c=e.slice(0,o),u=e.slice(l),f=r(c),p=a(s,f);e=[ c,p,u].join(""),h.lastIndex=i+p.length}return e}var c=Polymer.StyleUtil,h=c.rx.M IXIN_MATCH,u=c.rx.VAR_ASSIGN,f=/var\(\s*(--[^,]*),\s*(--[^)]*)\)/g,p=/;\s*/m,_=/ ^\s*(initial)|(inherit)\s*$/,d="_-_",m={},y={_measureElement:null,_map:m,_separa tor:d,transform:function(e,t){this.__currentElementProto=t,c.forRulesInStyles(e, this._boundFindDefinitions),c.forRulesInStyles(e,this._boundFindApplications),t& &(t.__applyShimInvalid=!1),this.__currentElementProto=null},_findDefinitions:fun ction(e){var t=e.parsedCssText;t=t.replace(f,o),t=t.replace(u,i),e.cssText=t,":r oot"===e.selector&&(e.selector=":host > *")},_findApplications:function(e){e.css Text=l(e.cssText)},transformRule:function(e){this._findDefinitions(e),this._find Applications(e)},_getInitialValueForProperty:function(e){return this._measureEle ment||(this._measureElement=document.createElement("meta"),this._measureElement. style.all="initial",document.head.appendChild(this._measureElement)),window.getC omputedStyle(this._measureElement).getPropertyValue(e)}};return y._boundTransfor mRule=y.transformRule.bind(y),y._boundFindDefinitions=y._findDefinitions.bind(y) ,y._boundFindApplications=y._findApplications.bind(y),y}(),function(){var e=Poly mer.Base._prepElement,t=Polymer.Settings.useNativeShadow,n=Polymer.StyleUtil,r=P olymer.StyleTransformer,s=Polymer.StyleExtends,i=Polymer.ApplyShim,o=Polymer.Set tings;Polymer.Base._addFeature({_prepElement:function(t){this._encapsulateStyle& &"shady"!==this.__cssBuild&&r.element(t,this.is,this._scopeCssViaAttr),e.call(th is,t)},_prepStyles:function(){void 0===this._encapsulateStyle&&(this._encapsulat eStyle=!t),t||(this._scopeStyle=n.applyStylePlaceHolder(this.is)),this.__cssBuil d=n.cssBuildTypeForModule(this.is)},_prepShimStyles:function(){if(this._template ){var e=n.isTargetedBuild(this.__cssBuild);if(o.useNativeCSSProperties&&"shadow" ===this.__cssBuild&&e)return;this._styles=this._styles||this._collectStyles(),o. useNativeCSSProperties&&!this.__cssBuild&&i.transform(this._styles,this);var s=o .useNativeCSSProperties&&e?this._styles.length&&this._styles[0].textContent.trim ():r.elementStyles(this);this._prepStyleProperties(),!this._needsStyleProperties ()&&s&&n.applyCss(s,this.is,t?this._template.content:null,this._scopeStyle)}else this._styles=[]},_collectStyles:function(){var e=[],t="",r=this.styleModules;if (r)for(var i,o=0,a=r.length;o<a&&(i=r[o]);o++)t+=n.cssFromModule(i);t+=n.cssFrom Module(this.is);var l=this._template&&this._template.parentNode;if(!this._templa te||l&&l.id.toLowerCase()===this.is||(t+=n.cssFromElement(this._template)),t){va r c=document.createElement("style");c.textContent=t,s.hasExtends(c.textContent)& &(t=s.transform(c)),e.push(c)}return e},_elementAdd:function(e){this._encapsulat eStyle&&(e.__styleScoped?e.__styleScoped=!1:r.dom(e,this.is,this._scopeCssViaAtt r))},_elementRemove:function(e){this._encapsulateStyle&&r.dom(e,this.is,this._sc opeCssViaAttr,!0)},scopeSubtree:function(e,n){if(!t){var r=this,s=function(e){if (e.nodeType===Node.ELEMENT_NODE){var t=e.getAttribute("class");e.setAttribute("c lass",r._scopeElementClass(e,t));for(var n,s=e.querySelectorAll("*"),i=0;i<s.len gth&&(n=s[i]);i++)t=n.getAttribute("class"),n.setAttribute("class",r._scopeEleme ntClass(n,t))}};if(s(e),n){var i=new MutationObserver(function(e){for(var t,n=0; n<e.length&&(t=e[n]);n++)if(t.addedNodes)for(var r=0;r<t.addedNodes.length;r++)s (t.addedNodes[r])});return i.observe(e,{childList:!0,subtree:!0}),i}}}})}(),Poly mer.StyleProperties=function(){"use strict";function e(e,t){var n=parseInt(e/32) ,r=1<<e%32;t[n]=(t[n]||0)|r}var t=Polymer.DomApi.matchesSelector,n=Polymer.Style Util,r=Polymer.StyleTransformer,s=navigator.userAgent.match("Trident"),i=Polymer .Settings;return{decorateStyles:function(e,t){var s=this,i={},o=[],a=0,l=r._calc HostScope(t.is,t.extends);n.forRulesInStyles(e,function(e,r){s.decorateRule(e),e .index=a++,s.whenHostOrRootRule(t,e,r,function(r){if(e.parent.type===n.ruleTypes .MEDIA_RULE&&(t.__notStyleScopeCacheable=!0),r.isHost){var s=r.selector.split(" ").some(function(e){return 0===e.indexOf(l)&&e.length!==l.length});t.__notStyleS copeCacheable=t.__notStyleScopeCacheable||s}}),s.collectPropertiesInCssText(e.pr opertyInfo.cssText,i)},function(e){o.push(e)}),e._keyframes=o;var c=[];for(var h in i)c.push(h);return c},decorateRule:function(e){if(e.propertyInfo)return e.pr opertyInfo;var t={},n={},r=this.collectProperties(e,n);return r&&(t.properties=n ,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t},collectPrope rties:function(e,t){var n=e.propertyInfo;if(!n){for(var r,s,i,o=this.rx.VAR_ASSI GN,a=e.parsedCssText;r=o.exec(a);)s=(r[2]||r[3]).trim(),"inherit"!==s&&(t[r[1].t rim()]=s),i=!0;return i}if(n.properties)return Polymer.Base.mixin(t,n.properties ),!0},collectCssText:function(e){return this.collectConsumingCssText(e.parsedCss Text)},collectConsumingCssText:function(e){return e.replace(this.rx.BRACKETED,"" ).replace(this.rx.VAR_ASSIGN,"")},collectPropertiesInCssText:function(e,t){for(v ar n;n=this.rx.VAR_CONSUMED.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}},reify:f unction(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)t=n[r],e [t]=this.valueForProperty(e[t],e)},valueForProperty:function(e,t){if(e)if(e.inde xOf(";")>=0)e=this.valueForProperties(e,t);else{var r=this,s=function(e,n,s,i){v ar o=r.valueForProperty(t[n],t);return o&&"initial"!==o?"apply-shim-inherit"===o &&(o="inherit"):o=r.valueForProperty(t[s]||s,t)||s,e+(o||"")+i};e=n.processVaria bleAndFallback(e,s)}return e&&e.trim()||""},valueForProperties:function(e,t){for (var n,r,s=e.split(";"),i=0;i<s.length;i++)if(n=s[i]){if(this.rx.MIXIN_MATCH.las tIndex=0,r=this.rx.MIXIN_MATCH.exec(n))n=this.valueForProperty(t[r[1]],t);else{v ar o=n.indexOf(":");if(o!==-1){var a=n.substring(o);a=a.trim(),a=this.valueForPr operty(a,t)||a,n=n.substring(0,o)+a}}s[i]=n&&n.lastIndexOf(";")===n.length-1?n.s lice(0,-1):n||""}return s.join(";")},applyProperties:function(e,t){var n="";e.pr opertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForPropert ies(e.propertyInfo.cssText,t)),e.cssText=n},applyKeyframeTransforms:function(e,t ){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=this.rx .ANIMATION_MATCH.test(n)),e.hasAnimations){var s;if(null==e.keyframeNamesToTrans form){e.keyframeNamesToTransform=[];for(var i in t)s=t[i],r=s(n),n!==r&&(n=r,e.k eyframeNamesToTransform.push(i))}else{for(var o=0;o<e.keyframeNamesToTransform.l ength;++o)s=t[e.keyframeNamesToTransform[o]],n=s(n);r=n}}e.cssText=r},propertyDa taFromStyles:function(r,s){var i={},o=this,a=[];return n.forActiveRulesInStyles( r,function(n){n.propertyInfo||o.decorateRule(n);var r=n.transformedSelector||n.p arsedSelector;s&&n.propertyInfo.properties&&r&&t.call(s,r)&&(o.collectProperties (n,i),e(n.index,a))}),{properties:i,key:a}},_rootSelector:/:root|:host\s*>\s*\*/ ,_checkRoot:function(e,t){return Boolean(t.match(this._rootSelector))||"html"=== e&&t.indexOf("html")>-1},whenHostOrRootRule:function(e,t,n,s){if(t.propertyInfo| |self.decorateRule(t),t.propertyInfo.properties){var o=e.is?r._calcHostScope(e.i s,e.extends):"html",a=t.parsedSelector,l=this._checkRoot(o,a),c=!l&&0===a.indexO f(":host"),h=e.__cssBuild||n.__cssBuild;if("shady"===h&&(l=a===o+" > *."+o||a.in dexOf("html")>-1,c=!l&&0===a.indexOf(o)),l||c){var u=o;c&&(i.useNativeShadow&&!t .transformedSelector&&(t.transformedSelector=r._transformRuleCss(t,r._transformC omplexSelector,e.is,o)),u=t.transformedSelector||t.parsedSelector),l&&"html"===o &&(u=t.transformedSelector||t.parsedSelector),s({selector:u,isHost:c,isRoot:l})} }},hostAndRootPropertiesForScope:function(e){var r={},s={},i=this;return n.forAc tiveRulesInStyles(e._styles,function(n,o){i.whenHostOrRootRule(e,n,o,function(o) {var a=e._element||e;t.call(a,o.selector)&&(o.isHost?i.collectProperties(n,r):i. collectProperties(n,s))})}),{rootProps:s,hostProps:r}},transformStyles:function( e,t,n){var s=this,o=r._calcHostScope(e.is,e.extends),a=e.extends?"\\"+o.slice(0, -1)+"\\]":o,l=new RegExp(this.rx.HOST_PREFIX+a+this.rx.HOST_SUFFIX),c=this._elem entKeyframeTransforms(e,n);return r.elementStyles(e,function(r){s.applyPropertie s(r,t),i.useNativeShadow||Polymer.StyleUtil.isKeyframesSelector(r)||!r.cssText|| (s.applyKeyframeTransforms(r,c),s._scopeSelector(r,l,o,e._scopeCssViaAttr,n))})} ,_elementKeyframeTransforms:function(e,t){var n=e._styles._keyframes,r={};if(!i. useNativeShadow&&n)for(var s=0,o=n[s];s<n.length;o=n[++s])this._scopeKeyframes(o ,t),r[o.keyframesName]=this._keyframesRuleTransformer(o);return r},_keyframesRul eTransformer:function(e){return function(t){return t.replace(e.keyframesNameRx,e .transformedKeyframesName)}},_scopeKeyframes:function(e,t){e.keyframesNameRx=new RegExp(e.keyframesName,"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e. transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSe lector.replace(e.keyframesName,e.transformedKeyframesName)},_scopeSelector:funct ion(e,t,n,s,i){e.transformedSelector=e.transformedSelector||e.selector;for(var o ,a=e.transformedSelector,l=s?"["+r.SCOPE_NAME+"~="+i+"]":"."+i,c=a.split(","),h= 0,u=c.length;h<u&&(o=c[h]);h++)c[h]=o.match(t)?o.replace(n,l):l+" "+o;e.selector =c.join(",")},applyElementScopeSelector:function(e,t,n,s){var i=s?e.getAttribute (r.SCOPE_NAME):e.getAttribute("class")||"",o=n?i.replace(n,t):(i?i+" ":"")+this. XSCOPE_NAME+" "+t;i!==o&&(s?e.setAttribute(r.SCOPE_NAME,o):e.setAttribute("class ",o))},applyElementStyle:function(e,t,r,o){var a=o?o.textContent||"":this.transf ormStyles(e,t,r),l=e._customStyle;return l&&!i.useNativeShadow&&l!==o&&(l._useCo unt--,l._useCount<=0&&l.parentNode&&l.parentNode.removeChild(l)),i.useNativeShad ow?e._customStyle?(e._customStyle.textContent=a,o=e._customStyle):a&&(o=n.applyC ss(a,r,e.root,e._scopeStyle)):o?o.parentNode||(s&&a.indexOf("@media")>-1&&(o.tex tContent=a),n.applyStyle(o,null,e._scopeStyle)):a&&(o=n.applyCss(a,r,null,e._sco peStyle)),o&&(o._useCount=o._useCount||0,e._customStyle!=o&&o._useCount++,e._cus tomStyle=o),o},mixinCustomStyle:function(e,t){var n;for(var r in t)n=t[r],(n||0= ==n)&&(e[r]=n)},updateNativeStyleProperties:function(e,t){var n=e.__customStyleP roperties;if(n)for(var r=0;r<n.length;r++)e.style.removeProperty(n[r]);var s=[]; for(var i in t)null!==t[i]&&(e.style.setProperty(i,t[i]),s.push(i));e.__customSt yleProperties=s},rx:n.rx,XSCOPE_NAME:"x-scope"}}(),function(){Polymer.StyleCache =function(){this.cache={}},Polymer.StyleCache.prototype={MAX:100,store:function( e,t,n,r){t.keyValues=n,t.styles=r;var s=this.cache[e]=this.cache[e]||[];s.push(t ),s.length>this.MAX&&s.shift()},retrieve:function(e,t,n){var r=this.cache[e];if( r)for(var s,i=r.length-1;i>=0;i--)if(s=r[i],n===s.styles&&this._objectsEqual(t,s .keyValues))return s},clear:function(){this.cache={}},_objectsEqual:function(e,t ){var n,r;for(var s in e)if(n=e[s],r=t[s],!("object"==typeof n&&n?this._objectsS trictlyEqual(n,r):n===r))return!1;return!Array.isArray(e)||e.length===t.length}, _objectsStrictlyEqual:function(e,t){return this._objectsEqual(e,t)&&this._object sEqual(t,e)}}}(),Polymer.StyleDefaults=function(){var e=Polymer.StyleProperties, t=Polymer.StyleCache,n=Polymer.Settings.useNativeCSSProperties,r={_styles:[],_pr operties:null,customStyle:{},_styleCache:new t,_element:Polymer.DomApi.wrap(docu ment.documentElement),addStyle:function(e){this._styles.push(e),this._properties =null},get _styleProperties(){return this._properties||(e.decorateStyles(this._s tyles,this),this._styles._scopeStyleProperties=null,this._properties=e.hostAndRo otPropertiesForScope(this).rootProps,e.mixinCustomStyle(this._properties,this.cu stomStyle),e.reify(this._properties)),this._properties},hasStyleProperties:funct ion(){return Boolean(this._properties)},_needsStyleProperties:function(){},_comp uteStyleProperties:function(){return this._styleProperties},updateStyles:functio n(t){this._properties=null,t&&Polymer.Base.mixin(this.customStyle,t),this._style Cache.clear();for(var r,s=0;s<this._styles.length;s++)r=this._styles[s],r=r.__im portElement||r,r._apply();n&&e.updateNativeStyleProperties(document.documentElem ent,this.customStyle)}};return r}(),function(){"use strict";var e=Polymer.Base.s erializeValueToAttribute,t=Polymer.StyleProperties,n=Polymer.StyleTransformer,r= Polymer.StyleDefaults,s=Polymer.Settings.useNativeShadow,i=Polymer.Settings.useN ativeCSSProperties;Polymer.Base._addFeature({_prepStyleProperties:function(){i|| (this._ownStylePropertyNames=this._styles&&this._styles.length?t.decorateStyles( this._styles,this):null); 3 delete this[t])},_configureProperties:function(e,t){for(var n in e){var r=e[n];i f(void 0!==r.value){var s=r.value;"function"==typeof s&&(s=s.call(this,this._con fig)),t[n]=s}}},_distributeConfig:function(e){var t=this._propertyEffects;if(t)f or(var n in e){var r=t[n];if(r)for(var s,i=0,o=r.length;i<o&&(s=r[i]);i++)if("an notation"===s.kind){var a=this._nodes[s.effect.index],l=s.effect.propertyName,c= "attribute"==s.effect.kind,h=a._propertyEffects&&a._propertyEffects[l];if(a._con figValue&&(h||!c)){var u=n===s.effect.value?e[n]:this._get(s.effect.value,e);u=t his._computeFinalAnnotationValue(a,l,u,s.effect),c&&(u=a.deserialize(this.serial ize(u),a._propertyInfo[l].type)),a._configValue(l,u)}}}},_afterClientsReady:func tion(){this._executeStaticEffects(),this._applyConfig(this._config,this._aboveCo nfig),this._flushHandlers()},_applyConfig:function(e,t){for(var n in e)void 0=== this[n]&&this.__setProperty(n,e[n],n in t)},_notifyListener:function(e,t){if(!Po lymer.Bind._isEventBogus(t,t.target)){var n,r;if(t.detail&&(n=t.detail.value,r=t .detail.path),this._clientsReadied)return e.call(this,t.target,n,r);this._queueH andler([e,t.target,n,r])}},_queueHandler:function(e){this._handlers.push(e)},_fl ushHandlers:function(){for(var e,t=this._handlers,n=0,r=t.length;n<r&&(e=t[n]);n ++)e[0].call(this,e[1],e[2],e[3]);this._handlers=[]}})}(),function(){"use strict ";var e=Polymer.Path;Polymer.Base._addFeature({notifyPath:function(e,t,n){var r= {},s=this._get(e,this,r);1===arguments.length&&(t=s),r.path&&this._notifyPath(r. path,t,n)},_notifyPath:function(e,t,n){var r=this._propertySetter(e,t);if(r!==t& &(r===r||t===t))return this._pathEffector(e,t),n||this._notifyPathUp(e,t),!0},_g etPathParts:function(e){if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)for (var r=e[n].toString().split("."),s=0;s<r.length;s++)t.push(r[s]);return t}retur n e.toString().split(".")},set:function(e,t,n){var r,s=n||this,i=this._getPathPa rts(e),o=i[i.length-1];if(i.length>1){for(var a=0;a<i.length-1;a++){var l=i[a];i f(r&&"#"==l[0]?s=Polymer.Collection.get(r).getItem(l):(s=s[l],r&&parseInt(l,10)= =l&&(i[a]=Polymer.Collection.get(r).getKey(s))),!s)return;r=Array.isArray(s)?s:n ull}if(r){var c,h,u=Polymer.Collection.get(r);"#"==o[0]?(h=o,c=u.getItem(h),o=r. indexOf(c),u.setItem(h,t)):parseInt(o,10)==o&&(c=s[o],h=u.getKey(c),i[a]=h,u.set Item(h,t))}s[o]=t,n||this._notifyPath(i.join("."),t)}else s[e]=t},get:function(e ,t){return this._get(e,t)},_get:function(e,t,n){for(var r,s=t||this,i=this._getP athParts(e),o=0;o<i.length;o++){if(!s)return;var a=i[o];r&&"#"==a[0]?s=Polymer.C ollection.get(r).getItem(a):(s=s[a],n&&r&&parseInt(a,10)==a&&(i[o]=Polymer.Colle ction.get(r).getKey(s))),r=Array.isArray(s)?s:null}return n&&(n.path=i.join(".") ),s},_pathEffector:function(t,n){var r=e.root(t),s=this._propertyEffects&&this._ propertyEffects[r];if(s)for(var i,o=0;o<s.length&&(i=s[o]);o++){var a=i.pathFn;a &&a.call(this,t,n,i.effect)}this._boundPaths&&this._notifyBoundPaths(t,n)},_anno tationPathEffect:function(t,n,r){if(e.matches(r.value,!1,t))Polymer.Bind._annota tionEffect.call(this,t,n,r);else if(!r.negate&&e.isDescendant(r.value,t)){var s= this._nodes[r.index];if(s&&s._notifyPath){var i=e.translate(r.value,r.name,t);s. _notifyPath(i,n,!0)}}},_complexObserverPathEffect:function(t,n,r){e.matches(r.tr igger.name,r.trigger.wildcard,t)&&Polymer.Bind._complexObserverEffect.call(this, t,n,r)},_computePathEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wi ldcard,t)&&Polymer.Bind._computeEffect.call(this,t,n,r)},_annotatedComputationPa thEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wildcard,t)&&Polymer .Bind._annotatedComputationEffect.call(this,t,n,r)},linkPaths:function(e,t){this ._boundPaths=this._boundPaths||{},t?this._boundPaths[e]=t:this.unlinkPaths(e)},u nlinkPaths:function(e){this._boundPaths&&delete this._boundPaths[e]},_notifyBoun dPaths:function(t,n){for(var r in this._boundPaths){var s=this._boundPaths[r];e. isDescendant(r,t)?this._notifyPath(e.translate(r,s,t),n):e.isDescendant(s,t)&&th is._notifyPath(e.translate(s,r,t),n)}},_notifyPathUp:function(t,n){var r=e.root( t),s=Polymer.CaseMap.camelToDashCase(r),i=s+this._EVENT_CHANGED;this.fire(i,{pat h:t,value:n},{bubbles:!1,_useCache:!0})},_EVENT_CHANGED:"-changed",notifySplices :function(e,t){var n={},r=this._get(e,this,n);this._notifySplices(r,n.path,t)},_ notifySplices:function(e,t,n){var r={keySplices:Polymer.Collection.applySplices( e,n),indexSplices:n},s=t+".splices";this._notifyPath(s,r),this._notifyPath(t+".l ength",e.length),this.__data__[s]={keySplices:null,indexSplices:null}},_notifySp lice:function(e,t,n,r,s){this._notifySplices(e,t,[{index:n,addedCount:r,removed: s,object:e,type:"splice"}])},push:function(e){var t={},n=this._get(e,this,t),r=A rray.prototype.slice.call(arguments,1),s=n.length,i=n.push.apply(n,r);return r.l ength&&this._notifySplice(n,t.path,s,r.length,[]),i},pop:function(e){var t={},n= this._get(e,this,t),r=Boolean(n.length),s=Array.prototype.slice.call(arguments,1 ),i=n.pop.apply(n,s);return r&&this._notifySplice(n,t.path,n.length,0,[i]),i},sp lice:function(e,t){var n={},r=this._get(e,this,n);t=t<0?r.length-Math.floor(-t): Math.floor(t),t||(t=0);var s=Array.prototype.slice.call(arguments,1),i=r.splice. apply(r,s),o=Math.max(s.length-2,0);return(o||i.length)&&this._notifySplice(r,n. path,t,o,i),i},shift:function(e){var t={},n=this._get(e,this,t),r=Boolean(n.leng th),s=Array.prototype.slice.call(arguments,1),i=n.shift.apply(n,s);return r&&thi s._notifySplice(n,t.path,0,0,[i]),i},unshift:function(e){var t={},n=this._get(e, this,t),r=Array.prototype.slice.call(arguments,1),s=n.unshift.apply(n,r);return r.length&&this._notifySplice(n,t.path,0,r.length,[]),s},prepareModelNotifyPath:f unction(e){this.mixin(e,{fire:Polymer.Base.fire,_getEvent:Polymer.Base._getEvent ,__eventCache:Polymer.Base.__eventCache,notifyPath:Polymer.Base.notifyPath,_get: Polymer.Base._get,_EVENT_CHANGED:Polymer.Base._EVENT_CHANGED,_notifyPath:Polymer .Base._notifyPath,_notifyPathUp:Polymer.Base._notifyPathUp,_pathEffector:Polymer .Base._pathEffector,_annotationPathEffect:Polymer.Base._annotationPathEffect,_co mplexObserverPathEffect:Polymer.Base._complexObserverPathEffect,_annotatedComput ationPathEffect:Polymer.Base._annotatedComputationPathEffect,_computePathEffect: Polymer.Base._computePathEffect,_notifyBoundPaths:Polymer.Base._notifyBoundPaths ,_getPathParts:Polymer.Base._getPathParts})}})}(),Polymer.Base._addFeature({reso lveUrl:function(e){var t=Polymer.DomModule.import(this.is),n="";if(t){var r=t.ge tAttribute("assetpath")||"";n=Polymer.ResolveUrl.resolveUrl(r,t.ownerDocument.ba seURI)}return Polymer.ResolveUrl.resolveUrl(e,n)}}),Polymer.CssParse=function(){ return{parse:function(e){return e=this._clean(e),this._parseCss(this._lex(e),e)} ,_clean:function(e){return e.replace(this._rx.comments,"").replace(this._rx.port ,"")},_lex:function(e){for(var t={start:0,end:e.length},n=t,r=0,s=e.length;r<s;r ++)switch(e[r]){case this.OPEN_BRACE:n.rules||(n.rules=[]);var i=n,o=i.rules[i.r ules.length-1];n={start:r+1,parent:i,previous:o},i.rules.push(n);break;case this .CLOSE_BRACE:n.end=r+1,n=n.parent||t}return t},_parseCss:function(e,t){var n=t.s ubstring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent){var r= e.previous?e.previous.end:e.parent.start;n=t.substring(r,e.start-1),n=this._expa ndUnicodeEscapes(n),n=n.replace(this._rx.multipleSpaces," "),n=n.substring(n.las tIndexOf(";")+1);var s=e.parsedSelector=e.selector=n.trim();e.atRule=0===s.index Of(this.AT_START),e.atRule?0===s.indexOf(this.MEDIA_START)?e.type=this.types.MED IA_RULE:s.match(this._rx.keyframesRule)&&(e.type=this.types.KEYFRAMES_RULE,e.key framesName=e.selector.split(this._rx.multipleSpaces).pop()):0===s.indexOf(this.V AR_START)?e.type=this.types.MIXIN_RULE:e.type=this.types.STYLE_RULE}var i=e.rule s;if(i)for(var o,a=0,l=i.length;a<l&&(o=i[a]);a++)this._parseCss(o,t);return e}, _expandUnicodeEscapes:function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,funct ion(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e})},stringify :function(e,t,n){n=n||"";var r="";if(e.cssText||e.rules){var s=e.rules;if(s&&!th is._hasMixinRules(s))for(var i,o=0,a=s.length;o<a&&(i=s[o]);o++)r=this.stringify (i,t,r);else r=t?e.cssText:this.removeCustomProps(e.cssText),r=r.trim(),r&&(r=" "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" "+this.OPEN_BRACE+"\n"),n+=r, e.selector&&(n+=this.CLOSE_BRACE+"\n\n")),n},_hasMixinRules:function(e){return 0 ===e[0].selector.indexOf(this.VAR_START)},removeCustomProps:function(e){return e =this.removeCustomPropAssignment(e),this.removeCustomPropApply(e)},removeCustomP ropAssignment:function(e){return e.replace(this._rx.customProp,"").replace(this. _rx.mixinProp,"")},removeCustomPropApply:function(e){return e.replace(this._rx.m ixinApply,"").replace(this._rx.varApply,"")},types:{STYLE_RULE:1,KEYFRAMES_RULE: 7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE:"{",CLOSE_BRACE:"}",_rx:{comments:/\/\ *[^*]*\*+([^\/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s }]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^ {};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/ gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]* keyframes/,multipleSpaces:/\s+/g},VAR_START:"--",MEDIA_START:"@media",AT_START:" @"}}(),Polymer.StyleUtil=function(){var e=Polymer.Settings;return{NATIVE_VARIABL ES:Polymer.Settings.useNativeCSSProperties,MODULE_STYLES_SELECTOR:"style, link[r el=import][type~=css], template",INCLUDE_ATTR:"include",toCssText:function(e,t){ return"string"==typeof e&&(e=this.parser.parse(e)),t&&this.forEachRule(e,t),this .parser.stringify(e,this.NATIVE_VARIABLES)},forRulesInStyles:function(e,t,n){if( e)for(var r,s=0,i=e.length;s<i&&(r=e[s]);s++)this.forEachRuleInStyle(r,t,n)},for ActiveRulesInStyles:function(e,t,n){if(e)for(var r,s=0,i=e.length;s<i&&(r=e[s]); s++)this.forEachRuleInStyle(r,t,n,!0)},rulesForStyle:function(e){return!e.__cssR ules&&e.textContent&&(e.__cssRules=this.parser.parse(e.textContent)),e.__cssRule s},isKeyframesSelector:function(e){return e.parent&&e.parent.type===this.ruleTyp es.KEYFRAMES_RULE},forEachRuleInStyle:function(e,t,n,r){var s,i,o=this.rulesForS tyle(e);t&&(s=function(n){t(n,e)}),n&&(i=function(t){n(t,e)}),this.forEachRule(o ,s,i,r)},forEachRule:function(e,t,n,r){if(e){var s=!1;if(r&&e.type===this.ruleTy pes.MEDIA_RULE){var i=e.selector.match(this.rx.MEDIA_MATCH);i&&(window.matchMedi a(i[1]).matches||(s=!0))}e.type===this.ruleTypes.STYLE_RULE?t(e):n&&e.type===thi s.ruleTypes.KEYFRAMES_RULE?n(e):e.type===this.ruleTypes.MIXIN_RULE&&(s=!0);var o =e.rules;if(o&&!s)for(var a,l=0,c=o.length;l<c&&(a=o[l]);l++)this.forEachRule(a, t,n,r)}},applyCss:function(e,t,n,r){var s=this.createScopeStyle(e,t);return this .applyStyle(s,n,r)},applyStyle:function(e,t,n){t=t||document.head;var r=n&&n.nex tSibling||t.firstChild;return this.__lastHeadApplyNode=e,t.insertBefore(e,r)},cr eateScopeStyle:function(e,t){var n=document.createElement("style");return t&&n.s etAttribute("scope",t),n.textContent=e,n},__lastHeadApplyNode:null,applyStylePla ceHolder:function(e){var t=document.createComment(" Shady DOM styles for "+e+" " ),n=this.__lastHeadApplyNode?this.__lastHeadApplyNode.nextSibling:null,r=documen t.head;return r.insertBefore(t,n||r.firstChild),this.__lastHeadApplyNode=t,t},cs sFromModules:function(e,t){for(var n=e.trim().split(" "),r="",s=0;s<n.length;s++ )r+=this.cssFromModule(n[s],t);return r},cssFromModule:function(e,t){var n=Polym er.DomModule.import(e);return n&&!n._cssText&&(n._cssText=this.cssFromElement(n) ),!n&&t&&console.warn("Could not find style data in module named",e),n&&n._cssTe xt||""},cssFromElement:function(e){for(var t,n="",r=e.content||e,s=Polymer.TreeA pi.arrayCopy(r.querySelectorAll(this.MODULE_STYLES_SELECTOR)),i=0;i<s.length;i++ )if(t=s[i],"template"===t.localName)t.hasAttribute("preserve-content")||(n+=this .cssFromElement(t));else if("style"===t.localName){var o=t.getAttribute(this.INC LUDE_ATTR);o&&(n+=this.cssFromModules(o,!0)),t=t.__appliedElement||t,t.parentNod e.removeChild(t),n+=this.resolveCss(t.textContent,e.ownerDocument)}else t.import &&t.import.body&&(n+=this.resolveCss(t.import.body.textContent,t.import));return n},isTargetedBuild:function(t){return e.useNativeShadow?"shadow"===t:"shady"=== t},cssBuildTypeForModule:function(e){var t=Polymer.DomModule.import(e);if(t)retu rn this.getCssBuildType(t)},getCssBuildType:function(e){return e.getAttribute("c ss-build")},_findMatchingParen:function(e,t){for(var n=0,r=t,s=e.length;r<s;r++) switch(e[r]){case"(":n++;break;case")":if(0===--n)return r}return-1},processVari ableAndFallback:function(e,t){var n=e.indexOf("var(");if(n===-1)return t(e,"","" ,"");var r=this._findMatchingParen(e,n+3),s=e.substring(n+4,r),i=e.substring(0,n ),o=this.processVariableAndFallback(e.substring(r+1),t),a=s.indexOf(",");if(a=== -1)return t(i,s.trim(),"",o);var l=s.substring(0,a).trim(),c=s.substring(a+1).tr im();return t(i,l,c,o)},rx:{VAR_ASSIGN:/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^; {]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,MIXIN_MATCH:/(?:^|\W+)@apply\s*\(?([^);\n]*)\ )?/gi,VAR_CONSUMED:/(--[\w-]+)\s*([:,;)]|$)/gi,ANIMATION_MATCH:/(animation\s*:)| (animation-name\s*:)/,MEDIA_MATCH:/@media[^(]*(\([^)]*\))/,IS_VAR:/^--/,BRACKETE D:/\{[^}]*\}/g,HOST_PREFIX:"(?:^|[^.#[:])",HOST_SUFFIX:"($|[.:[\\s>+~])"},resolv eCss:Polymer.ResolveUrl.resolveCss,parser:Polymer.CssParse,ruleTypes:Polymer.Css Parse.types}}(),Polymer.StyleTransformer=function(){var e=Polymer.StyleUtil,t=Po lymer.Settings,n={dom:function(e,t,n,r){this._transformDom(e,t||"",n,r)},_transf ormDom:function(e,t,n,r){e.setAttribute&&this.element(e,t,n,r);for(var s=Polymer .dom(e).childNodes,i=0;i<s.length;i++)this._transformDom(s[i],t,n,r)},element:fu nction(e,t,n,s){if(n)s?e.removeAttribute(r):e.setAttribute(r,t);else if(t)if(e.c lassList)s?(e.classList.remove(r),e.classList.remove(t)):(e.classList.add(r),e.c lassList.add(t));else if(e.getAttribute){var i=e.getAttribute(g);s?i&&e.setAttri bute(g,i.replace(r,"").replace(t,"")):e.setAttribute(g,(i?i+" ":"")+r+" "+t)}},e lementStyles:function(n,r){var s,i=n._styles,o="",a=n.__cssBuild,l=t.useNativeSh adow||"shady"===a;if(l){var h=this;s=function(e){e.selector=h._slottedToContent( e.selector),e.selector=e.selector.replace(c,":host > *"),r&&r(e)}}for(var u,f=0, p=i.length;f<p&&(u=i[f]);f++){var _=e.rulesForStyle(u);o+=l?e.toCssText(_,s):thi s.css(_,n.is,n.extends,r,n._scopeCssViaAttr)+"\n\n"}return o.trim()},css:functio n(t,n,r,s,i){var o=this._calcHostScope(n,r);n=this._calcElementScope(n,i);var a= this;return e.toCssText(t,function(e){e.isScoped||(a.rule(e,n,o),e.isScoped=!0), s&&s(e,n,o)})},_calcElementScope:function(e,t){return e?t?m+e+y:d+e:""},_calcHos tScope:function(e,t){return t?"[is="+e+"]":e},rule:function(e,t,n){this._transfo rmRule(e,this._transformComplexSelector,t,n)},_transformRule:function(e,t,n,r){e .selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)},_transformRuleC ss:function(t,n,r,s){var o=t.selector.split(i);if(!e.isKeyframesSelector(t))for( var a,l=0,c=o.length;l<c&&(a=o[l]);l++)o[l]=n.call(this,a,r,s);return o.join(i)} ,_transformComplexSelector:function(e,t,n){var r=!1,s=!1,a=this;return e=e.trim( ),e=this._slottedToContent(e),e=e.replace(c,":host > *"),e=e.replace(P,l+" $1"), e=e.replace(o,function(e,i,o){if(r)o=o.replace(_," ");else{var l=a._transformCom poundSelector(o,i,t,n);r=r||l.stop,s=s||l.hostContext,i=l.combinator,o=l.value}r eturn i+o}),s&&(e=e.replace(f,function(e,t,r,s){return t+r+" "+n+s+i+" "+t+n+r+s })),e},_transformCompoundSelector:function(e,t,n,r){var s=e.search(_),i=!1;e.ind exOf(u)>=0?i=!0:e.indexOf(l)>=0?e=this._transformHostSelector(e,r):0!==s&&(e=n?t his._transformSimpleSelector(e,n):e),e.indexOf(p)>=0&&(t="");var o;return s>=0&& (e=e.replace(_," "),o=!0),{value:e,combinator:t,stop:o,hostContext:i}},_transfor mSimpleSelector:function(e,t){var n=e.split(v);return n[0]+=t,n.join(v)},_transf ormHostSelector:function(e,t){var n=e.match(h),r=n&&n[2].trim()||"";if(r){if(r[0 ].match(a))return e.replace(h,function(e,n,r){return t+r});var s=r.split(a)[0];r eturn s===t?r:S}return e.replace(l,t)},documentRule:function(e){e.selector=e.par sedSelector,this.normalizeRootSelector(e),t.useNativeShadow||this._transformRule (e,this._transformDocumentSelector)},normalizeRootSelector:function(e){e.selecto r=e.selector.replace(c,"html")},_transformDocumentSelector:function(e){return e. match(_)?this._transformComplexSelector(e,s):this._transformSimpleSelector(e.tri m(),s)},_slottedToContent:function(e){return e.replace(C,p+"> $1")},SCOPE_NAME:" style-scope"},r=n.SCOPE_NAME,s=":not(["+r+"]):not(."+r+")",i=",",o=/(^|[\s>+~]+) ((?:\[.+?\]|[^\s>+~=\[])+)/g,a=/[[.:#*]/,l=":host",c=":root",h=/(:host)(?:\(((?: \([^)(]*\)|[^)(]*)+?)\))/,u=":host-context",f=/(.*)(?::host-context)(?:\(((?:\([ ^)(]*\)|[^)(]*)+?)\))(.*)/,p="::content",_=/::content|::shadow|\/deep\//,d=".",m ="["+r+"~=",y="]",v=":",g="class",P=new RegExp("^("+p+")"),S="should_not_match", C=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g;return n}(),Polymer.StyleExt ends=function(){var e=Polymer.StyleUtil;return{hasExtends:function(e){return Boo lean(e.match(this.rx.EXTEND))},transform:function(t){var n=e.rulesForStyle(t),r= this;return e.forEachRule(n,function(e){if(r._mapRuleOntoParent(e),e.parent)for( var t;t=r.rx.EXTEND.exec(e.cssText);){var n=t[1],s=r._findExtendor(n,e);s&&r._ex tendRule(e,s)}e.cssText=e.cssText.replace(r.rx.EXTEND,"")}),e.toCssText(n,functi on(e){e.selector.match(r.rx.STRIP)&&(e.cssText="")},!0)},_mapRuleOntoParent:func tion(e){if(e.parent){for(var t,n=e.parent.map||(e.parent.map={}),r=e.selector.sp lit(","),s=0;s<r.length;s++)t=r[s],n[t.trim()]=e;return n}},_findExtendor:functi on(e,t){return t.parent&&t.parent.map&&t.parent.map[e]||this._findExtendor(e,t.p arent)},_extendRule:function(e,t){e.parent!==t.parent&&this._cloneAndAddRuleToPa rent(t,e.parent),e.extends=e.extends||[],e.extends.push(t),t.selector=t.selector .replace(this.rx.STRIP,""),t.selector=(t.selector&&t.selector+",\n")+e.selector, t.extends&&t.extends.forEach(function(t){this._extendRule(e,t)},this)},_cloneAnd AddRuleToParent:function(e,t){e=Object.create(e),e.parent=t,e.extends&&(e.extend s=e.extends.slice()),t.rules.push(e)},rx:{EXTEND:/@extends\(([^)]*)\)\s*?;/gim,S TRIP:/%[^,]*$/}}}(),Polymer.ApplyShim=function(){"use strict";function e(e,t){e= e.trim(),m[e]={properties:t,dependants:{}}}function t(e){return e=e.trim(),m[e]} function n(e,t){var n=_.exec(t);return n&&(t=n[1]?y._getInitialValueForProperty( e):"apply-shim-inherit"),t}function r(e){for(var t,r,s,i,o=e.split(";"),a={},l=0 ;l<o.length;l++)s=o[l],s&&(i=s.split(":"),i.length>1&&(t=i[0].trim(),r=n(t,i.sli ce(1).join(":")),a[t]=r));return a}function s(e){var t=y.__currentElementProto,n =t&&t.is;for(var r in e.dependants)r!==n&&(e.dependants[r].__applyShimInvalid=!0 )}function i(n,i,o,a){if(o&&c.processVariableAndFallback(o,function(e,n){n&&t(n) &&(a="@apply "+n+";")}),!a)return n;var h=l(a),u=n.slice(0,n.indexOf("--")),f=r( h),p=f,_=t(i),m=_&&_.properties;m?(p=Object.create(m),p=Polymer.Base.mixin(p,f)) :e(i,p);var y,v,g=[],P=!1;for(y in p)v=f[y],void 0===v&&(v="initial"),!m||y in m ||(P=!0),g.push(i+d+y+": "+v);return P&&s(_),_&&(_.properties=p),o&&(u=n+";"+u), u+g.join("; ")+";"}function o(e,t,n){return"var("+t+",var("+n+"))"}function a(n, r){n=n.replace(p,"");var s=[],i=t(n);if(i||(e(n,{}),i=t(n)),i){var o=y.__current ElementProto;o&&(i.dependants[o.is]=o);var a,l,c;for(a in i.properties)c=r&&r[a] ,l=[a,": var(",n,d,a],c&&l.push(",",c),l.push(")"),s.push(l.join(""))}return s.j oin("; ")}function l(e){for(var t;t=h.exec(e);){var n=t[0],s=t[1],i=t.index,o=i+ n.indexOf("@apply"),l=i+n.length,c=e.slice(0,o),u=e.slice(l),f=r(c),p=a(s,f);e=[ c,p,u].join(""),h.lastIndex=i+p.length}return e}var c=Polymer.StyleUtil,h=c.rx.M IXIN_MATCH,u=c.rx.VAR_ASSIGN,f=/var\(\s*(--[^,]*),\s*(--[^)]*)\)/g,p=/;\s*/m,_=/ ^\s*(initial)|(inherit)\s*$/,d="_-_",m={},y={_measureElement:null,_map:m,_separa tor:d,transform:function(e,t){this.__currentElementProto=t,c.forRulesInStyles(e, this._boundFindDefinitions),c.forRulesInStyles(e,this._boundFindApplications),t& &(t.__applyShimInvalid=!1),this.__currentElementProto=null},_findDefinitions:fun ction(e){var t=e.parsedCssText;t=t.replace(f,o),t=t.replace(u,i),e.cssText=t,":r oot"===e.selector&&(e.selector=":host > *")},_findApplications:function(e){e.css Text=l(e.cssText)},transformRule:function(e){this._findDefinitions(e),this._find Applications(e)},_getInitialValueForProperty:function(e){return this._measureEle ment||(this._measureElement=document.createElement("meta"),this._measureElement. style.all="initial",document.head.appendChild(this._measureElement)),window.getC omputedStyle(this._measureElement).getPropertyValue(e)}};return y._boundTransfor mRule=y.transformRule.bind(y),y._boundFindDefinitions=y._findDefinitions.bind(y) ,y._boundFindApplications=y._findApplications.bind(y),y}(),function(){var e=Poly mer.Base._prepElement,t=Polymer.Settings.useNativeShadow,n=Polymer.StyleUtil,r=P olymer.StyleTransformer,s=Polymer.StyleExtends,i=Polymer.ApplyShim,o=Polymer.Set tings;Polymer.Base._addFeature({_prepElement:function(t){this._encapsulateStyle& &"shady"!==this.__cssBuild&&r.element(t,this.is,this._scopeCssViaAttr),e.call(th is,t)},_prepStyles:function(){void 0===this._encapsulateStyle&&(this._encapsulat eStyle=!t),t||(this._scopeStyle=n.applyStylePlaceHolder(this.is)),this.__cssBuil d=n.cssBuildTypeForModule(this.is)},_prepShimStyles:function(){if(this._template ){var e=n.isTargetedBuild(this.__cssBuild);if(o.useNativeCSSProperties&&"shadow" ===this.__cssBuild&&e)return;this._styles=this._styles||this._collectStyles(),o. useNativeCSSProperties&&!this.__cssBuild&&i.transform(this._styles,this);var s=o .useNativeCSSProperties&&e?this._styles.length&&this._styles[0].textContent.trim ():r.elementStyles(this);this._prepStyleProperties(),!this._needsStyleProperties ()&&s&&n.applyCss(s,this.is,t?this._template.content:null,this._scopeStyle)}else this._styles=[]},_collectStyles:function(){var e=[],t="",r=this.styleModules;if (r)for(var i,o=0,a=r.length;o<a&&(i=r[o]);o++)t+=n.cssFromModule(i);t+=n.cssFrom Module(this.is);var l=this._template&&this._template.parentNode;if(!this._templa te||l&&l.id.toLowerCase()===this.is||(t+=n.cssFromElement(this._template)),t){va r c=document.createElement("style");c.textContent=t,s.hasExtends(c.textContent)& &(t=s.transform(c)),e.push(c)}return e},_elementAdd:function(e){this._encapsulat eStyle&&(e.__styleScoped?e.__styleScoped=!1:r.dom(e,this.is,this._scopeCssViaAtt r))},_elementRemove:function(e){this._encapsulateStyle&&r.dom(e,this.is,this._sc opeCssViaAttr,!0)},scopeSubtree:function(e,n){if(!t){var r=this,s=function(e){if (e.nodeType===Node.ELEMENT_NODE){var t=e.getAttribute("class");e.setAttribute("c lass",r._scopeElementClass(e,t));for(var n,s=e.querySelectorAll("*"),i=0;i<s.len gth&&(n=s[i]);i++)t=n.getAttribute("class"),n.setAttribute("class",r._scopeEleme ntClass(n,t))}};if(s(e),n){var i=new MutationObserver(function(e){for(var t,n=0; n<e.length&&(t=e[n]);n++)if(t.addedNodes)for(var r=0;r<t.addedNodes.length;r++)s (t.addedNodes[r])});return i.observe(e,{childList:!0,subtree:!0}),i}}}})}(),Poly mer.StyleProperties=function(){"use strict";function e(e,t){var n=parseInt(e/32) ,r=1<<e%32;t[n]=(t[n]||0)|r}var t=Polymer.DomApi.matchesSelector,n=Polymer.Style Util,r=Polymer.StyleTransformer,s=navigator.userAgent.match("Trident"),i=Polymer .Settings;return{decorateStyles:function(e,t){var s=this,i={},o=[],a=0,l=r._calc HostScope(t.is,t.extends);n.forRulesInStyles(e,function(e,r){s.decorateRule(e),e .index=a++,s.whenHostOrRootRule(t,e,r,function(r){if(e.parent.type===n.ruleTypes .MEDIA_RULE&&(t.__notStyleScopeCacheable=!0),r.isHost){var s=r.selector.split(" ").some(function(e){return 0===e.indexOf(l)&&e.length!==l.length});t.__notStyleS copeCacheable=t.__notStyleScopeCacheable||s}}),s.collectPropertiesInCssText(e.pr opertyInfo.cssText,i)},function(e){o.push(e)}),e._keyframes=o;var c=[];for(var h in i)c.push(h);return c},decorateRule:function(e){if(e.propertyInfo)return e.pr opertyInfo;var t={},n={},r=this.collectProperties(e,n);return r&&(t.properties=n ,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t},collectPrope rties:function(e,t){var n=e.propertyInfo;if(!n){for(var r,s,i,o=this.rx.VAR_ASSI GN,a=e.parsedCssText;r=o.exec(a);)s=(r[2]||r[3]).trim(),"inherit"!==s&&(t[r[1].t rim()]=s),i=!0;return i}if(n.properties)return Polymer.Base.mixin(t,n.properties ),!0},collectCssText:function(e){return this.collectConsumingCssText(e.parsedCss Text)},collectConsumingCssText:function(e){return e.replace(this.rx.BRACKETED,"" ).replace(this.rx.VAR_ASSIGN,"")},collectPropertiesInCssText:function(e,t){for(v ar n;n=this.rx.VAR_CONSUMED.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}},reify:f unction(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)t=n[r],e [t]=this.valueForProperty(e[t],e)},valueForProperty:function(e,t){if(e)if(e.inde xOf(";")>=0)e=this.valueForProperties(e,t);else{var r=this,s=function(e,n,s,i){v ar o=r.valueForProperty(t[n],t);return o&&"initial"!==o?"apply-shim-inherit"===o &&(o="inherit"):o=r.valueForProperty(t[s]||s,t)||s,e+(o||"")+i};e=n.processVaria bleAndFallback(e,s)}return e&&e.trim()||""},valueForProperties:function(e,t){for (var n,r,s=e.split(";"),i=0;i<s.length;i++)if(n=s[i]){if(this.rx.MIXIN_MATCH.las tIndex=0,r=this.rx.MIXIN_MATCH.exec(n))n=this.valueForProperty(t[r[1]],t);else{v ar o=n.indexOf(":");if(o!==-1){var a=n.substring(o);a=a.trim(),a=this.valueForPr operty(a,t)||a,n=n.substring(0,o)+a}}s[i]=n&&n.lastIndexOf(";")===n.length-1?n.s lice(0,-1):n||""}return s.join(";")},applyProperties:function(e,t){var n="";e.pr opertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForPropert ies(e.propertyInfo.cssText,t)),e.cssText=n},applyKeyframeTransforms:function(e,t ){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=this.rx .ANIMATION_MATCH.test(n)),e.hasAnimations){var s;if(null==e.keyframeNamesToTrans form){e.keyframeNamesToTransform=[];for(var i in t)s=t[i],r=s(n),n!==r&&(n=r,e.k eyframeNamesToTransform.push(i))}else{for(var o=0;o<e.keyframeNamesToTransform.l ength;++o)s=t[e.keyframeNamesToTransform[o]],n=s(n);r=n}}e.cssText=r},propertyDa taFromStyles:function(r,s){var i={},o=this,a=[];return n.forActiveRulesInStyles( r,function(n){n.propertyInfo||o.decorateRule(n);var r=n.transformedSelector||n.p arsedSelector;s&&n.propertyInfo.properties&&r&&t.call(s,r)&&(o.collectProperties (n,i),e(n.index,a))}),{properties:i,key:a}},_rootSelector:/:root|:host\s*>\s*\*/ ,_checkRoot:function(e,t){return Boolean(t.match(this._rootSelector))||"html"=== e&&t.indexOf("html")>-1},whenHostOrRootRule:function(e,t,n,s){if(t.propertyInfo| |self.decorateRule(t),t.propertyInfo.properties){var o=e.is?r._calcHostScope(e.i s,e.extends):"html",a=t.parsedSelector,l=this._checkRoot(o,a),c=!l&&0===a.indexO f(":host"),h=e.__cssBuild||n.__cssBuild;if("shady"===h&&(l=a===o+" > *."+o||a.in dexOf("html")>-1,c=!l&&0===a.indexOf(o)),l||c){var u=o;c&&(i.useNativeShadow&&!t .transformedSelector&&(t.transformedSelector=r._transformRuleCss(t,r._transformC omplexSelector,e.is,o)),u=t.transformedSelector||t.parsedSelector),l&&"html"===o &&(u=t.transformedSelector||t.parsedSelector),s({selector:u,isHost:c,isRoot:l})} }},hostAndRootPropertiesForScope:function(e){var r={},s={},i=this;return n.forAc tiveRulesInStyles(e._styles,function(n,o){i.whenHostOrRootRule(e,n,o,function(o) {var a=e._element||e;t.call(a,o.selector)&&(o.isHost?i.collectProperties(n,r):i. collectProperties(n,s))})}),{rootProps:s,hostProps:r}},transformStyles:function( e,t,n){var s=this,o=r._calcHostScope(e.is,e.extends),a=e.extends?"\\"+o.slice(0, -1)+"\\]":o,l=new RegExp(this.rx.HOST_PREFIX+a+this.rx.HOST_SUFFIX),c=this._elem entKeyframeTransforms(e,n);return r.elementStyles(e,function(r){s.applyPropertie s(r,t),i.useNativeShadow||Polymer.StyleUtil.isKeyframesSelector(r)||!r.cssText|| (s.applyKeyframeTransforms(r,c),s._scopeSelector(r,l,o,e._scopeCssViaAttr,n))})} ,_elementKeyframeTransforms:function(e,t){var n=e._styles._keyframes,r={};if(!i. useNativeShadow&&n)for(var s=0,o=n[s];s<n.length;o=n[++s])this._scopeKeyframes(o ,t),r[o.keyframesName]=this._keyframesRuleTransformer(o);return r},_keyframesRul eTransformer:function(e){return function(t){return t.replace(e.keyframesNameRx,e .transformedKeyframesName)}},_scopeKeyframes:function(e,t){e.keyframesNameRx=new RegExp(e.keyframesName,"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e. transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSe lector.replace(e.keyframesName,e.transformedKeyframesName)},_scopeSelector:funct ion(e,t,n,s,i){e.transformedSelector=e.transformedSelector||e.selector;for(var o ,a=e.transformedSelector,l=s?"["+r.SCOPE_NAME+"~="+i+"]":"."+i,c=a.split(","),h= 0,u=c.length;h<u&&(o=c[h]);h++)c[h]=o.match(t)?o.replace(n,l):l+" "+o;e.selector =c.join(",")},applyElementScopeSelector:function(e,t,n,s){var i=s?e.getAttribute (r.SCOPE_NAME):e.getAttribute("class")||"",o=n?i.replace(n,t):(i?i+" ":"")+this. XSCOPE_NAME+" "+t;i!==o&&(s?e.setAttribute(r.SCOPE_NAME,o):e.setAttribute("class ",o))},applyElementStyle:function(e,t,r,o){var a=o?o.textContent||"":this.transf ormStyles(e,t,r),l=e._customStyle;return l&&!i.useNativeShadow&&l!==o&&(l._useCo unt--,l._useCount<=0&&l.parentNode&&l.parentNode.removeChild(l)),i.useNativeShad ow?e._customStyle?(e._customStyle.textContent=a,o=e._customStyle):a&&(o=n.applyC ss(a,r,e.root,e._scopeStyle)):o?o.parentNode||(s&&a.indexOf("@media")>-1&&(o.tex tContent=a),n.applyStyle(o,null,e._scopeStyle)):a&&(o=n.applyCss(a,r,null,e._sco peStyle)),o&&(o._useCount=o._useCount||0,e._customStyle!=o&&o._useCount++,e._cus tomStyle=o),o},mixinCustomStyle:function(e,t){var n;for(var r in t)n=t[r],(n||0= ==n)&&(e[r]=n)},updateNativeStyleProperties:function(e,t){var n=e.__customStyleP roperties;if(n)for(var r=0;r<n.length;r++)e.style.removeProperty(n[r]);var s=[]; for(var i in t)null!==t[i]&&(e.style.setProperty(i,t[i]),s.push(i));e.__customSt yleProperties=s},rx:n.rx,XSCOPE_NAME:"x-scope"}}(),function(){Polymer.StyleCache =function(){this.cache={}},Polymer.StyleCache.prototype={MAX:100,store:function( e,t,n,r){t.keyValues=n,t.styles=r;var s=this.cache[e]=this.cache[e]||[];s.push(t ),s.length>this.MAX&&s.shift()},retrieve:function(e,t,n){var r=this.cache[e];if( r)for(var s,i=r.length-1;i>=0;i--)if(s=r[i],n===s.styles&&this._objectsEqual(t,s .keyValues))return s},clear:function(){this.cache={}},_objectsEqual:function(e,t ){var n,r;for(var s in e)if(n=e[s],r=t[s],!("object"==typeof n&&n?this._objectsS trictlyEqual(n,r):n===r))return!1;return!Array.isArray(e)||e.length===t.length}, _objectsStrictlyEqual:function(e,t){return this._objectsEqual(e,t)&&this._object sEqual(t,e)}}}(),Polymer.StyleDefaults=function(){var e=Polymer.StyleProperties, t=Polymer.StyleCache,n=Polymer.Settings.useNativeCSSProperties,r={_styles:[],_pr operties:null,customStyle:{},_styleCache:new t,_element:Polymer.DomApi.wrap(docu ment.documentElement),addStyle:function(e){this._styles.push(e),this._properties =null},get _styleProperties(){return this._properties||(e.decorateStyles(this._s tyles,this),this._styles._scopeStyleProperties=null,this._properties=e.hostAndRo otPropertiesForScope(this).rootProps,e.mixinCustomStyle(this._properties,this.cu stomStyle),e.reify(this._properties)),this._properties},hasStyleProperties:funct ion(){return Boolean(this._properties)},_needsStyleProperties:function(){},_comp uteStyleProperties:function(){return this._styleProperties},updateStyles:functio n(t){this._properties=null,t&&Polymer.Base.mixin(this.customStyle,t),this._style Cache.clear();for(var r,s=0;s<this._styles.length;s++)r=this._styles[s],r=r.__im portElement||r,r._apply();n&&e.updateNativeStyleProperties(document.documentElem ent,this.customStyle)}};return r}(),function(){"use strict";var e=Polymer.Base.s erializeValueToAttribute,t=Polymer.StyleProperties,n=Polymer.StyleTransformer,r= Polymer.StyleDefaults,s=Polymer.Settings.useNativeShadow,i=Polymer.Settings.useN ativeCSSProperties;Polymer.Base._addFeature({_prepStyleProperties:function(){i|| (this._ownStylePropertyNames=this._styles&&this._styles.length?t.decorateStyles( this._styles,this):null);
4 },customStyle:null,getComputedStyleValue:function(e){return!i&&this._styleProper ties&&this._styleProperties[e]||getComputedStyle(this).getPropertyValue(e)},_set upStyleProperties:function(){this.customStyle={},this._styleCache=null,this._sty leProperties=null,this._scopeSelector=null,this._ownStyleProperties=null,this._c ustomStyle=null},_needsStyleProperties:function(){return Boolean(!i&&this._ownSt ylePropertyNames&&this._ownStylePropertyNames.length)},_validateApplyShim:functi on(){if(this.__applyShimInvalid){Polymer.ApplyShim.transform(this._styles,this._ _proto__);var e=n.elementStyles(this);if(s){var t=this._template.content.querySe lector("style");t&&(t.textContent=e)}else{var r=this._scopeStyle&&this._scopeSty le.nextSibling;r&&(r.textContent=e)}}},_beforeAttached:function(){this._scopeSel ector&&!this.__stylePropertiesInvalid||!this._needsStyleProperties()||(this.__st ylePropertiesInvalid=!1,this._updateStyleProperties())},_findStyleHost:function( ){for(var e,t=this;e=Polymer.dom(t).getOwnerRoot();){if(Polymer.isInstance(e.hos t))return e.host;t=e.host}return r},_updateStyleProperties:function(){var e,n=th is._findStyleHost();n._styleProperties||n._computeStyleProperties(),n._styleCach e||(n._styleCache=new Polymer.StyleCache);var r=t.propertyDataFromStyles(n._styl es,this),i=!this.__notStyleScopeCacheable;i&&(r.key.customStyle=this.customStyle ,e=n._styleCache.retrieve(this.is,r.key,this._styles));var a=Boolean(e);a?this._ styleProperties=e._styleProperties:this._computeStyleProperties(r.properties),th is._computeOwnStyleProperties(),a||(e=o.retrieve(this.is,this._ownStylePropertie s,this._styles));var l=Boolean(e)&&!a,c=this._applyStyleProperties(e);a||(c=c&&s ?c.cloneNode(!0):c,e={style:c,_scopeSelector:this._scopeSelector,_stylePropertie s:this._styleProperties},i&&(r.key.customStyle={},this.mixin(r.key.customStyle,t his.customStyle),n._styleCache.store(this.is,e,r.key,this._styles)),l||o.store(t his.is,Object.create(e),this._ownStyleProperties,this._styles))},_computeStylePr operties:function(e){var n=this._findStyleHost();n._styleProperties||n._computeS tyleProperties();var r=Object.create(n._styleProperties),s=t.hostAndRootProperti esForScope(this);this.mixin(r,s.hostProps),e=e||t.propertyDataFromStyles(n._styl es,this).properties,this.mixin(r,e),this.mixin(r,s.rootProps),t.mixinCustomStyle (r,this.customStyle),t.reify(r),this._styleProperties=r},_computeOwnStylePropert ies:function(){for(var e,t={},n=0;n<this._ownStylePropertyNames.length;n++)e=thi s._ownStylePropertyNames[n],t[e]=this._styleProperties[e];this._ownStyleProperti es=t},_scopeCount:0,_applyStyleProperties:function(e){var n=this._scopeSelector; this._scopeSelector=e?e._scopeSelector:this.is+"-"+this.__proto__._scopeCount++; var r=t.applyElementStyle(this,this._styleProperties,this._scopeSelector,e&&e.st yle);return s||t.applyElementScopeSelector(this,this._scopeSelector,n,this._scop eCssViaAttr),r},serializeValueToAttribute:function(t,n,r){if(r=r||this,"class"== =n&&!s){var i=r===this?this.domHost||this.dataHost:this;i&&(t=i._scopeElementCla ss(r,t))}r=this.shadyRoot&&this.shadyRoot._hasDistributed?Polymer.dom(r):r,e.cal l(this,t,n,r)},_scopeElementClass:function(e,t){return s||this._scopeCssViaAttr| |(t=(t?t+" ":"")+a+" "+this.is+(e._scopeSelector?" "+l+" "+e._scopeSelector:"")) ,t},updateStyles:function(e){e&&this.mixin(this.customStyle,e),i?t.updateNativeS tyleProperties(this,this.customStyle):(this.isAttached?this._needsStylePropertie s()?this._updateStyleProperties():this._styleProperties=null:this.__stylePropert iesInvalid=!0,this._styleCache&&this._styleCache.clear(),this._updateRootStyles( ))},_updateRootStyles:function(e){e=e||this.root;for(var t,n=Polymer.dom(e)._que ry(function(e){return e.shadyRoot||e.shadowRoot}),r=0,s=n.length;r<s&&(t=n[r]);r ++)t.updateStyles&&t.updateStyles()}}),Polymer.updateStyles=function(e){r.update Styles(e),Polymer.Base._updateRootStyles(document)};var o=new Polymer.StyleCache ;Polymer.customStyleCache=o;var a=n.SCOPE_NAME,l=t.XSCOPE_NAME}(),Polymer.Base._ addFeature({_registerFeatures:function(){this._prepIs(),this._prepConstructor(), this._prepStyles()},_finishRegisterFeatures:function(){this._prepTemplate(),this ._prepShimStyles(),this._prepAnnotations(),this._prepEffects(),this._prepBehavio rs(),this._prepPropertyInfo(),this._prepBindings(),this._prepShady()},_prepBehav ior:function(e){this._addPropertyEffects(e.properties),this._addComplexObserverE ffects(e.observers),this._addHostAttributes(e.hostAttributes)},_initFeatures:fun ction(){this._setupGestures(),this._setupConfigure(),this._setupStyleProperties( ),this._setupDebouncers(),this._setupShady(),this._registerHost(),this._template &&(this._validateApplyShim(),this._poolContent(),this._beginHosting(),this._stam pTemplate(),this._endHosting(),this._marshalAnnotationReferences()),this._marsha lInstanceEffects(),this._marshalBehaviors(),this._marshalHostAttributes(),this._ marshalAttributes(),this._tryReady()},_marshalBehavior:function(e){e.listeners&& this._listenListeners(e.listeners)}}),function(){var e,t=Polymer.StyleProperties ,n=Polymer.StyleUtil,r=Polymer.CssParse,s=Polymer.StyleDefaults,i=Polymer.StyleT ransformer,o=Polymer.ApplyShim,a=Polymer.Debounce,l=Polymer.Settings;Polymer({is :"custom-style",extends:"style",_template:null,properties:{include:String},ready :function(){this.__appliedElement=this.__appliedElement||this,this.__cssBuild=n. getCssBuildType(this),this.__appliedElement!==this&&(this.__appliedElement.__css Build=this.__cssBuild),this._tryApply()},attached:function(){this._tryApply()},_ tryApply:function(){if(!this._appliesToDocument&&this.parentNode&&"dom-module"!= =this.parentNode.localName){this._appliesToDocument=!0;var e=this.__appliedEleme nt;if(l.useNativeCSSProperties||(this.__needsUpdateStyles=s.hasStyleProperties() ,s.addStyle(e)),e.textContent||this.include)this._apply(!0);else{var t=this,n=ne w MutationObserver(function(){n.disconnect(),t._apply(!0)});n.observe(e,{childLi st:!0})}}},_updateStyles:function(){Polymer.updateStyles()},_apply:function(e){v ar t=this.__appliedElement;if(this.include&&(t.textContent=n.cssFromModules(this .include,!0)+t.textContent),t.textContent){var r=this.__cssBuild,s=n.isTargetedB uild(r);if(!l.useNativeCSSProperties||!s){var a=n.rulesForStyle(t);if(s||(n.forE achRule(a,function(e){i.documentRule(e)}),l.useNativeCSSProperties&&!r&&o.transf orm([t])),l.useNativeCSSProperties)t.textContent=n.toCssText(a);else{var c=this, h=function(){c._flushCustomProperties()};e?Polymer.RenderStatus.whenReady(h):h() }}}},_flushCustomProperties:function(){this.__needsUpdateStyles?(this.__needsUpd ateStyles=!1,e=a(e,this._updateStyles)):this._applyCustomProperties()},_applyCus tomProperties:function(){var e=this.__appliedElement;this._computeStylePropertie s();var s=this._styleProperties,i=n.rulesForStyle(e);i&&(e.textContent=n.toCssTe xt(i,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo. cssText&&(n=r.removeCustomPropAssignment(n),e.cssText=t.valueForProperties(n,s)) }))}})}(),Polymer.Templatizer={properties:{__hideTemplateChildren__:{observer:"_ showHideChildren"}},_instanceProps:Polymer.nob,_parentPropPrefix:"_parent_",temp latize:function(e){if(this._templatized=e,e._content||(e._content=e.content),e._ content._ctor)return this.ctor=e._content._ctor,void this._prepParentProperties( this.ctor.prototype,e);var t=Object.create(Polymer.Base);this._customPrepAnnotat ions(t,e),this._prepParentProperties(t,e),t._prepEffects(),this._customPrepEffec ts(t),t._prepBehaviors(),t._prepPropertyInfo(),t._prepBindings(),t._notifyPathUp =this._notifyPathUpImpl,t._scopeElementClass=this._scopeElementClassImpl,t.liste n=this._listenImpl,t._showHideChildren=this._showHideChildrenImpl,t.__setPropert yOrig=this.__setProperty,t.__setProperty=this.__setPropertyImpl;var n=this._cons tructorImpl,r=function(e,t){n.call(this,e,t)};r.prototype=t,t.constructor=r,e._c ontent._ctor=r,this.ctor=r},_getRootDataHost:function(){return this.dataHost&&th is.dataHost._rootDataHost||this.dataHost},_showHideChildrenImpl:function(e){for( var t=this._children,n=0;n<t.length;n++){var r=t[n];Boolean(e)!=Boolean(r.__hide TemplateChildren__)&&(r.nodeType===Node.TEXT_NODE?e?(r.__polymerTextContent__=r. textContent,r.textContent=""):r.textContent=r.__polymerTextContent__:r.style&&(e ?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r .__polymerDisplay__)),r.__hideTemplateChildren__=e}},__setPropertyImpl:function( e,t,n,r){r&&r.__hideTemplateChildren__&&"textContent"==e&&(e="__polymerTextConte nt__"),this.__setPropertyOrig(e,t,n,r)},_debounceTemplate:function(e){Polymer.do m.addDebouncer(this.debounce("_debounceTemplate",e))},_flushTemplates:function() {Polymer.dom.flush()},_customPrepEffects:function(e){var t=e._parentProps;for(va r n in t)e._addPropertyEffect(n,"function",this._createHostPropEffector(n));for( n in this._instanceProps)e._addPropertyEffect(n,"function",this._createInstanceP ropEffector(n))},_customPrepAnnotations:function(e,t){e._template=t;var n=t._con tent;if(!n._notes){var r=e._rootDataHost;r&&(Polymer.Annotations.prepElement=fun ction(){r._prepElement()}),n._notes=Polymer.Annotations.parseAnnotations(t),Poly mer.Annotations.prepElement=null,this._processAnnotations(n._notes)}e._notes=n._ notes,e._parentProps=n._parentProps},_prepParentProperties:function(e,t){var n=t his._parentProps=e._parentProps;if(this._forwardParentProp&&n){var r,s=e._parent PropProto;if(!s){for(r in this._instanceProps)delete n[r];s=e._parentPropProto=O bject.create(null),t!=this&&(Polymer.Bind.prepareModel(s),Polymer.Base.prepareMo delNotifyPath(s));for(r in n){var i=this._parentPropPrefix+r,o=[{kind:"function" ,effect:this._createForwardPropEffector(r),fn:Polymer.Bind._functionEffect},{kin d:"notify",fn:Polymer.Bind._notifyEffect,effect:{event:Polymer.CaseMap.camelToDa shCase(i)+"-changed"}}];Polymer.Bind._createAccessors(s,i,o)}}var a=this;t!=this &&(Polymer.Bind.prepareInstance(t),t._forwardParentProp=function(e,t){a._forward ParentProp(e,t)}),this._extendTemplate(t,s),t._pathEffector=function(e,t,n){retu rn a._pathEffectorImpl(e,t,n)}}},_createForwardPropEffector:function(e){return f unction(t,n){this._forwardParentProp(e,n)}},_createHostPropEffector:function(e){ var t=this._parentPropPrefix;return function(n,r){this.dataHost._templatized[t+e ]=r}},_createInstancePropEffector:function(e){return function(t,n,r,s){s||this.d ataHost._forwardInstanceProp(this,e,n)}},_extendTemplate:function(e,t){var n=Obj ect.getOwnPropertyNames(t);t._propertySetter&&(e._propertySetter=t._propertySett er);for(var r,s=0;s<n.length&&(r=n[s]);s++){var i=e[r],o=Object.getOwnPropertyDe scriptor(t,r);Object.defineProperty(e,r,o),void 0!==i&&e._propertySetter(r,i)}}, _showHideChildren:function(e){},_forwardInstancePath:function(e,t,n){},_forwardI nstanceProp:function(e,t,n){},_notifyPathUpImpl:function(e,t){var n=this.dataHos t,r=Polymer.Path.root(e);n._forwardInstancePath.call(n,this,e,t),r in n._parentP rops&&n._templatized._notifyPath(n._parentPropPrefix+e,t)},_pathEffectorImpl:fun ction(e,t,n){if(this._forwardParentPath&&0===e.indexOf(this._parentPropPrefix)){ var r=e.substring(this._parentPropPrefix.length),s=Polymer.Path.root(r);s in thi s._parentProps&&this._forwardParentPath(r,t)}Polymer.Base._pathEffector.call(thi s._templatized,e,t,n)},_constructorImpl:function(e,t){this._rootDataHost=t._getR ootDataHost(),this._setupConfigure(e),this._registerHost(t),this._beginHosting() ,this.root=this.instanceTemplate(this._template),this.root.__noContent=!this._no tes._hasContent,this.root.__styleScoped=!0,this._endHosting(),this._marshalAnnot atedNodes(),this._marshalInstanceEffects(),this._marshalAnnotatedListeners();for (var n=[],r=this.root.firstChild;r;r=r.nextSibling)n.push(r),r._templateInstance =this;this._children=n,t.__hideTemplateChildren__&&this._showHideChildren(!0),th is._tryReady()},_listenImpl:function(e,t,n){var r=this,s=this._rootDataHost,i=s. _createEventHandler(e,t,n),o=function(e){e.model=r,i(e)};s._listen(e,t,o)},_scop eElementClassImpl:function(e,t){var n=this._rootDataHost;return n?n._scopeElemen tClass(e,t):t},stamp:function(e){if(e=e||{},this._parentProps){var t=this._templ atized;for(var n in this._parentProps)void 0===e[n]&&(e[n]=t[this._parentPropPre fix+n])}return new this.ctor(e,this)},modelForElement:function(e){for(var t;e;)i f(t=e._templateInstance){if(t.dataHost==this)return t;e=t.dataHost}else e=e.pare ntNode}},Polymer({is:"dom-template",extends:"template",_template:null,behaviors: [Polymer.Templatizer],ready:function(){this.templatize(this)}}),Polymer._collect ions=new WeakMap,Polymer.Collection=function(e){Polymer._collections.set(e,this) ,this.userArray=e,this.store=e.slice(),this.initMap()},Polymer.Collection.protot ype={constructor:Polymer.Collection,initMap:function(){for(var e=this.omap=new W eakMap,t=this.pmap={},n=this.store,r=0;r<n.length;r++){var s=n[r];s&&"object"==t ypeof s?e.set(s,r):t[s]=r}},add:function(e){var t=this.store.push(e)-1;return e& &"object"==typeof e?this.omap.set(e,t):this.pmap[e]=t,"#"+t},removeKey:function( e){(e=this._parseKey(e))&&(this._removeFromMap(this.store[e]),delete this.store[ e])},_removeFromMap:function(e){e&&"object"==typeof e?this.omap.delete(e):delete this.pmap[e]},remove:function(e){var t=this.getKey(e);return this.removeKey(t), t},getKey:function(e){var t;if(t=e&&"object"==typeof e?this.omap.get(e):this.pma p[e],void 0!=t)return"#"+t},getKeys:function(){return Object.keys(this.store).ma p(function(e){return"#"+e})},_parseKey:function(e){if(e&&"#"==e[0])return e.slic e(1)},setItem:function(e,t){if(e=this._parseKey(e)){var n=this.store[e];n&&this. _removeFromMap(n),t&&"object"==typeof t?this.omap.set(t,e):this.pmap[t]=e,this.s tore[e]=t}},getItem:function(e){if(e=this._parseKey(e))return this.store[e]},get Items:function(){var e=[],t=this.store;for(var n in t)e.push(t[n]);return e},_ap plySplices:function(e){for(var t,n,r={},s=0;s<e.length&&(n=e[s]);s++){n.addedKey s=[];for(var i=0;i<n.removed.length;i++)t=this.getKey(n.removed[i]),r[t]=r[t]?nu ll:-1;for(i=0;i<n.addedCount;i++){var o=this.userArray[n.index+i];t=this.getKey( o),t=void 0===t?this.add(o):t,r[t]=r[t]?null:1,n.addedKeys.push(t)}}var a=[],l=[ ];for(t in r)r[t]<0&&(this.removeKey(t),a.push(t)),r[t]>0&&l.push(t);return[{rem oved:a,added:l}]}},Polymer.Collection.get=function(e){return Polymer._collection s.get(e)||new Polymer.Collection(e)},Polymer.Collection.applySplices=function(e, t){var n=Polymer._collections.get(e);return n?n._applySplices(t):null},Polymer({ is:"dom-repeat",extends:"template",_template:null,properties:{items:{type:Array} ,as:{type:String,value:"item"},indexAs:{type:String,value:"index"},sort:{type:Fu nction,observer:"_sortChanged"},filter:{type:Function,observer:"_filterChanged"} ,observe:{type:String,observer:"_observeChanged"},delay:Number,renderedItemCount :{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"_initia lizeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Num ber,computed:"_computeFrameTime(targetFramerate)"}},behaviors:[Polymer.Templatiz er],observers:["_itemsChanged(items.*)"],created:function(){this._instances=[],t his._pool=[],this._limit=1/0;var e=this;this._boundRenderChunk=function(){e._ren derChunk()}},detached:function(){this.__isDetached=!0;for(var e=0;e<this._instan ces.length;e++)this._detachInstance(e)},attached:function(){if(this.__isDetached ){this.__isDetached=!1;for(var e=Polymer.dom(Polymer.dom(this).parentNode),t=0;t <this._instances.length;t++)this._attachInstance(t,e)}},ready:function(){this._i nstanceProps={__key__:!0},this._instanceProps[this.as]=!0,this._instanceProps[th is.indexAs]=!0,this.ctor||this.templatize(this)},_sortChanged:function(e){var t= this._getRootDataHost();this._sortFn=e&&("function"==typeof e?e:function(){retur n t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceT emplate(this._render)},_filterChanged:function(e){var t=this._getRootDataHost(); this._filterFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,argumen ts)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)} ,_computeFrameTime:function(e){return Math.ceil(1e3/e)},_initializeChunking:func tion(){this.initialCount&&(this._limit=this.initialCount,this._chunkCount=this.i nitialCount,this._lastChunkTime=performance.now())},_tryRenderChunk:function(){t his.items&&this._limit<this.items.length&&this.debounce("renderChunk",this._requ estRenderChunk)},_requestRenderChunk:function(){requestAnimationFrame(this._boun dRenderChunk)},_renderChunk:function(){var e=performance.now(),t=this._targetFra meTime/(e-this._lastChunkTime);this._chunkCount=Math.round(this._chunkCount*t)|| 1,this._limit+=this._chunkCount,this._lastChunkTime=e,this._debounceTemplate(thi s._render)},_observeChanged:function(){this._observePaths=this.observe&&this.obs erve.replace(".*",".").split(" ")},_itemsChanged:function(e){if("items"==e.path) Array.isArray(this.items)?this.collection=Polymer.Collection.get(this.items):thi s.items?this._error(this._logf("dom-repeat","expected array for `items`, found", this.items)):this.collection=null,this._keySplices=[],this._indexSplices=[],this ._needFullRefresh=!0,this._initializeChunking(),this._debounceTemplate(this._ren der);else if("items.splices"==e.path)this._keySplices=this._keySplices.concat(e. value.keySplices),this._indexSplices=this._indexSplices.concat(e.value.indexSpli ces),this._debounceTemplate(this._render);else{var t=e.path.slice(6);this._forwa rdItemPath(t,e.value),this._checkObservedPaths(t)}},_checkObservedPaths:function (e){if(this._observePaths){e=e.substring(e.indexOf(".")+1);for(var t=this._obser vePaths,n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return this._needFullRefresh=! 0,void(this.delay?this.debounce("render",this._render,this.delay):this._debounce Template(this._render))}},render:function(){this._needFullRefresh=!0,this._debou nceTemplate(this._render),this._flushTemplates()},_render:function(){this._needF ullRefresh?(this._applyFullRefresh(),this._needFullRefresh=!1):this._keySplices. length&&(this._sortFn?this._applySplicesUserSort(this._keySplices):this._filterF n?this._applyFullRefresh():this._applySplicesArrayOrder(this._indexSplices)),thi s._keySplices=[],this._indexSplices=[];for(var e=this._keyToInstIdx={},t=this._i nstances.length-1;t>=0;t--){var n=this._instances[t];n.isPlaceholder&&t<this._li mit?n=this._insertInstance(t,n.__key__):!n.isPlaceholder&&t>=this._limit&&(n=thi s._downgradeInstance(t,n.__key__)),e[n.__key__]=t,n.isPlaceholder||n.__setProper ty(this.indexAs,t,!0)}this._pool.length=0,this._setRenderedItemCount(this._insta nces.length),this.fire("dom-change"),this._tryRenderChunk()},_applyFullRefresh:f unction(){var e,t=this.collection;if(this._sortFn)e=t?t.getKeys():[];else{e=[];v ar n=this.items;if(n)for(var r=0;r<n.length;r++)e.push(t.getKey(n[r]))}var s=thi s;for(this._filterFn&&(e=e.filter(function(e){return s._filterFn(t.getItem(e))}) ),this._sortFn&&e.sort(function(e,n){return s._sortFn(t.getItem(e),t.getItem(n)) }),r=0;r<e.length;r++){var i=e[r],o=this._instances[r];o?(o.__key__=i,!o.isPlace holder&&r<this._limit&&o.__setProperty(this.as,t.getItem(i),!0)):r<this._limit?t his._insertInstance(r,i):this._insertPlaceholder(r,i)}for(var a=this._instances. length-1;a>=r;a--)this._detachAndRemoveInstance(a)},_numericSort:function(e,t){r eturn e-t},_applySplicesUserSort:function(e){for(var t,n,r=this.collection,s={}, i=0;i<e.length&&(n=e[i]);i++){for(var o=0;o<n.removed.length;o++)t=n.removed[o], s[t]=s[t]?null:-1;for(o=0;o<n.added.length;o++)t=n.added[o],s[t]=s[t]?null:1}var a=[],l=[];for(t in s)s[t]===-1&&a.push(this._keyToInstIdx[t]),1===s[t]&&l.push( t);if(a.length)for(a.sort(this._numericSort),i=a.length-1;i>=0;i--){var c=a[i];v oid 0!==c&&this._detachAndRemoveInstance(c)}var h=this;if(l.length){this._filter Fn&&(l=l.filter(function(e){return h._filterFn(r.getItem(e))})),l.sort(function( e,t){return h._sortFn(r.getItem(e),r.getItem(t))});var u=0;for(i=0;i<l.length;i+ +)u=this._insertRowUserSort(u,l[i])}},_insertRowUserSort:function(e,t){for(var n =this.collection,r=n.getItem(t),s=this._instances.length-1,i=-1;e<=s;){var o=e+s >>1,a=this._instances[o].__key__,l=this._sortFn(n.getItem(a),r);if(l<0)e=o+1;els e{if(!(l>0)){i=o;break}s=o-1}}return i<0&&(i=s+1),this._insertPlaceholder(i,t),i },_applySplicesArrayOrder:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++){fo r(var r=0;r<t.removed.length;r++)this._detachAndRemoveInstance(t.index);for(r=0; r<t.addedKeys.length;r++)this._insertPlaceholder(t.index+r,t.addedKeys[r])}},_de tachInstance:function(e){var t=this._instances[e];if(!t.isPlaceholder){for(var n =0;n<t._children.length;n++){var r=t._children[n];Polymer.dom(t.root).appendChil d(r)}return t}},_attachInstance:function(e,t){var n=this._instances[e];n.isPlace holder||t.insertBefore(n.root,this)},_detachAndRemoveInstance:function(e){var t= this._detachInstance(e);t&&this._pool.push(t),this._instances.splice(e,1)},_inse rtPlaceholder:function(e,t){this._instances.splice(e,0,{isPlaceholder:!0,__key__ :t})},_stampInstance:function(e,t){var n={__key__:t};return n[this.as]=this.coll ection.getItem(t),n[this.indexAs]=e,this.stamp(n)},_insertInstance:function(e,t) {var n=this._pool.pop();n?(n.__setProperty(this.as,this.collection.getItem(t),!0 ),n.__setProperty("__key__",t,!0)):n=this._stampInstance(e,t);var r=this._instan ces[e+1],s=r&&!r.isPlaceholder?r._children[0]:this,i=Polymer.dom(this).parentNod e;return Polymer.dom(i).insertBefore(n.root,s),this._instances[e]=n,n},_downgrad eInstance:function(e,t){var n=this._detachInstance(e);return n&&this._pool.push( n),n={isPlaceholder:!0,__key__:t},this._instances[e]=n,n},_showHideChildren:func tion(e){for(var t=0;t<this._instances.length;t++)this._instances[t]._showHideChi ldren(e)},_forwardInstanceProp:function(e,t,n){if(t==this.as){var r;r=this._sort Fn||this._filterFn?this.items.indexOf(this.collection.getItem(e.__key__)):e[this .indexAs],this.set("items."+r,n)}},_forwardInstancePath:function(e,t,n){0===t.in dexOf(this.as+".")&&this._notifyPath("items."+e.__key__+"."+t.slice(this.as.leng th+1),n)},_forwardParentProp:function(e,t){for(var n,r=this._instances,s=0;s<r.l ength&&(n=r[s]);s++)n.isPlaceholder||n.__setProperty(e,t,!0)},_forwardParentPath :function(e,t){for(var n,r=this._instances,s=0;s<r.length&&(n=r[s]);s++)n.isPlac eholder||n._notifyPath(e,t,!0)},_forwardItemPath:function(e,t){if(this._keyToIns tIdx){var n=e.indexOf("."),r=e.substring(0,n<0?e.length:n),s=this._keyToInstIdx[ r],i=this._instances[s];i&&!i.isPlaceholder&&(n>=0?(e=this.as+"."+e.substring(n+ 1),i._notifyPath(e,t,!0)):i.__setProperty(this.as,t,!0))}},itemForElement:functi on(e){var t=this.modelForElement(e);return t&&t[this.as]},keyForElement:function (e){var t=this.modelForElement(e);return t&&t.__key__},indexForElement:function( e){var t=this.modelForElement(e);return t&&t[this.indexAs]}}),Polymer({is:"array -selector",_template:null,properties:{items:{type:Array,observer:"clearSelection "},multi:{type:Boolean,value:!1,observer:"clearSelection"},selected:{type:Object ,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}} ,clearSelection:function(){if(Array.isArray(this.selected))for(var e=0;e<this.se lected.length;e++)this.unlinkPaths("selected."+e);else this.unlinkPaths("selecte d"),this.unlinkPaths("selectedItem");this.multi?this.selected&&!this.selected.le ngth||(this.selected=[],this._selectedColl=Polymer.Collection.get(this.selected) ):(this.selected=null,this._selectedColl=null),this.selectedItem=null},isSelecte d:function(e){return this.multi?void 0!==this._selectedColl.getKey(e):this.selec ted==e},deselect:function(e){if(this.multi){if(this.isSelected(e)){var t=this._s electedColl.getKey(e);this.arrayDelete("selected",e),this.unlinkPaths("selected. "+t)}}else this.selected=null,this.selectedItem=null,this.unlinkPaths("selected" ),this.unlinkPaths("selectedItem")},select:function(e){var t=Polymer.Collection. get(this.items),n=t.getKey(e);if(this.multi)if(this.isSelected(e))this.toggle&&t his.deselect(e);else{this.push("selected",e);var r=this._selectedColl.getKey(e); this.linkPaths("selected."+r,"items."+n)}else this.toggle&&e==this.selected?this .deselect():(this.selected=e,this.selectedItem=e,this.linkPaths("selected","item s."+n),this.linkPaths("selectedItem","items."+n))}}),Polymer({is:"dom-if",extend s:"template",_template:null,properties:{if:{type:Boolean,value:!1,observer:"_que ueRender"},restamp:{type:Boolean,value:!1,observer:"_queueRender"}},behaviors:[P olymer.Templatizer],_queueRender:function(){this._debounceTemplate(this._render) },detached:function(){this.parentNode&&(this.parentNode.nodeType!=Node.DOCUMENT_ FRAGMENT_NODE||Polymer.Settings.hasShadow&&this.parentNode instanceof ShadowRoot )||this._teardownInstance()},attached:function(){this.if&&this.ctor&&this.async( this._ensureInstance)},render:function(){this._flushTemplates()},_render:functio n(){this.if?(this.ctor||this.templatize(this),this._ensureInstance(),this._showH ideChildren()):this.restamp&&this._teardownInstance(),!this.restamp&&this._insta nce&&this._showHideChildren(),this.if!=this._lastIf&&(this.fire("dom-change"),th is._lastIf=this.if)},_ensureInstance:function(){var e=Polymer.dom(this).parentNo de;if(e){var t=Polymer.dom(e);if(this._instance){var n=this._instance._children; if(n&&n.length){var r=Polymer.dom(this).previousSibling;if(r!==n[n.length-1])for (var s,i=0;i<n.length&&(s=n[i]);i++)t.insertBefore(s,this)}}else{this._instance= this.stamp();var o=this._instance.root;t.insertBefore(o,this)}}},_teardownInstan ce:function(){if(this._instance){var e=this._instance._children;if(e&&e.length)f or(var t,n=Polymer.dom(Polymer.dom(e[0]).parentNode),r=0;r<e.length&&(t=e[r]);r+ +)n.removeChild(t);this._instance=null}},_showHideChildren:function(){var e=this .__hideTemplateChildren__||!this.if;this._instance&&this._instance._showHideChil dren(e)},_forwardParentProp:function(e,t){this._instance&&this._instance.__setPr operty(e,t,!0)},_forwardParentPath:function(e,t){this._instance&&this._instance. _notifyPath(e,t,!0)}}),Polymer({is:"dom-bind",extends:"template",_template:null, created:function(){var e=this;Polymer.RenderStatus.whenReady(function(){"loading "==document.readyState?document.addEventListener("DOMContentLoaded",function(){e ._markImportsReady()}):e._markImportsReady()})},_ensureReady:function(){this._re adied||this._readySelf()},_markImportsReady:function(){this._importsReady=!0,thi s._ensureReady()},_registerFeatures:function(){this._prepConstructor()},_insertC hildren:function(){var e=Polymer.dom(Polymer.dom(this).parentNode);e.insertBefor e(this.root,this)},_removeChildren:function(){if(this._children)for(var e=0;e<th is._children.length;e++)this.root.appendChild(this._children[e])},_initFeatures: function(){},_scopeElementClass:function(e,t){return this.dataHost?this.dataHost ._scopeElementClass(e,t):t},_configureInstanceProperties:function(){},_prepConfi gure:function(){var e={};for(var t in this._propertyEffects)e[t]=this[t];var n=t his._setupConfigure;this._setupConfigure=function(){n.call(this,e)}},attached:fu nction(){this._importsReady&&this.render()},detached:function(){this._removeChil dren()},render:function(){this._ensureReady(),this._children||(this._template=th is,this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepC onfigure(),this._prepBindings(),this._prepPropertyInfo(),Polymer.Base._initFeatu res.call(this),this._children=Polymer.TreeApi.arrayCopyChildNodes(this.root)),th is._insertChildren(),this.fire("dom-change")}})</script> <script> window.Swarmin gBehaviors = window.SwarmingBehaviors || {}; 4 },customStyle:null,getComputedStyleValue:function(e){return!i&&this._styleProper ties&&this._styleProperties[e]||getComputedStyle(this).getPropertyValue(e)},_set upStyleProperties:function(){this.customStyle={},this._styleCache=null,this._sty leProperties=null,this._scopeSelector=null,this._ownStyleProperties=null,this._c ustomStyle=null},_needsStyleProperties:function(){return Boolean(!i&&this._ownSt ylePropertyNames&&this._ownStylePropertyNames.length)},_validateApplyShim:functi on(){if(this.__applyShimInvalid){Polymer.ApplyShim.transform(this._styles,this._ _proto__);var e=n.elementStyles(this);if(s){var t=this._template.content.querySe lector("style");t&&(t.textContent=e)}else{var r=this._scopeStyle&&this._scopeSty le.nextSibling;r&&(r.textContent=e)}}},_beforeAttached:function(){this._scopeSel ector&&!this.__stylePropertiesInvalid||!this._needsStyleProperties()||(this.__st ylePropertiesInvalid=!1,this._updateStyleProperties())},_findStyleHost:function( ){for(var e,t=this;e=Polymer.dom(t).getOwnerRoot();){if(Polymer.isInstance(e.hos t))return e.host;t=e.host}return r},_updateStyleProperties:function(){var e,n=th is._findStyleHost();n._styleProperties||n._computeStyleProperties(),n._styleCach e||(n._styleCache=new Polymer.StyleCache);var r=t.propertyDataFromStyles(n._styl es,this),i=!this.__notStyleScopeCacheable;i&&(r.key.customStyle=this.customStyle ,e=n._styleCache.retrieve(this.is,r.key,this._styles));var a=Boolean(e);a?this._ styleProperties=e._styleProperties:this._computeStyleProperties(r.properties),th is._computeOwnStyleProperties(),a||(e=o.retrieve(this.is,this._ownStylePropertie s,this._styles));var l=Boolean(e)&&!a,c=this._applyStyleProperties(e);a||(c=c&&s ?c.cloneNode(!0):c,e={style:c,_scopeSelector:this._scopeSelector,_stylePropertie s:this._styleProperties},i&&(r.key.customStyle={},this.mixin(r.key.customStyle,t his.customStyle),n._styleCache.store(this.is,e,r.key,this._styles)),l||o.store(t his.is,Object.create(e),this._ownStyleProperties,this._styles))},_computeStylePr operties:function(e){var n=this._findStyleHost();n._styleProperties||n._computeS tyleProperties();var r=Object.create(n._styleProperties),s=t.hostAndRootProperti esForScope(this);this.mixin(r,s.hostProps),e=e||t.propertyDataFromStyles(n._styl es,this).properties,this.mixin(r,e),this.mixin(r,s.rootProps),t.mixinCustomStyle (r,this.customStyle),t.reify(r),this._styleProperties=r},_computeOwnStylePropert ies:function(){for(var e,t={},n=0;n<this._ownStylePropertyNames.length;n++)e=thi s._ownStylePropertyNames[n],t[e]=this._styleProperties[e];this._ownStyleProperti es=t},_scopeCount:0,_applyStyleProperties:function(e){var n=this._scopeSelector; this._scopeSelector=e?e._scopeSelector:this.is+"-"+this.__proto__._scopeCount++; var r=t.applyElementStyle(this,this._styleProperties,this._scopeSelector,e&&e.st yle);return s||t.applyElementScopeSelector(this,this._scopeSelector,n,this._scop eCssViaAttr),r},serializeValueToAttribute:function(t,n,r){if(r=r||this,"class"== =n&&!s){var i=r===this?this.domHost||this.dataHost:this;i&&(t=i._scopeElementCla ss(r,t))}r=this.shadyRoot&&this.shadyRoot._hasDistributed?Polymer.dom(r):r,e.cal l(this,t,n,r)},_scopeElementClass:function(e,t){return s||this._scopeCssViaAttr| |(t=(t?t+" ":"")+a+" "+this.is+(e._scopeSelector?" "+l+" "+e._scopeSelector:"")) ,t},updateStyles:function(e){e&&this.mixin(this.customStyle,e),i?t.updateNativeS tyleProperties(this,this.customStyle):(this.isAttached?this._needsStylePropertie s()?this._updateStyleProperties():this._styleProperties=null:this.__stylePropert iesInvalid=!0,this._styleCache&&this._styleCache.clear(),this._updateRootStyles( ))},_updateRootStyles:function(e){e=e||this.root;for(var t,n=Polymer.dom(e)._que ry(function(e){return e.shadyRoot||e.shadowRoot}),r=0,s=n.length;r<s&&(t=n[r]);r ++)t.updateStyles&&t.updateStyles()}}),Polymer.updateStyles=function(e){r.update Styles(e),Polymer.Base._updateRootStyles(document)};var o=new Polymer.StyleCache ;Polymer.customStyleCache=o;var a=n.SCOPE_NAME,l=t.XSCOPE_NAME}(),Polymer.Base._ addFeature({_registerFeatures:function(){this._prepIs(),this._prepConstructor(), this._prepStyles()},_finishRegisterFeatures:function(){this._prepTemplate(),this ._prepShimStyles(),this._prepAnnotations(),this._prepEffects(),this._prepBehavio rs(),this._prepPropertyInfo(),this._prepBindings(),this._prepShady()},_prepBehav ior:function(e){this._addPropertyEffects(e.properties),this._addComplexObserverE ffects(e.observers),this._addHostAttributes(e.hostAttributes)},_initFeatures:fun ction(){this._setupGestures(),this._setupConfigure(),this._setupStyleProperties( ),this._setupDebouncers(),this._setupShady(),this._registerHost(),this._template &&(this._validateApplyShim(),this._poolContent(),this._beginHosting(),this._stam pTemplate(),this._endHosting(),this._marshalAnnotationReferences()),this._marsha lInstanceEffects(),this._marshalBehaviors(),this._marshalHostAttributes(),this._ marshalAttributes(),this._tryReady()},_marshalBehavior:function(e){e.listeners&& this._listenListeners(e.listeners)}}),function(){var e,t=Polymer.StyleProperties ,n=Polymer.StyleUtil,r=Polymer.CssParse,s=Polymer.StyleDefaults,i=Polymer.StyleT ransformer,o=Polymer.ApplyShim,a=Polymer.Debounce,l=Polymer.Settings;Polymer({is :"custom-style",extends:"style",_template:null,properties:{include:String},ready :function(){this.__appliedElement=this.__appliedElement||this,this.__cssBuild=n. getCssBuildType(this),this.__appliedElement!==this&&(this.__appliedElement.__css Build=this.__cssBuild),this._tryApply()},attached:function(){this._tryApply()},_ tryApply:function(){if(!this._appliesToDocument&&this.parentNode&&"dom-module"!= =this.parentNode.localName){this._appliesToDocument=!0;var e=this.__appliedEleme nt;if(l.useNativeCSSProperties||(this.__needsUpdateStyles=s.hasStyleProperties() ,s.addStyle(e)),e.textContent||this.include)this._apply(!0);else{var t=this,n=ne w MutationObserver(function(){n.disconnect(),t._apply(!0)});n.observe(e,{childLi st:!0})}}},_updateStyles:function(){Polymer.updateStyles()},_apply:function(e){v ar t=this.__appliedElement;if(this.include&&(t.textContent=n.cssFromModules(this .include,!0)+t.textContent),t.textContent){var r=this.__cssBuild,s=n.isTargetedB uild(r);if(!l.useNativeCSSProperties||!s){var a=n.rulesForStyle(t);if(s||(n.forE achRule(a,function(e){i.documentRule(e)}),l.useNativeCSSProperties&&!r&&o.transf orm([t])),l.useNativeCSSProperties)t.textContent=n.toCssText(a);else{var c=this, h=function(){c._flushCustomProperties()};e?Polymer.RenderStatus.whenReady(h):h() }}}},_flushCustomProperties:function(){this.__needsUpdateStyles?(this.__needsUpd ateStyles=!1,e=a(e,this._updateStyles)):this._applyCustomProperties()},_applyCus tomProperties:function(){var e=this.__appliedElement;this._computeStylePropertie s();var s=this._styleProperties,i=n.rulesForStyle(e);i&&(e.textContent=n.toCssTe xt(i,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo. cssText&&(n=r.removeCustomPropAssignment(n),e.cssText=t.valueForProperties(n,s)) }))}})}(),Polymer.Templatizer={properties:{__hideTemplateChildren__:{observer:"_ showHideChildren"}},_instanceProps:Polymer.nob,_parentPropPrefix:"_parent_",temp latize:function(e){if(this._templatized=e,e._content||(e._content=e.content),e._ content._ctor)return this.ctor=e._content._ctor,void this._prepParentProperties( this.ctor.prototype,e);var t=Object.create(Polymer.Base);this._customPrepAnnotat ions(t,e),this._prepParentProperties(t,e),t._prepEffects(),this._customPrepEffec ts(t),t._prepBehaviors(),t._prepPropertyInfo(),t._prepBindings(),t._notifyPathUp =this._notifyPathUpImpl,t._scopeElementClass=this._scopeElementClassImpl,t.liste n=this._listenImpl,t._showHideChildren=this._showHideChildrenImpl,t.__setPropert yOrig=this.__setProperty,t.__setProperty=this.__setPropertyImpl;var n=this._cons tructorImpl,r=function(e,t){n.call(this,e,t)};r.prototype=t,t.constructor=r,e._c ontent._ctor=r,this.ctor=r},_getRootDataHost:function(){return this.dataHost&&th is.dataHost._rootDataHost||this.dataHost},_showHideChildrenImpl:function(e){for( var t=this._children,n=0;n<t.length;n++){var r=t[n];Boolean(e)!=Boolean(r.__hide TemplateChildren__)&&(r.nodeType===Node.TEXT_NODE?e?(r.__polymerTextContent__=r. textContent,r.textContent=""):r.textContent=r.__polymerTextContent__:r.style&&(e ?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r .__polymerDisplay__)),r.__hideTemplateChildren__=e}},__setPropertyImpl:function( e,t,n,r){r&&r.__hideTemplateChildren__&&"textContent"==e&&(e="__polymerTextConte nt__"),this.__setPropertyOrig(e,t,n,r)},_debounceTemplate:function(e){Polymer.do m.addDebouncer(this.debounce("_debounceTemplate",e))},_flushTemplates:function() {Polymer.dom.flush()},_customPrepEffects:function(e){var t=e._parentProps;for(va r n in t)e._addPropertyEffect(n,"function",this._createHostPropEffector(n));for( n in this._instanceProps)e._addPropertyEffect(n,"function",this._createInstanceP ropEffector(n))},_customPrepAnnotations:function(e,t){e._template=t;var n=t._con tent;if(!n._notes){var r=e._rootDataHost;r&&(Polymer.Annotations.prepElement=fun ction(){r._prepElement()}),n._notes=Polymer.Annotations.parseAnnotations(t),Poly mer.Annotations.prepElement=null,this._processAnnotations(n._notes)}e._notes=n._ notes,e._parentProps=n._parentProps},_prepParentProperties:function(e,t){var n=t his._parentProps=e._parentProps;if(this._forwardParentProp&&n){var r,s=e._parent PropProto;if(!s){for(r in this._instanceProps)delete n[r];s=e._parentPropProto=O bject.create(null),t!=this&&(Polymer.Bind.prepareModel(s),Polymer.Base.prepareMo delNotifyPath(s));for(r in n){var i=this._parentPropPrefix+r,o=[{kind:"function" ,effect:this._createForwardPropEffector(r),fn:Polymer.Bind._functionEffect},{kin d:"notify",fn:Polymer.Bind._notifyEffect,effect:{event:Polymer.CaseMap.camelToDa shCase(i)+"-changed"}}];Polymer.Bind._createAccessors(s,i,o)}}var a=this;t!=this &&(Polymer.Bind.prepareInstance(t),t._forwardParentProp=function(e,t){a._forward ParentProp(e,t)}),this._extendTemplate(t,s),t._pathEffector=function(e,t,n){retu rn a._pathEffectorImpl(e,t,n)}}},_createForwardPropEffector:function(e){return f unction(t,n){this._forwardParentProp(e,n)}},_createHostPropEffector:function(e){ var t=this._parentPropPrefix;return function(n,r){this.dataHost._templatized[t+e ]=r}},_createInstancePropEffector:function(e){return function(t,n,r,s){s||this.d ataHost._forwardInstanceProp(this,e,n)}},_extendTemplate:function(e,t){var n=Obj ect.getOwnPropertyNames(t);t._propertySetter&&(e._propertySetter=t._propertySett er);for(var r,s=0;s<n.length&&(r=n[s]);s++){var i=e[r],o=Object.getOwnPropertyDe scriptor(t,r);Object.defineProperty(e,r,o),void 0!==i&&e._propertySetter(r,i)}}, _showHideChildren:function(e){},_forwardInstancePath:function(e,t,n){},_forwardI nstanceProp:function(e,t,n){},_notifyPathUpImpl:function(e,t){var n=this.dataHos t,r=Polymer.Path.root(e);n._forwardInstancePath.call(n,this,e,t),r in n._parentP rops&&n._templatized._notifyPath(n._parentPropPrefix+e,t)},_pathEffectorImpl:fun ction(e,t,n){if(this._forwardParentPath&&0===e.indexOf(this._parentPropPrefix)){ var r=e.substring(this._parentPropPrefix.length),s=Polymer.Path.root(r);s in thi s._parentProps&&this._forwardParentPath(r,t)}Polymer.Base._pathEffector.call(thi s._templatized,e,t,n)},_constructorImpl:function(e,t){this._rootDataHost=t._getR ootDataHost(),this._setupConfigure(e),this._registerHost(t),this._beginHosting() ,this.root=this.instanceTemplate(this._template),this.root.__noContent=!this._no tes._hasContent,this.root.__styleScoped=!0,this._endHosting(),this._marshalAnnot atedNodes(),this._marshalInstanceEffects(),this._marshalAnnotatedListeners();for (var n=[],r=this.root.firstChild;r;r=r.nextSibling)n.push(r),r._templateInstance =this;this._children=n,t.__hideTemplateChildren__&&this._showHideChildren(!0),th is._tryReady()},_listenImpl:function(e,t,n){var r=this,s=this._rootDataHost,i=s. _createEventHandler(e,t,n),o=function(e){e.model=r,i(e)};s._listen(e,t,o)},_scop eElementClassImpl:function(e,t){var n=this._rootDataHost;return n?n._scopeElemen tClass(e,t):t},stamp:function(e){if(e=e||{},this._parentProps){var t=this._templ atized;for(var n in this._parentProps)void 0===e[n]&&(e[n]=t[this._parentPropPre fix+n])}return new this.ctor(e,this)},modelForElement:function(e){for(var t;e;)i f(t=e._templateInstance){if(t.dataHost==this)return t;e=t.dataHost}else e=e.pare ntNode}},Polymer({is:"dom-template",extends:"template",_template:null,behaviors: [Polymer.Templatizer],ready:function(){this.templatize(this)}}),Polymer._collect ions=new WeakMap,Polymer.Collection=function(e){Polymer._collections.set(e,this) ,this.userArray=e,this.store=e.slice(),this.initMap()},Polymer.Collection.protot ype={constructor:Polymer.Collection,initMap:function(){for(var e=this.omap=new W eakMap,t=this.pmap={},n=this.store,r=0;r<n.length;r++){var s=n[r];s&&"object"==t ypeof s?e.set(s,r):t[s]=r}},add:function(e){var t=this.store.push(e)-1;return e& &"object"==typeof e?this.omap.set(e,t):this.pmap[e]=t,"#"+t},removeKey:function( e){(e=this._parseKey(e))&&(this._removeFromMap(this.store[e]),delete this.store[ e])},_removeFromMap:function(e){e&&"object"==typeof e?this.omap.delete(e):delete this.pmap[e]},remove:function(e){var t=this.getKey(e);return this.removeKey(t), t},getKey:function(e){var t;if(t=e&&"object"==typeof e?this.omap.get(e):this.pma p[e],void 0!=t)return"#"+t},getKeys:function(){return Object.keys(this.store).ma p(function(e){return"#"+e})},_parseKey:function(e){if(e&&"#"==e[0])return e.slic e(1)},setItem:function(e,t){if(e=this._parseKey(e)){var n=this.store[e];n&&this. _removeFromMap(n),t&&"object"==typeof t?this.omap.set(t,e):this.pmap[t]=e,this.s tore[e]=t}},getItem:function(e){if(e=this._parseKey(e))return this.store[e]},get Items:function(){var e=[],t=this.store;for(var n in t)e.push(t[n]);return e},_ap plySplices:function(e){for(var t,n,r={},s=0;s<e.length&&(n=e[s]);s++){n.addedKey s=[];for(var i=0;i<n.removed.length;i++)t=this.getKey(n.removed[i]),r[t]=r[t]?nu ll:-1;for(i=0;i<n.addedCount;i++){var o=this.userArray[n.index+i];t=this.getKey( o),t=void 0===t?this.add(o):t,r[t]=r[t]?null:1,n.addedKeys.push(t)}}var a=[],l=[ ];for(t in r)r[t]<0&&(this.removeKey(t),a.push(t)),r[t]>0&&l.push(t);return[{rem oved:a,added:l}]}},Polymer.Collection.get=function(e){return Polymer._collection s.get(e)||new Polymer.Collection(e)},Polymer.Collection.applySplices=function(e, t){var n=Polymer._collections.get(e);return n?n._applySplices(t):null},Polymer({ is:"dom-repeat",extends:"template",_template:null,properties:{items:{type:Array} ,as:{type:String,value:"item"},indexAs:{type:String,value:"index"},sort:{type:Fu nction,observer:"_sortChanged"},filter:{type:Function,observer:"_filterChanged"} ,observe:{type:String,observer:"_observeChanged"},delay:Number,renderedItemCount :{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"_initia lizeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Num ber,computed:"_computeFrameTime(targetFramerate)"}},behaviors:[Polymer.Templatiz er],observers:["_itemsChanged(items.*)"],created:function(){this._instances=[],t his._pool=[],this._limit=1/0;var e=this;this._boundRenderChunk=function(){e._ren derChunk()}},detached:function(){this.__isDetached=!0;for(var e=0;e<this._instan ces.length;e++)this._detachInstance(e)},attached:function(){if(this.__isDetached ){this.__isDetached=!1;for(var e=Polymer.dom(Polymer.dom(this).parentNode),t=0;t <this._instances.length;t++)this._attachInstance(t,e)}},ready:function(){this._i nstanceProps={__key__:!0},this._instanceProps[this.as]=!0,this._instanceProps[th is.indexAs]=!0,this.ctor||this.templatize(this)},_sortChanged:function(e){var t= this._getRootDataHost();this._sortFn=e&&("function"==typeof e?e:function(){retur n t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceT emplate(this._render)},_filterChanged:function(e){var t=this._getRootDataHost(); this._filterFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,argumen ts)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)} ,_computeFrameTime:function(e){return Math.ceil(1e3/e)},_initializeChunking:func tion(){this.initialCount&&(this._limit=this.initialCount,this._chunkCount=this.i nitialCount,this._lastChunkTime=performance.now())},_tryRenderChunk:function(){t his.items&&this._limit<this.items.length&&this.debounce("renderChunk",this._requ estRenderChunk)},_requestRenderChunk:function(){requestAnimationFrame(this._boun dRenderChunk)},_renderChunk:function(){var e=performance.now(),t=this._targetFra meTime/(e-this._lastChunkTime);this._chunkCount=Math.round(this._chunkCount*t)|| 1,this._limit+=this._chunkCount,this._lastChunkTime=e,this._debounceTemplate(thi s._render)},_observeChanged:function(){this._observePaths=this.observe&&this.obs erve.replace(".*",".").split(" ")},_itemsChanged:function(e){if("items"==e.path) Array.isArray(this.items)?this.collection=Polymer.Collection.get(this.items):thi s.items?this._error(this._logf("dom-repeat","expected array for `items`, found", this.items)):this.collection=null,this._keySplices=[],this._indexSplices=[],this ._needFullRefresh=!0,this._initializeChunking(),this._debounceTemplate(this._ren der);else if("items.splices"==e.path)this._keySplices=this._keySplices.concat(e. value.keySplices),this._indexSplices=this._indexSplices.concat(e.value.indexSpli ces),this._debounceTemplate(this._render);else{var t=e.path.slice(6);this._forwa rdItemPath(t,e.value),this._checkObservedPaths(t)}},_checkObservedPaths:function (e){if(this._observePaths){e=e.substring(e.indexOf(".")+1);for(var t=this._obser vePaths,n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return this._needFullRefresh=! 0,void(this.delay?this.debounce("render",this._render,this.delay):this._debounce Template(this._render))}},render:function(){this._needFullRefresh=!0,this._debou nceTemplate(this._render),this._flushTemplates()},_render:function(){this._needF ullRefresh?(this._applyFullRefresh(),this._needFullRefresh=!1):this._keySplices. length&&(this._sortFn?this._applySplicesUserSort(this._keySplices):this._filterF n?this._applyFullRefresh():this._applySplicesArrayOrder(this._indexSplices)),thi s._keySplices=[],this._indexSplices=[];for(var e=this._keyToInstIdx={},t=this._i nstances.length-1;t>=0;t--){var n=this._instances[t];n.isPlaceholder&&t<this._li mit?n=this._insertInstance(t,n.__key__):!n.isPlaceholder&&t>=this._limit&&(n=thi s._downgradeInstance(t,n.__key__)),e[n.__key__]=t,n.isPlaceholder||n.__setProper ty(this.indexAs,t,!0)}this._pool.length=0,this._setRenderedItemCount(this._insta nces.length),this.fire("dom-change"),this._tryRenderChunk()},_applyFullRefresh:f unction(){var e,t=this.collection;if(this._sortFn)e=t?t.getKeys():[];else{e=[];v ar n=this.items;if(n)for(var r=0;r<n.length;r++)e.push(t.getKey(n[r]))}var s=thi s;for(this._filterFn&&(e=e.filter(function(e){return s._filterFn(t.getItem(e))}) ),this._sortFn&&e.sort(function(e,n){return s._sortFn(t.getItem(e),t.getItem(n)) }),r=0;r<e.length;r++){var i=e[r],o=this._instances[r];o?(o.__key__=i,!o.isPlace holder&&r<this._limit&&o.__setProperty(this.as,t.getItem(i),!0)):r<this._limit?t his._insertInstance(r,i):this._insertPlaceholder(r,i)}for(var a=this._instances. length-1;a>=r;a--)this._detachAndRemoveInstance(a)},_numericSort:function(e,t){r eturn e-t},_applySplicesUserSort:function(e){for(var t,n,r=this.collection,s={}, i=0;i<e.length&&(n=e[i]);i++){for(var o=0;o<n.removed.length;o++)t=n.removed[o], s[t]=s[t]?null:-1;for(o=0;o<n.added.length;o++)t=n.added[o],s[t]=s[t]?null:1}var a=[],l=[];for(t in s)s[t]===-1&&a.push(this._keyToInstIdx[t]),1===s[t]&&l.push( t);if(a.length)for(a.sort(this._numericSort),i=a.length-1;i>=0;i--){var c=a[i];v oid 0!==c&&this._detachAndRemoveInstance(c)}var h=this;if(l.length){this._filter Fn&&(l=l.filter(function(e){return h._filterFn(r.getItem(e))})),l.sort(function( e,t){return h._sortFn(r.getItem(e),r.getItem(t))});var u=0;for(i=0;i<l.length;i+ +)u=this._insertRowUserSort(u,l[i])}},_insertRowUserSort:function(e,t){for(var n =this.collection,r=n.getItem(t),s=this._instances.length-1,i=-1;e<=s;){var o=e+s >>1,a=this._instances[o].__key__,l=this._sortFn(n.getItem(a),r);if(l<0)e=o+1;els e{if(!(l>0)){i=o;break}s=o-1}}return i<0&&(i=s+1),this._insertPlaceholder(i,t),i },_applySplicesArrayOrder:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++){fo r(var r=0;r<t.removed.length;r++)this._detachAndRemoveInstance(t.index);for(r=0; r<t.addedKeys.length;r++)this._insertPlaceholder(t.index+r,t.addedKeys[r])}},_de tachInstance:function(e){var t=this._instances[e];if(!t.isPlaceholder){for(var n =0;n<t._children.length;n++){var r=t._children[n];Polymer.dom(t.root).appendChil d(r)}return t}},_attachInstance:function(e,t){var n=this._instances[e];n.isPlace holder||t.insertBefore(n.root,this)},_detachAndRemoveInstance:function(e){var t= this._detachInstance(e);t&&this._pool.push(t),this._instances.splice(e,1)},_inse rtPlaceholder:function(e,t){this._instances.splice(e,0,{isPlaceholder:!0,__key__ :t})},_stampInstance:function(e,t){var n={__key__:t};return n[this.as]=this.coll ection.getItem(t),n[this.indexAs]=e,this.stamp(n)},_insertInstance:function(e,t) {var n=this._pool.pop();n?(n.__setProperty(this.as,this.collection.getItem(t),!0 ),n.__setProperty("__key__",t,!0)):n=this._stampInstance(e,t);var r=this._instan ces[e+1],s=r&&!r.isPlaceholder?r._children[0]:this,i=Polymer.dom(this).parentNod e;return Polymer.dom(i).insertBefore(n.root,s),this._instances[e]=n,n},_downgrad eInstance:function(e,t){var n=this._detachInstance(e);return n&&this._pool.push( n),n={isPlaceholder:!0,__key__:t},this._instances[e]=n,n},_showHideChildren:func tion(e){for(var t=0;t<this._instances.length;t++)this._instances[t]._showHideChi ldren(e)},_forwardInstanceProp:function(e,t,n){if(t==this.as){var r;r=this._sort Fn||this._filterFn?this.items.indexOf(this.collection.getItem(e.__key__)):e[this .indexAs],this.set("items."+r,n)}},_forwardInstancePath:function(e,t,n){0===t.in dexOf(this.as+".")&&this._notifyPath("items."+e.__key__+"."+t.slice(this.as.leng th+1),n)},_forwardParentProp:function(e,t){for(var n,r=this._instances,s=0;s<r.l ength&&(n=r[s]);s++)n.isPlaceholder||n.__setProperty(e,t,!0)},_forwardParentPath :function(e,t){for(var n,r=this._instances,s=0;s<r.length&&(n=r[s]);s++)n.isPlac eholder||n._notifyPath(e,t,!0)},_forwardItemPath:function(e,t){if(this._keyToIns tIdx){var n=e.indexOf("."),r=e.substring(0,n<0?e.length:n),s=this._keyToInstIdx[ r],i=this._instances[s];i&&!i.isPlaceholder&&(n>=0?(e=this.as+"."+e.substring(n+ 1),i._notifyPath(e,t,!0)):i.__setProperty(this.as,t,!0))}},itemForElement:functi on(e){var t=this.modelForElement(e);return t&&t[this.as]},keyForElement:function (e){var t=this.modelForElement(e);return t&&t.__key__},indexForElement:function( e){var t=this.modelForElement(e);return t&&t[this.indexAs]}}),Polymer({is:"array -selector",_template:null,properties:{items:{type:Array,observer:"clearSelection "},multi:{type:Boolean,value:!1,observer:"clearSelection"},selected:{type:Object ,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}} ,clearSelection:function(){if(Array.isArray(this.selected))for(var e=0;e<this.se lected.length;e++)this.unlinkPaths("selected."+e);else this.unlinkPaths("selecte d"),this.unlinkPaths("selectedItem");this.multi?this.selected&&!this.selected.le ngth||(this.selected=[],this._selectedColl=Polymer.Collection.get(this.selected) ):(this.selected=null,this._selectedColl=null),this.selectedItem=null},isSelecte d:function(e){return this.multi?void 0!==this._selectedColl.getKey(e):this.selec ted==e},deselect:function(e){if(this.multi){if(this.isSelected(e)){var t=this._s electedColl.getKey(e);this.arrayDelete("selected",e),this.unlinkPaths("selected. "+t)}}else this.selected=null,this.selectedItem=null,this.unlinkPaths("selected" ),this.unlinkPaths("selectedItem")},select:function(e){var t=Polymer.Collection. get(this.items),n=t.getKey(e);if(this.multi)if(this.isSelected(e))this.toggle&&t his.deselect(e);else{this.push("selected",e);var r=this._selectedColl.getKey(e); this.linkPaths("selected."+r,"items."+n)}else this.toggle&&e==this.selected?this .deselect():(this.selected=e,this.selectedItem=e,this.linkPaths("selected","item s."+n),this.linkPaths("selectedItem","items."+n))}}),Polymer({is:"dom-if",extend s:"template",_template:null,properties:{if:{type:Boolean,value:!1,observer:"_que ueRender"},restamp:{type:Boolean,value:!1,observer:"_queueRender"}},behaviors:[P olymer.Templatizer],_queueRender:function(){this._debounceTemplate(this._render) },detached:function(){this.parentNode&&(this.parentNode.nodeType!=Node.DOCUMENT_ FRAGMENT_NODE||Polymer.Settings.hasShadow&&this.parentNode instanceof ShadowRoot )||this._teardownInstance()},attached:function(){this.if&&this.ctor&&this.async( this._ensureInstance)},render:function(){this._flushTemplates()},_render:functio n(){this.if?(this.ctor||this.templatize(this),this._ensureInstance(),this._showH ideChildren()):this.restamp&&this._teardownInstance(),!this.restamp&&this._insta nce&&this._showHideChildren(),this.if!=this._lastIf&&(this.fire("dom-change"),th is._lastIf=this.if)},_ensureInstance:function(){var e=Polymer.dom(this).parentNo de;if(e){var t=Polymer.dom(e);if(this._instance){var n=this._instance._children; if(n&&n.length){var r=Polymer.dom(this).previousSibling;if(r!==n[n.length-1])for (var s,i=0;i<n.length&&(s=n[i]);i++)t.insertBefore(s,this)}}else{this._instance= this.stamp();var o=this._instance.root;t.insertBefore(o,this)}}},_teardownInstan ce:function(){if(this._instance){var e=this._instance._children;if(e&&e.length)f or(var t,n=Polymer.dom(Polymer.dom(e[0]).parentNode),r=0;r<e.length&&(t=e[r]);r+ +)n.removeChild(t);this._instance=null}},_showHideChildren:function(){var e=this .__hideTemplateChildren__||!this.if;this._instance&&this._instance._showHideChil dren(e)},_forwardParentProp:function(e,t){this._instance&&this._instance.__setPr operty(e,t,!0)},_forwardParentPath:function(e,t){this._instance&&this._instance. _notifyPath(e,t,!0)}}),Polymer({is:"dom-bind",extends:"template",_template:null, created:function(){var e=this;Polymer.RenderStatus.whenReady(function(){"loading "==document.readyState?document.addEventListener("DOMContentLoaded",function(){e ._markImportsReady()}):e._markImportsReady()})},_ensureReady:function(){this._re adied||this._readySelf()},_markImportsReady:function(){this._importsReady=!0,thi s._ensureReady()},_registerFeatures:function(){this._prepConstructor()},_insertC hildren:function(){var e=Polymer.dom(Polymer.dom(this).parentNode);e.insertBefor e(this.root,this)},_removeChildren:function(){if(this._children)for(var e=0;e<th is._children.length;e++)this.root.appendChild(this._children[e])},_initFeatures: function(){},_scopeElementClass:function(e,t){return this.dataHost?this.dataHost ._scopeElementClass(e,t):t},_configureInstanceProperties:function(){},_prepConfi gure:function(){var e={};for(var t in this._propertyEffects)e[t]=this[t];var n=t his._setupConfigure;this._setupConfigure=function(){n.call(this,e)}},attached:fu nction(){this._importsReady&&this.render()},detached:function(){this._removeChil dren()},render:function(){this._ensureReady(),this._children||(this._template=th is,this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepC onfigure(),this._prepBindings(),this._prepPropertyInfo(),Polymer.Base._initFeatu res.call(this),this._children=Polymer.TreeApi.arrayCopyChildNodes(this.root)),th is._insertChildren(),this.fire("dom-change")}})</script> <script> window.Swarmin gBehaviors = window.SwarmingBehaviors || {};
5 (function(){ 5 (function(){
6 // This behavior wraps up all the shared swarming functionality. 6 // This behavior wraps up all the shared swarming functionality.
7 SwarmingBehaviors.CommonBehavior = { 7 SwarmingBehaviors.CommonBehavior = {
8 8
9 _botLink: function(bot_id) { 9 _botLink: function(bot_id) {
10 if (!bot_id) { 10 if (!bot_id) {
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 } 785 }
786 786
787 }); 787 });
788 })(); </script> </dom-module> <dom-module id="paper-button" assetpath="/res/im p/bower_components/paper-button/"> <template strip-whitespace=""> <style include ="paper-material-shared-styles">:host{@apply(--layout-inline);@apply(--layout-ce nter-center);position:relative;box-sizing:border-box;min-width:5.14em;margin:0 . 29em;background:0 0;-webkit-tap-highlight-color:transparent;-webkit-tap-highligh t-color:transparent;font:inherit;text-transform:uppercase;outline-width:0;border -radius:3px;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none; user-select:none;cursor:pointer;z-index:0;padding:.7em .57em;@apply(--paper-font -common-base);@apply(--paper-button)}:host([hidden]){display:none!important}:hos t([raised].keyboard-focus){font-weight:700;@apply(--paper-button-raised-keyboard -focus)}:host(:not([raised]).keyboard-focus){font-weight:700;@apply(--paper-butt on-flat-keyboard-focus)}:host([disabled]){background:#eaeaea;color:#a8a8a8;curso r:auto;pointer-events:none;@apply(--paper-button-disabled)}:host([animated]){@ap ply(--shadow-transition)}paper-ripple{color:var(--paper-button-ink-color)}</styl e> <content></content> </template> <script>Polymer({is:"paper-button",behaviors: [Polymer.PaperButtonBehavior],properties:{raised:{type:Boolean,reflectToAttribut e:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){th is.raised?Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this):this._ setElevation(0)}})</script> </dom-module> <script>Polymer.NeonAnimatableBehavior ={properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnim ationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type: String}},_entryAnimationChanged:function(){this.animationConfig=this.animationCo nfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exi tAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this. animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:func tion(i,n){for(var t in n)i[t]=n[t]},_cloneConfig:function(i){var n={isClone:!0}; return this._copyProperties(n,i),n},_getAnimationConfigRecursive:function(i,n,t) {if(this.animationConfig){if(this.animationConfig.value&&"function"==typeof this .animationConfig.value)return void this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));var o;if(o=i?this.animationConfig[i]:this.animationConfig,Arra y.isArray(o)||(o=[o]),o)for(var e,a=0;e=o[a];a++)if(e.animatable)e.animatable._g etAnimationConfigRecursive(e.type||i,n,t);else if(e.id){var r=n[e.id];r?(r.isClo ne||(n[e.id]=this._cloneConfig(r),r=n[e.id]),this._copyProperties(r,e)):n[e.id]= e}else t.push(e)}},getAnimationConfig:function(i){var n={},t=[];this._getAnimati onConfigRecursive(i,n,t);for(var o in n)t.push(n[o]);return t}}</script> <script >Polymer.NeonAnimationRunnerBehaviorImpl={_configureAnimations:function(n){var i =[];if(n.length>0)for(var e,t=0;e=n[t];t++){var o=document.createElement(e.name) ;if(o.isNeonAnimation){var a=null;try{a=o.configure(e),"function"!=typeof a.canc el&&(a=document.timeline.play(a))}catch(n){a=null,console.warn("Couldnt play","( ",e.name,").",n)}a&&i.push({neonAnimation:o,config:e,animation:a})}else console. warn(this.is+":",e.name,"not found!")}return i},_shouldComplete:function(n){for( var i=!0,e=0;e<n.length;e++)if("finished"!=n[e].animation.playState){i=!1;break} return i},_complete:function(n){for(var i=0;i<n.length;i++)n[i].neonAnimation.co mplete(n[i].config);for(var i=0;i<n.length;i++)n[i].animation.cancel()},playAnim ation:function(n,i){var e=this.getAnimationConfig(n);if(e){this._active=this._ac tive||{},this._active[n]&&(this._complete(this._active[n]),delete this._active[n ]);var t=this._configureAnimations(e);if(0==t.length)return void this.fire("neon -animation-finish",i,{bubbles:!1});this._active[n]=t;for(var o=0;o<t.length;o++) t[o].animation.onfinish=function(){this._shouldComplete(t)&&(this._complete(t),d elete this._active[n],this.fire("neon-animation-finish",i,{bubbles:!1}))}.bind(t his)}},cancelAnimation:function(){for(var n in this._animations)this._animations [n].cancel();this._animations={}}},Polymer.NeonAnimationRunnerBehavior=[Polymer. NeonAnimatableBehavior,Polymer.NeonAnimationRunnerBehaviorImpl]</script> <script >Polymer.PaperDialogBehaviorImpl={hostAttributes:{role:"dialog",tabindex:"-1"},p roperties:{modal:{type:Boolean,value:!1}},observers:["_modalChanged(modal, _read ied)"],listeners:{tap:"_onDialogClick"},ready:function(){this.__prevNoCancelOnOu tsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancel OnEscKey,this.__prevWithBackdrop=this.withBackdrop},_modalChanged:function(i,e){ e&&(i?(this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prev NoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop ,this.noCancelOnOutsideClick=!0,this.noCancelOnEscKey=!0,this.withBackdrop=!0):( this.noCancelOnOutsideClick=this.noCancelOnOutsideClick&&this.__prevNoCancelOnOu tsideClick,this.noCancelOnEscKey=this.noCancelOnEscKey&&this.__prevNoCancelOnEsc Key,this.withBackdrop=this.withBackdrop&&this.__prevWithBackdrop))},_updateClosi ngReasonConfirmed:function(i){this.closingReason=this.closingReason||{},this.clo singReason.confirmed=i},_onDialogClick:function(i){for(var e=Polymer.dom(i).path ,o=0;o<e.indexOf(this);o++){var t=e[o];if(t.hasAttribute&&(t.hasAttribute("dialo g-dismiss")||t.hasAttribute("dialog-confirm"))){this._updateClosingReasonConfirm ed(t.hasAttribute("dialog-confirm")),this.close(),i.stopPropagation();break}}}}, Polymer.PaperDialogBehavior=[Polymer.IronOverlayBehavior,Polymer.PaperDialogBeha viorImpl]</script> <dom-module id="paper-dialog-shared-styles" assetpath="/res/i mp/bower_components/paper-dialog-behavior/"> <template> <style>:host{display:blo ck;margin:24px 40px;background:var(--paper-dialog-background-color,--primary-bac kground-color);color:var(--paper-dialog-color,--primary-text-color);@apply(--pap er-font-body1);@apply(--shadow-elevation-16dp);@apply(--paper-dialog)}:host>::co ntent>*{margin-top:20px;padding:0 24px}:host>::content>.no-padding{padding:0}:ho st>::content>:first-child{margin-top:24px}:host>::content>:last-child{margin-bot tom:24px}:host>::content h2{position:relative;margin:0;@apply(--paper-font-title );@apply(--paper-dialog-title)}:host>::content .buttons{position:relative;paddin g:8px 8px 8px 24px;margin:0;color:var(--paper-dialog-button-color,--primary-colo r);@apply(--layout-horizontal);@apply(--layout-end-justified)}</style> </templat e> </dom-module> <dom-module id="paper-dialog" assetpath="/res/imp/bower_compone nts/paper-dialog/"> <template> <style include="paper-dialog-shared-styles"></sty le> <content></content> </template> </dom-module> <script>!function(){Polymer({i s:"paper-dialog",behaviors:[Polymer.PaperDialogBehavior,Polymer.NeonAnimationRun nerBehavior],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_rende rOpened:function(){this.cancelAnimation(),this.playAnimation("entry")},_renderCl osed:function(){this.cancelAnimation(),this.playAnimation("exit")},_onNeonAnimat ionFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderCl osed()}})}()</script> <script>Polymer.IronResizableBehavior={properties:{_parent Resizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant: {type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIron RequestResizeNotifications"},created:function(){this._interestedResizables=[],th is._boundNotifyResize=this.notifyResize.bind(this)},attached:function(){this.fir e("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}) ,this._parentResizable||(window.addEventListener("resize",this._boundNotifyResiz e),this.notifyResize())},detached:function(){this._parentResizable?this._parentR esizable.stopResizeNotificationsFor(this):window.removeEventListener("resize",th is._boundNotifyResize),this._parentResizable=null},notifyResize:function(){this. isAttached&&(this._interestedResizables.forEach(function(e){this.resizerShouldNo tify(e)&&this._notifyDescendant(e)},this),this._fireResize())},assignParentResiz able:function(e){this._parentResizable=e},stopResizeNotificationsFor:function(e) {var i=this._interestedResizables.indexOf(e);i>-1&&(this._interestedResizables.s plice(i,1),this.unlisten(e,"iron-resize","_onDescendantIronResize"))},resizerSho uldNotify:function(e){return!0},_onDescendantIronResize:function(e){return this. _notifyingDescendant?void e.stopPropagation():void(Polymer.Settings.useShadow||t his._fireResize())},_fireResize:function(){this.fire("iron-resize",null,{node:th is,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var i=e.path?e.pa th[0]:e.target;i!==this&&(this._interestedResizables.indexOf(i)===-1&&(this._int erestedResizables.push(i),this.listen(i,"iron-resize","_onDescendantIronResize") ),i.assignParentResizable(this),this._notifyDescendant(i),e.stopPropagation())}, _parentResizableChanged:function(e){e&&window.removeEventListener("resize",this. _boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notif yingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)}}</script> <dom -module id="neon-animated-pages" assetpath="/res/imp/bower_components/neon-anima tion/"> <template> <style>:host{display:block;position:relative}:host>::content> *{position:absolute;top:0;left:0;bottom:0;right:0}:host>::content>:not(.iron-sel ected):not(.neon-animating){display:none!important}:host>::content>.neon-animati ng{pointer-events:none}</style> <content id="content"></content> </template> </d om-module> <script>!function(){Polymer({is:"neon-animated-pages",behaviors:[Poly mer.IronResizableBehavior,Polymer.IronSelectableBehavior,Polymer.NeonAnimationRu nnerBehavior],properties:{activateEvent:{type:String,value:""},animateInitialSel ection:{type:Boolean,value:!1}},listeners:{"iron-select":"_onIronSelect","neon-a nimation-finish":"_onNeonAnimationFinish"},_onIronSelect:function(i){var e=i.det ail.item;if(!(this.items.indexOf(e)<0)){var t=this._valueToItem(this._prevSelect ed)||!1;if(this._prevSelected=this.selected,!t&&!this.animateInitialSelection)re turn void this._completeSelectedChanged();this.animationConfig=[],this.entryAnim ation?this.animationConfig.push({name:this.entryAnimation,node:e}):e.getAnimatio nConfig&&this.animationConfig.push({animatable:e,type:"entry"}),t&&(t.classList. contains("neon-animating")&&(this._squelchNextFinishEvent=!0,this.cancelAnimatio n(),this._completeSelectedChanged(),this._squelchNextFinishEvent=!1),this.exitAn imation?this.animationConfig.push({name:this.exitAnimation,node:t}):t.getAnimati onConfig&&this.animationConfig.push({animatable:t,type:"exit"}),t.classList.add( "neon-animating")),e.classList.add("neon-animating"),this.animationConfig.length >=1?this.isAttached?this.playAnimation(void 0,{fromPage:t,toPage:e}):this.async( function(){this.playAnimation(void 0,{fromPage:null,toPage:e})}):this._completeS electedChanged(t,e)}},_completeSelectedChanged:function(i,e){if(e&&e.classList.r emove("neon-animating"),i&&i.classList.remove("neon-animating"),!e||!i)for(var t ,n=Polymer.dom(this.$.content).getDistributedNodes(),a=0;t=n[a];a++)t.classList& &t.classList.remove("neon-animating");this.async(this._notifyPageResize)},_onNeo nAnimationFinish:function(i){return this._squelchNextFinishEvent?void(this._sque lchNextFinishEvent=!1):void this._completeSelectedChanged(i.detail.fromPage,i.de tail.toPage)},_notifyPageResize:function(){var i=this.selectedItem||this._valueT oItem(this.selected);this.resizerShouldNotify=function(e){return e==i},this.noti fyResize()}})}()</script> <dom-module id="neon-animatable" assetpath="/res/imp/b ower_components/neon-animation/"> <template> <style>:host{display:block}</style> <content></content> </template> </dom-module> <script>Polymer({is:"neon-animata ble",behaviors:[Polymer.NeonAnimatableBehavior,Polymer.IronResizableBehavior]})< /script> <script>Polymer.NeonAnimationBehavior={properties:{animationTiming:{typ e:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},isNeonAnimation:!0,timingFromConfig:function(i){if(i.timing) for(var n in i.timing)this.animationTiming[n]=i.timing[n];return this.animationT iming},setPrefixedProperty:function(i,n,r){for(var t,o={transform:["webkitTransf orm"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]},e=o[n],m=0 ;t=e[m];m++)i.style[t]=r;i.style[n]=r},complete:function(){}}</script> <script>! function(a,b){var c={},d={},e={},f=null;!function(t,e){function i(t){if("number" ==typeof t)return t;var e={};for(var i in t)e[i]=t[i];return e}function n(){this ._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterat ions=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easi ng="linear",this._easingFunction=E}function r(){return t.isDeprecated("Invalid t iming inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}fu nction o(e,i,r){var o=new n;return i&&(o.fill="both",o.duration="auto"),"number" !=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function( i){if("auto"!=e[i]){if(("number"==typeof o[i]||"duration"==i)&&("number"!=typeof e[i]||isNaN(e[i])))return;if("fill"==i&&w.indexOf(e[i])==-1)return;if("directio n"==i&&T.indexOf(e[i])==-1)return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated ("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate i nstead."))return;o[i]=e[i]}}):o.duration=e,o}function a(t){return"number"==typeo f t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function s(e,i){return e=t.numeric TimingToObject(e),o(e,i)}function u(t,e,i,n){return t<0||t>1||i<0||i>1?E:functio n(r){function o(t,e,i){return 3*t*(1-i)*(1-i)*i+3*e*(1-i)*i*i+i*i*i}if(r<=0){var a=0;return t>0?a=e/t:!e&&i>0&&(a=n/i),a*r}if(r>=1){var s=0;return i<1?s=(n-1)/( i-1):1==i&&t<1&&(s=(e-1)/(t-1)),1+s*(r-1)}for(var u=0,c=1;u<c;){var f=(u+c)/2,l= o(t,i,f);if(Math.abs(r-l)<1e-5)return o(e,n,f);l<r?u=f:c=f}return o(e,n,f)}}func tion c(t,e){return function(i){if(i>=1)return 1;var n=1/t;return i+=e*n,i-i%n}}f unction f(t){R||(R=document.createElement("div").style),R.animationTimingFunctio n="",R.animationTimingFunction=t;var e=R.animationTimingFunction;if(""==e&&r())t hrow new TypeError(t+" is not a valid value for easing");return e}function l(t){ if("linear"==t)return E;var e=O.exec(t);if(e)return u.apply(this,e.slice(1).map( Number));var i=k.exec(t);if(i)return c(Number(i[1]),{start:x,middle:A,end:P}[i[2 ]]);var n=j[t];return n?n:E}function h(t){return Math.abs(m(t)/t.playbackRate)}f unction m(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}f unction d(t,e,i){if(null==e)return S;var n=i.delay+t+i.endDelay;return e<Math.mi n(i.delay,n)?C:e>=Math.min(i.delay+t,n)?D:F}function p(t,e,i,n,r){switch(n){case C:return"backwards"==e||"both"==e?0:null;case F:return i-r;case D:return"forwar ds"==e||"both"==e?t:null;case S:return null}}function _(t,e,i,n,r){var o=r;retur n 0===t?e!==C&&(o+=i):o+=n/t,o}function g(t,e,i,n,r,o){var a=t===1/0?e%1:t%1;ret urn 0!==a||i!==D||0===n||0===r&&0!==o||(a=1),a}function b(t,e,i,n){return t===D& &e===1/0?1/0:1===i?Math.floor(n)-1:Math.floor(n)}function v(t,e,i){var n=t;if("n ormal"!==t&&"reverse"!==t){var r=e;"alternate-reverse"===t&&(r+=1),n="normal",r! ==1/0&&r%2!==0&&(n="reverse")}return"normal"===n?i:1-i}function y(t,e,i){var n=d (t,e,i),r=p(t,i.fill,e,n,i.delay);if(null===r)return null;var o=_(i.duration,n,i .iterations,r,i.iterationStart),a=g(o,i.iterationStart,n,i.iterations,r,i.durati on),s=b(n,i.iterations,a,o),u=v(i.direction,s,a);return i._easingFunction(u)}var w="backwards|forwards|both|none".split("|"),T="reverse|alternate|alternate-reve rse".split("|"),E=function(t){return t};n.prototype={_setMember:function(e,i){th is["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t .normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.c alculateActiveDuration(this._effect._timing),this._effect._animation&&this._effe ct._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._pl aybackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._de lay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._ endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},s et iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMemb er("iterationStart",t)},get iterationStart(){return this._iterationStart},set du ration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get durat ion(){return this._duration},set direction(t){this._setMember("direction",t)},ge t direction(){return this._direction},set easing(t){this._easingFunction=l(f(t)) ,this._setMember("easing",t)},get easing(){return this._easing},set iterations(t ){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._it erations}};var x=1,A=.5,P=0,j={ease:u(.25,.1,.25,1),"ease-in":u(.42,0,1,1),"ease -out":u(0,0,.58,1),"ease-in-out":u(.42,0,.58,1),"step-start":c(1,x),"step-middle ":c(1,A),"step-end":c(1,P)},R=null,N="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",O=new RegExp("cubic-bezier\\("+N+","+N+","+N+","+N+"\\)"),k=/steps\(\s*(\d+)\s*,\s*(st art|middle|end)\s*\)/,S=0,C=1,D=2,F=3;t.cloneTimingInput=i,t.makeTiming=o,t.nume ricTimingToObject=a,t.normalizeTimingInput=s,t.calculateActiveDuration=h,t.calcu lateIterationProgress=y,t.calculatePhase=d,t.normalizeEasing=f,t.parseEasingFunc tion=l}(c,f),function(t,e){function i(t,e){return t in f?f[t][e]||e:e}function n (t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("tr ansition",0)}function r(t,e,r){if(!n(t)){var o=s[t];if(o){u.style[t]=e;for(var a in o){var c=o[a],f=u.style[c];r[c]=i(c,f)}}else r[t]=i(t,e)}}function o(t){var e=[];for(var i in t)if(!(i in["easing","offset","composite"])){var n=t[i];Array. isArray(n)||(n=[n]);for(var r,o=n.length,a=0;a<o;a++)r={},"offset"in t?r.offset= t.offset:1==o?r.offset=1:r.offset=a/(o-1),"easing"in t&&(r.easing=t.easing),"com posite"in t&&(r.composite=t.composite),r[i]=n[a],e.push(r)}return e.sort(functio n(t,e){return t.offset-e.offset}),e}function a(e){function i(){var t=n.length;nu ll==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for (var e=0,i=n[0].offset,r=1;r<t;r++){var o=n[r].offset;if(null!=o){for(var a=1;a< r-e;a++)n[e+a].offset=i+(o-i)*a/(r-e);e=r,i=o}}}if(null==e)return[];window.Symbo l&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)), Array.isArray(e)||(e=o(e));for(var n=e.map(function(e){var i={};for(var n in e){ var o=e[n];if("offset"==n){if(null!=o){if(o=Number(o),!isFinite(o))throw new Typ eError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Key frame offsets must be between 0 and 1.")}}else if("composite"==n){if("add"==o||" accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError ",message:"add compositing is not supported"};if("replace"!=o)throw new TypeErro r("Invalid composite mode "+o+".")}else o="easing"==n?t.normalizeEasing(o):""+o; r(n,o,i)}return void 0==i.offset&&(i.offset=null),void 0==i.easing&&(i.easing="l inear"),i}),a=!0,s=-(1/0),u=0;u<n.length;u++){var c=n[u].offset;if(null!=c){if(c <s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or spec ify offsets.");s=c}else a=!1}return n=n.filter(function(t){return t.offset>=0&&t .offset<=1}),a||i(),n}var s={background:["backgroundImage","backgroundPosition", "backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","b ackgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","bor derTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBot tomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftS tyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle"," borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBott omColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","bor derLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borde rBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","b orderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle ","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBott omWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fo ntFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin :["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor" ,"outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBot tom","paddingLeft"]},u=document.createElementNS("http://www.w3.org/1999/xhtml"," div"),c={thin:"1px",medium:"3px",thick:"5px"},f={borderBottomWidth:c,borderLeftW idth:c,borderRightWidth:c,borderTopWidth:c,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:c,textShadow:{none:"0px 0px 0 px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArra yForm=o,t.normalizeKeyframes=a}(c,f),function(t){var e={};t.isDeprecated=functio n(t,i,n,r){var o=r?"are":"is",a=new Date,s=new Date(i);return s.setMonth(s.getMo nth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated an d will stop working on "+s.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=func tion(e,i,n,r){var o=r?"are":"is";if(t.isDeprecated(e,i,n,r))throw new Error(e+" "+o+" no longer supported. "+n)}}(c),function(){if(document.documentElement.anim ate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|current Time|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").fo rEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e,i){function n (t){for(var e={},i=0;i<t.length;i++)for(var n in t[i])if("offset"!=n&&"easing"!= n&&"composite"!=n){var r={offset:t[i].offset,easing:t[i].easing,value:t[i][n]};e [n]=e[n]||[],e[n].push(r)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.l ength-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedErro r",message:"Partial keyframes are not supported"}}return e}function r(i){var n=[ ];for(var r in i)for(var o=i[r],a=0;a<o.length-1;a++){var s=a,u=a+1,c=o[s].offse t,f=o[u].offset,l=c,h=f;0==a&&(l=-(1/0),0==f&&(u=s)),a==o.length-2&&(h=1/0,1==c& &(s=u)),n.push({applyFrom:l,applyTo:h,startOffset:o[s].offset,endOffset:o[u].off set,easingFunction:t.parseEasingFunction(o[s].easing),property:r,interpolation:e .propertyInterpolation(r,o[s].value,o[u].value)})}return n.sort(function(t,e){re turn t.startOffset-e.startOffset}),n}e.convertEffectInput=function(i){var o=t.no rmalizeKeyframes(i),a=n(o),s=r(a);return function(t,i){if(null!=i)s.filter(funct ion(t){return i>=t.applyFrom&&i<t.applyTo}).forEach(function(n){var r=i-n.startO ffset,o=n.endOffset-n.startOffset,a=0==o?0:n.easingFunction(r/o);e.apply(t,n.pro perty,n.interpolation(a))});else for(var n in a)"offset"!=n&&"easing"!=n&&"compo site"!=n&&e.clear(t,n)}}}(c,d,f),function(t,e,i){function n(t){return t.replace( /-(.)/g,function(t,e){return e.toUpperCase()})}function r(t,e,i){s[i]=s[i]||[],s [i].push([t,e])}function o(t,e,i){for(var o=0;o<i.length;o++){var a=i[o];r(t,e,n (a))}}function a(i,r,o){var a=i;/-/.test(i)&&!t.isDeprecated("Hyphenated propert y names","2016-03-22","Use camelCase instead.",!0)&&(a=n(i)),"initial"!=r&&"init ial"!=o||("initial"==r&&(r=u[a]),"initial"==o&&(o=u[a]));for(var c=r==o?[]:s[a], f=0;c&&f<c.length;f++){var l=c[f][0](r),h=c[f][0](o);if(void 0!==l&&void 0!==h){ var m=c[f][1](l,h);if(m){var d=e.Interpolation.apply(null,m);return function(t){ return 0==t?r:1==t?o:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?o :r})}var s={};e.addPropertiesHandler=o;var u={backgroundColor:"transparent",back groundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:" 0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"curr entColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth :"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0p x",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",le ft:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft :"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHei ght:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px" ,outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",pad dingTop:"0px",right:"auto",textIndent:"0px",textShadow:"0px 0px 0px transparent" ,top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",w ordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=a}(c,d,f),function(t, e,i){function n(e){var i=t.calculateActiveDuration(e),n=function(n){return t.cal culateIterationProgress(i,n,e)};return n._totalDuration=e.delay+i+e.endDelay,n}e .KeyframeEffect=function(i,r,o,a){var s,u=n(t.normalizeTimingInput(o)),c=e.conve rtEffectInput(r),f=function(){c(i,s)};return f._update=function(t){return s=u(t) ,null!==s},f._clear=function(){c(i,null)},f._hasSameTarget=function(t){return i= ==t},f._target=i,f._totalDuration=u._totalDuration,f._id=a,f},e.NullEffect=funct ion(t){var e=function(){t&&(t(),t=null)};return e._update=function(){return null },e._totalDuration=0,e._hasSameTarget=function(){return!1},e}}(c,d,f),function(t ,e){t.apply=function(e,i,n){e.style[t.propertyName(i)]=n},t.clear=function(e,i){ e.style[t.propertyName(i)]=""}}(d,f),function(t){window.Element.prototype.animat e=function(e,i){var n="";return i&&i.id&&(n=i.id),t.timeline._play(t.KeyframeEff ect(this,e,i,n))}}(d),function(t,e){function i(t,e,n){if("number"==typeof t&&"nu mber"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)r eturn n<.5?t:e;if(t.length==e.length){for(var r=[],o=0;o<t.length;o++)r.push(i(t [o],e[o],n));return r}throw"Mismatched interpolation arguments "+t+":"+e}t.Inter polation=function(t,e,n){return function(r){return n(i(t,e,r))}}}(d,f),function( t,e,i){t.sequenceNumber=0;var n=function(t,e,i){this.target=t,this.currentTime=e ,this.timelineTime=i,this.type="finish",this.bubbles=!1,this.cancelable=!1,this. currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.ti meStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id) ,this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=nul l,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0 ,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._ effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototy pe={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEf fect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTi me),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0, e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._curr entTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._pla ybackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){retur n this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t ){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startT ime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1 ,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCu rrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._st artTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startT ime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.pl aybackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._play backRate},set playbackRate(t){if(t!=this._playbackRate){var i=this.currentTime;t his._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this. playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirti edAnimation(this)),null!=i&&(this.currentTime=i)}},get _isFinished(){return!this ._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._pla ybackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._to talDuration},get playState(){return this._idle?"idle":null==this._startTime&&!th is._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._pause d?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._pl aybackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new D OMException("Unable to rewind negative playback rate animation with infinite dur ation","InvalidStateError");this._currentTime=this._totalDuration}},play:functio n(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startT ime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtied Animation(this)},pause:function(){this._isFinished||this._paused||this._idle?thi s._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startT ime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._ playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.cu rrentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:fun ction(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._i sFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this ._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.p laybackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e &&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){i f("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers. splice(i,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFla g){var e=new n(this,this._currentTime,t),i=this._finishHandlers.concat(this.onfi nish?[this.onfinish]:[]);setTimeout(function(){i.forEach(function(t){t.call(e.ta rget,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function( t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this. _currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this. _startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents (t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._fin ishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._act iveAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:functio n(){var t=this._targetAnimations();t.indexOf(this)===-1&&t.push(this)},_unmarkTa rget:function(){var t=this._targetAnimations(),e=t.indexOf(this);e!==-1&&t.splic e(e,1)}}}(c,d,f),function(t,e,i){function n(t){var e=c;c=[],t<_.currentTime&&(t= _.currentTime),_._animations.sort(r),_._animations=s(t,!0,_._animations)[0],e.fo rEach(function(e){e[1](t)}),a(),l=void 0}function r(t,e){return t._sequenceNumbe r-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.per formance&&performance.now?performance.now():0}function a(){d.forEach(function(t) {t()}),d.length=0}function s(t,i,n){p=!0,m=!1;var r=e.timeline;r.currentTime=t,h =!1;var o=[],a=[],s=[],u=[];return n.forEach(function(e){e._tick(t,i),e._inEffec t?(a.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._n eedsTick&&(h=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):u.p ush(e)}),d.push.apply(d,o),d.push.apply(d,a),h&&requestAnimationFrame(function() {}),p=!1,[s,u]}var u=window.requestAnimationFrame,c=[],f=0;window.requestAnimati onFrame=function(t){var e=f++;return 0==c.length&&u(n),c.push([e,t]),e},window.c ancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){ })})},o.prototype={_play:function(i){i._timing=t.normalizeTimingInput(i.timing); var n=new e.Animation(i);return n._idle=!1,n._timeline=this,this._animations.pus h(n),e.restart(),e.applyDirtiedAnimation(n),n}};var l=void 0,h=!1,m=!1;e.restart =function(){return h||(h=!0,requestAnimationFrame(function(){}),m=!0),m},e.apply DirtiedAnimation=function(t){if(!p){t._markTarget();var i=t._targetAnimations(); i.sort(r);var n=s(e.timeline.currentTime,!1,i.slice())[1];n.forEach(function(t){ var e=_._animations.indexOf(t);e!==-1&&_._animations.splice(e,1)}),a()}};var d=[ ],p=!1,_=new o;e.timeline=_}(c,d,f),function(t){function e(t,e){var i=t.exec(e); if(i)return i=t.ignoreCase?i[0].toLowerCase():i[0],[i,e.substr(i.length)]}functi on i(t,e){e=e.replace(/^\s*/,"");var i=t(e);if(i)return[i[0],i[1].replace(/^\s*/ ,"")]}function n(t,n,r){t=i.bind(null,t);for(var o=[];;){var a=t(r);if(!a)return [o,r];if(o.push(a[0]),r=a[1],a=e(n,r),!a||""==a[1])return[o,r];r=a[1]}}function r(t,e){for(var i=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=i);n++)if("("==e[n])i ++;else if(")"==e[n]&&(i--,0==i&&n++,i<=0))break;var r=t(e.substr(0,n));return v oid 0==r?void 0:[r,e.substr(n)]}function o(t,e){for(var i=t,n=e;i&&n;)i>n?i%=n:n %=i;return i=t*e/(i+n)}function a(t){return function(e){var i=t(e);return i&&(i[ 0]=void 0),i}}function s(t,e){return function(i){var n=t(i);return n?n:[e,i]}}fu nction u(e,i){for(var n=[],r=0;r<e.length;r++){var o=t.consumeTrimmed(e[r],i);if (!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),i=o[1]}if(""==i)return n}functi on c(t,e,i,n,r){for(var a=[],s=[],u=[],c=o(n.length,r.length),f=0;f<c;f++){var l =e(n[f%n.length],r[f%r.length]);if(!l)return;a.push(l[0]),s.push(l[1]),u.push(l[ 2])}return[a,s,function(e){var n=e.map(function(t,e){return u[e](t)}).join(i);re turn t?t(n):n}]}function f(t,e,i){for(var n=[],r=[],o=[],a=0,s=0;s<i.length;s++) if("function"==typeof i[s]){var u=i[s](t[a],e[a++]);n.push(u[0]),r.push(u[1]),o. push(u[2])}else!function(t){n.push(!1),r.push(!1),o.push(function(){return i[t]} )}(s);return[n,r,function(t){for(var e="",i=0;i<t.length;i++)e+=o[i](t[i]);retur n e}]}t.consumeToken=e,t.consumeTrimmed=i,t.consumeRepeated=n,t.consumeParenthes ised=r,t.ignore=a,t.optional=s,t.consumeList=u,t.mergeNestedRepeated=c.bind(null ,null),t.mergeWrappedNestedRepeated=c,t.mergeList=f}(d),function(t){function e(e ){function i(e){var i=t.consumeToken(/^inset/i,e);if(i)return n.inset=!0,i;var i =t.consumeLengthOrPercent(e);if(i)return n.lengths.push(i[0]),i;var i=t.consumeC olor(e);return i?(n.color=i[0],i):void 0}var n={inset:!1,lengths:[],color:null}, r=t.consumeRepeated(i,/^/,e);if(r&&r[0].length)return[n,r[1]]}function i(i){var n=t.consumeRepeated(e,/^,/,i);if(n&&""==n[1])return n[0]}function n(e,i){for(;e. lengths.length<Math.max(e.lengths.length,i.lengths.length);)e.lengths.push({px:0 });for(;i.lengths.length<Math.max(e.lengths.length,i.lengths.length);)i.lengths. push({px:0});if(e.inset==i.inset&&!!e.color==!!i.color){for(var n,r=[],o=[[],0], a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],i.leng ths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),r.push(u[2])}if(e.color&&i.color){v ar c=t.mergeColors(e.color,i.color);o[1]=c[0],a[1]=c[1],n=c[2]}return[o,a,functi on(t){for(var i=e.inset?"inset ":" ",o=0;o<r.length;o++)i+=r[o](t[0][o])+" ";ret urn n&&(i+=n(t[1])),i}]}}function r(e,i,n,r){function o(t){return{inset:t,color: [0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<n.lengt h||u<r.length;u++){var c=n[u]||o(r[u].inset),f=r[u]||o(n[u].inset);a.push(c),s.p ush(f)}return t.mergeNestedRepeated(e,i,a,s)}var o=r.bind(null,n,", ");t.addProp ertiesHandler(i,o,["box-shadow","text-shadow"])}(d),function(t,e){function i(t){ return t.toFixed(3).replace(".000","")}function n(t,e,i){return Math.min(e,Math. max(t,i))}function r(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}f unction o(t,e){return[t,e,i]}function a(t,e){if(0!=t)return u(0,1/0)(t,e)}functi on s(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]}function u(t,e) {return function(r,o){return[r,o,function(r){return i(n(t,e,r))}]}}function c(t, e){return[t,e,Math.round]}t.clamp=n,t.addPropertiesHandler(r,u(0,1/0),["border-i mage-width","line-height"]),t.addPropertiesHandler(r,u(0,1),["opacity","shape-im age-threshold"]),t.addPropertiesHandler(r,a,["flex-grow","flex-shrink"]),t.addPr opertiesHandler(r,s,["orphans","widows"]),t.addPropertiesHandler(r,c,["z-index"] ),t.parseNumber=r,t.mergeNumbers=o,t.numberToString=i}(d,f),function(t,e){functi on i(t,e){if("visible"==t||"visible"==e)return[0,1,function(i){return i<=0?t:i>= 1?e:"visible"}]}t.addPropertiesHandler(String,i,["visibility"])}(d),function(t,e ){function i(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if (o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var i=o.ge tImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=i[3]/255;return[i[0]*n,i[1]* n,i[2]*n,n]}}function n(e,i){return[e,i,function(e){function i(t){return Math.ma x(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(i(e[n]/e[3]));r eturn e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var r=d ocument.createElementNS("http://www.w3.org/1999/xhtml","canvas");r.width=r.heigh t=1;var o=r.getContext("2d");t.addPropertiesHandler(i,n,["background-color","bor der-bottom-color","border-left-color","border-right-color","border-top-color","c olor","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthe sised.bind(null,i),t.mergeColors=n}(d,f),function(a,b){function c(a,b){if(b=b.tr im().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.tes t(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]= null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").re place(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;g<f.length;)f[g].test(e)?( e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace( new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))retur n;c[h]=i}return c}}}function d(t,i){return e(t,i,!0)}function e(t,e,i){var n,r=[ ];for(n in t)r.push(n);for(n in e)r.indexOf(n)<0&&r.push(n);return t=r.map(funct ion(e){return t[e]||0}),e=r.map(function(t){return e[t]||0}),[t,e,function(t){va r e=t.map(function(e,n){return 1==t.length&&i&&(e=Math.max(e,0)),a.numberToStrin g(e)+r[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|r em|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(nul l,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(t){var e=l(t);if(e&&""==e[1])return e[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","bord er-left-width","border-right-width","border-top-width","flex-basis","font-size", "height","line-height","max-height","max-width","outline-width","width"]),a.addP ropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius"," border-top-left-radius","border-top-right-radius","bottom","left","letter-spacin g","margin-bottom","margin-left","margin-right","margin-top","min-height","min-w idth","outline-offset","padding-bottom","padding-left","padding-right","padding- top","perspective","right","shape-margin","text-indent","top","vertical-align"," word-spacing"])}(d,f),function(t,e){function i(e){return t.consumeLengthOrPercen t(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.co nsumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consu meRepeated.bind(null,i,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n& &4==n[0].length)return n[0]}function r(e,i){return"auto"==e||"auto"==i?[!0,!1,fu nction(n){var r=n?e:i;if("auto"==r)return"auto";var o=t.mergeDimensions(r,r);ret urn o[2](o[0])}]:t.mergeDimensions(e,i)}function o(t){return"rect("+t+")"}var a= t.mergeWrappedNestedRepeated.bind(null,o,r,", ");t.parseBox=n,t.mergeBoxes=a,t.a ddPropertiesHandler(n,a,["clip"])}(d,f),function(t,e){function i(t){return funct ion(e){var i=0;return t.map(function(t){return t===f?e[i++]:t})}}function n(t){r eturn t}function r(e){if(e=e.toLowerCase().trim(),"none"==e)return[];for(var i,n =/\s*(\w+)\(([^)]*)\)/g,r=[],o=0;i=n.exec(e);){if(i.index!=o)return;o=i.index+i[ 0].length;var a=i[1],s=m[a];if(!s)return;var u=i[2].split(","),c=s[0];if(c.lengt h<u.length)return;for(var f=[],d=0;d<c.length;d++){var p,_=u[d],g=c[d];if(p=_?{A :function(e){return"0"==e.trim()?h:t.parseAngle(e)},N:t.parseNumber,T:t.parseLen gthOrPercent,L:t.parseLength}[g.toUpperCase()](_):{a:h,n:f[0],t:l}[g],void 0===p )return;f.push(p)}if(r.push({t:a,d:f}),n.lastIndex==e.length)return r}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,i){if(e.decompositio nPair!==i){e.decompositionPair=i;var n=t.makeMatrixDecomposition(e)}if(i.decompo sitionPair!==e){i.decompositionPair=e;var r=t.makeMatrixDecomposition(i)}return null==n[0]||null==r[0]?[[!1],[!0],function(t){return t?i[0].d:e[0].d}]:(n[0].pus h(0),r[0].push(1),[n,r,function(e){var i=t.quat(n[0][3],r[0][3],e[5]),a=t.compos eMatrix(e[0],e[1],e[2],i,e[4]),s=a.map(o).join(",");return s}])}function s(t){re turn t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}fu nction c(e,i){var n=t.makeMatrixDecomposition&&!0,r=!1;if(!e.length||!i.length){ e.length||(r=!0,e=i,i=[]);for(var o=0;o<e.length;o++){var c=e[o].t,f=e[o].d,l="s cale"==c.substr(0,5)?1:0;i.push({t:c,d:f.map(function(t){if("number"==typeof t)r eturn l;var e={};for(var i in t)e[i]=l;return e})})}}var h=function(t,e){return" perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||" matrix3d"==e)},d=[],p=[],_=[];if(e.length!=i.length){if(!n)return;var g=a(e,i);d =[g[0]],p=[g[1]],_=[["matrix",[g[2]]]]}else for(var o=0;o<e.length;o++){var c,b= e[o].t,v=i[o].t,y=e[o].d,w=i[o].d,T=m[b],E=m[v];if(h(b,v)){if(!n)return;var g=a( [e[o]],[i[o]]);d.push(g[0]),p.push(g[1]),_.push(["matrix",[g[2]]])}else{if(b==v) c=b;else if(T[2]&&E[2]&&s(b)==s(v))c=s(b),y=T[2](y),w=E[2](w);else{if(!T[1]||!E[ 1]||u(b)!=u(v)){if(!n)return;var g=a(e,i);d=[g[0]],p=[g[1]],_=[["matrix",[g[2]]] ];break}c=u(b),y=T[1](y),w=E[1](w)}for(var x=[],A=[],P=[],j=0;j<y.length;j++){va r R="number"==typeof y[j]?t.mergeNumbers:t.mergeDimensions,g=R(y[j],w[j]);x[j]=g [0],A[j]=g[1],P.push(g[2])}d.push(x),p.push(A),_.push([c,P])}}if(r){var N=d;d=p, p=N}return[d,p,function(t){return t.map(function(t,e){var i=t.map(function(t,i){ return _[e][1][i](t)}).join(",");return"matrix"==_[e][0]&&16==i.split(",").lengt h&&(_[e][0]="matrix3d"),_[e][0]+"("+i+")"}).join(" ")}]}var f=null,l={px:0},h={d eg:0},m={matrix:["NNNNNN",[f,f,0,0,f,f,0,0,0,0,1,0,f,f,0,1],n],matrix3d:["NNNNNN NNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:[ "NNNA"],perspective:["L"],scale:["Nn",i([f,f,1]),n],scalex:["N",i([f,1,1]),i([f, 1])],scaley:["N",i([1,f,1]),i([1,f])],scalez:["N",i([1,1,f])],scale3d:["NNN",n], skew:["Aa",null,n],skewx:["A",null,i([f,h])],skewy:["A",null,i([h,f])],translate :["Tt",i([f,f,l]),n],translatex:["T",i([f,l,l]),i([f,l])],translatey:["T",i([l,f ,l]),i([l,f])],translatez:["L",i([l,l,f])],translate3d:["TTL",n]};t.addPropertie sHandler(r,c,["transform"])}(d,f),function(t,e){function i(t,e){e.concat([t]).fo rEach(function(e){e in document.documentElement.style&&(n[t]=e)})}var n={};i("tr ansform",["webkitTransform","msTransform"]),i("transformOrigin",["webkitTransfor mOrigin"]),i("perspective",["webkitPerspective"]),i("perspectiveOrigin",["webkit PerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t}}(d,f)}(),!functi on(){if(void 0===document.createElement("div").animate([]).oncancel){var t;if(wi ndow.performance&&performance.now)var t=function(){return performance.now()};els e var t=function(){return Date.now()};var e=function(t,e,i){this.target=t,this.c urrentTime=e,this.timelineTime=i,this.type="cancel",this.bubbles=!1,this.cancela ble=!1, 788 })(); </script> </dom-module> <dom-module id="paper-button" assetpath="/res/im p/bower_components/paper-button/"> <template strip-whitespace=""> <style include ="paper-material-shared-styles">:host{@apply(--layout-inline);@apply(--layout-ce nter-center);position:relative;box-sizing:border-box;min-width:5.14em;margin:0 . 29em;background:0 0;-webkit-tap-highlight-color:transparent;-webkit-tap-highligh t-color:transparent;font:inherit;text-transform:uppercase;outline-width:0;border -radius:3px;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none; user-select:none;cursor:pointer;z-index:0;padding:.7em .57em;@apply(--paper-font -common-base);@apply(--paper-button)}:host([hidden]){display:none!important}:hos t([raised].keyboard-focus){font-weight:700;@apply(--paper-button-raised-keyboard -focus)}:host(:not([raised]).keyboard-focus){font-weight:700;@apply(--paper-butt on-flat-keyboard-focus)}:host([disabled]){background:#eaeaea;color:#a8a8a8;curso r:auto;pointer-events:none;@apply(--paper-button-disabled)}:host([animated]){@ap ply(--shadow-transition)}paper-ripple{color:var(--paper-button-ink-color)}</styl e> <content></content> </template> <script>Polymer({is:"paper-button",behaviors: [Polymer.PaperButtonBehavior],properties:{raised:{type:Boolean,reflectToAttribut e:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){th is.raised?Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this):this._ setElevation(0)}})</script> </dom-module> <script>Polymer.NeonAnimatableBehavior ={properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnim ationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type: String}},_entryAnimationChanged:function(){this.animationConfig=this.animationCo nfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exi tAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this. animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:func tion(i,n){for(var t in n)i[t]=n[t]},_cloneConfig:function(i){var n={isClone:!0}; return this._copyProperties(n,i),n},_getAnimationConfigRecursive:function(i,n,t) {if(this.animationConfig){if(this.animationConfig.value&&"function"==typeof this .animationConfig.value)return void this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));var o;if(o=i?this.animationConfig[i]:this.animationConfig,Arra y.isArray(o)||(o=[o]),o)for(var e,a=0;e=o[a];a++)if(e.animatable)e.animatable._g etAnimationConfigRecursive(e.type||i,n,t);else if(e.id){var r=n[e.id];r?(r.isClo ne||(n[e.id]=this._cloneConfig(r),r=n[e.id]),this._copyProperties(r,e)):n[e.id]= e}else t.push(e)}},getAnimationConfig:function(i){var n={},t=[];this._getAnimati onConfigRecursive(i,n,t);for(var o in n)t.push(n[o]);return t}}</script> <script >Polymer.NeonAnimationRunnerBehaviorImpl={_configureAnimations:function(n){var i =[];if(n.length>0)for(var e,t=0;e=n[t];t++){var o=document.createElement(e.name) ;if(o.isNeonAnimation){var a=null;try{a=o.configure(e),"function"!=typeof a.canc el&&(a=document.timeline.play(a))}catch(n){a=null,console.warn("Couldnt play","( ",e.name,").",n)}a&&i.push({neonAnimation:o,config:e,animation:a})}else console. warn(this.is+":",e.name,"not found!")}return i},_shouldComplete:function(n){for( var i=!0,e=0;e<n.length;e++)if("finished"!=n[e].animation.playState){i=!1;break} return i},_complete:function(n){for(var i=0;i<n.length;i++)n[i].neonAnimation.co mplete(n[i].config);for(var i=0;i<n.length;i++)n[i].animation.cancel()},playAnim ation:function(n,i){var e=this.getAnimationConfig(n);if(e){this._active=this._ac tive||{},this._active[n]&&(this._complete(this._active[n]),delete this._active[n ]);var t=this._configureAnimations(e);if(0==t.length)return void this.fire("neon -animation-finish",i,{bubbles:!1});this._active[n]=t;for(var o=0;o<t.length;o++) t[o].animation.onfinish=function(){this._shouldComplete(t)&&(this._complete(t),d elete this._active[n],this.fire("neon-animation-finish",i,{bubbles:!1}))}.bind(t his)}},cancelAnimation:function(){for(var n in this._animations)this._animations [n].cancel();this._animations={}}},Polymer.NeonAnimationRunnerBehavior=[Polymer. NeonAnimatableBehavior,Polymer.NeonAnimationRunnerBehaviorImpl]</script> <script >Polymer.PaperDialogBehaviorImpl={hostAttributes:{role:"dialog",tabindex:"-1"},p roperties:{modal:{type:Boolean,value:!1}},observers:["_modalChanged(modal, _read ied)"],listeners:{tap:"_onDialogClick"},ready:function(){this.__prevNoCancelOnOu tsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancel OnEscKey,this.__prevWithBackdrop=this.withBackdrop},_modalChanged:function(i,e){ e&&(i?(this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prev NoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop ,this.noCancelOnOutsideClick=!0,this.noCancelOnEscKey=!0,this.withBackdrop=!0):( this.noCancelOnOutsideClick=this.noCancelOnOutsideClick&&this.__prevNoCancelOnOu tsideClick,this.noCancelOnEscKey=this.noCancelOnEscKey&&this.__prevNoCancelOnEsc Key,this.withBackdrop=this.withBackdrop&&this.__prevWithBackdrop))},_updateClosi ngReasonConfirmed:function(i){this.closingReason=this.closingReason||{},this.clo singReason.confirmed=i},_onDialogClick:function(i){for(var e=Polymer.dom(i).path ,o=0;o<e.indexOf(this);o++){var t=e[o];if(t.hasAttribute&&(t.hasAttribute("dialo g-dismiss")||t.hasAttribute("dialog-confirm"))){this._updateClosingReasonConfirm ed(t.hasAttribute("dialog-confirm")),this.close(),i.stopPropagation();break}}}}, Polymer.PaperDialogBehavior=[Polymer.IronOverlayBehavior,Polymer.PaperDialogBeha viorImpl]</script> <dom-module id="paper-dialog-shared-styles" assetpath="/res/i mp/bower_components/paper-dialog-behavior/"> <template> <style>:host{display:blo ck;margin:24px 40px;background:var(--paper-dialog-background-color,--primary-bac kground-color);color:var(--paper-dialog-color,--primary-text-color);@apply(--pap er-font-body1);@apply(--shadow-elevation-16dp);@apply(--paper-dialog)}:host>::co ntent>*{margin-top:20px;padding:0 24px}:host>::content>.no-padding{padding:0}:ho st>::content>:first-child{margin-top:24px}:host>::content>:last-child{margin-bot tom:24px}:host>::content h2{position:relative;margin:0;@apply(--paper-font-title );@apply(--paper-dialog-title)}:host>::content .buttons{position:relative;paddin g:8px 8px 8px 24px;margin:0;color:var(--paper-dialog-button-color,--primary-colo r);@apply(--layout-horizontal);@apply(--layout-end-justified)}</style> </templat e> </dom-module> <dom-module id="paper-dialog" assetpath="/res/imp/bower_compone nts/paper-dialog/"> <template> <style include="paper-dialog-shared-styles"></sty le> <content></content> </template> </dom-module> <script>!function(){Polymer({i s:"paper-dialog",behaviors:[Polymer.PaperDialogBehavior,Polymer.NeonAnimationRun nerBehavior],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_rende rOpened:function(){this.cancelAnimation(),this.playAnimation("entry")},_renderCl osed:function(){this.cancelAnimation(),this.playAnimation("exit")},_onNeonAnimat ionFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderCl osed()}})}()</script> <script>Polymer.IronResizableBehavior={properties:{_parent Resizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant: {type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIron RequestResizeNotifications"},created:function(){this._interestedResizables=[],th is._boundNotifyResize=this.notifyResize.bind(this)},attached:function(){this.fir e("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}) ,this._parentResizable||(window.addEventListener("resize",this._boundNotifyResiz e),this.notifyResize())},detached:function(){this._parentResizable?this._parentR esizable.stopResizeNotificationsFor(this):window.removeEventListener("resize",th is._boundNotifyResize),this._parentResizable=null},notifyResize:function(){this. isAttached&&(this._interestedResizables.forEach(function(e){this.resizerShouldNo tify(e)&&this._notifyDescendant(e)},this),this._fireResize())},assignParentResiz able:function(e){this._parentResizable=e},stopResizeNotificationsFor:function(e) {var i=this._interestedResizables.indexOf(e);i>-1&&(this._interestedResizables.s plice(i,1),this.unlisten(e,"iron-resize","_onDescendantIronResize"))},resizerSho uldNotify:function(e){return!0},_onDescendantIronResize:function(e){return this. _notifyingDescendant?void e.stopPropagation():void(Polymer.Settings.useShadow||t his._fireResize())},_fireResize:function(){this.fire("iron-resize",null,{node:th is,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var i=e.path?e.pa th[0]:e.target;i!==this&&(this._interestedResizables.indexOf(i)===-1&&(this._int erestedResizables.push(i),this.listen(i,"iron-resize","_onDescendantIronResize") ),i.assignParentResizable(this),this._notifyDescendant(i),e.stopPropagation())}, _parentResizableChanged:function(e){e&&window.removeEventListener("resize",this. _boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notif yingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)}}</script> <dom -module id="neon-animated-pages" assetpath="/res/imp/bower_components/neon-anima tion/"> <template> <style>:host{display:block;position:relative}:host>::content> *{position:absolute;top:0;left:0;bottom:0;right:0}:host>::content>:not(.iron-sel ected):not(.neon-animating){display:none!important}:host>::content>.neon-animati ng{pointer-events:none}</style> <content id="content"></content> </template> </d om-module> <script>!function(){Polymer({is:"neon-animated-pages",behaviors:[Poly mer.IronResizableBehavior,Polymer.IronSelectableBehavior,Polymer.NeonAnimationRu nnerBehavior],properties:{activateEvent:{type:String,value:""},animateInitialSel ection:{type:Boolean,value:!1}},listeners:{"iron-select":"_onIronSelect","neon-a nimation-finish":"_onNeonAnimationFinish"},_onIronSelect:function(i){var e=i.det ail.item;if(!(this.items.indexOf(e)<0)){var t=this._valueToItem(this._prevSelect ed)||!1;if(this._prevSelected=this.selected,!t&&!this.animateInitialSelection)re turn void this._completeSelectedChanged();this.animationConfig=[],this.entryAnim ation?this.animationConfig.push({name:this.entryAnimation,node:e}):e.getAnimatio nConfig&&this.animationConfig.push({animatable:e,type:"entry"}),t&&(t.classList. contains("neon-animating")&&(this._squelchNextFinishEvent=!0,this.cancelAnimatio n(),this._completeSelectedChanged(),this._squelchNextFinishEvent=!1),this.exitAn imation?this.animationConfig.push({name:this.exitAnimation,node:t}):t.getAnimati onConfig&&this.animationConfig.push({animatable:t,type:"exit"}),t.classList.add( "neon-animating")),e.classList.add("neon-animating"),this.animationConfig.length >=1?this.isAttached?this.playAnimation(void 0,{fromPage:t,toPage:e}):this.async( function(){this.playAnimation(void 0,{fromPage:null,toPage:e})}):this._completeS electedChanged(t,e)}},_completeSelectedChanged:function(i,e){if(e&&e.classList.r emove("neon-animating"),i&&i.classList.remove("neon-animating"),!e||!i)for(var t ,n=Polymer.dom(this.$.content).getDistributedNodes(),a=0;t=n[a];a++)t.classList& &t.classList.remove("neon-animating");this.async(this._notifyPageResize)},_onNeo nAnimationFinish:function(i){return this._squelchNextFinishEvent?void(this._sque lchNextFinishEvent=!1):void this._completeSelectedChanged(i.detail.fromPage,i.de tail.toPage)},_notifyPageResize:function(){var i=this.selectedItem||this._valueT oItem(this.selected);this.resizerShouldNotify=function(e){return e==i},this.noti fyResize()}})}()</script> <dom-module id="neon-animatable" assetpath="/res/imp/b ower_components/neon-animation/"> <template> <style>:host{display:block}</style> <content></content> </template> </dom-module> <script>Polymer({is:"neon-animata ble",behaviors:[Polymer.NeonAnimatableBehavior,Polymer.IronResizableBehavior]})< /script> <script>Polymer.NeonAnimationBehavior={properties:{animationTiming:{typ e:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},isNeonAnimation:!0,timingFromConfig:function(i){if(i.timing) for(var n in i.timing)this.animationTiming[n]=i.timing[n];return this.animationT iming},setPrefixedProperty:function(i,n,r){for(var t,o={transform:["webkitTransf orm"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]},e=o[n],m=0 ;t=e[m];m++)i.style[t]=r;i.style[n]=r},complete:function(){}}</script> <script>! function(a,b){var c={},d={},e={},f=null;!function(t,e){function i(t){if("number" ==typeof t)return t;var e={};for(var i in t)e[i]=t[i];return e}function n(){this ._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterat ions=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easi ng="linear",this._easingFunction=E}function r(){return t.isDeprecated("Invalid t iming inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}fu nction o(e,i,r){var o=new n;return i&&(o.fill="both",o.duration="auto"),"number" !=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function( i){if("auto"!=e[i]){if(("number"==typeof o[i]||"duration"==i)&&("number"!=typeof e[i]||isNaN(e[i])))return;if("fill"==i&&w.indexOf(e[i])==-1)return;if("directio n"==i&&T.indexOf(e[i])==-1)return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated ("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate i nstead."))return;o[i]=e[i]}}):o.duration=e,o}function a(t){return"number"==typeo f t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function s(e,i){return e=t.numeric TimingToObject(e),o(e,i)}function u(t,e,i,n){return t<0||t>1||i<0||i>1?E:functio n(r){function o(t,e,i){return 3*t*(1-i)*(1-i)*i+3*e*(1-i)*i*i+i*i*i}if(r<=0){var a=0;return t>0?a=e/t:!e&&i>0&&(a=n/i),a*r}if(r>=1){var s=0;return i<1?s=(n-1)/( i-1):1==i&&t<1&&(s=(e-1)/(t-1)),1+s*(r-1)}for(var u=0,c=1;u<c;){var f=(u+c)/2,l= o(t,i,f);if(Math.abs(r-l)<1e-5)return o(e,n,f);l<r?u=f:c=f}return o(e,n,f)}}func tion c(t,e){return function(i){if(i>=1)return 1;var n=1/t;return i+=e*n,i-i%n}}f unction f(t){R||(R=document.createElement("div").style),R.animationTimingFunctio n="",R.animationTimingFunction=t;var e=R.animationTimingFunction;if(""==e&&r())t hrow new TypeError(t+" is not a valid value for easing");return e}function l(t){ if("linear"==t)return E;var e=O.exec(t);if(e)return u.apply(this,e.slice(1).map( Number));var i=k.exec(t);if(i)return c(Number(i[1]),{start:x,middle:A,end:P}[i[2 ]]);var n=j[t];return n?n:E}function h(t){return Math.abs(m(t)/t.playbackRate)}f unction m(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}f unction d(t,e,i){if(null==e)return S;var n=i.delay+t+i.endDelay;return e<Math.mi n(i.delay,n)?C:e>=Math.min(i.delay+t,n)?D:F}function p(t,e,i,n,r){switch(n){case C:return"backwards"==e||"both"==e?0:null;case F:return i-r;case D:return"forwar ds"==e||"both"==e?t:null;case S:return null}}function _(t,e,i,n,r){var o=r;retur n 0===t?e!==C&&(o+=i):o+=n/t,o}function g(t,e,i,n,r,o){var a=t===1/0?e%1:t%1;ret urn 0!==a||i!==D||0===n||0===r&&0!==o||(a=1),a}function b(t,e,i,n){return t===D& &e===1/0?1/0:1===i?Math.floor(n)-1:Math.floor(n)}function v(t,e,i){var n=t;if("n ormal"!==t&&"reverse"!==t){var r=e;"alternate-reverse"===t&&(r+=1),n="normal",r! ==1/0&&r%2!==0&&(n="reverse")}return"normal"===n?i:1-i}function y(t,e,i){var n=d (t,e,i),r=p(t,i.fill,e,n,i.delay);if(null===r)return null;var o=_(i.duration,n,i .iterations,r,i.iterationStart),a=g(o,i.iterationStart,n,i.iterations,r,i.durati on),s=b(n,i.iterations,a,o),u=v(i.direction,s,a);return i._easingFunction(u)}var w="backwards|forwards|both|none".split("|"),T="reverse|alternate|alternate-reve rse".split("|"),E=function(t){return t};n.prototype={_setMember:function(e,i){th is["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t .normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.c alculateActiveDuration(this._effect._timing),this._effect._animation&&this._effe ct._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._pl aybackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._de lay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._ endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},s et iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMemb er("iterationStart",t)},get iterationStart(){return this._iterationStart},set du ration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get durat ion(){return this._duration},set direction(t){this._setMember("direction",t)},ge t direction(){return this._direction},set easing(t){this._easingFunction=l(f(t)) ,this._setMember("easing",t)},get easing(){return this._easing},set iterations(t ){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._it erations}};var x=1,A=.5,P=0,j={ease:u(.25,.1,.25,1),"ease-in":u(.42,0,1,1),"ease -out":u(0,0,.58,1),"ease-in-out":u(.42,0,.58,1),"step-start":c(1,x),"step-middle ":c(1,A),"step-end":c(1,P)},R=null,N="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",O=new RegExp("cubic-bezier\\("+N+","+N+","+N+","+N+"\\)"),k=/steps\(\s*(\d+)\s*,\s*(st art|middle|end)\s*\)/,S=0,C=1,D=2,F=3;t.cloneTimingInput=i,t.makeTiming=o,t.nume ricTimingToObject=a,t.normalizeTimingInput=s,t.calculateActiveDuration=h,t.calcu lateIterationProgress=y,t.calculatePhase=d,t.normalizeEasing=f,t.parseEasingFunc tion=l}(c,f),function(t,e){function i(t,e){return t in f?f[t][e]||e:e}function n (t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("tr ansition",0)}function r(t,e,r){if(!n(t)){var o=s[t];if(o){u.style[t]=e;for(var a in o){var c=o[a],f=u.style[c];r[c]=i(c,f)}}else r[t]=i(t,e)}}function o(t){var e=[];for(var i in t)if(!(i in["easing","offset","composite"])){var n=t[i];Array. isArray(n)||(n=[n]);for(var r,o=n.length,a=0;a<o;a++)r={},"offset"in t?r.offset= t.offset:1==o?r.offset=1:r.offset=a/(o-1),"easing"in t&&(r.easing=t.easing),"com posite"in t&&(r.composite=t.composite),r[i]=n[a],e.push(r)}return e.sort(functio n(t,e){return t.offset-e.offset}),e}function a(e){function i(){var t=n.length;nu ll==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for (var e=0,i=n[0].offset,r=1;r<t;r++){var o=n[r].offset;if(null!=o){for(var a=1;a< r-e;a++)n[e+a].offset=i+(o-i)*a/(r-e);e=r,i=o}}}if(null==e)return[];window.Symbo l&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)), Array.isArray(e)||(e=o(e));for(var n=e.map(function(e){var i={};for(var n in e){ var o=e[n];if("offset"==n){if(null!=o){if(o=Number(o),!isFinite(o))throw new Typ eError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Key frame offsets must be between 0 and 1.")}}else if("composite"==n){if("add"==o||" accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError ",message:"add compositing is not supported"};if("replace"!=o)throw new TypeErro r("Invalid composite mode "+o+".")}else o="easing"==n?t.normalizeEasing(o):""+o; r(n,o,i)}return void 0==i.offset&&(i.offset=null),void 0==i.easing&&(i.easing="l inear"),i}),a=!0,s=-(1/0),u=0;u<n.length;u++){var c=n[u].offset;if(null!=c){if(c <s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or spec ify offsets.");s=c}else a=!1}return n=n.filter(function(t){return t.offset>=0&&t .offset<=1}),a||i(),n}var s={background:["backgroundImage","backgroundPosition", "backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","b ackgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","bor derTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBot tomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftS tyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle"," borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBott omColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","bor derLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borde rBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","b orderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle ","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBott omWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fo ntFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin :["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor" ,"outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBot tom","paddingLeft"]},u=document.createElementNS("http://www.w3.org/1999/xhtml"," div"),c={thin:"1px",medium:"3px",thick:"5px"},f={borderBottomWidth:c,borderLeftW idth:c,borderRightWidth:c,borderTopWidth:c,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:c,textShadow:{none:"0px 0px 0 px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArra yForm=o,t.normalizeKeyframes=a}(c,f),function(t){var e={};t.isDeprecated=functio n(t,i,n,r){var o=r?"are":"is",a=new Date,s=new Date(i);return s.setMonth(s.getMo nth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated an d will stop working on "+s.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=func tion(e,i,n,r){var o=r?"are":"is";if(t.isDeprecated(e,i,n,r))throw new Error(e+" "+o+" no longer supported. "+n)}}(c),function(){if(document.documentElement.anim ate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|current Time|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").fo rEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e,i){function n (t){for(var e={},i=0;i<t.length;i++)for(var n in t[i])if("offset"!=n&&"easing"!= n&&"composite"!=n){var r={offset:t[i].offset,easing:t[i].easing,value:t[i][n]};e [n]=e[n]||[],e[n].push(r)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.l ength-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedErro r",message:"Partial keyframes are not supported"}}return e}function r(i){var n=[ ];for(var r in i)for(var o=i[r],a=0;a<o.length-1;a++){var s=a,u=a+1,c=o[s].offse t,f=o[u].offset,l=c,h=f;0==a&&(l=-(1/0),0==f&&(u=s)),a==o.length-2&&(h=1/0,1==c& &(s=u)),n.push({applyFrom:l,applyTo:h,startOffset:o[s].offset,endOffset:o[u].off set,easingFunction:t.parseEasingFunction(o[s].easing),property:r,interpolation:e .propertyInterpolation(r,o[s].value,o[u].value)})}return n.sort(function(t,e){re turn t.startOffset-e.startOffset}),n}e.convertEffectInput=function(i){var o=t.no rmalizeKeyframes(i),a=n(o),s=r(a);return function(t,i){if(null!=i)s.filter(funct ion(t){return i>=t.applyFrom&&i<t.applyTo}).forEach(function(n){var r=i-n.startO ffset,o=n.endOffset-n.startOffset,a=0==o?0:n.easingFunction(r/o);e.apply(t,n.pro perty,n.interpolation(a))});else for(var n in a)"offset"!=n&&"easing"!=n&&"compo site"!=n&&e.clear(t,n)}}}(c,d,f),function(t,e,i){function n(t){return t.replace( /-(.)/g,function(t,e){return e.toUpperCase()})}function r(t,e,i){s[i]=s[i]||[],s [i].push([t,e])}function o(t,e,i){for(var o=0;o<i.length;o++){var a=i[o];r(t,e,n (a))}}function a(i,r,o){var a=i;/-/.test(i)&&!t.isDeprecated("Hyphenated propert y names","2016-03-22","Use camelCase instead.",!0)&&(a=n(i)),"initial"!=r&&"init ial"!=o||("initial"==r&&(r=u[a]),"initial"==o&&(o=u[a]));for(var c=r==o?[]:s[a], f=0;c&&f<c.length;f++){var l=c[f][0](r),h=c[f][0](o);if(void 0!==l&&void 0!==h){ var m=c[f][1](l,h);if(m){var d=e.Interpolation.apply(null,m);return function(t){ return 0==t?r:1==t?o:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?o :r})}var s={};e.addPropertiesHandler=o;var u={backgroundColor:"transparent",back groundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:" 0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"curr entColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth :"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0p x",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",le ft:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft :"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHei ght:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px" ,outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",pad dingTop:"0px",right:"auto",textIndent:"0px",textShadow:"0px 0px 0px transparent" ,top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",w ordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=a}(c,d,f),function(t, e,i){function n(e){var i=t.calculateActiveDuration(e),n=function(n){return t.cal culateIterationProgress(i,n,e)};return n._totalDuration=e.delay+i+e.endDelay,n}e .KeyframeEffect=function(i,r,o,a){var s,u=n(t.normalizeTimingInput(o)),c=e.conve rtEffectInput(r),f=function(){c(i,s)};return f._update=function(t){return s=u(t) ,null!==s},f._clear=function(){c(i,null)},f._hasSameTarget=function(t){return i= ==t},f._target=i,f._totalDuration=u._totalDuration,f._id=a,f},e.NullEffect=funct ion(t){var e=function(){t&&(t(),t=null)};return e._update=function(){return null },e._totalDuration=0,e._hasSameTarget=function(){return!1},e}}(c,d,f),function(t ,e){t.apply=function(e,i,n){e.style[t.propertyName(i)]=n},t.clear=function(e,i){ e.style[t.propertyName(i)]=""}}(d,f),function(t){window.Element.prototype.animat e=function(e,i){var n="";return i&&i.id&&(n=i.id),t.timeline._play(t.KeyframeEff ect(this,e,i,n))}}(d),function(t,e){function i(t,e,n){if("number"==typeof t&&"nu mber"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)r eturn n<.5?t:e;if(t.length==e.length){for(var r=[],o=0;o<t.length;o++)r.push(i(t [o],e[o],n));return r}throw"Mismatched interpolation arguments "+t+":"+e}t.Inter polation=function(t,e,n){return function(r){return n(i(t,e,r))}}}(d,f),function( t,e,i){t.sequenceNumber=0;var n=function(t,e,i){this.target=t,this.currentTime=e ,this.timelineTime=i,this.type="finish",this.bubbles=!1,this.cancelable=!1,this. currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.ti meStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id) ,this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=nul l,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0 ,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._ effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototy pe={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEf fect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTi me),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0, e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._curr entTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._pla ybackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){retur n this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t ){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startT ime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1 ,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCu rrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._st artTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startT ime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.pl aybackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._play backRate},set playbackRate(t){if(t!=this._playbackRate){var i=this.currentTime;t his._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this. playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirti edAnimation(this)),null!=i&&(this.currentTime=i)}},get _isFinished(){return!this ._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._pla ybackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._to talDuration},get playState(){return this._idle?"idle":null==this._startTime&&!th is._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._pause d?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._pl aybackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new D OMException("Unable to rewind negative playback rate animation with infinite dur ation","InvalidStateError");this._currentTime=this._totalDuration}},play:functio n(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startT ime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtied Animation(this)},pause:function(){this._isFinished||this._paused||this._idle?thi s._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startT ime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._ playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.cu rrentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:fun ction(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._i sFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this ._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.p laybackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e &&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){i f("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers. splice(i,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFla g){var e=new n(this,this._currentTime,t),i=this._finishHandlers.concat(this.onfi nish?[this.onfinish]:[]);setTimeout(function(){i.forEach(function(t){t.call(e.ta rget,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function( t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this. _currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this. _startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents (t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._fin ishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._act iveAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:functio n(){var t=this._targetAnimations();t.indexOf(this)===-1&&t.push(this)},_unmarkTa rget:function(){var t=this._targetAnimations(),e=t.indexOf(this);e!==-1&&t.splic e(e,1)}}}(c,d,f),function(t,e,i){function n(t){var e=c;c=[],t<_.currentTime&&(t= _.currentTime),_._animations.sort(r),_._animations=s(t,!0,_._animations)[0],e.fo rEach(function(e){e[1](t)}),a(),l=void 0}function r(t,e){return t._sequenceNumbe r-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.per formance&&performance.now?performance.now():0}function a(){d.forEach(function(t) {t()}),d.length=0}function s(t,i,n){p=!0,m=!1;var r=e.timeline;r.currentTime=t,h =!1;var o=[],a=[],s=[],u=[];return n.forEach(function(e){e._tick(t,i),e._inEffec t?(a.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._n eedsTick&&(h=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):u.p ush(e)}),d.push.apply(d,o),d.push.apply(d,a),h&&requestAnimationFrame(function() {}),p=!1,[s,u]}var u=window.requestAnimationFrame,c=[],f=0;window.requestAnimati onFrame=function(t){var e=f++;return 0==c.length&&u(n),c.push([e,t]),e},window.c ancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){ })})},o.prototype={_play:function(i){i._timing=t.normalizeTimingInput(i.timing); var n=new e.Animation(i);return n._idle=!1,n._timeline=this,this._animations.pus h(n),e.restart(),e.applyDirtiedAnimation(n),n}};var l=void 0,h=!1,m=!1;e.restart =function(){return h||(h=!0,requestAnimationFrame(function(){}),m=!0),m},e.apply DirtiedAnimation=function(t){if(!p){t._markTarget();var i=t._targetAnimations(); i.sort(r);var n=s(e.timeline.currentTime,!1,i.slice())[1];n.forEach(function(t){ var e=_._animations.indexOf(t);e!==-1&&_._animations.splice(e,1)}),a()}};var d=[ ],p=!1,_=new o;e.timeline=_}(c,d,f),function(t){function e(t,e){var i=t.exec(e); if(i)return i=t.ignoreCase?i[0].toLowerCase():i[0],[i,e.substr(i.length)]}functi on i(t,e){e=e.replace(/^\s*/,"");var i=t(e);if(i)return[i[0],i[1].replace(/^\s*/ ,"")]}function n(t,n,r){t=i.bind(null,t);for(var o=[];;){var a=t(r);if(!a)return [o,r];if(o.push(a[0]),r=a[1],a=e(n,r),!a||""==a[1])return[o,r];r=a[1]}}function r(t,e){for(var i=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=i);n++)if("("==e[n])i ++;else if(")"==e[n]&&(i--,0==i&&n++,i<=0))break;var r=t(e.substr(0,n));return v oid 0==r?void 0:[r,e.substr(n)]}function o(t,e){for(var i=t,n=e;i&&n;)i>n?i%=n:n %=i;return i=t*e/(i+n)}function a(t){return function(e){var i=t(e);return i&&(i[ 0]=void 0),i}}function s(t,e){return function(i){var n=t(i);return n?n:[e,i]}}fu nction u(e,i){for(var n=[],r=0;r<e.length;r++){var o=t.consumeTrimmed(e[r],i);if (!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),i=o[1]}if(""==i)return n}functi on c(t,e,i,n,r){for(var a=[],s=[],u=[],c=o(n.length,r.length),f=0;f<c;f++){var l =e(n[f%n.length],r[f%r.length]);if(!l)return;a.push(l[0]),s.push(l[1]),u.push(l[ 2])}return[a,s,function(e){var n=e.map(function(t,e){return u[e](t)}).join(i);re turn t?t(n):n}]}function f(t,e,i){for(var n=[],r=[],o=[],a=0,s=0;s<i.length;s++) if("function"==typeof i[s]){var u=i[s](t[a],e[a++]);n.push(u[0]),r.push(u[1]),o. push(u[2])}else!function(t){n.push(!1),r.push(!1),o.push(function(){return i[t]} )}(s);return[n,r,function(t){for(var e="",i=0;i<t.length;i++)e+=o[i](t[i]);retur n e}]}t.consumeToken=e,t.consumeTrimmed=i,t.consumeRepeated=n,t.consumeParenthes ised=r,t.ignore=a,t.optional=s,t.consumeList=u,t.mergeNestedRepeated=c.bind(null ,null),t.mergeWrappedNestedRepeated=c,t.mergeList=f}(d),function(t){function e(e ){function i(e){var i=t.consumeToken(/^inset/i,e);if(i)return n.inset=!0,i;var i =t.consumeLengthOrPercent(e);if(i)return n.lengths.push(i[0]),i;var i=t.consumeC olor(e);return i?(n.color=i[0],i):void 0}var n={inset:!1,lengths:[],color:null}, r=t.consumeRepeated(i,/^/,e);if(r&&r[0].length)return[n,r[1]]}function i(i){var n=t.consumeRepeated(e,/^,/,i);if(n&&""==n[1])return n[0]}function n(e,i){for(;e. lengths.length<Math.max(e.lengths.length,i.lengths.length);)e.lengths.push({px:0 });for(;i.lengths.length<Math.max(e.lengths.length,i.lengths.length);)i.lengths. push({px:0});if(e.inset==i.inset&&!!e.color==!!i.color){for(var n,r=[],o=[[],0], a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],i.leng ths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),r.push(u[2])}if(e.color&&i.color){v ar c=t.mergeColors(e.color,i.color);o[1]=c[0],a[1]=c[1],n=c[2]}return[o,a,functi on(t){for(var i=e.inset?"inset ":" ",o=0;o<r.length;o++)i+=r[o](t[0][o])+" ";ret urn n&&(i+=n(t[1])),i}]}}function r(e,i,n,r){function o(t){return{inset:t,color: [0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<n.lengt h||u<r.length;u++){var c=n[u]||o(r[u].inset),f=r[u]||o(n[u].inset);a.push(c),s.p ush(f)}return t.mergeNestedRepeated(e,i,a,s)}var o=r.bind(null,n,", ");t.addProp ertiesHandler(i,o,["box-shadow","text-shadow"])}(d),function(t,e){function i(t){ return t.toFixed(3).replace(".000","")}function n(t,e,i){return Math.min(e,Math. max(t,i))}function r(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}f unction o(t,e){return[t,e,i]}function a(t,e){if(0!=t)return u(0,1/0)(t,e)}functi on s(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]}function u(t,e) {return function(r,o){return[r,o,function(r){return i(n(t,e,r))}]}}function c(t, e){return[t,e,Math.round]}t.clamp=n,t.addPropertiesHandler(r,u(0,1/0),["border-i mage-width","line-height"]),t.addPropertiesHandler(r,u(0,1),["opacity","shape-im age-threshold"]),t.addPropertiesHandler(r,a,["flex-grow","flex-shrink"]),t.addPr opertiesHandler(r,s,["orphans","widows"]),t.addPropertiesHandler(r,c,["z-index"] ),t.parseNumber=r,t.mergeNumbers=o,t.numberToString=i}(d,f),function(t,e){functi on i(t,e){if("visible"==t||"visible"==e)return[0,1,function(i){return i<=0?t:i>= 1?e:"visible"}]}t.addPropertiesHandler(String,i,["visibility"])}(d),function(t,e ){function i(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if (o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var i=o.ge tImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=i[3]/255;return[i[0]*n,i[1]* n,i[2]*n,n]}}function n(e,i){return[e,i,function(e){function i(t){return Math.ma x(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(i(e[n]/e[3]));r eturn e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var r=d ocument.createElementNS("http://www.w3.org/1999/xhtml","canvas");r.width=r.heigh t=1;var o=r.getContext("2d");t.addPropertiesHandler(i,n,["background-color","bor der-bottom-color","border-left-color","border-right-color","border-top-color","c olor","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthe sised.bind(null,i),t.mergeColors=n}(d,f),function(a,b){function c(a,b){if(b=b.tr im().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.tes t(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]= null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").re place(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;g<f.length;)f[g].test(e)?( e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace( new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))retur n;c[h]=i}return c}}}function d(t,i){return e(t,i,!0)}function e(t,e,i){var n,r=[ ];for(n in t)r.push(n);for(n in e)r.indexOf(n)<0&&r.push(n);return t=r.map(funct ion(e){return t[e]||0}),e=r.map(function(t){return e[t]||0}),[t,e,function(t){va r e=t.map(function(e,n){return 1==t.length&&i&&(e=Math.max(e,0)),a.numberToStrin g(e)+r[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|r em|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(nul l,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(t){var e=l(t);if(e&&""==e[1])return e[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","bord er-left-width","border-right-width","border-top-width","flex-basis","font-size", "height","line-height","max-height","max-width","outline-width","width"]),a.addP ropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius"," border-top-left-radius","border-top-right-radius","bottom","left","letter-spacin g","margin-bottom","margin-left","margin-right","margin-top","min-height","min-w idth","outline-offset","padding-bottom","padding-left","padding-right","padding- top","perspective","right","shape-margin","text-indent","top","vertical-align"," word-spacing"])}(d,f),function(t,e){function i(e){return t.consumeLengthOrPercen t(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.co nsumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consu meRepeated.bind(null,i,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n& &4==n[0].length)return n[0]}function r(e,i){return"auto"==e||"auto"==i?[!0,!1,fu nction(n){var r=n?e:i;if("auto"==r)return"auto";var o=t.mergeDimensions(r,r);ret urn o[2](o[0])}]:t.mergeDimensions(e,i)}function o(t){return"rect("+t+")"}var a= t.mergeWrappedNestedRepeated.bind(null,o,r,", ");t.parseBox=n,t.mergeBoxes=a,t.a ddPropertiesHandler(n,a,["clip"])}(d,f),function(t,e){function i(t){return funct ion(e){var i=0;return t.map(function(t){return t===f?e[i++]:t})}}function n(t){r eturn t}function r(e){if(e=e.toLowerCase().trim(),"none"==e)return[];for(var i,n =/\s*(\w+)\(([^)]*)\)/g,r=[],o=0;i=n.exec(e);){if(i.index!=o)return;o=i.index+i[ 0].length;var a=i[1],s=m[a];if(!s)return;var u=i[2].split(","),c=s[0];if(c.lengt h<u.length)return;for(var f=[],d=0;d<c.length;d++){var p,_=u[d],g=c[d];if(p=_?{A :function(e){return"0"==e.trim()?h:t.parseAngle(e)},N:t.parseNumber,T:t.parseLen gthOrPercent,L:t.parseLength}[g.toUpperCase()](_):{a:h,n:f[0],t:l}[g],void 0===p )return;f.push(p)}if(r.push({t:a,d:f}),n.lastIndex==e.length)return r}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,i){if(e.decompositio nPair!==i){e.decompositionPair=i;var n=t.makeMatrixDecomposition(e)}if(i.decompo sitionPair!==e){i.decompositionPair=e;var r=t.makeMatrixDecomposition(i)}return null==n[0]||null==r[0]?[[!1],[!0],function(t){return t?i[0].d:e[0].d}]:(n[0].pus h(0),r[0].push(1),[n,r,function(e){var i=t.quat(n[0][3],r[0][3],e[5]),a=t.compos eMatrix(e[0],e[1],e[2],i,e[4]),s=a.map(o).join(",");return s}])}function s(t){re turn t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}fu nction c(e,i){var n=t.makeMatrixDecomposition&&!0,r=!1;if(!e.length||!i.length){ e.length||(r=!0,e=i,i=[]);for(var o=0;o<e.length;o++){var c=e[o].t,f=e[o].d,l="s cale"==c.substr(0,5)?1:0;i.push({t:c,d:f.map(function(t){if("number"==typeof t)r eturn l;var e={};for(var i in t)e[i]=l;return e})})}}var h=function(t,e){return" perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||" matrix3d"==e)},d=[],p=[],_=[];if(e.length!=i.length){if(!n)return;var g=a(e,i);d =[g[0]],p=[g[1]],_=[["matrix",[g[2]]]]}else for(var o=0;o<e.length;o++){var c,b= e[o].t,v=i[o].t,y=e[o].d,w=i[o].d,T=m[b],E=m[v];if(h(b,v)){if(!n)return;var g=a( [e[o]],[i[o]]);d.push(g[0]),p.push(g[1]),_.push(["matrix",[g[2]]])}else{if(b==v) c=b;else if(T[2]&&E[2]&&s(b)==s(v))c=s(b),y=T[2](y),w=E[2](w);else{if(!T[1]||!E[ 1]||u(b)!=u(v)){if(!n)return;var g=a(e,i);d=[g[0]],p=[g[1]],_=[["matrix",[g[2]]] ];break}c=u(b),y=T[1](y),w=E[1](w)}for(var x=[],A=[],P=[],j=0;j<y.length;j++){va r R="number"==typeof y[j]?t.mergeNumbers:t.mergeDimensions,g=R(y[j],w[j]);x[j]=g [0],A[j]=g[1],P.push(g[2])}d.push(x),p.push(A),_.push([c,P])}}if(r){var N=d;d=p, p=N}return[d,p,function(t){return t.map(function(t,e){var i=t.map(function(t,i){ return _[e][1][i](t)}).join(",");return"matrix"==_[e][0]&&16==i.split(",").lengt h&&(_[e][0]="matrix3d"),_[e][0]+"("+i+")"}).join(" ")}]}var f=null,l={px:0},h={d eg:0},m={matrix:["NNNNNN",[f,f,0,0,f,f,0,0,0,0,1,0,f,f,0,1],n],matrix3d:["NNNNNN NNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:[ "NNNA"],perspective:["L"],scale:["Nn",i([f,f,1]),n],scalex:["N",i([f,1,1]),i([f, 1])],scaley:["N",i([1,f,1]),i([1,f])],scalez:["N",i([1,1,f])],scale3d:["NNN",n], skew:["Aa",null,n],skewx:["A",null,i([f,h])],skewy:["A",null,i([h,f])],translate :["Tt",i([f,f,l]),n],translatex:["T",i([f,l,l]),i([f,l])],translatey:["T",i([l,f ,l]),i([l,f])],translatez:["L",i([l,l,f])],translate3d:["TTL",n]};t.addPropertie sHandler(r,c,["transform"])}(d,f),function(t,e){function i(t,e){e.concat([t]).fo rEach(function(e){e in document.documentElement.style&&(n[t]=e)})}var n={};i("tr ansform",["webkitTransform","msTransform"]),i("transformOrigin",["webkitTransfor mOrigin"]),i("perspective",["webkitPerspective"]),i("perspectiveOrigin",["webkit PerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t}}(d,f)}(),!functi on(){if(void 0===document.createElement("div").animate([]).oncancel){var t;if(wi ndow.performance&&performance.now)var t=function(){return performance.now()};els e var t=function(){return Date.now()};var e=function(t,e,i){this.target=t,this.c urrentTime=e,this.timelineTime=i,this.type="cancel",this.bubbles=!1,this.cancela ble=!1,
789 this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,th is.timeStamp=Date.now()},i=window.Element.prototype.animate;window.Element.proto type.animate=function(n,r){var o=i.call(this,n,r);o._cancelHandlers=[],o.oncance l=null;var a=o.cancel;o.cancel=function(){a.call(this);var i=new e(this,null,t() ),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(fun ction(){n.forEach(function(t){t.call(i.target,i)})},0)};var s=o.addEventListener ;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancel Handlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEv entListener=function(t,e){if("cancel"==t){var i=this._cancelHandlers.indexOf(e); i>=0&&this._cancelHandlers.splice(i,1)}else u.call(this,t,e)},o}}}(),function(t) {var e=document.documentElement,i=null,n=!1;try{var r=getComputedStyle(e).getPro pertyValue("opacity"),o="0"==r?"1":"0";i=e.animate({opacity:[o,o]},{duration:1}) ,i.currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){} finally{i&&i.cancel()}if(!n){var a=window.Element.prototype.animate;window.Eleme nt.prototype.animate=function(e,i){return window.Symbol&&Symbol.iterator&&Array. prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e ||(e=t.convertToArrayForm(e)),a.call(this,e,i)}}}(c),!function(t,e,i){function n (t){var i=e.timeline;i.currentTime=t,i._discardAnimations(),0==i._animations.len gth?o=!1:requestAnimationFrame(n)}var r=window.requestAnimationFrame;window.requ estAnimationFrame=function(t){return r(function(i){e.timeline._updateAnimationsP romises(),t(i),e.timeline._updateAnimationsPromises()})},e.AnimationTimeline=fun ction(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototy pe={getAnimations:function(){return this._discardAnimations(),this._animations.s lice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animatio nsWithPromises.filter(function(t){return t._updatePromises()})},_discardAnimatio ns:function(){this._updateAnimationsPromises(),this._animations=this._animations .filter(function(t){return"finished"!=t.playState&&"idle"!=t.playState})},_play: function(t){var i=new e.Animation(t,this);return this._animations.push(i),e.rest artWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updateProm ises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var o=!1;e.resta rtWebAnimationsNextTick=function(){o||(o=!0,requestAnimationFrame(n))};var a=new e.AnimationTimeline;e.timeline=a;try{Object.defineProperty(window.document,"tim eline",{configurable:!0,get:function(){return a}})}catch(t){}try{window.document .timeline=a}catch(t){}}(c,e,f),function(t,e,i){e.animationsWithPromises=[],e.Ani mation=function(e,i){if(this.id="",e&&e._id&&(this.id=e._id),this.effect=e,e&&(e ._animation=this),!i)throw new Error("Animation with null timeline is not suppor ted");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0, this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],t his._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(), this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updateP romises:function(){var t=this._oldPlayState,e=this.playState;return this._readyP romise&&e!==t&&("idle"==e?(this._rejectReadyPromise(),this._readyPromise=void 0) :"pending"==t?this._resolveReadyPromise():"pending"==e&&(this._readyPromise=void 0)),this._finishedPromise&&e!==t&&("idle"==e?(this._rejectFinishedPromise(),thi s._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finishe d"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._r eadyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this. _updatePromises();var t,i,n,r,o=!!this._animation;o&&(t=this.playbackRate,i=this ._paused,n=this.startTime,r=this.currentTime,this._animation.cancel(),this._anim ation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffe ct(this.effect),e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animat ion=e.newUnderlyingAnimationForGroup(this.effect),e.bindAnimationForGroup(this)) ,this.effect&&this.effect._onsample&&e.bindAnimationForCustomEffect(this),o&&(1! =t&&(this.playbackRate=t),null!==n?this.startTime=n:null!==r?this.currentTime=r: null!==this._holdTime&&(this.currentTime=this._holdTime),i&&this.pause()),this._ updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playSt ate){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){t his._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.gr oupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if( this.effect&&this._isGroup)for(var e=0;e<this.effect.children.length;e++)this.ef fect.children[e]._animation=t,this._childAnimations[e]._setExternalAnimation(t)} ,_constructChildAnimations:function(){if(this.effect&&this._isGroup){var t=this. effect._timing.delay;this._removeChildAnimations(),this.effect.children.forEach( function(i){var n=e.timeline._play(i);this._childAnimations.push(n),n.playbackRa te=this.playbackRate,this._paused&&n.pause(),i._animation=this.effect._animation ,this._arrangeChildren(n,t),this.effect instanceof window.SequenceEffect&&(t+=e. groupChildDuration(i))}.bind(this))}},_arrangeChildren:function(t,e){null===this .startTime?t.currentTime=this.currentTime-e/this.playbackRate:t.startTime!==this .startTime+e/this.playbackRate&&(t.startTime=this.startTime+e/this.playbackRate) },get timeline(){return this._timeline},get playState(){return this._animation?t his._animation.playState:"idle"},get finished(){return window.Promise?(this._fin ishedPromise||(e.animationsWithPromises.indexOf(this)==-1&&e.animationsWithPromi ses.push(this),this._finishedPromise=new Promise(function(t,e){this._resolveFini shedPromise=function(){t(this)},this._rejectFinishedPromise=function(){e({type:D OMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"finished"==this.playSta te&&this._resolveFinishedPromise()),this._finishedPromise):(console.warn("Animat ion Promises require JavaScript Promise constructor"),null)},get ready(){return window.Promise?(this._readyPromise||(e.animationsWithPromises.indexOf(this)==-1& &e.animationsWithPromises.push(this),this._readyPromise=new Promise(function(t,e ){this._resolveReadyPromise=function(){t(this)},this._rejectReadyPromise=functio n(){e({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"pending"!= =this.playState&&this._resolveReadyPromise()),this._readyPromise):(console.warn( "Animation Promises require JavaScript Promise constructor"),null)},get onfinish (){return this._animation.onfinish},set onfinish(t){"function"==typeof t?this._a nimation.onfinish=function(e){e.target=this,t.call(this,e)}.bind(this):this._ani mation.onfinish=t},get oncancel(){return this._animation.oncancel},set oncancel( t){"function"==typeof t?this._animation.oncancel=function(e){e.target=this,t.cal l(this,e)}.bind(this):this._animation.oncancel=t},get currentTime(){this._update Promises();var t=this._animation.currentTime;return this._updatePromises(),t},se t currentTime(t){this._updatePromises(),this._animation.currentTime=isFinite(t)? t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChild(function(e,i ){e.currentTime=t-i}),this._updatePromises()},get startTime(){return this._anima tion.startTime},set startTime(t){this._updatePromises(),this._animation.startTim e=isFinite(t)?t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChil d(function(e,i){e.startTime=t+i}),this._updatePromises()},get playbackRate(){ret urn this._animation.playbackRate},set playbackRate(t){this._updatePromises();var e=this.currentTime;this._animation.playbackRate=t,this._forEachChild(function(e ){e.playbackRate=t}),null!==e&&(this.currentTime=e),this._updatePromises()},play :function(){this._updatePromises(),this._paused=!1,this._animation.play(),this._ timeline._animations.indexOf(this)==-1&&this._timeline._animations.push(this),th is._register(),e.awaitStartTime(this),this._forEachChild(function(t){var e=t.cur rentTime;t.play(),t.currentTime=e}),this._updatePromises()},pause:function(){thi s._updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._an imation.pause(),this._register(),this._forEachChild(function(t){t.pause()}),this ._paused=!0,this._updatePromises()},finish:function(){this._updatePromises(),thi s._animation.finish(),this._register(),this._updatePromises()},cancel:function() {this._updatePromises(),this._animation.cancel(),this._register(),this._removeCh ildAnimations(),this._updatePromises()},reverse:function(){this._updatePromises( );var t=this.currentTime;this._animation.reverse(),this._forEachChild(function(t ){t.reverse()}),null!==t&&(this.currentTime=t),this._updatePromises()},addEventL istener:function(t,e){var i=e;"function"==typeof e&&(i=function(t){t.target=this ,e.call(this,t)}.bind(this),e._wrapper=i),this._animation.addEventListener(t,i)} ,removeEventListener:function(t,e){this._animation.removeEventListener(t,e&&e._w rapper||e)},_removeChildAnimations:function(){for(;this._childAnimations.length; )this._childAnimations.pop().cancel()},_forEachChild:function(e){var i=0;if(this .effect.children&&this._childAnimations.length<this.effect.children.length&&this ._constructChildAnimations(),this._childAnimations.forEach(function(t){e.call(th is,t,i),this.effect instanceof window.SequenceEffect&&(i+=t.effect.activeDuratio n)}.bind(this)),"pending"!=this.playState){var n=this.effect._timing,r=this.curr entTime;null!==r&&(r=t.calculateIterationProgress(t.calculateActiveDuration(n),r ,n)),(null==r||isNaN(r))&&this._removeChildAnimations()}}},window.Animation=e.An imation}(c,e,f),function(t,e,i){function n(e){this._frames=t.normalizeKeyframes( e)}function r(){for(var t=!1;u.length;){var e=u.shift();e._updateChildren(),t=!0 }return t}var o=function(t){if(t._animation=void 0,t instanceof window.SequenceE ffect||t instanceof window.GroupEffect)for(var e=0;e<t.children.length;e++)o(t.c hildren[e])};e.removeMulti=function(t){for(var e=[],i=0;i<t.length;i++){var n=t[ i];n._parent?(e.indexOf(n._parent)==-1&&e.push(n._parent),n._parent.children.spl ice(n._parent.children.indexOf(n),1),n._parent=null,o(n)):n._animation&&n._anima tion.effect==n&&(n._animation.cancel(),n._animation.effect=new KeyframeEffect(nu ll,[]),n._animation._callback&&(n._animation._callback._animation=null),n._anima tion._rebuildUnderlyingAnimation(),o(n))}for(i=0;i<e.length;i++)e[i]._rebuild()} ,e.KeyframeEffect=function(e,i,r,o){return this.target=e,this._parent=null,r=t.n umericTimingToObject(r),this._timingInput=t.cloneTimingInput(r),this._timing=t.n ormalizeTimingInput(r),this.timing=t.makeTiming(r,!1,this),this.timing._effect=t his,"function"==typeof i?(t.deprecated("Custom KeyframeEffect","2015-06-22","Use KeyframeEffect.onsample instead."),this._normalizedKeyframes=i):this._normalize dKeyframes=new n(i),this._keyframes=i,this.activeDuration=t.calculateActiveDurat ion(this._timing),this._id=o,this},e.KeyframeEffect.prototype={getFrames:functio n(){return"function"==typeof this._normalizedKeyframes?this._normalizedKeyframes :this._normalizedKeyframes._frames},set onsample(t){if("function"==typeof this.g etFrames())throw new Error("Setting onsample on custom effect KeyframeEffect is not supported.");this._onsample=t,this._animation&&this._animation._rebuildUnder lyingAnimation()},get parent(){return this._parent},clone:function(){if("functio n"==typeof this.getFrames())throw new Error("Cloning custom effects is not suppo rted.");var e=new KeyframeEffect(this.target,[],t.cloneTimingInput(this._timingI nput),this._id);return e._normalizedKeyframes=this._normalizedKeyframes,e._keyfr ames=this._keyframes,e},remove:function(){e.removeMulti([this])}};var a=Element. prototype.animate;Element.prototype.animate=function(t,i){var n="";return i&&i.i d&&(n=i.id),e.timeline._play(new e.KeyframeEffect(this,t,i,n))};var s=document.c reateElementNS("http://www.w3.org/1999/xhtml","div");e.newUnderlyingAnimationFor KeyframeEffect=function(t){if(t){var e=t.target||s,i=t._keyframes;"function"==ty peof i&&(i=[]);var n=t._timingInput;n.id=t._id}else var e=s,i=[],n=0;return a.ap ply(e,[i,n])},e.bindAnimationForKeyframeEffect=function(t){t.effect&&"function"= =typeof t.effect._normalizedKeyframes&&e.bindAnimationForCustomEffect(t)};var u= [];e.awaitStartTime=function(t){null===t.startTime&&t._isGroup&&(0==u.length&&re questAnimationFrame(r),u.push(t))};var c=window.getComputedStyle;Object.definePr operty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function() {e.timeline._updateAnimationsPromises();var t=c.apply(this,arguments);return r() &&(t=c.apply(this,arguments)),e.timeline._updateAnimationsPromises(),t}}),window .KeyframeEffect=e.KeyframeEffect,window.Element.prototype.getAnimations=function (){return document.timeline.getAnimations().filter(function(t){return null!==t.e ffect&&t.effect.target==this}.bind(this))}}(c,e,f),function(t,e,i){function n(t) {t._registered||(t._registered=!0,a.push(t),s||(s=!0,requestAnimationFrame(r)))} function r(t){var e=a;a=[],e.sort(function(t,e){return t._sequenceNumber-e._sequ enceNumber}),e=e.filter(function(t){t();var e=t._animation?t._animation.playStat e:"idle";return"running"!=e&&"pending"!=e&&(t._registered=!1),t._registered}),a. push.apply(a,e),a.length?(s=!0,requestAnimationFrame(r)):s=!1}var o=(document.cr eateElementNS("http://www.w3.org/1999/xhtml","div"),0);e.bindAnimationForCustomE ffect=function(e){var i,r=e.effect.target,a="function"==typeof e.effect.getFrame s();i=a?e.effect.getFrames():e.effect._onsample;var s=e.effect.timing,u=null;s=t .normalizeTimingInput(s);var c=function(){var n=c._animation?c._animation.curren tTime:null;null!==n&&(n=t.calculateIterationProgress(t.calculateActiveDuration(s ),n,s),isNaN(n)&&(n=null)),n!==u&&(a?i(n,r,e.effect):i(n,e.effect,e.effect._anim ation)),u=n};c._animation=e,c._registered=!1,c._sequenceNumber=o++,e._callback=c ,n(c)};var a=[],s=!1;e.Animation.prototype._register=function(){this._callback&& n(this._callback)}}(c,e,f),function(t,e,i){function n(t){return t._timing.delay+ t.activeDuration+t._timing.endDelay}function r(e,i,n){this._id=n,this._parent=nu ll,this.children=e||[],this._reparent(this.children),i=t.numericTimingToObject(i ),this._timingInput=t.cloneTimingInput(i),this._timing=t.normalizeTimingInput(i, !0),this.timing=t.makeTiming(i,!0,this),this.timing._effect=this,"auto"===this._ timing.duration&&(this._timing.duration=this.activeDuration)}window.SequenceEffe ct=function(){r.apply(this,arguments)},window.GroupEffect=function(){r.apply(thi s,arguments)},r.prototype={_isAncestor:function(t){for(var e=this;null!==e;){if( e==t)return!0;e=e._parent}return!1},_rebuild:function(){for(var t=this;t;)"auto" ===t.timing.duration&&(t._timing.duration=t.activeDuration),t=t._parent;this._an imation&&this._animation._rebuildUnderlyingAnimation()},_reparent:function(t){e. removeMulti(t);for(var i=0;i<t.length;i++)t[i]._parent=this},_putChild:function( t,e){for(var i=e?"Cannot append an ancestor or self":"Cannot prepend an ancestor or self",n=0;n<t.length;n++)if(this._isAncestor(t[n]))throw{type:DOMException.H IERARCHY_REQUEST_ERR,name:"HierarchyRequestError",message:i};for(var n=0;n<t.len gth;n++)e?this.children.push(t[n]):this.children.unshift(t[n]);this._reparent(t) ,this._rebuild()},append:function(){this._putChild(arguments,!0)},prepend:functi on(){this._putChild(arguments,!1)},get parent(){return this._parent},get firstCh ild(){return this.children.length?this.children[0]:null},get lastChild(){return this.children.length?this.children[this.children.length-1]:null},clone:function( ){for(var e=t.cloneTimingInput(this._timingInput),i=[],n=0;n<this.children.lengt h;n++)i.push(this.children[n].clone());return this instanceof GroupEffect?new Gr oupEffect(i,e):new SequenceEffect(i,e)},remove:function(){e.removeMulti([this])} },window.SequenceEffect.prototype=Object.create(r.prototype),Object.defineProper ty(window.SequenceEffect.prototype,"activeDuration",{get:function(){var t=0;retu rn this.children.forEach(function(e){t+=n(e)}),Math.max(t,0)}}),window.GroupEffe ct.prototype=Object.create(r.prototype),Object.defineProperty(window.GroupEffect .prototype,"activeDuration",{get:function(){var t=0;return this.children.forEach (function(e){t=Math.max(t,n(e))}),t}}),e.newUnderlyingAnimationForGroup=function (i){var n,r=null,o=function(e){var i=n._wrapper;if(i&&"pending"!=i.playState&&i. effect)return null==e?void i._removeChildAnimations():0==e&&i.playbackRate<0&&(r ||(r=t.normalizeTimingInput(i.effect.timing)),e=t.calculateIterationProgress(t.c alculateActiveDuration(r),-1,r),isNaN(e)||null==e)?(i._forEachChild(function(t){ t.currentTime=-1}),void i._removeChildAnimations()):void 0},a=new KeyframeEffect (null,[],i._timing,i._id);return a.onsample=o,n=e.timeline._play(a)},e.bindAnima tionForGroup=function(t){t._animation._wrapper=t,t._isGroup=!0,e.awaitStartTime( t),t._constructChildAnimations(),t._setExternalAnimation(t)},e.groupChildDuratio n=n}(c,e,f),b.true=a}({},function(){return this}())</script> <script>Polymer({is :"fade-in-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:functio n(i){var e=i.node;return this._effect=new KeyframeEffect(e,[{opacity:"0"},{opaci ty:"1"}],this.timingFromConfig(i)),this._effect}})</script> <script>Polymer({is: "fade-out-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:functio n(e){var i=e.node;return this._effect=new KeyframeEffect(i,[{opacity:"1"},{opaci ty:"0"}],this.timingFromConfig(e)),this._effect}})</script> <script>"document"in self&&("classList"in document.createElement("_")?!function(){var t=document.cre ateElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e =function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function( t){var n,i=arguments.length;for(n=0;n<i;n++)t=arguments[n],e.call(this,t)}};e("a dd"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){retu rn 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}t=null}():!function(t ){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n], s=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Ar ray[n].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this [e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t] ,this.message=e},c=function(t,e){if(""===e)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new a("INVALID_CHARACTER _ERR","String contains an invalid character");return o.call(t,e)},l=function(t){ for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,s=n.leng th;i<s;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("clas s",this.toString())}},u=l[n]=[],f=function(){return new l(this)};if(a[n]=Error[n ],u.item=function(t){return this[t]||null},u.contains=function(t){return t+="",c (this,t)!==-1},u.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do t=e[n]+ "",c(this,t)===-1&&(this.push(t),s=!0);while(++n<i);s&&this._updateClassName()}, u.remove=function(){var t,e,n=arguments,i=0,s=n.length,r=!1;do for(t=n[i]+"",e=c (this,t);e!==-1;)this.splice(e,1),r=!0,e=c(this,t);while(++i<s);r&&this._updateC lassName()},u.toggle=function(t,e){t+="";var n=this.contains(t),i=n?e!==!0&&"rem ove":e!==!1&&"add";return i&&this[i](t),e===!0||e===!1?e:!n},u.toString=function (){return this.join(" ")},s.defineProperty){var h={get:f,enumerable:!0,configura ble:!0};try{s.defineProperty(i,e,h)}catch(t){t.number===-2146823252&&(h.enumerab le=!1,s.defineProperty(i,e,h))}}else s[n].__defineGetter__&&i.__defineGetter__(e ,f)}}(self))</script> <dom-module id="paper-clock-selector" assetpath="/res/imp/ bower_components/paper-time-picker/"> <template> <style>:host *{-webkit-tap-high light-color:transparent}:host{display:block;@apply(--paper-font-body1);-webkit-t ouch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-sel ect:none;-ms-user-select:none;user-select:none;pointer-events:none;@apply(--layo ut-horizontal);@apply(--layout-center-center)}#clock{display:block;overflow:visi ble}#clock *{pointer-events:fill}#face{fill:var(--divider-color);cursor:default} .line{stroke-width:2}.dot{fill:var(--default-primary-color)}.line{stroke:var(--d efault-primary-color)}.clock-hand{z-index:1}.disc-large{z-index:2;fill:var(--def ault-primary-color)}.disc-small{fill:var(--text-primary-color)}.clock-hand.no-do t .disc-small{fill:none;stroke:none}.number text{z-index:3;fill:var(--primary-te xt-color);@apply(--paper-font-subhead);pointer-events:none;dominant-baseline:mid dle;text-align:center;text-anchor:middle}.number text.clipped{z-index:4;fill:var (--text-primary-color);clip-path:url(#handClip)}.select-area{cursor:pointer;fill -opacity:0}#clock.animating #clipCircle,#clock.animating #clockHand{transition:t ransform 150ms ease-in}</style> <svg version="1.1" id="clock"> <defs> <clipPath id="handClip"> <circle id="clipCircle" r$="{{_selectorSize}}" cx$="{{_handX}}" c y$="{{_handY}}"></circle> </clipPath> </defs> <circle id="face" class="bg" r$="{ {_radius}}" cx$="{{_radius}}" cy$="{{_radius}}"></circle> <g id="clockHand" clas s="clock-hand"> <circle class="dot" r="2" cx$="{{_radius}}" cy$="{{_radius}}"></ circle> <line class="line" x1$="{{_radius}}" y1$="{{_radius}}" x2$="{{_handX}}" y2$="{{_handY}}"></line> <circle class="disc-large" r$="{{_selectorSize}}" cx$=" {{_handX}}" cy$="{{_handY}}"></circle> <circle class="disc-small" r$="{{_selecto rDotSize}}" cx$="{{_handX}}" cy$="{{_handY}}"></circle> </g> <g id="numbers"></g > <path class="select-area" on-tap="_onTouch" on-track="_onTouch" d$="{{_getSele ctArea(_radius, _selectorInner, _selectorOuter)}}"></path> </svg> </template> <s cript>!function(){function t(t,e){var i,n=0;return t=t||0,i=s(t),i<180&&e>i+180& &(n=-360),i>=180&&e<=i-180&&(n=360),t+n+(e-i)}var e="http://www.w3.org/2000/svg" ,i=12,s=function(t){return t=t?t%360:0,t<0?t+360:t};Polymer({is:"paper-clock-sel ector",properties:{selected:{type:Number,notify:!0,value:0,observer:"_selectedCh anged"},count:{type:Number,value:0},step:{type:Number,value:1,observer:"_stepCha nged"},useZero:{type:Boolean,value:!1},zeroPad:{type:Boolean,value:!1,observer:" _zeroPadChanged"},animated:{type:Boolean,value:!1}},listeners:{"iron-resize":"_u pdateSize"},observers:["_populate(count, step, useZero)"],behaviors:[Polymer.Iro nResizableBehavior],ready:function(){this._transitionEvent=this.style.WebkitTran sition?"transitionEnd":"webkitTransitionEnd",this._populate(),this._selectedChan ged(this.selected)},setClockHand:function(e,i,n){e=s(e),i="undefined"==typeof i? this.animated:i,i=!!this._radius&&i,this.$.clock.classList.remove("animating");v ar r,a=this._getTransform(this.$.clockHand);r=a?parseInt(a.match(/rotate\((-?\d+ )deg\)/)[1]):0;var o=t(r,e);return s(o)===r?this._setHandRotation(r):i?(this._on ce(this._transitionEvent,function(){n&&n(),this.$.clock.classList.remove("animat ing"),this.fire("paper-clock-transition-end")}.bind(this),this.$.clockHand),this .$.clock.classList.add("animating"),void this.async(function(){this._setHandRota tion(o)})):this._setHandRotation(o)},_getTransform:function(t){return t.style.tr ansform|t.style.webkitTransform|t.style.msTransform},_setTransform:function(t,e) {t.style.msTransform=t.style.webkitTransform=t.style.transform=e},_setTransformO rigin:function(t,e){t.style.msTransformOrigin=t.style.webkitTransformOrigin=t.st yle.transformOrigin=e},_setHandRotation:function(t){var e=t/360*this.count%this. step===0,i="rotate("+t+"deg)";this.$.clockHand.classList[["remove","add"][+e]](" no-dot"),this._setTransform(this.$.clockHand,i),this._setTransform(this.$.clipCi rcle,i)},_selectedChanged:function(t){if(this.count&&!isNaN(t)){var e=t%this.cou nt,i=e;if(0!==i||this.useZero||(e=this.count),e!==this.selected)return void(this .selected=e);this._vibrate(),this.setClockHand(360/this.count*this.selected)}},_ stepChanged:function(t,e){if(this._step=e,this.count&&!isNaN(t)){var s=Math.ceil (this.count/i);t<s&&(t=s),this._step=t}},_populate:function(){delete this._resiz edCache;var t,e,i,s=this.$.numbers;for(this.set("_numbers",[]),this._stepChanged (this.step);s.firstChild;)s.removeChild(s.firstChild);for(var n=[],r=0;r<this.co unt;r++)e=r,t=null,0!==r||this.useZero||(e=this.count),i={index:r,value:e,displa y:e%this._step===0,x:0,y:0,label:this._formatNumber(e)},i.dom=this._createNumber Element(i),n.push(i),s.appendChild(i.dom.g);this.set("_numbers",n),this._positio nClockPoints()},_updateNumber:function(t){var e=t.dom;e&&t.x&&t.y&&e.text&&(e.te xt.setAttributeNS(null,"x",t.x),e.text.setAttributeNS(null,"y",t.y),e.text.textC ontent=this._formatNumber(t.value),e.textClipped.setAttributeNS(null,"x",t.x),e. textClipped.setAttributeNS(null,"y",t.y),e.textClipped.textContent=this._formatN umber(t.value))},_createNumberElement:function(t){function i(t,i){var s=document .createElementNS(e,t);return i&&i.forEach(function(t){s.classList.add(t)}),Polym er.Settings.useNativeShadow||(s.classList.add("style-scope"),s.classList.add("pa per-clock-selector")),s}var s=i("g",["number"]),n=null,r=null;return t.display&& (n=i("text"),n.textContent=t.label,s.appendChild(n),r=i("text",["clipped"]),r.te xtContent=t.label,s.appendChild(r)),{g:s,text:n,textClipped:r}},_updateSize:func tion(){var t=Math.min(this.offsetWidth,this.offsetHeight)/2;if(t&&this._resizedC ache!==t){this._radius=t,this._selectorSize=20,this._selectorDotSize=3,this._pad ding=2,this._positionClockPoints(),this._resizedCache=this._radius,this.$.clock. style.width=2*t+"px",this.$.clock.style.height=2*t+"px";var e=t+"px "+t+"px";thi s._setTransformOrigin(this.$.clockHand,e),this._setTransformOrigin(this.$.clipCi rcle,e),this.async(function(){this._bounds=this.$.face.getBoundingClientRect()}. bind(this),150)}},_positionClockPoints:function(){if(this._radius){this._selecto rOuter=this._radius-2*this._padding,this._selectorInner=this._selectorOuter-2*th is._selectorSize;for(var t,e,i=this._selectorOuter-this._selectorSize,s=this._nu mbers,n=360/this.count*(Math.PI/180),r=0;r<this.count;r++)t=n*r,e=s[r],e.x=this. _radius+Math.sin(t)*i,e.y=this._radius-Math.cos(t)*i,this._updateNumber(e);this. _handX=this._numbers[0].x,this._handY=this._numbers[0].y}},_notifyNumberChanged: function(t){for(var e,i=["x","y"],s=0;s<i.length;s++)e=t+"."+i[s],this.get(e)&&t his.notifyPath(e,this.get(e))},_getSelectArea:function(t,e,i){return"\nM "+(t-e) +" "+t+"\nA "+e+" "+e+" 0 0 0 "+(t+e)+" "+t+"\nA "+e+" "+e+" 0 0 0 "+(t-e)+" "+t +"\nM "+(t-i)+" "+t+"\nA "+i+" "+i+" 0 0 1 "+(t+i)+" "+t+"\nA "+i+" "+i+" 0 0 1 "+(t-i)+" "+t},_onTouch:function(t){var e=t.detail.x-this._bounds.left-this._rad ius,i=t.detail.y-this._bounds.top-this._radius,s=Math.abs(Math.sqrt(Math.pow(e,2 )+Math.pow(i,2)));if(!(s<this._selectorInner||s>this._selectorOuter)){this.anima ted="track"!==t.type;var n=Math.atan(i/e);n=Math.PI/2+(e<0?n+Math.PI:n);var r=36 0/this.count*(Math.PI/180);this.selected=Math.round(n/r),"tap"!==t.type&&"end"!= =t.detail.state||this.fire("paper-clock-selected",{value:this.selected,animated: this.animated})}},_formatNumber:function(t){return this.zeroPad?("0"+t).substr(- 2):t.toString()},_getNumberClass:function(t,e,i){var s=t;return i.value===e.valu e&&(s+=" selected"),s},_vibrate:function(){this.debounce("vibrate",function(){na vigator.vibrate&&navigator.vibrate(10)})},_zeroPadChanged:function(){this._numbe rs.forEach(function(t){this._updateNumber(t)}.bind(this))},_once:function(t,e,i) {function s(){i.removeEventListener(t,s),e.apply(null,arguments)}i=i||this,i.add EventListener(t,s)}})}()</script> </dom-module> <style is="custom-style">:root{- -paper-time-picker-dialog:{margin:0;max-height:520px!important};--paper-time-pic ker-dialog-picker:{margin-top:0!important;padding:0};--paper-time-picker-dialog- calendar:{padding-bottom:0};--paper-time-picker-dialog-heading:{margin-bottom:-5 6px};}</style> <dom-module id="paper-time-picker-dialog-style" assetpath="/res/i mp/bower_components/paper-time-picker/"> <template> <style>.paper-time-picker-di alog{@apply(--paper-time-picker-dialog)}.paper-time-picker-dialog>paper-time-pic ker{--paper-calendar:{@apply(--paper-time-picker-dialog-calendar)};@apply(--pape r-time-picker-dialog-picker)}.paper-time-picker-dialog>paper-time-picker:not([na rrow]){--paper-time-picker-heading:{@apply(--paper-time-picker-dialog-heading)}; }</style> </template> </dom-module> <style is="custom-style" include="paper-time -picker-dialog-style"></style> <dom-module id="paper-time-picker" assetpath="/re s/imp/bower_components/paper-time-picker/"> <template> <style>:host *{-webkit-ta p-highlight-color:transparent}:host{display:block;background-color:var(--primary -background-color);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-us er-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;@appl y(--paper-font-body1);font-size:14px}#timePicker{width:512px;height:304px;@apply (--layout-horizontal);@apply(--paper-time-picker)}#heading{width:168px;padding:1 6px;@apply(--layout-vertical);@apply(--paper-time-picker-heading)}:host([enable- seconds]) #heading{width:200px}#clockArea{padding:20px}:host([narrow]) #timePick er{width:328px;height:428px;@apply(--layout-vertical)}:host([narrow]) #heading{w idth:auto;height:96px;padding:0 48px;@apply(--layout-horizontal);@apply(--layout -end-justified)}:host([enable-seconds][narrow]) #heading{padding:0 16px}:host([n arrow]) #heading .time{margin-top:6px;@apply(--paper-font-display3)}:host([narro w]) #timePicker #heading .time{font-size:60px;letter-spacing:.1ex!important}:hos t([narrow]) #heading .period{margin-left:12px;margin-top:12px}:host([narrow]) #c lockArea{padding:16px;@apply(--paper-time-picker-clock)}#heading{box-sizing:bord er-box;color:var(--light-primary-color);background:var(--default-primary-color); @apply(--layout-vertical);@apply(--layout-center-center)}#heading>iron-selector{ margin-top:10px}#heading .time{@apply(--paper-font-display2);@apply(--layout-hor izontal);@apply(--layout-end-justified);width:5.34ex;letter-spacing:.13ex!import ant}:host([enable-seconds]) #heading .time{width:8.5ex;font-size:40px}#heading . iron-selected{color:var(--text-primary-color)}#heading .period{font-weight:600;@ apply(--paper-font-subhead)}#heading .period div,#heading .time div{cursor:point er}#clockArea{background:var(--default-background-color);overflow:hidden;@apply( --layout-flex);@apply(--paper-time-picker-clock);@apply(--layout-vertical)}#cloc kArea>div{@apply(--layout-flex);position:relative}.clock{@apply(--layout-fit)}.c lock-animatable{@apply(--layout-fit)}</style> <iron-media-query query="{{_getMed iaQuery(forceNarrow, responsiveWidth)}}" query-matches="{{_queryMatches}}"></iro n-media-query> <div id="timePicker"> <div id="heading"> <iron-selector class="ti me" selectable="[name]" attr-for-selected="name" selected="{{view}}"> <div name= "hours" class="hour">{{hour12}}</div> <div class="sep">:</div> <div name="minute s" class="minute">{{_zeroPad(minute, 2)}}</div> <template is="dom-if" if="[[ ena bleSeconds ]]"> <div class="sep">:</div> <div name="seconds" class="second">{{_z eroPad(second, 2)}}</div> </template> </iron-selector> <iron-selector class="per iod" attr-for-selected="name" selected="{{period}}"> <div name="AM">AM</div> <di v name="PM">PM</div> </iron-selector> </div> <div id="clockArea"> <div> <neon-an imated-pages id="pages" class="clock-animatable" attr-for-selected="name" select ed="{{view}}" entry-animation="fade-in-animation" exit-animation="fade-out-anima tion"> <neon-animatable class="clock-animatable" name="hours"> <paper-clock-sele ctor class="clock" id="hourClock" count="12" step="1" animated="[[animated]]" se lected="{{hour12}}"></paper-clock-selector> </neon-animatable> <neon-animatable class="clock-animatable" name="minutes"> <paper-clock-selector class="clock" id= "minuteClock" count="60" step="5" animated="[[animated]]" use-zero="" zero-pad=" " selected="{{minute}}"></paper-clock-selector> </neon-animatable> <template is= "dom-if" if="[[ enableSeconds ]]"> <neon-animatable class="clock-animatable" nam e="seconds"> <paper-clock-selector class="clock" id="secondClock" count="60" ste p="5" animated="[[animated]]" use-zero="" zero-pad="" selected="{{second}}"></pa per-clock-selector> </neon-animatable> </template> </neon-animated-pages> </div> </div> </div> </template> <script>!function(){function e(){window.console&&cons ole.warn.apply(console,arguments)}Polymer({is:"paper-time-picker",properties:{ti me:{type:String,value:"00:00",notify:!0,observer:"_timeChanged"},rawValue:{type: Number,value:0,notify:!0,observer:"_rawValueChanged"},hour:{type:Number,observer :"_hourChanged",notify:!0,value:0},hour12:{type:Number,notify:!0,observer:"_hour 12Changed"},minute:{type:Number,notify:!0,observer:"_minuteChanged",value:0},sec ond:{type:Number,notify:!0,observer:"_secondChanged",value:0},period:{type:Strin g,notify:!0,observer:"_periodChanged",value:"AM"},view:{type:String,notify:!0,va lue:"hours",observer:"_viewChanged"},responsiveWidth:{type:String,value:"560px"} ,forceNarrow:{type:Boolean,value:!1},animated:{type:Boolean,value:!1},narrow:{ty pe:Boolean,reflectToAttribute:!0,value:!1,notify:!0},isTouch:{type:Boolean,value :!1,reflectToAttribute:!0},enableSeconds:{type:Boolean,value:!1},_queryMatches:{ type:Boolean,value:!1,observer:"_computeNarrow"}},behaviors:[Polymer.IronResizab leBehavior],observers:["_updateTime(hour, minute, second)"],listeners:{"iron-res ize":"_resizeHandler","paper-clock-selected":"_onClockSelected"},ready:function( ){this.isTouch="ontouchstart"in window,this.view="hours"},_timeChanged:function( e){if(!e)return void(this.rawValue=0);var t=this.parseTime(e),i=this.formatTime( t.hour,t.minute,t.second);if(i!==e)return void(this.time=i);var n=60*t.hour+t.mi nute;this.enableSeconds&&(n=60*n+t.second),this.rawValue=n},_updateTime:function (e,t,i){var n=60*e+t;this.enableSeconds&&(n=60*n+i),this.rawValue=n},formatTime: function(e,t,i){var n=e%24<12?"AM":"PM";return e=e%12||12,t=("0"+t).substr(-2),i =("0"+i).substr(-2),this.enableSeconds&&(t+=":"+i),e+":"+t+" "+n},parseTime:func tion(t){var i=/^\s*(\d{1,2}):?(\d{2})(:?(\d{2}))?(\s*([AaPp])\.?[Mm]\.?|[A-Z])?\ s*$/,n=t.match(i);if(!n)return void e("Invalid time:",t);var s=parseInt(n[1]),o= parseInt(n[2]),r=n[4]?parseInt(n[4]):0,a=n[6]?n[6][0].toUpperCase()+"M":"AM";ret urn"PM"===a&&s<12?s=(s+12)%24:"AM"===a&&12===s&&(s=0),{hour:s,minute:o,second:r} },togglePeriod:function(){this.period="AM"===this.period?"PM":"AM"},_rawValueCha nged:function(e,t){return isNaN(parseInt(e))?void(this.rawValue=t):(this.enableS econds?(this.hour=Math.floor(e/3600),this.minute=Math.floor(e/60)%60,this.second =e%60):(this.hour=Math.floor(e/60),this.minute=e%60,this.second=0),void(this.tim e=this.formatTime(this.hour,this.minute,this.second)))},_hour12Changed:function( e){var t="PM"===this.period?12:0;this.hour=(e%12+t)%24},_hourChanged:function(t, i){if(t=parseInt(t),!isNaN(t)||t){if(isNaN(t))return e("Invalid number:",t),void (this.hour=i);t=parseFloat(t)%24,this.hour=t,this.hour12=this._twelveHour(t),thi s.period=["PM","AM"][+(t<12)]}},_minuteChanged:function(e){e=parseFloat(e)%60,th is.minute=e},_secondChanged:function(e){e=parseFloat(e)%60,this.second=e},_perio dChanged:function(e){isNaN(parseInt(this.hour))||isNaN(parseInt(this.minute))||( "AM"===e&&this.hour>=12?this.hour-=12:"PM"===e&&this.hour<12&&(this.hour+=12))}, _zeroPad:function(e,t){if(void 0!==e&&!isNaN(e)&&!isNaN(t))return("0"+e).substr( -t)},_twelveHour:function(e){return e%12||12},_isEqual:function(e,t){return e=== t},_getMediaQuery:function(e,t){return"(max-width: "+(e?"":t)+")"},_computeNarro w:function(){this.set("narrow",this._queryMatches||this.forceNarrow)},_viewChang ed:function(e,t){if(this.$.pages._notifyPageResize(),!this._selecting&&t&&e&&thi s.animated){var i={hours:this.$.hourClock,minutes:this.$.minuteClock,seconds:thi s.$.secondClock},n=i[t],s=i[e],o=360/n.count*n.selected,r=360/s.count*s.selected ;s.setClockHand(o,!1),n.setClockHand(r),this.async(function(){s.setClockHand(r,! 0,function(){this.async(function(){n.setClockHand(o,!1)},200)}.bind(this))}.bind (this))}},_onClockSelected:function(e){if("hours"===this.view){var t=function(){ this.async(function(){this._selecting=!0,this.view="minutes",this._selecting=!1} .bind(this),100),this.$.hourClock.removeEventListener("paper-clock-transition-en d",t)}.bind(this);e.detail.animated?this.$.hourClock.addEventListener("paper-clo ck-transition-end",t):t(),this.hour12!==e.detail.value?this.hour12=e.detail.valu e:t()}else if("minutes"===this.view&&this.enableSeconds){var i=function(){this.a sync(function(){this._selecting=!0,this.view="seconds",this._selecting=!1}.bind( this),100),this.$.minuteClock.removeEventListener("paper-clock-transition-end",i )}.bind(this);e.detail.animated?this.$.minuteClock.addEventListener("paper-clock -transition-end",i):i(),this.minute!==e.detail.value?this.minute=e.detail.value: i()}},_resizeHandler:function(){this.offsetWidth&&!this._resizing&&(this.updateS tyles(),this.async(function(){this._resizing=!0,this.$.pages._notifyPageResize() ,this._resizing=!1}.bind(this)))}})}()</script> </dom-module> <script>!function( e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"fu nction"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";function e(){return ln.apply(null,arguments)}function a(e){ln=e}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.ca ll(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toStrin g.call(e)}function n(e){var a;for(a in e)return!1;return!0}function r(e){return" number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}functio n _(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.cal l(e)}function d(e,a){var t,s=[];for(t=0;t<e.length;++t)s.push(a(e[t],t));return s}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function o(e, a){for(var t in a)i(a,t)&&(e[t]=a[t]);return i(a,"toString")&&(e.toString=a.toSt ring),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,t,s){return Ya(e,a, t,s,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overfl ow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvali dated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._ pf&&(e._pf=u()),e._pf}function M(e){if(null==e._isValid){var a=l(e),t=hn.call(a. parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&a.overflo w<0&&!a.empty&&!a.invalidMonth&&!a.invalidWeekday&&!a.nullInput&&!a.invalidForma t&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(s=s&&0===a.ch arsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFroze n&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function h(e){var a=m(NaN);return null!=e?o(l(a),e):l(a).userInvalidated=!0,a}function L(e){return void 0===e}function c(e,a){var t,s,n;if(L(a._isAMomentObject)||(e._isAMomentObj ect=a._isAMomentObject),L(a._i)||(e._i=a._i),L(a._f)||(e._f=a._f),L(a._l)||(e._l =a._l),L(a._strict)||(e._strict=a._strict),L(a._tzm)||(e._tzm=a._tzm),L(a._isUTC )||(e._isUTC=a._isUTC),L(a._offset)||(e._offset=a._offset),L(a._pf)||(e._pf=l(a) ),L(a._locale)||(e._locale=a._locale),Ln.length>0)for(t in Ln)s=Ln[t],n=a[s],L(n )||(e[s]=n);return e}function Y(a){c(this,a),this._d=new Date(null!=a._d?a._d.ge tTime():NaN),this.isValid()||(this._d=new Date(NaN)),cn===!1&&(cn=!0,e.updateOff set(this),cn=!1)}function y(e){return e instanceof Y||null!=e&&null!=e._isAMomen tObject}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var a=+e,t=0;return 0!==a&&isFinite(a)&&(t=p(a)),t}function k(e,a,t){var s,n=Math.m in(e.length,a.length),r=Math.abs(e.length-a.length),_=0;for(s=0;s<n;s++)(t&&e[s] !==a[s]||!t&&f(e[s])!==f(a[s]))&&_++;return _+r}function D(a){e.suppressDeprecat ionWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Depre cation warning: "+a)}function T(a,t){var s=!0;return o(function(){if(null!=e.dep recationHandler&&e.deprecationHandler(null,a),s){for(var n,r=[],_=0;_<arguments. length;_++){if(n="","object"==typeof arguments[_]){n+="\n["+_+"] ";for(var d in arguments[0])n+=d+": "+arguments[0][d]+", ";n=n.slice(0,-2)}else n=arguments[_]; r.push(n)}D(a+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new E rror).stack),s=!1}return t.apply(this,arguments)},t)}function g(a,t){null!=e.dep recationHandler&&e.deprecationHandler(a,t),Yn[a]||(D(t),Yn[a]=!0)}function w(e){ return e instanceof Function||"[object Function]"===Object.prototype.toString.ca ll(e)}function v(e){var a,t;for(t in e)a=e[t],w(a)?this[t]=a:this["_"+t]=a;this. _config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d {1,2}/.source)}function S(e,a){var t,n=o({},e);for(t in a)i(a,t)&&(s(e[t])&&s(a[ t])?(n[t]={},o(n[t],e[t]),o(n[t],a[t])):null!=a[t]?n[t]=a[t]:delete n[t]);for(t in e)i(e,t)&&!i(a,t)&&s(e[t])&&(n[t]=o({},n[t]));return n}function H(e){null!=e& &this.set(e)}function b(e,a,t){var s=this._calendar[e]||this._calendar.sameElse; return w(s)?s.call(a,t):s}function j(e){var a=this._longDateFormat[e],t=this._lo ngDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.replace( /MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}func tion x(){return this._invalidDate}function P(e){return this._ordinal.replace("%d ",e)}function W(e,a,t,s){var n=this._relativeTime[t];return w(n)?n(e,a,t,s):n.re place(/%d/i,e)}function A(e,a){var t=this._relativeTime[e>0?"future":"past"];ret urn w(t)?t(a):t.replace(/%s/i,a)}function E(e,a){var t=e.toLowerCase();Sn[t]=Sn[ t+"s"]=Sn[a]=e}function F(e){return"string"==typeof e?Sn[e]||Sn[e.toLowerCase()] :void 0}function z(e){var a,t,s={};for(t in e)i(e,t)&&(a=F(t),a&&(s[a]=e[t]));re turn s}function O(e,a){Hn[e]=a}function J(e){var a=[];for(var t in e)a.push({uni t:t,priority:Hn[t]});return a.sort(function(e,a){return e.priority-a.priority}), a}function R(a,t){return function(s){return null!=s?(C(this,a,s),e.updateOffset( this,t),this):I(this,a)}}function I(e,a){return e.isValid()?e._d["get"+(e._isUTC ?"UTC":"")+a]():NaN}function C(e,a,t){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"" )+a](t)}function G(e){return e=F(e),w(this[e])?this[e]():this}function N(e,a){if ("object"==typeof e){e=z(e);for(var t=J(e),s=0;s<t.length;s++)this[t[s].unit](e[ t[s].unit])}else if(e=F(e),w(this[e]))return this[e](a);return this}function U(e ,a,t){var s=""+Math.abs(e),n=a-s.length,r=e>=0;return(r?t?"+":"":"-")+Math.pow(1 0,Math.max(0,n)).toString().substr(1)+s}function V(e,a,t,s){var n=s;"string"==ty peof s&&(n=function(){return this[s]()}),e&&(Pn[e]=n),a&&(Pn[a[0]]=function(){re turn U(n.apply(this,arguments),a[1],a[2])}),t&&(Pn[t]=function(){return this.loc aleData().ordinal(n.apply(this,arguments),e)})}function $(e){return e.match(/\[[ \s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var a,t,s=e.m atch(bn);for(a=0,t=s.length;a<t;a++)Pn[s[a]]?s[a]=Pn[s[a]]:s[a]=$(s[a]);return f unction(a){var n,r="";for(n=0;n<t;n++)r+=s[n]instanceof Function?s[n].call(a,e): s[n];return r}}function Z(e,a){return e.isValid()?(a=q(a,e.localeData()),xn[a]=x n[a]||K(a),xn[a](e)):e.localeData().invalidDate()}function q(e,a){function t(e){ return a.longDateFormat(e)||e}var s=5;for(jn.lastIndex=0;s>=0&&jn.test(e);)e=e.r eplace(jn,t),jn.lastIndex=0,s-=1;return e}function B(e,a,t){qn[e]=w(a)?a:functio n(e,s){return e&&t?t:a}}function Q(e,a){return i(qn,e)?qn[e](a._strict,a._locale ):new RegExp(X(e))}function X(e){return ee(e.replace("\\","").replace(/\\(\[)|\\ (\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,s,n){return a||t||s||n}))}function ee (e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ae(e,a){var t,s=a ;for("string"==typeof e&&(e=[e]),r(a)&&(s=function(e,t){t[a]=f(e)}),t=0;t<e.leng th;t++)Bn[e[t]]=s}function te(e,a){ae(e,function(e,t,s,n){s._w=s._w||{},a(e,s._w ,s,n)})}function se(e,a,t){null!=a&&i(Bn,e)&&Bn[e](a,t._a,t,e)}function ne(e,a){ return new Date(Date.UTC(e,a+1,0)).getUTCDate()}function re(e,a){return e?t(this ._months)?this._months[e.month()]:this._months[(this._months.isFormat||ir).test( a)?"format":"standalone"][e.month()]:this._months}function _e(e,a){return e?t(th is._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ir.test(a)?"form at":"standalone"][e.month()]:this._monthsShort}function de(e,a,t){var s,n,r,_=e. toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMon thsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=m([2e3,s]),this._shortMonth sParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=th is.months(r,"").toLocaleLowerCase();return t?"MMM"===a?(n=dr.call(this._shortMon thsParse,_),n!==-1?n:null):(n=dr.call(this._longMonthsParse,_),n!==-1?n:null):"M MM"===a?(n=dr.call(this._shortMonthsParse,_),n!==-1?n:(n=dr.call(this._longMonth sParse,_),n!==-1?n:null)):(n=dr.call(this._longMonthsParse,_),n!==-1?n:(n=dr.cal l(this._shortMonthsParse,_),n!==-1?n:null))}function ie(e,a,t){var s,n,r;if(this ._monthsParseExact)return de.call(this,e,a,t);for(this._monthsParse||(this._mont hsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if( n=m([2e3,s]),t&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp( "^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new Reg Exp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),t||this._monthsParse[s] ||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[s].test(e))r eturn s;if(t&&"MMM"===a&&this._shortMonthsParse[s].test(e))return s;if(!t&&this. _monthsParse[s].test(e))return s}}function oe(e,a){var t;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=f(a);else if(a=e.localeData().month sParse(a),!r(a))return e;return t=Math.min(e.date(),ne(e.year(),a)),e._d["set"+( e._isUTC?"UTC":"")+"Month"](a,t),e}function me(a){return null!=a?(oe(this,a),e.u pdateOffset(this,!0),this):I(this,"Month")}function ue(){return ne(this.year(),t his.month())}function le(e){return this._monthsParseExact?(i(this,"_monthsRegex" )||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this, "_monthsShortRegex")||(this._monthsShortRegex=ur),this._monthsShortStrictRegex&& e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Me(e){return thi s._monthsParseExact?(i(this,"_monthsRegex")||he.call(this),e?this._monthsStrictR egex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=lr),this._mo nthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function he(){func tion e(e,a){return a.length-e.length}var a,t,s=[],n=[],r=[];for(a=0;a<12;a++)t=m ([2e3,a]),s.push(this.monthsShort(t,"")),n.push(this.months(t,"")),r.push(this.m onths(t,"")),r.push(this.monthsShort(t,""));for(s.sort(e),n.sort(e),r.sort(e),a= 0;a<12;a++)s[a]=ee(s[a]),n[a]=ee(n[a]);for(a=0;a<24;a++)r[a]=ee(r[a]);this._mont hsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._months Regex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsS hortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Le(e){return ce(e) ?366:365}function ce(e){return e%4===0&&e%100!==0||e%400===0}function Ye(){retur n ce(this.year())}function ye(e,a,t,s,n,r,_){var d=new Date(e,a,t,s,n,r,_);retur n e<100&&e>=0&&isFinite(d.getFullYear())&&d.setFullYear(e),d}function pe(e){var a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTC FullYear())&&a.setUTCFullYear(e),a}function fe(e,a,t){var s=7+a-t,n=(7+pe(e,0,s) .getUTCDay()-a)%7;return-n+s-1}function ke(e,a,t,s,n){var r,_,d=(7+t-s)%7,i=fe(e ,s,n),o=1+7*(a-1)+d+i;return o<=0?(r=e-1,_=Le(r)+o):o>Le(e)?(r=e+1,_=o-Le(e)):(r =e,_=o),{year:r,dayOfYear:_}}function De(e,a,t){var s,n,r=fe(e.year(),a,t),_=Mat h.floor((e.dayOfYear()-r-1)/7)+1;return _<1?(n=e.year()-1,s=_+Te(n,a,t)):_>Te(e. year(),a,t)?(s=_-Te(e.year(),a,t),n=e.year()+1):(n=e.year(),s=_),{week:s,year:n} }function Te(e,a,t){var s=fe(e,a,t),n=fe(e+1,a,t);return(Le(e)-s+n)/7}function g e(e){return De(e,this._week.dow,this._week.doy).week}function we(){return this._ week.dow}function ve(){return this._week.doy}function Se(e){var a=this.localeDat a().week(this);return null==e?a:this.add(7*(e-a),"d")}function He(e){var a=De(th is,1,4).week;return null==e?a:this.add(7*(e-a),"d")}function be(e,a){return"stri ng"!=typeof e?e:isNaN(e)?(e=a.weekdaysParse(e),"number"==typeof e?e:null):parseI nt(e,10)}function je(e,a){return"string"==typeof e?a.weekdaysParse(e)%7||7:isNaN (e)?null:e}function xe(e,a){return e?t(this._weekdays)?this._weekdays[e.day()]:t his._weekdays[this._weekdays.isFormat.test(a)?"format":"standalone"][e.day()]:th is._weekdays}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdays Short}function We(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}funct ion Ae(e,a,t){var s,n,r,_=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this ._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7 ;++s)r=m([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLoca leLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLower Case(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return t?" dddd"===a?(n=dr.call(this._weekdaysParse,_),n!==-1?n:null):"ddd"===a?(n=dr.call( this._shortWeekdaysParse,_),n!==-1?n:null):(n=dr.call(this._minWeekdaysParse,_), n!==-1?n:null):"dddd"===a?(n=dr.call(this._weekdaysParse,_),n!==-1?n:(n=dr.call( this._shortWeekdaysParse,_),n!==-1?n:(n=dr.call(this._minWeekdaysParse,_),n!==-1 ?n:null))):"ddd"===a?(n=dr.call(this._shortWeekdaysParse,_),n!==-1?n:(n=dr.call( this._weekdaysParse,_),n!==-1?n:(n=dr.call(this._minWeekdaysParse,_),n!==-1?n:nu ll))):(n=dr.call(this._minWeekdaysParse,_),n!==-1?n:(n=dr.call(this._weekdaysPar se,_),n!==-1?n:(n=dr.call(this._shortWeekdaysParse,_),n!==-1?n:null)))}function Ee(e,a,t){var s,n,r;if(this._weekdaysParseExact)return Ae.call(this,e,a,t);for(t his._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shor tWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=m([2e3,1]).day(s ),t&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+thi s.weekdays(n,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegE xp("^"+this.weekdaysShort(n,"").replace(".",".?")+"$","i"),this._minWeekdaysPars e[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".",".?")+"$","i")),this._wee kdaysParse[s]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+thi s.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),t& &"dddd"===a&&this._fullWeekdaysParse[s].test(e))return s;if(t&&"ddd"===a&&this._ shortWeekdaysParse[s].test(e))return s;if(t&&"dd"===a&&this._minWeekdaysParse[s] .test(e))return s;if(!t&&this._weekdaysParse[s].test(e))return s}}function Fe(e) {if(!this.isValid())return null!=e?this:NaN;var a=this._isUTC?this._d.getUTCDay( ):this._d.getDay();return null!=e?(e=be(e,this.localeData()),this.add(e-a,"d")): a}function ze(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7- this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")}function Oe(e) {if(!this.isValid())return null!=e?this:NaN;if(null!=e){var a=je(e,this.localeDa ta());return this.day(this.day()%7?a:a-7)}return this.day()||7}function Je(e){re turn this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ce.call(this),e?this._w eekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekda ysRegex=yr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekday sRegex)}function Re(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex") ||Ce.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(th is,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pr),this._weekdaysShortStri ctRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ie( e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ce.call(this),e?th is._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")| |(this._weekdaysMinRegex=fr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinSt rictRegex:this._weekdaysMinRegex)}function Ce(){function e(e,a){return a.length- e.length}var a,t,s,n,r,_=[],d=[],i=[],o=[];for(a=0;a<7;a++)t=m([2e3,1]).day(a),s =this.weekdaysMin(t,""),n=this.weekdaysShort(t,""),r=this.weekdays(t,""),_.push( s),d.push(n),i.push(r),o.push(s),o.push(n),o.push(r);for(_.sort(e),d.sort(e),i.s ort(e),o.sort(e),a=0;a<7;a++)d[a]=ee(d[a]),i[a]=ee(i[a]),o[a]=ee(o[a]);this._wee kdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._w eekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRege x=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp ("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+_.join(" |")+")","i")}function Ge(){return this.hours()%12||12}function Ne(){return this. hours()||24}function Ue(e,a){V(e,0,0,function(){return this.localeData().meridie m(this.hours(),this.minutes(),a)})}function Ve(e,a){return a._meridiemParse}func tion $e(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"}function Ze(e){return e?e.toLowerCase().replace("_" ,"-"):e}function qe(e){for(var a,t,s,n,r=0;r<e.length;){for(n=Ze(e[r]).split("-" ),a=n.length,t=Ze(e[r+1]),t=t?t.split("-"):null;a>0;){if(s=Be(n.slice(0,a).join( "-")))return s;if(t&&t.length>=a&&k(n,t,!0)>=a-1)break;a--}r++}return null}funct ion Be(e){var a=null;if(!wr[e]&&"undefined"!=typeof module&&module&&module.expor ts)try{a=kr._abbr,require("./locale/"+e),Qe(a)}catch(e){}return wr[e]}function Q e(e,a){var t;return e&&(t=L(a)?aa(e):Xe(e,a),t&&(kr=t)),kr._abbr}function Xe(e,a ){if(null!==a){var t=gr;if(a.abbr=e,null!=wr[e])g("defineLocaleOverride","use mo ment.updateLocale(localeName, config) to change an existing locale. moment.defin eLocale(localeName, config) should only be used for creating a new locale See ht tp://momentjs.com/guides/#/warnings/define-locale/ for more info."),t=wr[e]._con fig;else if(null!=a.parentLocale){if(null==wr[a.parentLocale])return vr[a.parent Locale]||(vr[a.parentLocale]=[]),vr[a.parentLocale].push({name:e,config:a}),null ;t=wr[a.parentLocale]._config}return wr[e]=new H(S(t,a)),vr[e]&&vr[e].forEach(fu nction(e){Xe(e.name,e.config)}),Qe(e),wr[e]}return delete wr[e],null}function ea (e,a){if(null!=a){var t,s=gr;null!=wr[e]&&(s=wr[e]._config),a=S(s,a),t=new H(a), t.parentLocale=wr[e],wr[e]=t,Qe(e)}else null!=wr[e]&&(null!=wr[e].parentLocale?w r[e]=wr[e].parentLocale:null!=wr[e]&&delete wr[e]);return wr[e]}function aa(e){v ar a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return kr;if(!t(e) ){if(a=Be(e))return a;e=[e]}return qe(e)}function ta(){return fn(wr)}function sa (e){var a,t=e._a;return t&&l(e).overflow===-2&&(a=t[Xn]<0||t[Xn]>11?Xn:t[er]<1|| t[er]>ne(t[Qn],t[Xn])?er:t[ar]<0||t[ar]>24||24===t[ar]&&(0!==t[tr]||0!==t[sr]||0 !==t[nr])?ar:t[tr]<0||t[tr]>59?tr:t[sr]<0||t[sr]>59?sr:t[nr]<0||t[nr]>999?nr:-1, l(e)._overflowDayOfYear&&(a<Qn||a>er)&&(a=er),l(e)._overflowWeeks&&a===-1&&(a=rr ),l(e)._overflowWeekday&&a===-1&&(a=_r),l(e).overflow=a),e}function na(e){var a, t,s,n,r,_,d=e._i,i=Sr.exec(d)||Hr.exec(d);if(i){for(l(e).iso=!0,a=0,t=jr.length; a<t;a++)if(jr[a][1].exec(i[1])){n=jr[a][0],s=jr[a][2]!==!1;break}if(null==n)retu rn void(e._isValid=!1);if(i[3]){for(a=0,t=xr.length;a<t;a++)if(xr[a][1].exec(i[3 ])){r=(i[2]||" ")+xr[a][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&nu ll!=r)return void(e._isValid=!1);if(i[4]){if(!br.exec(i[4]))return void(e._isVal id=!1);_="Z"}e._f=n+(r||"")+(_||""),ma(e)}else e._isValid=!1}function ra(a){var t=Pr.exec(a._i);return null!==t?void(a._d=new Date(+t[1])):(na(a),void(a._isVali d===!1&&(delete a._isValid,e.createFromInputFallback(a))))}function _a(e,a,t){re turn null!=e?e:null!=a?a:t}function da(a){var t=new Date(e.now());return a._useU TC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMon th(),t.getDate()]}function ia(e){var a,t,s,n,r=[];if(!e._d){for(s=da(e),e._w&&nu ll==e._a[er]&&null==e._a[Xn]&&oa(e),e._dayOfYear&&(n=_a(e._a[Qn],s[Qn]),e._dayOf Year>Le(n)&&(l(e)._overflowDayOfYear=!0),t=pe(n,0,e._dayOfYear),e._a[Xn]=t.getUT CMonth(),e._a[er]=t.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=r[a]=s[a];f or(;a<7;a++)e._a[a]=r[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[ar]&&0===e._a [tr]&&0===e._a[sr]&&0===e._a[nr]&&(e._nextDay=!0,e._a[ar]=0),e._d=(e._useUTC?pe: ye).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm), e._nextDay&&(e._a[ar]=24)}}function oa(e){var a,t,s,n,r,_,d,i;if(a=e._w,null!=a. GG||null!=a.W||null!=a.E)r=1,_=4,t=_a(a.GG,e._a[Qn],De(ya(),1,4).year),s=_a(a.W, 1),n=_a(a.E,1),(n<1||n>7)&&(i=!0);else{r=e._locale._week.dow,_=e._locale._week.d oy;var o=De(ya(),r,_);t=_a(a.gg,e._a[Qn],o.year),s=_a(a.w,o.week),null!=a.d?(n=a .d,(n<0||n>6)&&(i=!0)):null!=a.e?(n=a.e+r,(a.e<0||a.e>6)&&(i=!0)):n=r}s<1||s>Te( t,r,_)?l(e)._overflowWeeks=!0:null!=i?l(e)._overflowWeekday=!0:(d=ke(t,s,n,r,_), e._a[Qn]=d.year,e._dayOfYear=d.dayOfYear)}function ma(a){if(a._f===e.ISO_8601)re turn void na(a);a._a=[],l(a).empty=!0;var t,s,n,r,_,d=""+a._i,i=d.length,o=0;for (n=q(a._f,a._locale).match(bn)||[],t=0;t<n.length;t++)r=n[t],s=(d.match(Q(r,a))| |[])[0],s&&(_=d.substr(0,d.indexOf(s)),_.length>0&&l(a).unusedInput.push(_),d=d. slice(d.indexOf(s)+s.length),o+=s.length),Pn[r]?(s?l(a).empty=!1:l(a).unusedToke ns.push(r),se(r,s,a)):a._strict&&!s&&l(a).unusedTokens.push(r);l(a).charsLeftOve r=i-o,d.length>0&&l(a).unusedInput.push(d),a._a[ar]<=12&&l(a).bigHour===!0&&a._a [ar]>0&&(l(a).bigHour=void 0),l(a).parsedDateParts=a._a.slice(0),l(a).meridiem=a ._meridiem,a._a[ar]=ua(a._locale,a._a[ar],a._meridiem),ia(a),sa(a)}function ua(e ,a,t){var s;return null==t?a:null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.is PM?(s=e.isPM(t),s&&a<12&&(a+=12),s||12!==a||(a=0),a):a}function la(e){var a,t,s, n,r;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for (n=0;n<e._f.length;n++)r=0,a=c({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f =e._f[n],ma(a),M(a)&&(r+=l(a).charsLeftOver,r+=10*l(a).unusedTokens.length,l(a). score=r,(null==s||r<s)&&(s=r,t=a));o(e,t||a)}function Ma(e){if(!e._d){var a=z(e. _i);e._a=d([a.year,a.month,a.day||a.date,a.hour,a.minute,a.second,a.millisecond] ,function(e){return e&&parseInt(e,10)}),ia(e)}}function ha(e){var a=new Y(sa(La( e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function La(e){var a= e._i,s=e._f;return e._locale=e._locale||aa(e._l),null===a||void 0===s&&""===a?h( {nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),y(a)?new Y(s a(a)):(_(a)?e._d=a:t(s)?la(e):s?ma(e):ca(e),M(e)||(e._d=null),e))}function ca(a) {var s=a._i;void 0===s?a._d=new Date(e.now()):_(s)?a._d=new Date(s.valueOf()):"s tring"==typeof s?ra(a):t(s)?(a._a=d(s.slice(0),function(e){return parseInt(e,10) }),ia(a)):"object"==typeof s?Ma(a):r(s)?a._d=new Date(s):e.createFromInputFallba ck(a)}function Ya(e,a,r,_,d){var i={};return r!==!0&&r!==!1||(_=r,r=void 0),(s(e )&&n(e)||t(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUT C=d,i._l=r,i._i=e,i._f=a,i._strict=_,ha(i)}function ya(e,a,t,s){return Ya(e,a,t, s,!1)}function pa(e,a){var s,n;if(1===a.length&&t(a[0])&&(a=a[0]),!a.length)retu rn ya();for(s=a[0],n=1;n<a.length;++n)a[n].isValid()&&!a[n][e](s)||(s=a[n]);retu rn s}function fa(){var e=[].slice.call(arguments,0);return pa("isBefore",e)}func tion ka(){var e=[].slice.call(arguments,0);return pa("isAfter",e)}function Da(e) {var a=z(e),t=a.year||0,s=a.quarter||0,n=a.month||0,r=a.week||0,_=a.day||0,d=a.h our||0,i=a.minute||0,o=a.second||0,m=a.millisecond||0;this._milliseconds=+m+1e3* o+6e4*i+1e3*d*60*60,this._days=+_+7*r,this._months=+n+3*s+12*t,this._data={},thi s._locale=aa(),this._bubble()}function Ta(e){return e instanceof Da}function ga( e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function wa(e,a){V(e,0,0,functio n(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+U(~~(e/60),2)+a+U(~~ e%60,2)})}function va(e,a){var t=(a||"").match(e);if(null===t)return null;var s= t[t.length-1]||[],n=(s+"").match(Fr)||["-",0,0],r=+(60*n[1])+f(n[2]);return 0=== r?0:"+"===n[0]?r:-r}function Sa(a,t){var s,n;return t._isUTC?(s=t.clone(),n=(y(a )||_(a)?a.valueOf():ya(a).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+n), e.updateOffset(s,!1),s):ya(a).local()}function Ha(e){return 15*-Math.round(e._d. getTimezoneOffset()/15)}function ba(a,t){var s,n=this._offset||0;if(!this.isVali d())return null!=a?this:NaN;if(null!=a){if("string"==typeof a){if(a=va($n,a),nul l===a)return this}else Math.abs(a)<16&&(a*=60);return!this._isUTC&&t&&(s=Ha(this )),this._offset=a,this._isUTC=!0,null!=s&&this.add(s,"m"),n!==a&&(!t||this._chan geInProgress?Ua(this,Ra(a-n,"m"),1,!1):this._changeInProgress||(this._changeInPr ogress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this ._isUTC?n:Ha(this)}function ja(e,a){return null!=e?("string"!=typeof e&&(e=-e),t his.utcOffset(e,a),this):-this.utcOffset()}function xa(e){return this.utcOffset( 0,e)}function Pa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&t his.subtract(Ha(this),"m")),this}function Wa(){if(null!=this._tzm)this.utcOffset (this._tzm);else if("string"==typeof this._i){var e=va(Vn,this._i);null!=e?this. utcOffset(e):this.utcOffset(0,!0)}return this}function Aa(e){return!!this.isVali d()&&(e=e?ya(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Ea(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone( ).month(5).utcOffset()}function Fa(){if(!L(this._isDSTShifted))return this._isDS TShifted;var e={};if(c(e,this),e=La(e),e._a){var a=e._isUTC?m(e._a):ya(e._a);thi s._isDSTShifted=this.isValid()&&k(e._a,a.toArray())>0}else this._isDSTShifted=!1 ;return this._isDSTShifted}function za(){return!!this.isValid()&&!this._isUTC}fu nction Oa(){return!!this.isValid()&&this._isUTC}function Ja(){return!!this.isVal id()&&this._isUTC&&0===this._offset}function Ra(e,a){var t,s,n,_=e,d=null;return Ta(e)?_={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(_={},a?_[a]=e:_.millis econds=e):(d=zr.exec(e))?(t="-"===d[1]?-1:1,_={y:0,d:f(d[er])*t,h:f(d[ar])*t,m:f (d[tr])*t,s:f(d[sr])*t,ms:f(ga(1e3*d[nr]))*t}):(d=Or.exec(e))?(t="-"===d[1]?-1:1 ,_={y:Ia(d[2],t),M:Ia(d[3],t),w:Ia(d[4],t),d:Ia(d[5],t),h:Ia(d[6],t),m:Ia(d[7],t ),s:Ia(d[8],t)}):null==_?_={}:"object"==typeof _&&("from"in _||"to"in _)&&(n=Ga( ya(_.from),ya(_.to)),_={},_.ms=n.milliseconds,_.M=n.months),s=new Da(_),Ta(e)&&i (e,"_locale")&&(s._locale=e._locale),s}function Ia(e,a){var t=e&&parseFloat(e.re place(",","."));return(isNaN(t)?0:t)*a}function Ca(e,a){var t={milliseconds:0,mo nths:0};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add (t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months, "M"),t}function Ga(e,a){var t;return e.isValid()&&a.isValid()?(a=Sa(a,e),e.isBef ore(a)?t=Ca(e,a):(t=Ca(a,e),t.milliseconds=-t.milliseconds,t.months=-t.months),t ):{milliseconds:0,months:0}}function Na(e,a){return function(t,s){var n,r;return null===s||isNaN(+s)||(g(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/a dd-inverted-param/ for more info."),r=t,t=s,s=r),t="string"==typeof t?+t:t,n=Ra( t,s),Ua(this,n,e),this}}function Ua(a,t,s,n){var r=t._milliseconds,_=ga(t._days) ,d=ga(t._months);a.isValid()&&(n=null==n||n,r&&a._d.setTime(a._d.valueOf()+r*s), _&&C(a,"Date",I(a,"Date")+_*s),d&&oe(a,I(a,"Month")+d*s),n&&e.updateOffset(a,_|| d))}function Va(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"last Week":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}functi on $a(a,t){var s=a||ya(),n=Sa(s,this).startOf("day"),r=e.calendarFormat(this,n)| |"sameElse",_=t&&(w(t[r])?t[r].call(this,s):t[r]);return this.format(_||this.loc aleData().calendar(r,this,ya(s)))}function Ka(){return new Y(this)}function Za(e ,a){var t=y(e)?e:ya(e);return!(!this.isValid()||!t.isValid())&&(a=F(L(a)?"millis econd":a),"millisecond"===a?this.valueOf()>t.valueOf():t.valueOf()<this.clone(). startOf(a).valueOf())}function qa(e,a){var t=y(e)?e:ya(e);return!(!this.isValid( )||!t.isValid())&&(a=F(L(a)?"millisecond":a),"millisecond"===a?this.valueOf()<t. valueOf():this.clone().endOf(a).valueOf()<t.valueOf())}function Ba(e,a,t,s){retu rn s=s||"()",("("===s[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===s[1]?thi s.isBefore(a,t):!this.isAfter(a,t))}function Qa(e,a){var t,s=y(e)?e:ya(e);return !(!this.isValid()||!s.isValid())&&(a=F(a||"millisecond"),"millisecond"===a?this. valueOf()===s.valueOf():(t=s.valueOf(),this.clone().startOf(a).valueOf()<=t&&t<= this.clone().endOf(a).valueOf()))}function Xa(e,a){return this.isSame(e,a)||this .isAfter(e,a)}function et(e,a){return this.isSame(e,a)||this.isBefore(e,a)}funct ion at(e,a,t){var s,n,r,_;return this.isValid()?(s=Sa(e,this),s.isValid()?(n=6e4 *(s.utcOffset()-this.utcOffset()),a=F(a),"year"===a||"month"===a||"quarter"===a? (_=tt(this,s),"quarter"===a?_/=3:"year"===a&&(_/=12)):(r=this-s,_="second"===a?r /1e3:"minute"===a?r/6e4:"hour"===a?r/36e5:"day"===a?(r-n)/864e5:"week"===a?(r-n) /6048e5:r),t?_:p(_)):NaN):NaN}function tt(e,a){var t,s,n=12*(a.year()-e.year())+ (a.month()-e.month()),r=e.clone().add(n,"months");return a-r<0?(t=e.clone().add( n-1,"months"),s=(a-r)/(r-t)):(t=e.clone().add(n+1,"months"),s=(a-r)/(t-r)),-(n+s )||0}function st(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:m m:ss [GMT]ZZ")}function nt(){var e=this.clone().utc();return 0<e.year()&&e.year( )<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():Z(e,"YYYY-MM-D D[T]HH:mm:ss.SSS[Z]"):Z(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function rt(){if(!th is.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="";this. isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z");var t= "["+e+'("]',s=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm :ss.SSS",r=a+'[")]';return this.format(t+s+n+r)}function _t(a){a||(a=this.isUtc( )?e.defaultFormatUtc:e.defaultFormat);var t=Z(this,a);return this.localeData().p ostformat(t)}function dt(e,a){return this.isValid()&&(y(e)&&e.isValid()||ya(e).i sValid())?Ra({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeDat a().invalidDate()}function it(e){return this.from(ya(),e)}function ot(e,a){retur n this.isValid()&&(y(e)&&e.isValid()||ya(e).isValid())?Ra({from:this,to:e}).loca le(this.locale()).humanize(!a):this.localeData().invalidDate()}function mt(e){re turn this.to(ya(),e)}function ut(e){var a;return void 0===e?this._locale._abbr:( a=aa(e),null!=a&&(this._locale=a),this)}function lt(){return this._locale}functi on Mt(e){switch(e=F(e)){case"year":this.month(0);case"quarter":case"month":this. date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":t his.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}re turn"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e& &this.month(3*Math.floor(this.month()/3)),this}function ht(e){return e=F(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"iso Week"===e?"week":e).subtract(1,"ms"))}function Lt(){return this._d.valueOf()-6e4 *(this._offset||0)}function ct(){return Math.floor(this.valueOf()/1e3)}function Yt(){return new Date(this.valueOf())}function yt(){var e=this;return[e.year(),e. month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function pt(){v ar e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),m inutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function f t(){return this.isValid()?this.toISOString():null}function kt(){return M(this)}f unction Dt(){return o({},l(this))}function Tt(){return l(this).overflow}function gt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC, strict:this._strict}}function wt(e,a){V(0,[e,e.length],0,a)}function vt(e){retur n jt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.loc aleData()._week.doy)}function St(e){return jt.call(this,e,this.isoWeek(),this.is oWeekday(),1,4)}function Ht(){return Te(this.year(),1,4)}function bt(){var e=thi s.localeData()._week;return Te(this.year(),e.dow,e.doy)}function jt(e,a,t,s,n){v ar r;return null==e?De(this,s,n).year:(r=Te(e,s,n),a>r&&(a=r),xt.call(this,e,a,t ,s,n))}function xt(e,a,t,s,n){var r=ke(e,a,t,s,n),_=pe(r.year,0,r.dayOfYear);ret urn this.year(_.getUTCFullYear()),this.month(_.getUTCMonth()),this.date(_.getUTC Date()),this}function Pt(e){return null==e?Math.ceil((this.month()+1)/3):this.mo nth(3*(e-1)+this.month()%3)}function Wt(e){var a=Math.round((this.clone().startO f("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d ")}function At(e,a){a[nr]=f(1e3*("0."+e))}function Et(){return this._isUTC?"UTC" :""}function Ft(){return this._isUTC?"Coordinated Universal Time":""}function zt (e){return ya(1e3*e)}function Ot(){return ya.apply(null,arguments).parseZone()}f unction Jt(e){return e}function Rt(e,a,t,s){var n=aa(),r=m().set(s,a);return n[t ](r,e)}function It(e,a,t){if(r(e)&&(a=e,e=void 0),e=e||"",null!=a)return Rt(e,a, t,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Rt(e,s,t,"month");return n} 789 this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,th is.timeStamp=Date.now()},i=window.Element.prototype.animate;window.Element.proto type.animate=function(n,r){var o=i.call(this,n,r);o._cancelHandlers=[],o.oncance l=null;var a=o.cancel;o.cancel=function(){a.call(this);var i=new e(this,null,t() ),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(fun ction(){n.forEach(function(t){t.call(i.target,i)})},0)};var s=o.addEventListener ;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancel Handlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEv entListener=function(t,e){if("cancel"==t){var i=this._cancelHandlers.indexOf(e); i>=0&&this._cancelHandlers.splice(i,1)}else u.call(this,t,e)},o}}}(),function(t) {var e=document.documentElement,i=null,n=!1;try{var r=getComputedStyle(e).getPro pertyValue("opacity"),o="0"==r?"1":"0";i=e.animate({opacity:[o,o]},{duration:1}) ,i.currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){} finally{i&&i.cancel()}if(!n){var a=window.Element.prototype.animate;window.Eleme nt.prototype.animate=function(e,i){return window.Symbol&&Symbol.iterator&&Array. prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e ||(e=t.convertToArrayForm(e)),a.call(this,e,i)}}}(c),!function(t,e,i){function n (t){var i=e.timeline;i.currentTime=t,i._discardAnimations(),0==i._animations.len gth?o=!1:requestAnimationFrame(n)}var r=window.requestAnimationFrame;window.requ estAnimationFrame=function(t){return r(function(i){e.timeline._updateAnimationsP romises(),t(i),e.timeline._updateAnimationsPromises()})},e.AnimationTimeline=fun ction(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototy pe={getAnimations:function(){return this._discardAnimations(),this._animations.s lice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animatio nsWithPromises.filter(function(t){return t._updatePromises()})},_discardAnimatio ns:function(){this._updateAnimationsPromises(),this._animations=this._animations .filter(function(t){return"finished"!=t.playState&&"idle"!=t.playState})},_play: function(t){var i=new e.Animation(t,this);return this._animations.push(i),e.rest artWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updateProm ises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var o=!1;e.resta rtWebAnimationsNextTick=function(){o||(o=!0,requestAnimationFrame(n))};var a=new e.AnimationTimeline;e.timeline=a;try{Object.defineProperty(window.document,"tim eline",{configurable:!0,get:function(){return a}})}catch(t){}try{window.document .timeline=a}catch(t){}}(c,e,f),function(t,e,i){e.animationsWithPromises=[],e.Ani mation=function(e,i){if(this.id="",e&&e._id&&(this.id=e._id),this.effect=e,e&&(e ._animation=this),!i)throw new Error("Animation with null timeline is not suppor ted");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0, this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],t his._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(), this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updateP romises:function(){var t=this._oldPlayState,e=this.playState;return this._readyP romise&&e!==t&&("idle"==e?(this._rejectReadyPromise(),this._readyPromise=void 0) :"pending"==t?this._resolveReadyPromise():"pending"==e&&(this._readyPromise=void 0)),this._finishedPromise&&e!==t&&("idle"==e?(this._rejectFinishedPromise(),thi s._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finishe d"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._r eadyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this. _updatePromises();var t,i,n,r,o=!!this._animation;o&&(t=this.playbackRate,i=this ._paused,n=this.startTime,r=this.currentTime,this._animation.cancel(),this._anim ation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffe ct(this.effect),e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animat ion=e.newUnderlyingAnimationForGroup(this.effect),e.bindAnimationForGroup(this)) ,this.effect&&this.effect._onsample&&e.bindAnimationForCustomEffect(this),o&&(1! =t&&(this.playbackRate=t),null!==n?this.startTime=n:null!==r?this.currentTime=r: null!==this._holdTime&&(this.currentTime=this._holdTime),i&&this.pause()),this._ updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playSt ate){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){t his._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.gr oupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if( this.effect&&this._isGroup)for(var e=0;e<this.effect.children.length;e++)this.ef fect.children[e]._animation=t,this._childAnimations[e]._setExternalAnimation(t)} ,_constructChildAnimations:function(){if(this.effect&&this._isGroup){var t=this. effect._timing.delay;this._removeChildAnimations(),this.effect.children.forEach( function(i){var n=e.timeline._play(i);this._childAnimations.push(n),n.playbackRa te=this.playbackRate,this._paused&&n.pause(),i._animation=this.effect._animation ,this._arrangeChildren(n,t),this.effect instanceof window.SequenceEffect&&(t+=e. groupChildDuration(i))}.bind(this))}},_arrangeChildren:function(t,e){null===this .startTime?t.currentTime=this.currentTime-e/this.playbackRate:t.startTime!==this .startTime+e/this.playbackRate&&(t.startTime=this.startTime+e/this.playbackRate) },get timeline(){return this._timeline},get playState(){return this._animation?t his._animation.playState:"idle"},get finished(){return window.Promise?(this._fin ishedPromise||(e.animationsWithPromises.indexOf(this)==-1&&e.animationsWithPromi ses.push(this),this._finishedPromise=new Promise(function(t,e){this._resolveFini shedPromise=function(){t(this)},this._rejectFinishedPromise=function(){e({type:D OMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"finished"==this.playSta te&&this._resolveFinishedPromise()),this._finishedPromise):(console.warn("Animat ion Promises require JavaScript Promise constructor"),null)},get ready(){return window.Promise?(this._readyPromise||(e.animationsWithPromises.indexOf(this)==-1& &e.animationsWithPromises.push(this),this._readyPromise=new Promise(function(t,e ){this._resolveReadyPromise=function(){t(this)},this._rejectReadyPromise=functio n(){e({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"pending"!= =this.playState&&this._resolveReadyPromise()),this._readyPromise):(console.warn( "Animation Promises require JavaScript Promise constructor"),null)},get onfinish (){return this._animation.onfinish},set onfinish(t){"function"==typeof t?this._a nimation.onfinish=function(e){e.target=this,t.call(this,e)}.bind(this):this._ani mation.onfinish=t},get oncancel(){return this._animation.oncancel},set oncancel( t){"function"==typeof t?this._animation.oncancel=function(e){e.target=this,t.cal l(this,e)}.bind(this):this._animation.oncancel=t},get currentTime(){this._update Promises();var t=this._animation.currentTime;return this._updatePromises(),t},se t currentTime(t){this._updatePromises(),this._animation.currentTime=isFinite(t)? t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChild(function(e,i ){e.currentTime=t-i}),this._updatePromises()},get startTime(){return this._anima tion.startTime},set startTime(t){this._updatePromises(),this._animation.startTim e=isFinite(t)?t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChil d(function(e,i){e.startTime=t+i}),this._updatePromises()},get playbackRate(){ret urn this._animation.playbackRate},set playbackRate(t){this._updatePromises();var e=this.currentTime;this._animation.playbackRate=t,this._forEachChild(function(e ){e.playbackRate=t}),null!==e&&(this.currentTime=e),this._updatePromises()},play :function(){this._updatePromises(),this._paused=!1,this._animation.play(),this._ timeline._animations.indexOf(this)==-1&&this._timeline._animations.push(this),th is._register(),e.awaitStartTime(this),this._forEachChild(function(t){var e=t.cur rentTime;t.play(),t.currentTime=e}),this._updatePromises()},pause:function(){thi s._updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._an imation.pause(),this._register(),this._forEachChild(function(t){t.pause()}),this ._paused=!0,this._updatePromises()},finish:function(){this._updatePromises(),thi s._animation.finish(),this._register(),this._updatePromises()},cancel:function() {this._updatePromises(),this._animation.cancel(),this._register(),this._removeCh ildAnimations(),this._updatePromises()},reverse:function(){this._updatePromises( );var t=this.currentTime;this._animation.reverse(),this._forEachChild(function(t ){t.reverse()}),null!==t&&(this.currentTime=t),this._updatePromises()},addEventL istener:function(t,e){var i=e;"function"==typeof e&&(i=function(t){t.target=this ,e.call(this,t)}.bind(this),e._wrapper=i),this._animation.addEventListener(t,i)} ,removeEventListener:function(t,e){this._animation.removeEventListener(t,e&&e._w rapper||e)},_removeChildAnimations:function(){for(;this._childAnimations.length; )this._childAnimations.pop().cancel()},_forEachChild:function(e){var i=0;if(this .effect.children&&this._childAnimations.length<this.effect.children.length&&this ._constructChildAnimations(),this._childAnimations.forEach(function(t){e.call(th is,t,i),this.effect instanceof window.SequenceEffect&&(i+=t.effect.activeDuratio n)}.bind(this)),"pending"!=this.playState){var n=this.effect._timing,r=this.curr entTime;null!==r&&(r=t.calculateIterationProgress(t.calculateActiveDuration(n),r ,n)),(null==r||isNaN(r))&&this._removeChildAnimations()}}},window.Animation=e.An imation}(c,e,f),function(t,e,i){function n(e){this._frames=t.normalizeKeyframes( e)}function r(){for(var t=!1;u.length;){var e=u.shift();e._updateChildren(),t=!0 }return t}var o=function(t){if(t._animation=void 0,t instanceof window.SequenceE ffect||t instanceof window.GroupEffect)for(var e=0;e<t.children.length;e++)o(t.c hildren[e])};e.removeMulti=function(t){for(var e=[],i=0;i<t.length;i++){var n=t[ i];n._parent?(e.indexOf(n._parent)==-1&&e.push(n._parent),n._parent.children.spl ice(n._parent.children.indexOf(n),1),n._parent=null,o(n)):n._animation&&n._anima tion.effect==n&&(n._animation.cancel(),n._animation.effect=new KeyframeEffect(nu ll,[]),n._animation._callback&&(n._animation._callback._animation=null),n._anima tion._rebuildUnderlyingAnimation(),o(n))}for(i=0;i<e.length;i++)e[i]._rebuild()} ,e.KeyframeEffect=function(e,i,r,o){return this.target=e,this._parent=null,r=t.n umericTimingToObject(r),this._timingInput=t.cloneTimingInput(r),this._timing=t.n ormalizeTimingInput(r),this.timing=t.makeTiming(r,!1,this),this.timing._effect=t his,"function"==typeof i?(t.deprecated("Custom KeyframeEffect","2015-06-22","Use KeyframeEffect.onsample instead."),this._normalizedKeyframes=i):this._normalize dKeyframes=new n(i),this._keyframes=i,this.activeDuration=t.calculateActiveDurat ion(this._timing),this._id=o,this},e.KeyframeEffect.prototype={getFrames:functio n(){return"function"==typeof this._normalizedKeyframes?this._normalizedKeyframes :this._normalizedKeyframes._frames},set onsample(t){if("function"==typeof this.g etFrames())throw new Error("Setting onsample on custom effect KeyframeEffect is not supported.");this._onsample=t,this._animation&&this._animation._rebuildUnder lyingAnimation()},get parent(){return this._parent},clone:function(){if("functio n"==typeof this.getFrames())throw new Error("Cloning custom effects is not suppo rted.");var e=new KeyframeEffect(this.target,[],t.cloneTimingInput(this._timingI nput),this._id);return e._normalizedKeyframes=this._normalizedKeyframes,e._keyfr ames=this._keyframes,e},remove:function(){e.removeMulti([this])}};var a=Element. prototype.animate;Element.prototype.animate=function(t,i){var n="";return i&&i.i d&&(n=i.id),e.timeline._play(new e.KeyframeEffect(this,t,i,n))};var s=document.c reateElementNS("http://www.w3.org/1999/xhtml","div");e.newUnderlyingAnimationFor KeyframeEffect=function(t){if(t){var e=t.target||s,i=t._keyframes;"function"==ty peof i&&(i=[]);var n=t._timingInput;n.id=t._id}else var e=s,i=[],n=0;return a.ap ply(e,[i,n])},e.bindAnimationForKeyframeEffect=function(t){t.effect&&"function"= =typeof t.effect._normalizedKeyframes&&e.bindAnimationForCustomEffect(t)};var u= [];e.awaitStartTime=function(t){null===t.startTime&&t._isGroup&&(0==u.length&&re questAnimationFrame(r),u.push(t))};var c=window.getComputedStyle;Object.definePr operty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function() {e.timeline._updateAnimationsPromises();var t=c.apply(this,arguments);return r() &&(t=c.apply(this,arguments)),e.timeline._updateAnimationsPromises(),t}}),window .KeyframeEffect=e.KeyframeEffect,window.Element.prototype.getAnimations=function (){return document.timeline.getAnimations().filter(function(t){return null!==t.e ffect&&t.effect.target==this}.bind(this))}}(c,e,f),function(t,e,i){function n(t) {t._registered||(t._registered=!0,a.push(t),s||(s=!0,requestAnimationFrame(r)))} function r(t){var e=a;a=[],e.sort(function(t,e){return t._sequenceNumber-e._sequ enceNumber}),e=e.filter(function(t){t();var e=t._animation?t._animation.playStat e:"idle";return"running"!=e&&"pending"!=e&&(t._registered=!1),t._registered}),a. push.apply(a,e),a.length?(s=!0,requestAnimationFrame(r)):s=!1}var o=(document.cr eateElementNS("http://www.w3.org/1999/xhtml","div"),0);e.bindAnimationForCustomE ffect=function(e){var i,r=e.effect.target,a="function"==typeof e.effect.getFrame s();i=a?e.effect.getFrames():e.effect._onsample;var s=e.effect.timing,u=null;s=t .normalizeTimingInput(s);var c=function(){var n=c._animation?c._animation.curren tTime:null;null!==n&&(n=t.calculateIterationProgress(t.calculateActiveDuration(s ),n,s),isNaN(n)&&(n=null)),n!==u&&(a?i(n,r,e.effect):i(n,e.effect,e.effect._anim ation)),u=n};c._animation=e,c._registered=!1,c._sequenceNumber=o++,e._callback=c ,n(c)};var a=[],s=!1;e.Animation.prototype._register=function(){this._callback&& n(this._callback)}}(c,e,f),function(t,e,i){function n(t){return t._timing.delay+ t.activeDuration+t._timing.endDelay}function r(e,i,n){this._id=n,this._parent=nu ll,this.children=e||[],this._reparent(this.children),i=t.numericTimingToObject(i ),this._timingInput=t.cloneTimingInput(i),this._timing=t.normalizeTimingInput(i, !0),this.timing=t.makeTiming(i,!0,this),this.timing._effect=this,"auto"===this._ timing.duration&&(this._timing.duration=this.activeDuration)}window.SequenceEffe ct=function(){r.apply(this,arguments)},window.GroupEffect=function(){r.apply(thi s,arguments)},r.prototype={_isAncestor:function(t){for(var e=this;null!==e;){if( e==t)return!0;e=e._parent}return!1},_rebuild:function(){for(var t=this;t;)"auto" ===t.timing.duration&&(t._timing.duration=t.activeDuration),t=t._parent;this._an imation&&this._animation._rebuildUnderlyingAnimation()},_reparent:function(t){e. removeMulti(t);for(var i=0;i<t.length;i++)t[i]._parent=this},_putChild:function( t,e){for(var i=e?"Cannot append an ancestor or self":"Cannot prepend an ancestor or self",n=0;n<t.length;n++)if(this._isAncestor(t[n]))throw{type:DOMException.H IERARCHY_REQUEST_ERR,name:"HierarchyRequestError",message:i};for(var n=0;n<t.len gth;n++)e?this.children.push(t[n]):this.children.unshift(t[n]);this._reparent(t) ,this._rebuild()},append:function(){this._putChild(arguments,!0)},prepend:functi on(){this._putChild(arguments,!1)},get parent(){return this._parent},get firstCh ild(){return this.children.length?this.children[0]:null},get lastChild(){return this.children.length?this.children[this.children.length-1]:null},clone:function( ){for(var e=t.cloneTimingInput(this._timingInput),i=[],n=0;n<this.children.lengt h;n++)i.push(this.children[n].clone());return this instanceof GroupEffect?new Gr oupEffect(i,e):new SequenceEffect(i,e)},remove:function(){e.removeMulti([this])} },window.SequenceEffect.prototype=Object.create(r.prototype),Object.defineProper ty(window.SequenceEffect.prototype,"activeDuration",{get:function(){var t=0;retu rn this.children.forEach(function(e){t+=n(e)}),Math.max(t,0)}}),window.GroupEffe ct.prototype=Object.create(r.prototype),Object.defineProperty(window.GroupEffect .prototype,"activeDuration",{get:function(){var t=0;return this.children.forEach (function(e){t=Math.max(t,n(e))}),t}}),e.newUnderlyingAnimationForGroup=function (i){var n,r=null,o=function(e){var i=n._wrapper;if(i&&"pending"!=i.playState&&i. effect)return null==e?void i._removeChildAnimations():0==e&&i.playbackRate<0&&(r ||(r=t.normalizeTimingInput(i.effect.timing)),e=t.calculateIterationProgress(t.c alculateActiveDuration(r),-1,r),isNaN(e)||null==e)?(i._forEachChild(function(t){ t.currentTime=-1}),void i._removeChildAnimations()):void 0},a=new KeyframeEffect (null,[],i._timing,i._id);return a.onsample=o,n=e.timeline._play(a)},e.bindAnima tionForGroup=function(t){t._animation._wrapper=t,t._isGroup=!0,e.awaitStartTime( t),t._constructChildAnimations(),t._setExternalAnimation(t)},e.groupChildDuratio n=n}(c,e,f),b.true=a}({},function(){return this}())</script> <script>Polymer({is :"fade-in-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:functio n(i){var e=i.node;return this._effect=new KeyframeEffect(e,[{opacity:"0"},{opaci ty:"1"}],this.timingFromConfig(i)),this._effect}})</script> <script>Polymer({is: "fade-out-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:functio n(e){var i=e.node;return this._effect=new KeyframeEffect(i,[{opacity:"1"},{opaci ty:"0"}],this.timingFromConfig(e)),this._effect}})</script> <script>"document"in self&&("classList"in document.createElement("_")?!function(){var t=document.cre ateElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e =function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function( t){var n,i=arguments.length;for(n=0;n<i;n++)t=arguments[n],e.call(this,t)}};e("a dd"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){retu rn 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}t=null}():!function(t ){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n], s=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Ar ray[n].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this [e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t] ,this.message=e},c=function(t,e){if(""===e)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new a("INVALID_CHARACTER _ERR","String contains an invalid character");return o.call(t,e)},l=function(t){ for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,s=n.leng th;i<s;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("clas s",this.toString())}},u=l[n]=[],f=function(){return new l(this)};if(a[n]=Error[n ],u.item=function(t){return this[t]||null},u.contains=function(t){return t+="",c (this,t)!==-1},u.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do t=e[n]+ "",c(this,t)===-1&&(this.push(t),s=!0);while(++n<i);s&&this._updateClassName()}, u.remove=function(){var t,e,n=arguments,i=0,s=n.length,r=!1;do for(t=n[i]+"",e=c (this,t);e!==-1;)this.splice(e,1),r=!0,e=c(this,t);while(++i<s);r&&this._updateC lassName()},u.toggle=function(t,e){t+="";var n=this.contains(t),i=n?e!==!0&&"rem ove":e!==!1&&"add";return i&&this[i](t),e===!0||e===!1?e:!n},u.toString=function (){return this.join(" ")},s.defineProperty){var h={get:f,enumerable:!0,configura ble:!0};try{s.defineProperty(i,e,h)}catch(t){t.number===-2146823252&&(h.enumerab le=!1,s.defineProperty(i,e,h))}}else s[n].__defineGetter__&&i.__defineGetter__(e ,f)}}(self))</script> <dom-module id="paper-clock-selector" assetpath="/res/imp/ bower_components/paper-time-picker/"> <template> <style>:host *{-webkit-tap-high light-color:transparent}:host{display:block;@apply(--paper-font-body1);-webkit-t ouch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-sel ect:none;-ms-user-select:none;user-select:none;pointer-events:none;@apply(--layo ut-horizontal);@apply(--layout-center-center)}#clock{display:block;overflow:visi ble}#clock *{pointer-events:fill}#face{fill:var(--divider-color);cursor:default} .line{stroke-width:2}.dot{fill:var(--default-primary-color)}.line{stroke:var(--d efault-primary-color)}.clock-hand{z-index:1}.disc-large{z-index:2;fill:var(--def ault-primary-color)}.disc-small{fill:var(--text-primary-color)}.clock-hand.no-do t .disc-small{fill:none;stroke:none}.number text{z-index:3;fill:var(--primary-te xt-color);@apply(--paper-font-subhead);pointer-events:none;dominant-baseline:mid dle;text-align:center;text-anchor:middle}.number text.clipped{z-index:4;fill:var (--text-primary-color);clip-path:url(#handClip)}.select-area{cursor:pointer;fill -opacity:0}#clock.animating #clipCircle,#clock.animating #clockHand{transition:t ransform 150ms ease-in}</style> <svg version="1.1" id="clock"> <defs> <clipPath id="handClip"> <circle id="clipCircle" r$="{{_selectorSize}}" cx$="{{_handX}}" c y$="{{_handY}}"></circle> </clipPath> </defs> <circle id="face" class="bg" r$="{ {_radius}}" cx$="{{_radius}}" cy$="{{_radius}}"></circle> <g id="clockHand" clas s="clock-hand"> <circle class="dot" r="2" cx$="{{_radius}}" cy$="{{_radius}}"></ circle> <line class="line" x1$="{{_radius}}" y1$="{{_radius}}" x2$="{{_handX}}" y2$="{{_handY}}"></line> <circle class="disc-large" r$="{{_selectorSize}}" cx$=" {{_handX}}" cy$="{{_handY}}"></circle> <circle class="disc-small" r$="{{_selecto rDotSize}}" cx$="{{_handX}}" cy$="{{_handY}}"></circle> </g> <g id="numbers"></g > <path class="select-area" on-tap="_onTouch" on-track="_onTouch" d$="{{_getSele ctArea(_radius, _selectorInner, _selectorOuter)}}"></path> </svg> </template> <s cript>!function(){function t(t,e){var i,n=0;return t=t||0,i=s(t),i<180&&e>i+180& &(n=-360),i>=180&&e<=i-180&&(n=360),t+n+(e-i)}var e="http://www.w3.org/2000/svg" ,i=12,s=function(t){return t=t?t%360:0,t<0?t+360:t};Polymer({is:"paper-clock-sel ector",properties:{selected:{type:Number,notify:!0,value:0,observer:"_selectedCh anged"},count:{type:Number,value:0},step:{type:Number,value:1,observer:"_stepCha nged"},useZero:{type:Boolean,value:!1},zeroPad:{type:Boolean,value:!1,observer:" _zeroPadChanged"},animated:{type:Boolean,value:!1}},listeners:{"iron-resize":"_u pdateSize"},observers:["_populate(count, step, useZero)"],behaviors:[Polymer.Iro nResizableBehavior],ready:function(){this._transitionEvent=this.style.WebkitTran sition?"transitionEnd":"webkitTransitionEnd",this._populate(),this._selectedChan ged(this.selected)},setClockHand:function(e,i,n){e=s(e),i="undefined"==typeof i? this.animated:i,i=!!this._radius&&i,this.$.clock.classList.remove("animating");v ar r,a=this._getTransform(this.$.clockHand);r=a?parseInt(a.match(/rotate\((-?\d+ )deg\)/)[1]):0;var o=t(r,e);return s(o)===r?this._setHandRotation(r):i?(this._on ce(this._transitionEvent,function(){n&&n(),this.$.clock.classList.remove("animat ing"),this.fire("paper-clock-transition-end")}.bind(this),this.$.clockHand),this .$.clock.classList.add("animating"),void this.async(function(){this._setHandRota tion(o)})):this._setHandRotation(o)},_getTransform:function(t){return t.style.tr ansform|t.style.webkitTransform|t.style.msTransform},_setTransform:function(t,e) {t.style.msTransform=t.style.webkitTransform=t.style.transform=e},_setTransformO rigin:function(t,e){t.style.msTransformOrigin=t.style.webkitTransformOrigin=t.st yle.transformOrigin=e},_setHandRotation:function(t){var e=t/360*this.count%this. step===0,i="rotate("+t+"deg)";this.$.clockHand.classList[["remove","add"][+e]](" no-dot"),this._setTransform(this.$.clockHand,i),this._setTransform(this.$.clipCi rcle,i)},_selectedChanged:function(t){if(this.count&&!isNaN(t)){var e=t%this.cou nt,i=e;if(0!==i||this.useZero||(e=this.count),e!==this.selected)return void(this .selected=e);this._vibrate(),this.setClockHand(360/this.count*this.selected)}},_ stepChanged:function(t,e){if(this._step=e,this.count&&!isNaN(t)){var s=Math.ceil (this.count/i);t<s&&(t=s),this._step=t}},_populate:function(){delete this._resiz edCache;var t,e,i,s=this.$.numbers;for(this.set("_numbers",[]),this._stepChanged (this.step);s.firstChild;)s.removeChild(s.firstChild);for(var n=[],r=0;r<this.co unt;r++)e=r,t=null,0!==r||this.useZero||(e=this.count),i={index:r,value:e,displa y:e%this._step===0,x:0,y:0,label:this._formatNumber(e)},i.dom=this._createNumber Element(i),n.push(i),s.appendChild(i.dom.g);this.set("_numbers",n),this._positio nClockPoints()},_updateNumber:function(t){var e=t.dom;e&&t.x&&t.y&&e.text&&(e.te xt.setAttributeNS(null,"x",t.x),e.text.setAttributeNS(null,"y",t.y),e.text.textC ontent=this._formatNumber(t.value),e.textClipped.setAttributeNS(null,"x",t.x),e. textClipped.setAttributeNS(null,"y",t.y),e.textClipped.textContent=this._formatN umber(t.value))},_createNumberElement:function(t){function i(t,i){var s=document .createElementNS(e,t);return i&&i.forEach(function(t){s.classList.add(t)}),Polym er.Settings.useNativeShadow||(s.classList.add("style-scope"),s.classList.add("pa per-clock-selector")),s}var s=i("g",["number"]),n=null,r=null;return t.display&& (n=i("text"),n.textContent=t.label,s.appendChild(n),r=i("text",["clipped"]),r.te xtContent=t.label,s.appendChild(r)),{g:s,text:n,textClipped:r}},_updateSize:func tion(){var t=Math.min(this.offsetWidth,this.offsetHeight)/2;if(t&&this._resizedC ache!==t){this._radius=t,this._selectorSize=20,this._selectorDotSize=3,this._pad ding=2,this._positionClockPoints(),this._resizedCache=this._radius,this.$.clock. style.width=2*t+"px",this.$.clock.style.height=2*t+"px";var e=t+"px "+t+"px";thi s._setTransformOrigin(this.$.clockHand,e),this._setTransformOrigin(this.$.clipCi rcle,e),this.async(function(){this._bounds=this.$.face.getBoundingClientRect()}. bind(this),150)}},_positionClockPoints:function(){if(this._radius){this._selecto rOuter=this._radius-2*this._padding,this._selectorInner=this._selectorOuter-2*th is._selectorSize;for(var t,e,i=this._selectorOuter-this._selectorSize,s=this._nu mbers,n=360/this.count*(Math.PI/180),r=0;r<this.count;r++)t=n*r,e=s[r],e.x=this. _radius+Math.sin(t)*i,e.y=this._radius-Math.cos(t)*i,this._updateNumber(e);this. _handX=this._numbers[0].x,this._handY=this._numbers[0].y}},_notifyNumberChanged: function(t){for(var e,i=["x","y"],s=0;s<i.length;s++)e=t+"."+i[s],this.get(e)&&t his.notifyPath(e,this.get(e))},_getSelectArea:function(t,e,i){return"\nM "+(t-e) +" "+t+"\nA "+e+" "+e+" 0 0 0 "+(t+e)+" "+t+"\nA "+e+" "+e+" 0 0 0 "+(t-e)+" "+t +"\nM "+(t-i)+" "+t+"\nA "+i+" "+i+" 0 0 1 "+(t+i)+" "+t+"\nA "+i+" "+i+" 0 0 1 "+(t-i)+" "+t},_onTouch:function(t){var e=t.detail.x-this._bounds.left-this._rad ius,i=t.detail.y-this._bounds.top-this._radius,s=Math.abs(Math.sqrt(Math.pow(e,2 )+Math.pow(i,2)));if(!(s<this._selectorInner||s>this._selectorOuter)){this.anima ted="track"!==t.type;var n=Math.atan(i/e);n=Math.PI/2+(e<0?n+Math.PI:n);var r=36 0/this.count*(Math.PI/180);this.selected=Math.round(n/r),"tap"!==t.type&&"end"!= =t.detail.state||this.fire("paper-clock-selected",{value:this.selected,animated: this.animated})}},_formatNumber:function(t){return this.zeroPad?("0"+t).substr(- 2):t.toString()},_getNumberClass:function(t,e,i){var s=t;return i.value===e.valu e&&(s+=" selected"),s},_vibrate:function(){this.debounce("vibrate",function(){na vigator.vibrate&&navigator.vibrate(10)})},_zeroPadChanged:function(){this._numbe rs.forEach(function(t){this._updateNumber(t)}.bind(this))},_once:function(t,e,i) {function s(){i.removeEventListener(t,s),e.apply(null,arguments)}i=i||this,i.add EventListener(t,s)}})}()</script> </dom-module> <style is="custom-style">:root{- -paper-time-picker-dialog:{margin:0;max-height:520px!important};--paper-time-pic ker-dialog-picker:{margin-top:0!important;padding:0};--paper-time-picker-dialog- calendar:{padding-bottom:0};--paper-time-picker-dialog-heading:{margin-bottom:-5 6px};}</style> <dom-module id="paper-time-picker-dialog-style" assetpath="/res/i mp/bower_components/paper-time-picker/"> <template> <style>.paper-time-picker-di alog{@apply(--paper-time-picker-dialog)}.paper-time-picker-dialog>paper-time-pic ker{--paper-calendar:{@apply(--paper-time-picker-dialog-calendar)};@apply(--pape r-time-picker-dialog-picker)}.paper-time-picker-dialog>paper-time-picker:not([na rrow]){--paper-time-picker-heading:{@apply(--paper-time-picker-dialog-heading)}; }</style> </template> </dom-module> <style is="custom-style" include="paper-time -picker-dialog-style"></style> <dom-module id="paper-time-picker" assetpath="/re s/imp/bower_components/paper-time-picker/"> <template> <style>:host *{-webkit-ta p-highlight-color:transparent}:host{display:block;background-color:var(--primary -background-color);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-us er-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;@appl y(--paper-font-body1);font-size:14px}#timePicker{width:512px;height:304px;@apply (--layout-horizontal);@apply(--paper-time-picker)}#heading{width:168px;padding:1 6px;@apply(--layout-vertical);@apply(--paper-time-picker-heading)}:host([enable- seconds]) #heading{width:200px}#clockArea{padding:20px}:host([narrow]) #timePick er{width:328px;height:428px;@apply(--layout-vertical)}:host([narrow]) #heading{w idth:auto;height:96px;padding:0 48px;@apply(--layout-horizontal);@apply(--layout -end-justified)}:host([enable-seconds][narrow]) #heading{padding:0 16px}:host([n arrow]) #heading .time{margin-top:6px;@apply(--paper-font-display3)}:host([narro w]) #timePicker #heading .time{font-size:60px;letter-spacing:.1ex!important}:hos t([narrow]) #heading .period{margin-left:12px;margin-top:12px}:host([narrow]) #c lockArea{padding:16px;@apply(--paper-time-picker-clock)}#heading{box-sizing:bord er-box;color:var(--light-primary-color);background:var(--default-primary-color); @apply(--layout-vertical);@apply(--layout-center-center)}#heading>iron-selector{ margin-top:10px}#heading .time{@apply(--paper-font-display2);@apply(--layout-hor izontal);@apply(--layout-end-justified);width:5.34ex;letter-spacing:.13ex!import ant}:host([enable-seconds]) #heading .time{width:8.5ex;font-size:40px}#heading . iron-selected{color:var(--text-primary-color)}#heading .period{font-weight:600;@ apply(--paper-font-subhead)}#heading .period div,#heading .time div{cursor:point er}#clockArea{background:var(--default-background-color);overflow:hidden;@apply( --layout-flex);@apply(--paper-time-picker-clock);@apply(--layout-vertical)}#cloc kArea>div{@apply(--layout-flex);position:relative}.clock{@apply(--layout-fit)}.c lock-animatable{@apply(--layout-fit)}</style> <iron-media-query query="{{_getMed iaQuery(forceNarrow, responsiveWidth)}}" query-matches="{{_queryMatches}}"></iro n-media-query> <div id="timePicker"> <div id="heading"> <iron-selector class="ti me" selectable="[name]" attr-for-selected="name" selected="{{view}}"> <div name= "hours" class="hour">{{hour12}}</div> <div class="sep">:</div> <div name="minute s" class="minute">{{_zeroPad(minute, 2)}}</div> <template is="dom-if" if="[[ ena bleSeconds ]]"> <div class="sep">:</div> <div name="seconds" class="second">{{_z eroPad(second, 2)}}</div> </template> </iron-selector> <iron-selector class="per iod" attr-for-selected="name" selected="{{period}}"> <div name="AM">AM</div> <di v name="PM">PM</div> </iron-selector> </div> <div id="clockArea"> <div> <neon-an imated-pages id="pages" class="clock-animatable" attr-for-selected="name" select ed="{{view}}" entry-animation="fade-in-animation" exit-animation="fade-out-anima tion"> <neon-animatable class="clock-animatable" name="hours"> <paper-clock-sele ctor class="clock" id="hourClock" count="12" step="1" animated="[[animated]]" se lected="{{hour12}}"></paper-clock-selector> </neon-animatable> <neon-animatable class="clock-animatable" name="minutes"> <paper-clock-selector class="clock" id= "minuteClock" count="60" step="5" animated="[[animated]]" use-zero="" zero-pad=" " selected="{{minute}}"></paper-clock-selector> </neon-animatable> <template is= "dom-if" if="[[ enableSeconds ]]"> <neon-animatable class="clock-animatable" nam e="seconds"> <paper-clock-selector class="clock" id="secondClock" count="60" ste p="5" animated="[[animated]]" use-zero="" zero-pad="" selected="{{second}}"></pa per-clock-selector> </neon-animatable> </template> </neon-animated-pages> </div> </div> </div> </template> <script>!function(){function e(){window.console&&cons ole.warn.apply(console,arguments)}Polymer({is:"paper-time-picker",properties:{ti me:{type:String,value:"00:00",notify:!0,observer:"_timeChanged"},rawValue:{type: Number,value:0,notify:!0,observer:"_rawValueChanged"},hour:{type:Number,observer :"_hourChanged",notify:!0,value:0},hour12:{type:Number,notify:!0,observer:"_hour 12Changed"},minute:{type:Number,notify:!0,observer:"_minuteChanged",value:0},sec ond:{type:Number,notify:!0,observer:"_secondChanged",value:0},period:{type:Strin g,notify:!0,observer:"_periodChanged",value:"AM"},view:{type:String,notify:!0,va lue:"hours",observer:"_viewChanged"},responsiveWidth:{type:String,value:"560px"} ,forceNarrow:{type:Boolean,value:!1},animated:{type:Boolean,value:!1},narrow:{ty pe:Boolean,reflectToAttribute:!0,value:!1,notify:!0},isTouch:{type:Boolean,value :!1,reflectToAttribute:!0},enableSeconds:{type:Boolean,value:!1},_queryMatches:{ type:Boolean,value:!1,observer:"_computeNarrow"}},behaviors:[Polymer.IronResizab leBehavior],observers:["_updateTime(hour, minute, second)"],listeners:{"iron-res ize":"_resizeHandler","paper-clock-selected":"_onClockSelected"},ready:function( ){this.isTouch="ontouchstart"in window,this.view="hours"},_timeChanged:function( e){if(!e)return void(this.rawValue=0);var t=this.parseTime(e),i=this.formatTime( t.hour,t.minute,t.second);if(i!==e)return void(this.time=i);var n=60*t.hour+t.mi nute;this.enableSeconds&&(n=60*n+t.second),this.rawValue=n},_updateTime:function (e,t,i){var n=60*e+t;this.enableSeconds&&(n=60*n+i),this.rawValue=n},formatTime: function(e,t,i){var n=e%24<12?"AM":"PM";return e=e%12||12,t=("0"+t).substr(-2),i =("0"+i).substr(-2),this.enableSeconds&&(t+=":"+i),e+":"+t+" "+n},parseTime:func tion(t){var i=/^\s*(\d{1,2}):?(\d{2})(:?(\d{2}))?(\s*([AaPp])\.?[Mm]\.?|[A-Z])?\ s*$/,n=t.match(i);if(!n)return void e("Invalid time:",t);var s=parseInt(n[1]),o= parseInt(n[2]),r=n[4]?parseInt(n[4]):0,a=n[6]?n[6][0].toUpperCase()+"M":"AM";ret urn"PM"===a&&s<12?s=(s+12)%24:"AM"===a&&12===s&&(s=0),{hour:s,minute:o,second:r} },togglePeriod:function(){this.period="AM"===this.period?"PM":"AM"},_rawValueCha nged:function(e,t){return isNaN(parseInt(e))?void(this.rawValue=t):(this.enableS econds?(this.hour=Math.floor(e/3600),this.minute=Math.floor(e/60)%60,this.second =e%60):(this.hour=Math.floor(e/60),this.minute=e%60,this.second=0),void(this.tim e=this.formatTime(this.hour,this.minute,this.second)))},_hour12Changed:function( e){var t="PM"===this.period?12:0;this.hour=(e%12+t)%24},_hourChanged:function(t, i){if(t=parseInt(t),!isNaN(t)||t){if(isNaN(t))return e("Invalid number:",t),void (this.hour=i);t=parseFloat(t)%24,this.hour=t,this.hour12=this._twelveHour(t),thi s.period=["PM","AM"][+(t<12)]}},_minuteChanged:function(e){e=parseFloat(e)%60,th is.minute=e},_secondChanged:function(e){e=parseFloat(e)%60,this.second=e},_perio dChanged:function(e){isNaN(parseInt(this.hour))||isNaN(parseInt(this.minute))||( "AM"===e&&this.hour>=12?this.hour-=12:"PM"===e&&this.hour<12&&(this.hour+=12))}, _zeroPad:function(e,t){if(void 0!==e&&!isNaN(e)&&!isNaN(t))return("0"+e).substr( -t)},_twelveHour:function(e){return e%12||12},_isEqual:function(e,t){return e=== t},_getMediaQuery:function(e,t){return"(max-width: "+(e?"":t)+")"},_computeNarro w:function(){this.set("narrow",this._queryMatches||this.forceNarrow)},_viewChang ed:function(e,t){if(this.$.pages._notifyPageResize(),!this._selecting&&t&&e&&thi s.animated){var i={hours:this.$.hourClock,minutes:this.$.minuteClock,seconds:thi s.$.secondClock},n=i[t],s=i[e],o=360/n.count*n.selected,r=360/s.count*s.selected ;s.setClockHand(o,!1),n.setClockHand(r),this.async(function(){s.setClockHand(r,! 0,function(){this.async(function(){n.setClockHand(o,!1)},200)}.bind(this))}.bind (this))}},_onClockSelected:function(e){if("hours"===this.view){var t=function(){ this.async(function(){this._selecting=!0,this.view="minutes",this._selecting=!1} .bind(this),100),this.$.hourClock.removeEventListener("paper-clock-transition-en d",t)}.bind(this);e.detail.animated?this.$.hourClock.addEventListener("paper-clo ck-transition-end",t):t(),this.hour12!==e.detail.value?this.hour12=e.detail.valu e:t()}else if("minutes"===this.view&&this.enableSeconds){var i=function(){this.a sync(function(){this._selecting=!0,this.view="seconds",this._selecting=!1}.bind( this),100),this.$.minuteClock.removeEventListener("paper-clock-transition-end",i )}.bind(this);e.detail.animated?this.$.minuteClock.addEventListener("paper-clock -transition-end",i):i(),this.minute!==e.detail.value?this.minute=e.detail.value: i()}},_resizeHandler:function(){this.offsetWidth&&!this._resizing&&(this.updateS tyles(),this.async(function(){this._resizing=!0,this.$.pages._notifyPageResize() ,this._resizing=!1}.bind(this)))}})}()</script> </dom-module> <script>!function( e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"fu nction"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";function e(){return ln.apply(null,arguments)}function a(e){ln=e}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.ca ll(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toStrin g.call(e)}function n(e){var a;for(a in e)return!1;return!0}function r(e){return" number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}functio n _(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.cal l(e)}function d(e,a){var t,s=[];for(t=0;t<e.length;++t)s.push(a(e[t],t));return s}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function o(e, a){for(var t in a)i(a,t)&&(e[t]=a[t]);return i(a,"toString")&&(e.toString=a.toSt ring),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,t,s){return Ya(e,a, t,s,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overfl ow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvali dated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._ pf&&(e._pf=u()),e._pf}function M(e){if(null==e._isValid){var a=l(e),t=hn.call(a. parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&a.overflo w<0&&!a.empty&&!a.invalidMonth&&!a.invalidWeekday&&!a.nullInput&&!a.invalidForma t&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(s=s&&0===a.ch arsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFroze n&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function h(e){var a=m(NaN);return null!=e?o(l(a),e):l(a).userInvalidated=!0,a}function L(e){return void 0===e}function c(e,a){var t,s,n;if(L(a._isAMomentObject)||(e._isAMomentObj ect=a._isAMomentObject),L(a._i)||(e._i=a._i),L(a._f)||(e._f=a._f),L(a._l)||(e._l =a._l),L(a._strict)||(e._strict=a._strict),L(a._tzm)||(e._tzm=a._tzm),L(a._isUTC )||(e._isUTC=a._isUTC),L(a._offset)||(e._offset=a._offset),L(a._pf)||(e._pf=l(a) ),L(a._locale)||(e._locale=a._locale),Ln.length>0)for(t in Ln)s=Ln[t],n=a[s],L(n )||(e[s]=n);return e}function Y(a){c(this,a),this._d=new Date(null!=a._d?a._d.ge tTime():NaN),this.isValid()||(this._d=new Date(NaN)),cn===!1&&(cn=!0,e.updateOff set(this),cn=!1)}function y(e){return e instanceof Y||null!=e&&null!=e._isAMomen tObject}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var a=+e,t=0;return 0!==a&&isFinite(a)&&(t=p(a)),t}function k(e,a,t){var s,n=Math.m in(e.length,a.length),r=Math.abs(e.length-a.length),_=0;for(s=0;s<n;s++)(t&&e[s] !==a[s]||!t&&f(e[s])!==f(a[s]))&&_++;return _+r}function D(a){e.suppressDeprecat ionWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Depre cation warning: "+a)}function T(a,t){var s=!0;return o(function(){if(null!=e.dep recationHandler&&e.deprecationHandler(null,a),s){for(var n,r=[],_=0;_<arguments. length;_++){if(n="","object"==typeof arguments[_]){n+="\n["+_+"] ";for(var d in arguments[0])n+=d+": "+arguments[0][d]+", ";n=n.slice(0,-2)}else n=arguments[_]; r.push(n)}D(a+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new E rror).stack),s=!1}return t.apply(this,arguments)},t)}function g(a,t){null!=e.dep recationHandler&&e.deprecationHandler(a,t),Yn[a]||(D(t),Yn[a]=!0)}function w(e){ return e instanceof Function||"[object Function]"===Object.prototype.toString.ca ll(e)}function v(e){var a,t;for(t in e)a=e[t],w(a)?this[t]=a:this["_"+t]=a;this. _config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d {1,2}/.source)}function S(e,a){var t,n=o({},e);for(t in a)i(a,t)&&(s(e[t])&&s(a[ t])?(n[t]={},o(n[t],e[t]),o(n[t],a[t])):null!=a[t]?n[t]=a[t]:delete n[t]);for(t in e)i(e,t)&&!i(a,t)&&s(e[t])&&(n[t]=o({},n[t]));return n}function H(e){null!=e& &this.set(e)}function b(e,a,t){var s=this._calendar[e]||this._calendar.sameElse; return w(s)?s.call(a,t):s}function j(e){var a=this._longDateFormat[e],t=this._lo ngDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.replace( /MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}func tion x(){return this._invalidDate}function P(e){return this._ordinal.replace("%d ",e)}function W(e,a,t,s){var n=this._relativeTime[t];return w(n)?n(e,a,t,s):n.re place(/%d/i,e)}function A(e,a){var t=this._relativeTime[e>0?"future":"past"];ret urn w(t)?t(a):t.replace(/%s/i,a)}function E(e,a){var t=e.toLowerCase();Sn[t]=Sn[ t+"s"]=Sn[a]=e}function F(e){return"string"==typeof e?Sn[e]||Sn[e.toLowerCase()] :void 0}function z(e){var a,t,s={};for(t in e)i(e,t)&&(a=F(t),a&&(s[a]=e[t]));re turn s}function O(e,a){Hn[e]=a}function J(e){var a=[];for(var t in e)a.push({uni t:t,priority:Hn[t]});return a.sort(function(e,a){return e.priority-a.priority}), a}function R(a,t){return function(s){return null!=s?(C(this,a,s),e.updateOffset( this,t),this):I(this,a)}}function I(e,a){return e.isValid()?e._d["get"+(e._isUTC ?"UTC":"")+a]():NaN}function C(e,a,t){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"" )+a](t)}function G(e){return e=F(e),w(this[e])?this[e]():this}function N(e,a){if ("object"==typeof e){e=z(e);for(var t=J(e),s=0;s<t.length;s++)this[t[s].unit](e[ t[s].unit])}else if(e=F(e),w(this[e]))return this[e](a);return this}function U(e ,a,t){var s=""+Math.abs(e),n=a-s.length,r=e>=0;return(r?t?"+":"":"-")+Math.pow(1 0,Math.max(0,n)).toString().substr(1)+s}function V(e,a,t,s){var n=s;"string"==ty peof s&&(n=function(){return this[s]()}),e&&(Pn[e]=n),a&&(Pn[a[0]]=function(){re turn U(n.apply(this,arguments),a[1],a[2])}),t&&(Pn[t]=function(){return this.loc aleData().ordinal(n.apply(this,arguments),e)})}function $(e){return e.match(/\[[ \s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var a,t,s=e.m atch(bn);for(a=0,t=s.length;a<t;a++)Pn[s[a]]?s[a]=Pn[s[a]]:s[a]=$(s[a]);return f unction(a){var n,r="";for(n=0;n<t;n++)r+=s[n]instanceof Function?s[n].call(a,e): s[n];return r}}function Z(e,a){return e.isValid()?(a=q(a,e.localeData()),xn[a]=x n[a]||K(a),xn[a](e)):e.localeData().invalidDate()}function q(e,a){function t(e){ return a.longDateFormat(e)||e}var s=5;for(jn.lastIndex=0;s>=0&&jn.test(e);)e=e.r eplace(jn,t),jn.lastIndex=0,s-=1;return e}function B(e,a,t){qn[e]=w(a)?a:functio n(e,s){return e&&t?t:a}}function Q(e,a){return i(qn,e)?qn[e](a._strict,a._locale ):new RegExp(X(e))}function X(e){return ee(e.replace("\\","").replace(/\\(\[)|\\ (\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,s,n){return a||t||s||n}))}function ee (e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ae(e,a){var t,s=a ;for("string"==typeof e&&(e=[e]),r(a)&&(s=function(e,t){t[a]=f(e)}),t=0;t<e.leng th;t++)Bn[e[t]]=s}function te(e,a){ae(e,function(e,t,s,n){s._w=s._w||{},a(e,s._w ,s,n)})}function se(e,a,t){null!=a&&i(Bn,e)&&Bn[e](a,t._a,t,e)}function ne(e,a){ return new Date(Date.UTC(e,a+1,0)).getUTCDate()}function re(e,a){return e?t(this ._months)?this._months[e.month()]:this._months[(this._months.isFormat||ir).test( a)?"format":"standalone"][e.month()]:this._months}function _e(e,a){return e?t(th is._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ir.test(a)?"form at":"standalone"][e.month()]:this._monthsShort}function de(e,a,t){var s,n,r,_=e. toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMon thsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=m([2e3,s]),this._shortMonth sParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=th is.months(r,"").toLocaleLowerCase();return t?"MMM"===a?(n=dr.call(this._shortMon thsParse,_),n!==-1?n:null):(n=dr.call(this._longMonthsParse,_),n!==-1?n:null):"M MM"===a?(n=dr.call(this._shortMonthsParse,_),n!==-1?n:(n=dr.call(this._longMonth sParse,_),n!==-1?n:null)):(n=dr.call(this._longMonthsParse,_),n!==-1?n:(n=dr.cal l(this._shortMonthsParse,_),n!==-1?n:null))}function ie(e,a,t){var s,n,r;if(this ._monthsParseExact)return de.call(this,e,a,t);for(this._monthsParse||(this._mont hsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if( n=m([2e3,s]),t&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp( "^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new Reg Exp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),t||this._monthsParse[s] ||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[s].test(e))r eturn s;if(t&&"MMM"===a&&this._shortMonthsParse[s].test(e))return s;if(!t&&this. _monthsParse[s].test(e))return s}}function oe(e,a){var t;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=f(a);else if(a=e.localeData().month sParse(a),!r(a))return e;return t=Math.min(e.date(),ne(e.year(),a)),e._d["set"+( e._isUTC?"UTC":"")+"Month"](a,t),e}function me(a){return null!=a?(oe(this,a),e.u pdateOffset(this,!0),this):I(this,"Month")}function ue(){return ne(this.year(),t his.month())}function le(e){return this._monthsParseExact?(i(this,"_monthsRegex" )||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this, "_monthsShortRegex")||(this._monthsShortRegex=ur),this._monthsShortStrictRegex&& e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Me(e){return thi s._monthsParseExact?(i(this,"_monthsRegex")||he.call(this),e?this._monthsStrictR egex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=lr),this._mo nthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function he(){func tion e(e,a){return a.length-e.length}var a,t,s=[],n=[],r=[];for(a=0;a<12;a++)t=m ([2e3,a]),s.push(this.monthsShort(t,"")),n.push(this.months(t,"")),r.push(this.m onths(t,"")),r.push(this.monthsShort(t,""));for(s.sort(e),n.sort(e),r.sort(e),a= 0;a<12;a++)s[a]=ee(s[a]),n[a]=ee(n[a]);for(a=0;a<24;a++)r[a]=ee(r[a]);this._mont hsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._months Regex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsS hortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Le(e){return ce(e) ?366:365}function ce(e){return e%4===0&&e%100!==0||e%400===0}function Ye(){retur n ce(this.year())}function ye(e,a,t,s,n,r,_){var d=new Date(e,a,t,s,n,r,_);retur n e<100&&e>=0&&isFinite(d.getFullYear())&&d.setFullYear(e),d}function pe(e){var a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTC FullYear())&&a.setUTCFullYear(e),a}function fe(e,a,t){var s=7+a-t,n=(7+pe(e,0,s) .getUTCDay()-a)%7;return-n+s-1}function ke(e,a,t,s,n){var r,_,d=(7+t-s)%7,i=fe(e ,s,n),o=1+7*(a-1)+d+i;return o<=0?(r=e-1,_=Le(r)+o):o>Le(e)?(r=e+1,_=o-Le(e)):(r =e,_=o),{year:r,dayOfYear:_}}function De(e,a,t){var s,n,r=fe(e.year(),a,t),_=Mat h.floor((e.dayOfYear()-r-1)/7)+1;return _<1?(n=e.year()-1,s=_+Te(n,a,t)):_>Te(e. year(),a,t)?(s=_-Te(e.year(),a,t),n=e.year()+1):(n=e.year(),s=_),{week:s,year:n} }function Te(e,a,t){var s=fe(e,a,t),n=fe(e+1,a,t);return(Le(e)-s+n)/7}function g e(e){return De(e,this._week.dow,this._week.doy).week}function we(){return this._ week.dow}function ve(){return this._week.doy}function Se(e){var a=this.localeDat a().week(this);return null==e?a:this.add(7*(e-a),"d")}function He(e){var a=De(th is,1,4).week;return null==e?a:this.add(7*(e-a),"d")}function be(e,a){return"stri ng"!=typeof e?e:isNaN(e)?(e=a.weekdaysParse(e),"number"==typeof e?e:null):parseI nt(e,10)}function je(e,a){return"string"==typeof e?a.weekdaysParse(e)%7||7:isNaN (e)?null:e}function xe(e,a){return e?t(this._weekdays)?this._weekdays[e.day()]:t his._weekdays[this._weekdays.isFormat.test(a)?"format":"standalone"][e.day()]:th is._weekdays}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdays Short}function We(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}funct ion Ae(e,a,t){var s,n,r,_=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this ._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7 ;++s)r=m([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLoca leLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLower Case(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return t?" dddd"===a?(n=dr.call(this._weekdaysParse,_),n!==-1?n:null):"ddd"===a?(n=dr.call( this._shortWeekdaysParse,_),n!==-1?n:null):(n=dr.call(this._minWeekdaysParse,_), n!==-1?n:null):"dddd"===a?(n=dr.call(this._weekdaysParse,_),n!==-1?n:(n=dr.call( this._shortWeekdaysParse,_),n!==-1?n:(n=dr.call(this._minWeekdaysParse,_),n!==-1 ?n:null))):"ddd"===a?(n=dr.call(this._shortWeekdaysParse,_),n!==-1?n:(n=dr.call( this._weekdaysParse,_),n!==-1?n:(n=dr.call(this._minWeekdaysParse,_),n!==-1?n:nu ll))):(n=dr.call(this._minWeekdaysParse,_),n!==-1?n:(n=dr.call(this._weekdaysPar se,_),n!==-1?n:(n=dr.call(this._shortWeekdaysParse,_),n!==-1?n:null)))}function Ee(e,a,t){var s,n,r;if(this._weekdaysParseExact)return Ae.call(this,e,a,t);for(t his._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shor tWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=m([2e3,1]).day(s ),t&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+thi s.weekdays(n,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegE xp("^"+this.weekdaysShort(n,"").replace(".",".?")+"$","i"),this._minWeekdaysPars e[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".",".?")+"$","i")),this._wee kdaysParse[s]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+thi s.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),t& &"dddd"===a&&this._fullWeekdaysParse[s].test(e))return s;if(t&&"ddd"===a&&this._ shortWeekdaysParse[s].test(e))return s;if(t&&"dd"===a&&this._minWeekdaysParse[s] .test(e))return s;if(!t&&this._weekdaysParse[s].test(e))return s}}function Fe(e) {if(!this.isValid())return null!=e?this:NaN;var a=this._isUTC?this._d.getUTCDay( ):this._d.getDay();return null!=e?(e=be(e,this.localeData()),this.add(e-a,"d")): a}function ze(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7- this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")}function Oe(e) {if(!this.isValid())return null!=e?this:NaN;if(null!=e){var a=je(e,this.localeDa ta());return this.day(this.day()%7?a:a-7)}return this.day()||7}function Je(e){re turn this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ce.call(this),e?this._w eekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekda ysRegex=yr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekday sRegex)}function Re(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex") ||Ce.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(th is,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pr),this._weekdaysShortStri ctRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ie( e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ce.call(this),e?th is._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")| |(this._weekdaysMinRegex=fr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinSt rictRegex:this._weekdaysMinRegex)}function Ce(){function e(e,a){return a.length- e.length}var a,t,s,n,r,_=[],d=[],i=[],o=[];for(a=0;a<7;a++)t=m([2e3,1]).day(a),s =this.weekdaysMin(t,""),n=this.weekdaysShort(t,""),r=this.weekdays(t,""),_.push( s),d.push(n),i.push(r),o.push(s),o.push(n),o.push(r);for(_.sort(e),d.sort(e),i.s ort(e),o.sort(e),a=0;a<7;a++)d[a]=ee(d[a]),i[a]=ee(i[a]),o[a]=ee(o[a]);this._wee kdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._w eekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRege x=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp ("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+_.join(" |")+")","i")}function Ge(){return this.hours()%12||12}function Ne(){return this. hours()||24}function Ue(e,a){V(e,0,0,function(){return this.localeData().meridie m(this.hours(),this.minutes(),a)})}function Ve(e,a){return a._meridiemParse}func tion $e(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"}function Ze(e){return e?e.toLowerCase().replace("_" ,"-"):e}function qe(e){for(var a,t,s,n,r=0;r<e.length;){for(n=Ze(e[r]).split("-" ),a=n.length,t=Ze(e[r+1]),t=t?t.split("-"):null;a>0;){if(s=Be(n.slice(0,a).join( "-")))return s;if(t&&t.length>=a&&k(n,t,!0)>=a-1)break;a--}r++}return null}funct ion Be(e){var a=null;if(!wr[e]&&"undefined"!=typeof module&&module&&module.expor ts)try{a=kr._abbr,require("./locale/"+e),Qe(a)}catch(e){}return wr[e]}function Q e(e,a){var t;return e&&(t=L(a)?aa(e):Xe(e,a),t&&(kr=t)),kr._abbr}function Xe(e,a ){if(null!==a){var t=gr;if(a.abbr=e,null!=wr[e])g("defineLocaleOverride","use mo ment.updateLocale(localeName, config) to change an existing locale. moment.defin eLocale(localeName, config) should only be used for creating a new locale See ht tp://momentjs.com/guides/#/warnings/define-locale/ for more info."),t=wr[e]._con fig;else if(null!=a.parentLocale){if(null==wr[a.parentLocale])return vr[a.parent Locale]||(vr[a.parentLocale]=[]),vr[a.parentLocale].push({name:e,config:a}),null ;t=wr[a.parentLocale]._config}return wr[e]=new H(S(t,a)),vr[e]&&vr[e].forEach(fu nction(e){Xe(e.name,e.config)}),Qe(e),wr[e]}return delete wr[e],null}function ea (e,a){if(null!=a){var t,s=gr;null!=wr[e]&&(s=wr[e]._config),a=S(s,a),t=new H(a), t.parentLocale=wr[e],wr[e]=t,Qe(e)}else null!=wr[e]&&(null!=wr[e].parentLocale?w r[e]=wr[e].parentLocale:null!=wr[e]&&delete wr[e]);return wr[e]}function aa(e){v ar a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return kr;if(!t(e) ){if(a=Be(e))return a;e=[e]}return qe(e)}function ta(){return fn(wr)}function sa (e){var a,t=e._a;return t&&l(e).overflow===-2&&(a=t[Xn]<0||t[Xn]>11?Xn:t[er]<1|| t[er]>ne(t[Qn],t[Xn])?er:t[ar]<0||t[ar]>24||24===t[ar]&&(0!==t[tr]||0!==t[sr]||0 !==t[nr])?ar:t[tr]<0||t[tr]>59?tr:t[sr]<0||t[sr]>59?sr:t[nr]<0||t[nr]>999?nr:-1, l(e)._overflowDayOfYear&&(a<Qn||a>er)&&(a=er),l(e)._overflowWeeks&&a===-1&&(a=rr ),l(e)._overflowWeekday&&a===-1&&(a=_r),l(e).overflow=a),e}function na(e){var a, t,s,n,r,_,d=e._i,i=Sr.exec(d)||Hr.exec(d);if(i){for(l(e).iso=!0,a=0,t=jr.length; a<t;a++)if(jr[a][1].exec(i[1])){n=jr[a][0],s=jr[a][2]!==!1;break}if(null==n)retu rn void(e._isValid=!1);if(i[3]){for(a=0,t=xr.length;a<t;a++)if(xr[a][1].exec(i[3 ])){r=(i[2]||" ")+xr[a][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&nu ll!=r)return void(e._isValid=!1);if(i[4]){if(!br.exec(i[4]))return void(e._isVal id=!1);_="Z"}e._f=n+(r||"")+(_||""),ma(e)}else e._isValid=!1}function ra(a){var t=Pr.exec(a._i);return null!==t?void(a._d=new Date(+t[1])):(na(a),void(a._isVali d===!1&&(delete a._isValid,e.createFromInputFallback(a))))}function _a(e,a,t){re turn null!=e?e:null!=a?a:t}function da(a){var t=new Date(e.now());return a._useU TC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMon th(),t.getDate()]}function ia(e){var a,t,s,n,r=[];if(!e._d){for(s=da(e),e._w&&nu ll==e._a[er]&&null==e._a[Xn]&&oa(e),e._dayOfYear&&(n=_a(e._a[Qn],s[Qn]),e._dayOf Year>Le(n)&&(l(e)._overflowDayOfYear=!0),t=pe(n,0,e._dayOfYear),e._a[Xn]=t.getUT CMonth(),e._a[er]=t.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=r[a]=s[a];f or(;a<7;a++)e._a[a]=r[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[ar]&&0===e._a [tr]&&0===e._a[sr]&&0===e._a[nr]&&(e._nextDay=!0,e._a[ar]=0),e._d=(e._useUTC?pe: ye).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm), e._nextDay&&(e._a[ar]=24)}}function oa(e){var a,t,s,n,r,_,d,i;if(a=e._w,null!=a. GG||null!=a.W||null!=a.E)r=1,_=4,t=_a(a.GG,e._a[Qn],De(ya(),1,4).year),s=_a(a.W, 1),n=_a(a.E,1),(n<1||n>7)&&(i=!0);else{r=e._locale._week.dow,_=e._locale._week.d oy;var o=De(ya(),r,_);t=_a(a.gg,e._a[Qn],o.year),s=_a(a.w,o.week),null!=a.d?(n=a .d,(n<0||n>6)&&(i=!0)):null!=a.e?(n=a.e+r,(a.e<0||a.e>6)&&(i=!0)):n=r}s<1||s>Te( t,r,_)?l(e)._overflowWeeks=!0:null!=i?l(e)._overflowWeekday=!0:(d=ke(t,s,n,r,_), e._a[Qn]=d.year,e._dayOfYear=d.dayOfYear)}function ma(a){if(a._f===e.ISO_8601)re turn void na(a);a._a=[],l(a).empty=!0;var t,s,n,r,_,d=""+a._i,i=d.length,o=0;for (n=q(a._f,a._locale).match(bn)||[],t=0;t<n.length;t++)r=n[t],s=(d.match(Q(r,a))| |[])[0],s&&(_=d.substr(0,d.indexOf(s)),_.length>0&&l(a).unusedInput.push(_),d=d. slice(d.indexOf(s)+s.length),o+=s.length),Pn[r]?(s?l(a).empty=!1:l(a).unusedToke ns.push(r),se(r,s,a)):a._strict&&!s&&l(a).unusedTokens.push(r);l(a).charsLeftOve r=i-o,d.length>0&&l(a).unusedInput.push(d),a._a[ar]<=12&&l(a).bigHour===!0&&a._a [ar]>0&&(l(a).bigHour=void 0),l(a).parsedDateParts=a._a.slice(0),l(a).meridiem=a ._meridiem,a._a[ar]=ua(a._locale,a._a[ar],a._meridiem),ia(a),sa(a)}function ua(e ,a,t){var s;return null==t?a:null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.is PM?(s=e.isPM(t),s&&a<12&&(a+=12),s||12!==a||(a=0),a):a}function la(e){var a,t,s, n,r;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for (n=0;n<e._f.length;n++)r=0,a=c({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f =e._f[n],ma(a),M(a)&&(r+=l(a).charsLeftOver,r+=10*l(a).unusedTokens.length,l(a). score=r,(null==s||r<s)&&(s=r,t=a));o(e,t||a)}function Ma(e){if(!e._d){var a=z(e. _i);e._a=d([a.year,a.month,a.day||a.date,a.hour,a.minute,a.second,a.millisecond] ,function(e){return e&&parseInt(e,10)}),ia(e)}}function ha(e){var a=new Y(sa(La( e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function La(e){var a= e._i,s=e._f;return e._locale=e._locale||aa(e._l),null===a||void 0===s&&""===a?h( {nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),y(a)?new Y(s a(a)):(_(a)?e._d=a:t(s)?la(e):s?ma(e):ca(e),M(e)||(e._d=null),e))}function ca(a) {var s=a._i;void 0===s?a._d=new Date(e.now()):_(s)?a._d=new Date(s.valueOf()):"s tring"==typeof s?ra(a):t(s)?(a._a=d(s.slice(0),function(e){return parseInt(e,10) }),ia(a)):"object"==typeof s?Ma(a):r(s)?a._d=new Date(s):e.createFromInputFallba ck(a)}function Ya(e,a,r,_,d){var i={};return r!==!0&&r!==!1||(_=r,r=void 0),(s(e )&&n(e)||t(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUT C=d,i._l=r,i._i=e,i._f=a,i._strict=_,ha(i)}function ya(e,a,t,s){return Ya(e,a,t, s,!1)}function pa(e,a){var s,n;if(1===a.length&&t(a[0])&&(a=a[0]),!a.length)retu rn ya();for(s=a[0],n=1;n<a.length;++n)a[n].isValid()&&!a[n][e](s)||(s=a[n]);retu rn s}function fa(){var e=[].slice.call(arguments,0);return pa("isBefore",e)}func tion ka(){var e=[].slice.call(arguments,0);return pa("isAfter",e)}function Da(e) {var a=z(e),t=a.year||0,s=a.quarter||0,n=a.month||0,r=a.week||0,_=a.day||0,d=a.h our||0,i=a.minute||0,o=a.second||0,m=a.millisecond||0;this._milliseconds=+m+1e3* o+6e4*i+1e3*d*60*60,this._days=+_+7*r,this._months=+n+3*s+12*t,this._data={},thi s._locale=aa(),this._bubble()}function Ta(e){return e instanceof Da}function ga( e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function wa(e,a){V(e,0,0,functio n(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+U(~~(e/60),2)+a+U(~~ e%60,2)})}function va(e,a){var t=(a||"").match(e);if(null===t)return null;var s= t[t.length-1]||[],n=(s+"").match(Fr)||["-",0,0],r=+(60*n[1])+f(n[2]);return 0=== r?0:"+"===n[0]?r:-r}function Sa(a,t){var s,n;return t._isUTC?(s=t.clone(),n=(y(a )||_(a)?a.valueOf():ya(a).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+n), e.updateOffset(s,!1),s):ya(a).local()}function Ha(e){return 15*-Math.round(e._d. getTimezoneOffset()/15)}function ba(a,t){var s,n=this._offset||0;if(!this.isVali d())return null!=a?this:NaN;if(null!=a){if("string"==typeof a){if(a=va($n,a),nul l===a)return this}else Math.abs(a)<16&&(a*=60);return!this._isUTC&&t&&(s=Ha(this )),this._offset=a,this._isUTC=!0,null!=s&&this.add(s,"m"),n!==a&&(!t||this._chan geInProgress?Ua(this,Ra(a-n,"m"),1,!1):this._changeInProgress||(this._changeInPr ogress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this ._isUTC?n:Ha(this)}function ja(e,a){return null!=e?("string"!=typeof e&&(e=-e),t his.utcOffset(e,a),this):-this.utcOffset()}function xa(e){return this.utcOffset( 0,e)}function Pa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&t his.subtract(Ha(this),"m")),this}function Wa(){if(null!=this._tzm)this.utcOffset (this._tzm);else if("string"==typeof this._i){var e=va(Vn,this._i);null!=e?this. utcOffset(e):this.utcOffset(0,!0)}return this}function Aa(e){return!!this.isVali d()&&(e=e?ya(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Ea(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone( ).month(5).utcOffset()}function Fa(){if(!L(this._isDSTShifted))return this._isDS TShifted;var e={};if(c(e,this),e=La(e),e._a){var a=e._isUTC?m(e._a):ya(e._a);thi s._isDSTShifted=this.isValid()&&k(e._a,a.toArray())>0}else this._isDSTShifted=!1 ;return this._isDSTShifted}function za(){return!!this.isValid()&&!this._isUTC}fu nction Oa(){return!!this.isValid()&&this._isUTC}function Ja(){return!!this.isVal id()&&this._isUTC&&0===this._offset}function Ra(e,a){var t,s,n,_=e,d=null;return Ta(e)?_={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(_={},a?_[a]=e:_.millis econds=e):(d=zr.exec(e))?(t="-"===d[1]?-1:1,_={y:0,d:f(d[er])*t,h:f(d[ar])*t,m:f (d[tr])*t,s:f(d[sr])*t,ms:f(ga(1e3*d[nr]))*t}):(d=Or.exec(e))?(t="-"===d[1]?-1:1 ,_={y:Ia(d[2],t),M:Ia(d[3],t),w:Ia(d[4],t),d:Ia(d[5],t),h:Ia(d[6],t),m:Ia(d[7],t ),s:Ia(d[8],t)}):null==_?_={}:"object"==typeof _&&("from"in _||"to"in _)&&(n=Ga( ya(_.from),ya(_.to)),_={},_.ms=n.milliseconds,_.M=n.months),s=new Da(_),Ta(e)&&i (e,"_locale")&&(s._locale=e._locale),s}function Ia(e,a){var t=e&&parseFloat(e.re place(",","."));return(isNaN(t)?0:t)*a}function Ca(e,a){var t={milliseconds:0,mo nths:0};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add (t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months, "M"),t}function Ga(e,a){var t;return e.isValid()&&a.isValid()?(a=Sa(a,e),e.isBef ore(a)?t=Ca(e,a):(t=Ca(a,e),t.milliseconds=-t.milliseconds,t.months=-t.months),t ):{milliseconds:0,months:0}}function Na(e,a){return function(t,s){var n,r;return null===s||isNaN(+s)||(g(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/a dd-inverted-param/ for more info."),r=t,t=s,s=r),t="string"==typeof t?+t:t,n=Ra( t,s),Ua(this,n,e),this}}function Ua(a,t,s,n){var r=t._milliseconds,_=ga(t._days) ,d=ga(t._months);a.isValid()&&(n=null==n||n,r&&a._d.setTime(a._d.valueOf()+r*s), _&&C(a,"Date",I(a,"Date")+_*s),d&&oe(a,I(a,"Month")+d*s),n&&e.updateOffset(a,_|| d))}function Va(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"last Week":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}functi on $a(a,t){var s=a||ya(),n=Sa(s,this).startOf("day"),r=e.calendarFormat(this,n)| |"sameElse",_=t&&(w(t[r])?t[r].call(this,s):t[r]);return this.format(_||this.loc aleData().calendar(r,this,ya(s)))}function Ka(){return new Y(this)}function Za(e ,a){var t=y(e)?e:ya(e);return!(!this.isValid()||!t.isValid())&&(a=F(L(a)?"millis econd":a),"millisecond"===a?this.valueOf()>t.valueOf():t.valueOf()<this.clone(). startOf(a).valueOf())}function qa(e,a){var t=y(e)?e:ya(e);return!(!this.isValid( )||!t.isValid())&&(a=F(L(a)?"millisecond":a),"millisecond"===a?this.valueOf()<t. valueOf():this.clone().endOf(a).valueOf()<t.valueOf())}function Ba(e,a,t,s){retu rn s=s||"()",("("===s[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===s[1]?thi s.isBefore(a,t):!this.isAfter(a,t))}function Qa(e,a){var t,s=y(e)?e:ya(e);return !(!this.isValid()||!s.isValid())&&(a=F(a||"millisecond"),"millisecond"===a?this. valueOf()===s.valueOf():(t=s.valueOf(),this.clone().startOf(a).valueOf()<=t&&t<= this.clone().endOf(a).valueOf()))}function Xa(e,a){return this.isSame(e,a)||this .isAfter(e,a)}function et(e,a){return this.isSame(e,a)||this.isBefore(e,a)}funct ion at(e,a,t){var s,n,r,_;return this.isValid()?(s=Sa(e,this),s.isValid()?(n=6e4 *(s.utcOffset()-this.utcOffset()),a=F(a),"year"===a||"month"===a||"quarter"===a? (_=tt(this,s),"quarter"===a?_/=3:"year"===a&&(_/=12)):(r=this-s,_="second"===a?r /1e3:"minute"===a?r/6e4:"hour"===a?r/36e5:"day"===a?(r-n)/864e5:"week"===a?(r-n) /6048e5:r),t?_:p(_)):NaN):NaN}function tt(e,a){var t,s,n=12*(a.year()-e.year())+ (a.month()-e.month()),r=e.clone().add(n,"months");return a-r<0?(t=e.clone().add( n-1,"months"),s=(a-r)/(r-t)):(t=e.clone().add(n+1,"months"),s=(a-r)/(t-r)),-(n+s )||0}function st(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:m m:ss [GMT]ZZ")}function nt(){var e=this.clone().utc();return 0<e.year()&&e.year( )<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():Z(e,"YYYY-MM-D D[T]HH:mm:ss.SSS[Z]"):Z(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function rt(){if(!th is.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="";this. isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z");var t= "["+e+'("]',s=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm :ss.SSS",r=a+'[")]';return this.format(t+s+n+r)}function _t(a){a||(a=this.isUtc( )?e.defaultFormatUtc:e.defaultFormat);var t=Z(this,a);return this.localeData().p ostformat(t)}function dt(e,a){return this.isValid()&&(y(e)&&e.isValid()||ya(e).i sValid())?Ra({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeDat a().invalidDate()}function it(e){return this.from(ya(),e)}function ot(e,a){retur n this.isValid()&&(y(e)&&e.isValid()||ya(e).isValid())?Ra({from:this,to:e}).loca le(this.locale()).humanize(!a):this.localeData().invalidDate()}function mt(e){re turn this.to(ya(),e)}function ut(e){var a;return void 0===e?this._locale._abbr:( a=aa(e),null!=a&&(this._locale=a),this)}function lt(){return this._locale}functi on Mt(e){switch(e=F(e)){case"year":this.month(0);case"quarter":case"month":this. date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":t his.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}re turn"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e& &this.month(3*Math.floor(this.month()/3)),this}function ht(e){return e=F(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"iso Week"===e?"week":e).subtract(1,"ms"))}function Lt(){return this._d.valueOf()-6e4 *(this._offset||0)}function ct(){return Math.floor(this.valueOf()/1e3)}function Yt(){return new Date(this.valueOf())}function yt(){var e=this;return[e.year(),e. month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function pt(){v ar e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),m inutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function f t(){return this.isValid()?this.toISOString():null}function kt(){return M(this)}f unction Dt(){return o({},l(this))}function Tt(){return l(this).overflow}function gt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC, strict:this._strict}}function wt(e,a){V(0,[e,e.length],0,a)}function vt(e){retur n jt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.loc aleData()._week.doy)}function St(e){return jt.call(this,e,this.isoWeek(),this.is oWeekday(),1,4)}function Ht(){return Te(this.year(),1,4)}function bt(){var e=thi s.localeData()._week;return Te(this.year(),e.dow,e.doy)}function jt(e,a,t,s,n){v ar r;return null==e?De(this,s,n).year:(r=Te(e,s,n),a>r&&(a=r),xt.call(this,e,a,t ,s,n))}function xt(e,a,t,s,n){var r=ke(e,a,t,s,n),_=pe(r.year,0,r.dayOfYear);ret urn this.year(_.getUTCFullYear()),this.month(_.getUTCMonth()),this.date(_.getUTC Date()),this}function Pt(e){return null==e?Math.ceil((this.month()+1)/3):this.mo nth(3*(e-1)+this.month()%3)}function Wt(e){var a=Math.round((this.clone().startO f("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d ")}function At(e,a){a[nr]=f(1e3*("0."+e))}function Et(){return this._isUTC?"UTC" :""}function Ft(){return this._isUTC?"Coordinated Universal Time":""}function zt (e){return ya(1e3*e)}function Ot(){return ya.apply(null,arguments).parseZone()}f unction Jt(e){return e}function Rt(e,a,t,s){var n=aa(),r=m().set(s,a);return n[t ](r,e)}function It(e,a,t){if(r(e)&&(a=e,e=void 0),e=e||"",null!=a)return Rt(e,a, t,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Rt(e,s,t,"month");return n}
790 function Ct(e,a,t,s){"boolean"==typeof e?(r(a)&&(t=a,a=void 0),a=a||""):(a=e,t=a ,e=!1,r(a)&&(t=a,a=void 0),a=a||"");var n=aa(),_=e?n._week.dow:0;if(null!=t)retu rn Rt(a,(t+_)%7,s,"day");var d,i=[];for(d=0;d<7;d++)i[d]=Rt(a,(d+_)%7,s,"day");r eturn i}function Gt(e,a){return It(e,a,"months")}function Nt(e,a){return It(e,a, "monthsShort")}function Ut(e,a,t){return Ct(e,a,t,"weekdays")}function Vt(e,a,t) {return Ct(e,a,t,"weekdaysShort")}function $t(e,a,t){return Ct(e,a,t,"weekdaysMi n")}function Kt(){var e=this._data;return this._milliseconds=Zr(this._millisecon ds),this._days=Zr(this._days),this._months=Zr(this._months),e.milliseconds=Zr(e. milliseconds),e.seconds=Zr(e.seconds),e.minutes=Zr(e.minutes),e.hours=Zr(e.hours ),e.months=Zr(e.months),e.years=Zr(e.years),this}function Zt(e,a,t,s){var n=Ra(a ,t);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n. _months,e._bubble()}function qt(e,a){return Zt(this,e,a,1)}function Bt(e,a){retu rn Zt(this,e,a,-1)}function Qt(e){return e<0?Math.floor(e):Math.ceil(e)}function Xt(){var e,a,t,s,n,r=this._milliseconds,_=this._days,d=this._months,i=this._dat a;return r>=0&&_>=0&&d>=0||r<=0&&_<=0&&d<=0||(r+=864e5*Qt(as(d)+_),_=0,d=0),i.mi lliseconds=r%1e3,e=p(r/1e3),i.seconds=e%60,a=p(e/60),i.minutes=a%60,t=p(a/60),i. hours=t%24,_+=p(t/24),n=p(es(_)),d+=n,_-=Qt(as(n)),s=p(d/12),d%=12,i.days=_,i.mo nths=d,i.years=s,this}function es(e){return 4800*e/146097}function as(e){return 146097*e/4800}function ts(e){var a,t,s=this._milliseconds;if(e=F(e),"month"===e| |"year"===e)return a=this._days+s/864e5,t=this._months+es(a),"month"===e?t:t/12; switch(a=this._days+Math.round(as(this._months)),e){case"week":return a/7+s/6048 e5;case"day":return a+s/864e5;case"hour":return 24*a+s/36e5;case"minute":return 1440*a+s/6e4;case"second":return 86400*a+s/1e3;case"millisecond":return Math.flo or(864e5*a)+s;default:throw new Error("Unknown unit "+e)}}function ss(){return t his._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months /12)}function ns(e){return function(){return this.as(e)}}function rs(e){return e =F(e),this[e+"s"]()}function _s(e){return function(){return this._data[e]}}funct ion ds(){return p(this.days()/7)}function is(e,a,t,s,n){return n.relativeTime(a| |1,!!t,e,s)}function os(e,a,t){var s=Ra(e).abs(),n=u_(s.as("s")),r=u_(s.as("m")) ,_=u_(s.as("h")),d=u_(s.as("d")),i=u_(s.as("M")),o=u_(s.as("y")),m=n<l_.s&&["s", n]||r<=1&&["m"]||r<l_.m&&["mm",r]||_<=1&&["h"]||_<l_.h&&["hh",_]||d<=1&&["d"]||d <l_.d&&["dd",d]||i<=1&&["M"]||i<l_.M&&["MM",i]||o<=1&&["y"]||["yy",o];return m[2 ]=a,m[3]=+e>0,m[4]=t,is.apply(null,m)}function ms(e){return void 0===e?u_:"funct ion"==typeof e&&(u_=e,!0)}function us(e,a){return void 0!==l_[e]&&(void 0===a?l_ [e]:(l_[e]=a,!0))}function ls(e){var a=this.localeData(),t=os(this,!e,a);return e&&(t=a.pastFuture(+this,t)),a.postformat(t)}function Ms(){var e,a,t,s=M_(this._ milliseconds)/1e3,n=M_(this._days),r=M_(this._months);e=p(s/60),a=p(e/60),s%=60, e%=60,t=p(r/12),r%=12;var _=t,d=r,i=n,o=a,m=e,u=s,l=this.asSeconds();return l?(l <0?"-":"")+"P"+(_?_+"Y":"")+(d?d+"M":"")+(i?i+"D":"")+(o||m||u?"T":"")+(o?o+"H": "")+(m?m+"M":"")+(u?u+"S":""):"P0D"}function hs(e,a){var t=e.split("_");return a %10===1&&a%100!==11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}funct ion Ls(e,a,t){var s={mm:a?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:a ?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц _месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===t?a?"хвіліна":"хвіліну":"h"=== t?a?"гадзіна":"гадзіну":e+" "+hs(s[t],+e)}function cs(e,a,t){var s={mm:"munutenn ",MM:"miz",dd:"devezh"};return e+" "+ps(s[t],e)}function Ys(e){switch(ys(e)){cas e 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}fun ction ys(e){return e>9?ys(e%10):e}function ps(e,a){return 2===a?fs(e):e}function fs(e){var a={m:"v",b:"v",d:"z"};return void 0===a[e.charAt(0)]?e:a[e.charAt(0)] +e.substring(1)}function ks(e,a,t){var s=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1===e?"minuta":2===e||3===e||4===e?"m inute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1= ==e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana ";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case "yy":return s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Ds (e){return e>1&&e<5&&1!==~~(e/10)}function Ts(e,a,t,s){var n=e+" ";switch(t){cas e"s":return a||s?"pár sekund":"pár sekundami";case"m":return a?"minuta":s?"minut u":"minutou";case"mm":return a||s?n+(Ds(e)?"minuty":"minut"):n+"minutami";case"h ":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(Ds(e)?"hodiny": "hodin"):n+"hodinami";case"d":return a||s?"den":"dnem";case"dd":return a||s?n+(D s(e)?"dny":"dní"):n+"dny";case"M":return a||s?"měsíc":"měsícem";case"MM":return a||s?n+(Ds(e)?"měsíce":"měsíců"):n+"měsíci";case"y":return a||s?"rok":"rokem";ca se"yy":return a||s?n+(Ds(e)?"roky":"let"):n+"lety"}}function gs(e,a,t,s){var n={ m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag"," einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Mona te",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};retur n a?n[t][0]:n[t][1]}function ws(e,a,t,s){var n={m:["eine Minute","einer Minute"] ,h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Ta gen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr", "einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?n[t][0]:n[t][1]}function vs( e,a,t,s){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti" ,"üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund "],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega" ,"üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return a?n[t][2]?n[t][2]:n[t][1]:s?n[t][0]:n[t][1]}function Ss(e,a,t,s){var n="";switch(t){case"s":return s?"muutaman sekunnin":"muutama se kunti";case"m":return s?"minuutin":"minuutti";case"mm":n=s?"minuutin":"minuuttia ";break;case"h":return s?"tunnin":"tunti";case"hh":n=s?"tunnin":"tuntia";break;c ase"d":return s?"päivän":"päivä";case"dd":n=s?"päivän":"päivää";break;case"M":re turn s?"kuukauden":"kuukausi";case"MM":n=s?"kuukauden":"kuukautta";break;case"y" :return s?"vuoden":"vuosi";case"yy":n=s?"vuoden":"vuotta"}return n=Hs(e,s)+" "+n }function Hs(e,a){return e<10?a?N_[e]:G_[e]:e}function bs(e,a,t){var s=e+" ";swi tch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1===e?" minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jedn og sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"d d":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e|| 4===e?"mjeseca":"mjeseci";case"yy":return s+=1===e?"godina":2===e||3===e||4===e? "godine":"godina"}}function js(e,a,t,s){var n=e;switch(t){case"s":return s||a?"n éhány másodperc":"néhány másodperce";case"m":return"egy"+(s||a?" perc":" perce") ;case"mm":return n+(s||a?" perc":" perce");case"h":return"egy"+(s||a?" óra":" ór ája");case"hh":return n+(s||a?" óra":" órája");case"d":return"egy"+(s||a?" nap": " napja");case"dd":return n+(s||a?" nap":" napja");case"M":return"egy"+(s||a?" h ónap":" hónapja");case"MM":return n+(s||a?" hónap":" hónapja");case"y":return"eg y"+(s||a?" év":" éve");case"yy":return n+(s||a?" év":" éve")}return""}function x s(e){return(e?"":"[múlt] ")+"["+ed[this.day()]+"] LT[-kor]"}function Ps(e){retur n e%100===11||e%10!==1}function Ws(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return a?"mínúta":"mínútu";c ase"mm":return Ps(e)?n+(a||s?"mínútur":"mínútum"):a?n+"mínúta":n+"mínútu";case"h h":return Ps(e)?n+(a||s?"klukkustundir":"klukkustundum"):n+"klukkustund";case"d" :return a?"dagur":s?"dag":"degi";case"dd":return Ps(e)?a?n+"dagar":n+(s?"daga":" dögum"):a?n+"dagur":n+(s?"dag":"degi");case"M":return a?"mánuður":s?"mánuð":"mán uði";case"MM":return Ps(e)?a?n+"mánuðir":n+(s?"mánuði":"mánuðum"):a?n+"mánuður": n+(s?"mánuð":"mánuði");case"y":return a||s?"ár":"ári";case"yy":return Ps(e)?n+(a ||s?"ár":"árum"):n+(a||s?"ár":"ári")}}function As(e,a,t,s){var n={m:["eng Minutt ","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?n[t][0]:n[t][1]}func tion Es(e){var a=e.substr(0,e.indexOf(" "));return zs(a)?"a "+e:"an "+e}function Fs(e){var a=e.substr(0,e.indexOf(" "));return zs(a)?"viru "+e:"virun "+e}functi on zs(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4< =e&&e<=7;if(e<100){var a=e%10,t=e/10;return zs(0===a?t:a)}if(e<1e4){for(;e>=10;) e/=10;return zs(e)}return e/=1e3,zs(e)}function Os(e,a,t,s){return a?"kelios sek undės":s?"kelių sekundžių":"kelias sekundes"}function Js(e,a,t,s){return a?Is(t) [0]:s?Is(t)[1]:Is(t)[2]}function Rs(e){return e%10===0||e>10&&e<20}function Is(e ){return sd[e].split("_")}function Cs(e,a,t,s){var n=e+" ";return 1===e?n+Js(e,a ,t[0],s):a?n+(Rs(e)?Is(t)[1]:Is(t)[0]):s?n+Is(t)[1]:n+(Rs(e)?Is(t)[1]:Is(t)[2])} function Gs(e,a,t){return t?a%10===1&&a%100!==11?e[2]:e[3]:a%10===1&&a%100!==11? e[0]:e[1]}function Ns(e,a,t){return e+" "+Gs(nd[t],e,a)}function Us(e,a,t){retur n Gs(nd[t],e,a)}function Vs(e,a){return a?"dažas sekundes":"dažām sekundēm"}func tion $s(e,a,t,s){var n="";if(a)switch(t){case"s":n="काही सेकंद";break;case"m":n= "एक मिनिट";break;case"mm":n="%d मिनिटे";break;case"h":n="एक तास";break;case"hh": n="%d तास";break;case"d":n="एक दिवस";break;case"dd":n="%d दिवस";break;case"M":n= "एक महिना";break;case"MM":n="%d महिने";break;case"y":n="एक वर्ष";break;case"yy": n="%d वर्षे"}else switch(t){case"s":n="काही सेकंदां";break;case"m":n="एका मिनिटा ";break;case"mm":n="%d मिनिटां";break;case"h":n="एका तासा";break;case"hh":n="%d तासां";break;case"d":n="एका दिवसा";break;case"dd":n="%d दिवसां";break;case"M":n= "एका महिन्या";break;case"MM":n="%d महिन्यां";break;case"y":n="एका वर्षा";break;c ase"yy":n="%d वर्षां"}return n.replace(/%d/i,e)}function Ks(e){return e%10<5&&e% 10>1&&~~(e/10)%10!==1}function Zs(e,a,t){var s=e+" ";switch(t){case"m":return a? "minuta":"minutę";case"mm":return s+(Ks(e)?"minuty":"minut");case"h":return a?"g odzina":"godzinę";case"hh":return s+(Ks(e)?"godziny":"godzin");case"MM":return s +(Ks(e)?"miesiące":"miesięcy");case"yy":return s+(Ks(e)?"lata":"lat")}}function qs(e,a,t){var s={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},n=" ";return (e%100>=20||e>=100&&e%100===0)&&(n=" de "),e+n+s[t]}function Bs(e,a){var t=e.spl it("_");return a%10===1&&a%100!==11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20) ?t[1]:t[2]}function Qs(e,a,t){var s={mm:a?"минута_минуты_минут":"минуту_минуты_м инут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_г ода_лет"};return"m"===t?a?"минута":"минуту":e+" "+Bs(s[t],+e)}function Xs(e){ret urn e>1&&e<5}function en(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"pár sekúnd":"pár sekundami";case"m":return a?"minúta":s?"minútu":"minútou";case"mm" :return a||s?n+(Xs(e)?"minúty":"minút"):n+"minútami";case"h":return a?"hodina":s ?"hodinu":"hodinou";case"hh":return a||s?n+(Xs(e)?"hodiny":"hodín"):n+"hodinami" ;case"d":return a||s?"deň":"dňom";case"dd":return a||s?n+(Xs(e)?"dni":"dní"):n+" dňami";case"M":return a||s?"mesiac":"mesiacom";case"MM":return a||s?n+(Xs(e)?"me siace":"mesiacov"):n+"mesiacmi";case"y":return a||s?"rok":"rokom";case"yy":retur n a||s?n+(Xs(e)?"roky":"rokov"):n+"rokmi"}}function an(e,a,t,s){var n=e+" ";swit ch(t){case"s":return a||s?"nekaj sekund":"nekaj sekundami";case"m":return a?"ena minuta":"eno minuto";case"mm":return n+=1===e?a?"minuta":"minuto":2===e?a||s?"m inuti":"minutama":e<5?a||s?"minute":"minutami":a||s?"minut":"minutami";case"h":r eturn a?"ena ura":"eno uro";case"hh":return n+=1===e?a?"ura":"uro":2===e?a||s?"u ri":"urama":e<5?a||s?"ure":"urami":a||s?"ur":"urami";case"d":return a||s?"en dan ":"enim dnem";case"dd":return n+=1===e?a||s?"dan":"dnem":2===e?a||s?"dni":"dnevo ma":a||s?"dni":"dnevi";case"M":return a||s?"en mesec":"enim mesecem";case"MM":re turn n+=1===e?a||s?"mesec":"mesecem":2===e?a||s?"meseca":"mesecema":e<5?a||s?"me sece":"meseci":a||s?"mesecev":"meseci";case"y":return a||s?"eno leto":"enim leto m";case"yy":return n+=1===e?a||s?"leto":"letom":2===e?a||s?"leti":"letoma":e<5?a ||s?"leta":"leti":a||s?"let":"leti"}}function tn(e){var a=e;return a=e.indexOf(" jaj")!==-1?a.slice(0,-3)+"leS":e.indexOf("jar")!==-1?a.slice(0,-3)+"waQ":e.index Of("DIS")!==-1?a.slice(0,-3)+"nem":a+" pIq"}function sn(e){var a=e;return a=e.in dexOf("jaj")!==-1?a.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?a.slice(0,-3)+"wen": e.indexOf("DIS")!==-1?a.slice(0,-3)+"ben":a+" ret"}function nn(e,a,t,s){var n=rn (e);switch(t){case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}function rn(e){var a =Math.floor(e%1e3/100),t=Math.floor(e%100/10),s=e%10,n="";return a>0&&(n+=xd[a]+ "vatlh"),t>0&&(n+=(""!==n?" ":"")+xd[t]+"maH"),s>0&&(n+=(""!==n?" ":"")+xd[s])," "===n?"pagh":n}function _n(e,a,t,s){var n={s:["viensas secunds","'iensas secunds "],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas" ,""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar ","'iens ar"],yy:[e+" ars",""+e+" ars"]};return s?n[t][0]:a?n[t][0]:n[t][1]}func tion dn(e,a){var t=e.split("_");return a%10===1&&a%100!==11?t[0]:a%10>=2&&a%10<= 4&&(a%100<10||a%100>=20)?t[1]:t[2]}function on(e,a,t){var s={mm:a?"хвилина_хвили ни_хвилин":"хвилину_хвилини_хвилин",hh:a?"година_години_годин":"годину_години_го дин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m "===t?a?"хвилина":"хвилину":"h"===t?a?"година":"годину":e+" "+dn(s[t],+e)}functi on mn(e,a){var t={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_с убота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_с уботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_с уботи".split("_")},s=/(\[[ВвУу]\]) ?dddd/.test(a)?"accusative":/\[?(?:минулої|на ступної)? ?\] ?dddd/.test(a)?"genitive":"nominative";return t[s][e.day()]}functi on un(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var l n,Mn;Mn=Array.prototype.some?Array.prototype.some:function(e){for(var a=Object(t his),t=a.length>>>0,s=0;s<t;s++)if(s in a&&e.call(this,a[s],s,a))return!0;return !1};var hn=Mn,Ln=e.momentProperties=[],cn=!1,Yn={};e.suppressDeprecationWarnings =!1,e.deprecationHandler=null;var yn;yn=Object.keys?Object.keys:function(e){var a,t=[];for(a in e)i(e,a)&&t.push(a);return t};var pn,fn=yn,kn={sameDay:"[Today a t] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at ] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dn={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"},Tn="Invalid date",gn="%d",wn=/\d{1,2}/,vn={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"},Sn= {},Hn={},bn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do ?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|k k?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,jn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4}) /g,xn={},Pn={},Wn=/\d/,An=/\d\d/,En=/\d{3}/,Fn=/\d{4}/,zn=/[+-]?\d{6}/,On=/\d\d? /,Jn=/\d\d\d\d?/,Rn=/\d\d\d\d\d\d?/,In=/\d{1,3}/,Cn=/\d{1,4}/,Gn=/[+-]?\d{1,6}/, Nn=/\d+/,Un=/[+-]?\d+/,Vn=/Z|[+-]\d\d:?\d\d/gi,$n=/Z|[+-]\d\d(?::?\d\d)?/gi,Kn=/ [+-]?\d+(\.\d{1,3})?/,Zn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFD F0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,qn={},Bn={},Qn=0,Xn= 1,er=2,ar=3,tr=4,sr=5,nr=6,rr=7,_r=8;pn=Array.prototype.indexOf?Array.prototype. indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;retu rn-1};var dr=pn;V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0 ,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,funct ion(e){return this.localeData().months(this,e)}),E("month","M"),O("month",8),B(" M",On),B("MM",On,An),B("MMM",function(e,a){return a.monthsShortRegex(e)}),B("MMM M",function(e,a){return a.monthsRegex(e)}),ae(["M","MM"],function(e,a){a[Xn]=f(e )-1}),ae(["MMM","MMMM"],function(e,a,t,s){var n=t._locale.monthsParse(e,s,t._str ict);null!=n?a[Xn]=n:l(t).invalidMonth=e});var ir=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM? /,or="January_February_March_April_May_June_July_August_September_October_Novemb er_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".spl it("_"),ur=Zn,lr=Zn;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:" +"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year "),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),E("year","y"),O("year ",1),B("Y",Un),B("YY",On,An),B("YYYY",Cn,Fn),B("YYYYY",Gn,zn),B("YYYYYY",Gn,zn), ae(["YYYYY","YYYYYY"],Qn),ae("YYYY",function(a,t){t[Qn]=2===a.length?e.parseTwoD igitYear(a):f(a)}),ae("YY",function(a,t){t[Qn]=e.parseTwoDigitYear(a)}),ae("Y",f unction(e,a){a[Qn]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return f(e)+ (f(e)>68?1900:2e3)};var Mr=R("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",[" WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),O("week",5),O("isoWeek",5) ,B("w",On),B("ww",On,An),B("W",On),B("WW",On,An),te(["w","ww","W","WW"],function (e,a,t,s){a[s.substr(0,1)]=f(e)});var hr={dow:0,doy:6};V("d",0,"do","day"),V("dd ",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,fun ction(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function( e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"i soWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),O("day",11),O("wee kday",11),O("isoWeekday",11),B("d",On),B("e",On),B("E",On),B("dd",function(e,a){ return a.weekdaysMinRegex(e)}),B("ddd",function(e,a){return a.weekdaysShortRegex (e)}),B("dddd",function(e,a){return a.weekdaysRegex(e)}),te(["dd","ddd","dddd"], function(e,a,t,s){var n=t._locale.weekdaysParse(e,s,t._strict);null!=n?a.d=n:l(t ).invalidWeekday=e}),te(["d","e","E"],function(e,a,t,s){a[s]=f(e)});var Lr="Sund ay_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="Sun_Mon_Tue _Wed_Thu_Fri_Sat".split("_"),Yr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yr=Zn,pr=Zn,fr =Zn;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Ge),V("k",["kk",2],0,Ne),V("hmm",0 ,0,function(){return""+Ge.apply(this)+U(this.minutes(),2)}),V("hmmss",0,0,functi on(){return""+Ge.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),V("Hmm",0 ,0,function(){return""+this.hours()+U(this.minutes(),2)}),V("Hmmss",0,0,function (){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue ("A",!1),E("hour","h"),O("hour",13),B("a",Ve),B("A",Ve),B("H",On),B("h",On),B("H H",On,An),B("hh",On,An),B("hmm",Jn),B("hmmss",Rn),B("Hmm",Jn),B("Hmmss",Rn),ae([ "H","HH"],ar),ae(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem =e}),ae(["h","hh"],function(e,a,t){a[ar]=f(e),l(t).bigHour=!0}),ae("hmm",functio n(e,a,t){var s=e.length-2;a[ar]=f(e.substr(0,s)),a[tr]=f(e.substr(s)),l(t).bigHo ur=!0}),ae("hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[ar]=f(e.subst r(0,s)),a[tr]=f(e.substr(s,2)),a[sr]=f(e.substr(n)),l(t).bigHour=!0}),ae("Hmm",f unction(e,a,t){var s=e.length-2;a[ar]=f(e.substr(0,s)),a[tr]=f(e.substr(s))}),ae ("Hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[ar]=f(e.substr(0,s)),a[ tr]=f(e.substr(s,2)),a[sr]=f(e.substr(n))});var kr,Dr=/[ap]\.?m?\.?/i,Tr=R("Hour s",!0),gr={calendar:kn,longDateFormat:Dn,invalidDate:Tn,ordinal:gn,ordinalParse: wn,relativeTime:vn,months:or,monthsShort:mr,week:hr,weekdays:Lr,weekdaysMin:Yr,w eekdaysShort:cr,meridiemParse:Dr},wr={},vr={},Sr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d \d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?) ?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\ d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(? ::?\d\d)?|\s*Z)?)?$/,br=/Z|[+-]\d\d(?::?\d\d)?/,jr=[["YYYYYY-MM-DD",/[+-]\d{6}-\ d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],[" GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/ ,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3} /],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xr=[["HH:mm:ss.SSSS",/\d\ d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d :\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS" ,/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/] ],Pr=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=T("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discoura ged and will be removed in an upcoming major release. Please refer to http://mom entjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e ._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Wr=T("moment().min is d eprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max /",function(){var e=ya.apply(null,arguments);return this.isValid()&&e.isValid()? e<this?this:e:h()}),Ar=T("moment().max is deprecated, use moment.min instead. ht tp://momentjs.com/guides/#/warnings/min-max/",function(){var e=ya.apply(null,arg uments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),Er=function(){ret urn Date.now?Date.now():+new Date};wa("Z",":"),wa("ZZ",""),B("Z",$n),B("ZZ",$n), ae(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=va($n,e)});var Fr=/([\+\-]|\d\ d)/gi;e.updateOffset=function(){};var zr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:( \d+)(\.\d*)?)?$/,Or=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W) ?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$ /;Ra.fn=Da.prototype;var Jr=Na(1,"add"),Rr=Na(-1,"subtract");e.defaultFormat="YY YY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ir=T("moment ().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return vo id 0===e?this.localeData():this.locale(e)});V(0,["gg",2],0,function(){return thi s.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),wt( "gggg","weekYear"),wt("ggggg","weekYear"),wt("GGGG","isoWeekYear"),wt("GGGGG","i soWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),O("weekYear",1),O("isoWeek Year",1),B("G",Un),B("g",Un),B("GG",On,An),B("gg",On,An),B("GGGG",Cn,Fn),B("gggg ",Cn,Fn),B("GGGGG",Gn,zn),B("ggggg",Gn,zn),te(["gggg","ggggg","GGGG","GGGGG"],fu nction(e,a,t,s){a[s.substr(0,2)]=f(e)}),te(["gg","GG"],function(a,t,s,n){t[n]=e. parseTwoDigitYear(a)}),V("Q",0,"Qo","quarter"),E("quarter","Q"),O("quarter",7),B ("Q",Wn),ae("Q",function(e,a){a[Xn]=3*(f(e)-1)}),V("D",["DD",2],"Do","date"),E(" date","D"),O("date",9),B("D",On),B("DD",On,An),B("Do",function(e,a){return e?a._ ordinalParse:a._ordinalParseLenient}),ae(["D","DD"],er),ae("Do",function(e,a){a[ er]=f(e.match(On)[0],10)});var Cr=R("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfY ear"),E("dayOfYear","DDD"),O("dayOfYear",4),B("DDD",In),B("DDDD",En),ae(["DDD"," DDDD"],function(e,a,t){t._dayOfYear=f(e)}),V("m",["mm",2],0,"minute"),E("minute" ,"m"),O("minute",14),B("m",On),B("mm",On,An),ae(["m","mm"],tr);var Gr=R("Minutes ",!1);V("s",["ss",2],0,"second"),E("second","s"),O("second",15),B("s",On),B("ss" ,On,An),ae(["s","ss"],sr);var Nr=R("Seconds",!1);V("S",0,0,function(){return~~(t his.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/1 0)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.m illisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0, ["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,fu nction(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millis econd()}),E("millisecond","ms"),O("millisecond",16),B("S",In,Wn),B("SS",In,An),B ("SSS",In,En);var Ur;for(Ur="SSSS";Ur.length<=9;Ur+="S")B(Ur,Nn);for(Ur="S";Ur.l ength<=9;Ur+="S")ae(Ur,At);var Vr=R("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V(" zz",0,0,"zoneName");var $r=Y.prototype;$r.add=Jr,$r.calendar=$a,$r.clone=Ka,$r.d iff=at,$r.endOf=ht,$r.format=_t,$r.from=dt,$r.fromNow=it,$r.to=ot,$r.toNow=mt,$r .get=G,$r.invalidAt=Tt,$r.isAfter=Za,$r.isBefore=qa,$r.isBetween=Ba,$r.isSame=Qa ,$r.isSameOrAfter=Xa,$r.isSameOrBefore=et,$r.isValid=kt,$r.lang=Ir,$r.locale=ut, $r.localeData=lt,$r.max=Ar,$r.min=Wr,$r.parsingFlags=Dt,$r.set=N,$r.startOf=Mt,$ r.subtract=Rr,$r.toArray=yt,$r.toObject=pt,$r.toDate=Yt,$r.toISOString=nt,$r.ins pect=rt,$r.toJSON=ft,$r.toString=st,$r.unix=ct,$r.valueOf=Lt,$r.creationData=gt, $r.year=Mr,$r.isLeapYear=Ye,$r.weekYear=vt,$r.isoWeekYear=St,$r.quarter=$r.quart ers=Pt,$r.month=me,$r.daysInMonth=ue,$r.week=$r.weeks=Se,$r.isoWeek=$r.isoWeeks= He,$r.weeksInYear=bt,$r.isoWeeksInYear=Ht,$r.date=Cr,$r.day=$r.days=Fe,$r.weekda y=ze,$r.isoWeekday=Oe,$r.dayOfYear=Wt,$r.hour=$r.hours=Tr,$r.minute=$r.minutes=G r,$r.second=$r.seconds=Nr,$r.millisecond=$r.milliseconds=Vr,$r.utcOffset=ba,$r.u tc=xa,$r.local=Pa,$r.parseZone=Wa,$r.hasAlignedHourOffset=Aa,$r.isDST=Ea,$r.isLo cal=za,$r.isUtcOffset=Oa,$r.isUtc=Ja,$r.isUTC=Ja,$r.zoneAbbr=Et,$r.zoneName=Ft,$ r.dates=T("dates accessor is deprecated. Use date instead.",Cr),$r.months=T("mon ths accessor is deprecated. Use month instead",me),$r.years=T("years accessor is deprecated. Use year instead",Mr),$r.zone=T("moment().zone is deprecated, use m oment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ja),$r.i sDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warn ings/dst-shifted/ for more information",Fa);var Kr=H.prototype;Kr.calendar=b,Kr. longDateFormat=j,Kr.invalidDate=x,Kr.ordinal=P,Kr.preparse=Jt,Kr.postformat=Jt,K r.relativeTime=W,Kr.pastFuture=A,Kr.set=v,Kr.months=re,Kr.monthsShort=_e,Kr.mont hsParse=ie,Kr.monthsRegex=Me,Kr.monthsShortRegex=le,Kr.week=ge,Kr.firstDayOfYear =ve,Kr.firstDayOfWeek=we,Kr.weekdays=xe,Kr.weekdaysMin=We,Kr.weekdaysShort=Pe,Kr .weekdaysParse=Ee,Kr.weekdaysRegex=Je,Kr.weekdaysShortRegex=Re,Kr.weekdaysMinReg ex=Ie,Kr.isPM=$e,Kr.meridiem=Ke,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ord inal:function(e){var a=e%10,t=1===f(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?" rd":"th";return e+t}}),e.lang=T("moment.lang is deprecated. Use moment.locale in stead.",Qe),e.langData=T("moment.langData is deprecated. Use moment.localeData i nstead.",aa);var Zr=Math.abs,qr=ns("ms"),Br=ns("s"),Qr=ns("m"),Xr=ns("h"),e_=ns( "d"),a_=ns("w"),t_=ns("M"),s_=ns("y"),n_=_s("milliseconds"),r_=_s("seconds"),__= _s("minutes"),d_=_s("hours"),i_=_s("days"),o_=_s("months"),m_=_s("years"),u_=Mat h.round,l_={s:45,m:45,h:22,d:26,M:11},M_=Math.abs,h_=Da.prototype;h_.abs=Kt,h_.a dd=qt,h_.subtract=Bt,h_.as=ts,h_.asMilliseconds=qr,h_.asSeconds=Br,h_.asMinutes= Qr,h_.asHours=Xr,h_.asDays=e_,h_.asWeeks=a_,h_.asMonths=t_,h_.asYears=s_,h_.valu eOf=ss,h_._bubble=Xt,h_.get=rs,h_.milliseconds=n_,h_.seconds=r_,h_.minutes=__,h_ .hours=d_,h_.days=i_,h_.weeks=ds,h_.months=o_,h_.years=m_,h_.humanize=ls,h_.toIS OString=Ms,h_.toString=Ms,h_.toJSON=Ms,h_.locale=ut,h_.localeData=lt,h_.toIsoStr ing=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ms),h_.lang=Ir,V("X",0,0,"unix"),V("x",0,0,"valueOf"),B("x",Un),B("X ",Kn),ae("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e,10))}),ae("x",functi on(e,a,t){t._d=new Date(f(e))}),e.version="2.17.1",a(ya),e.fn=$r,e.min=fa,e.max= ka,e.now=Er,e.utc=m,e.unix=zt,e.months=Gt,e.isDate=_,e.locale=Qe,e.invalid=h,e.d uration=Ra,e.isMoment=y,e.weekdays=Ut,e.parseZone=Ot,e.localeData=aa,e.isDuratio n=Ta,e.monthsShort=Nt,e.weekdaysMin=$t,e.defineLocale=Xe,e.updateLocale=ea,e.loc ales=ta,e.weekdaysShort=Vt,e.normalizeUnits=F,e.relativeTimeRounding=ms,e.relati veTimeThreshold=us,e.calendarFormat=Va,e.prototype=$r,e.defineLocale("af",{month s:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_Nov ember_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_ Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_S aterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekd aysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e) {return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm": "NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY", LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vand ag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] L T",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",pa st:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:" %d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d ja ar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e|| e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"جانفي_في فري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),month sShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر". split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split( "_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMi n:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H H:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLL L:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[ غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT ",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",pas t:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"% d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});var L_= {1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},c_=function(e){ret urn 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Y_={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:[" أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيق ة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d س اعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم" ],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:[ "أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},y_=fu nction(e){return function(a,t,s,n){var r=c_(a),_=Y_[e][c_(a)];return 2===r&&(_=_ [t?0:1]),_.replace(/%d/i,a)}},p_=["يناير","فبراير","مارس","أبريل","مايو","يونيو" ,"يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{mo nths:p_,monthsShort:p_,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_ا لسبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_" ),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"== =e},meridiem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastD ay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeT ime:{future:"بعد %s",past:"منذ %s",s:y_("s"),m:y_("m"),mm:y_("m"),h:y_("h"),hh:y _("h"),d:y_("d"),dd:y_("d"),M:y_("M"),MM:y_("M"),y:y_("y"),yy:y_("y")},preparse: function(e){ 790 function Ct(e,a,t,s){"boolean"==typeof e?(r(a)&&(t=a,a=void 0),a=a||""):(a=e,t=a ,e=!1,r(a)&&(t=a,a=void 0),a=a||"");var n=aa(),_=e?n._week.dow:0;if(null!=t)retu rn Rt(a,(t+_)%7,s,"day");var d,i=[];for(d=0;d<7;d++)i[d]=Rt(a,(d+_)%7,s,"day");r eturn i}function Gt(e,a){return It(e,a,"months")}function Nt(e,a){return It(e,a, "monthsShort")}function Ut(e,a,t){return Ct(e,a,t,"weekdays")}function Vt(e,a,t) {return Ct(e,a,t,"weekdaysShort")}function $t(e,a,t){return Ct(e,a,t,"weekdaysMi n")}function Kt(){var e=this._data;return this._milliseconds=Zr(this._millisecon ds),this._days=Zr(this._days),this._months=Zr(this._months),e.milliseconds=Zr(e. milliseconds),e.seconds=Zr(e.seconds),e.minutes=Zr(e.minutes),e.hours=Zr(e.hours ),e.months=Zr(e.months),e.years=Zr(e.years),this}function Zt(e,a,t,s){var n=Ra(a ,t);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n. _months,e._bubble()}function qt(e,a){return Zt(this,e,a,1)}function Bt(e,a){retu rn Zt(this,e,a,-1)}function Qt(e){return e<0?Math.floor(e):Math.ceil(e)}function Xt(){var e,a,t,s,n,r=this._milliseconds,_=this._days,d=this._months,i=this._dat a;return r>=0&&_>=0&&d>=0||r<=0&&_<=0&&d<=0||(r+=864e5*Qt(as(d)+_),_=0,d=0),i.mi lliseconds=r%1e3,e=p(r/1e3),i.seconds=e%60,a=p(e/60),i.minutes=a%60,t=p(a/60),i. hours=t%24,_+=p(t/24),n=p(es(_)),d+=n,_-=Qt(as(n)),s=p(d/12),d%=12,i.days=_,i.mo nths=d,i.years=s,this}function es(e){return 4800*e/146097}function as(e){return 146097*e/4800}function ts(e){var a,t,s=this._milliseconds;if(e=F(e),"month"===e| |"year"===e)return a=this._days+s/864e5,t=this._months+es(a),"month"===e?t:t/12; switch(a=this._days+Math.round(as(this._months)),e){case"week":return a/7+s/6048 e5;case"day":return a+s/864e5;case"hour":return 24*a+s/36e5;case"minute":return 1440*a+s/6e4;case"second":return 86400*a+s/1e3;case"millisecond":return Math.flo or(864e5*a)+s;default:throw new Error("Unknown unit "+e)}}function ss(){return t his._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months /12)}function ns(e){return function(){return this.as(e)}}function rs(e){return e =F(e),this[e+"s"]()}function _s(e){return function(){return this._data[e]}}funct ion ds(){return p(this.days()/7)}function is(e,a,t,s,n){return n.relativeTime(a| |1,!!t,e,s)}function os(e,a,t){var s=Ra(e).abs(),n=u_(s.as("s")),r=u_(s.as("m")) ,_=u_(s.as("h")),d=u_(s.as("d")),i=u_(s.as("M")),o=u_(s.as("y")),m=n<l_.s&&["s", n]||r<=1&&["m"]||r<l_.m&&["mm",r]||_<=1&&["h"]||_<l_.h&&["hh",_]||d<=1&&["d"]||d <l_.d&&["dd",d]||i<=1&&["M"]||i<l_.M&&["MM",i]||o<=1&&["y"]||["yy",o];return m[2 ]=a,m[3]=+e>0,m[4]=t,is.apply(null,m)}function ms(e){return void 0===e?u_:"funct ion"==typeof e&&(u_=e,!0)}function us(e,a){return void 0!==l_[e]&&(void 0===a?l_ [e]:(l_[e]=a,!0))}function ls(e){var a=this.localeData(),t=os(this,!e,a);return e&&(t=a.pastFuture(+this,t)),a.postformat(t)}function Ms(){var e,a,t,s=M_(this._ milliseconds)/1e3,n=M_(this._days),r=M_(this._months);e=p(s/60),a=p(e/60),s%=60, e%=60,t=p(r/12),r%=12;var _=t,d=r,i=n,o=a,m=e,u=s,l=this.asSeconds();return l?(l <0?"-":"")+"P"+(_?_+"Y":"")+(d?d+"M":"")+(i?i+"D":"")+(o||m||u?"T":"")+(o?o+"H": "")+(m?m+"M":"")+(u?u+"S":""):"P0D"}function hs(e,a){var t=e.split("_");return a %10===1&&a%100!==11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}funct ion Ls(e,a,t){var s={mm:a?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:a ?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц _месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===t?a?"хвіліна":"хвіліну":"h"=== t?a?"гадзіна":"гадзіну":e+" "+hs(s[t],+e)}function cs(e,a,t){var s={mm:"munutenn ",MM:"miz",dd:"devezh"};return e+" "+ps(s[t],e)}function Ys(e){switch(ys(e)){cas e 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}fun ction ys(e){return e>9?ys(e%10):e}function ps(e,a){return 2===a?fs(e):e}function fs(e){var a={m:"v",b:"v",d:"z"};return void 0===a[e.charAt(0)]?e:a[e.charAt(0)] +e.substring(1)}function ks(e,a,t){var s=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1===e?"minuta":2===e||3===e||4===e?"m inute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1= ==e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana ";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case "yy":return s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Ds (e){return e>1&&e<5&&1!==~~(e/10)}function Ts(e,a,t,s){var n=e+" ";switch(t){cas e"s":return a||s?"pár sekund":"pár sekundami";case"m":return a?"minuta":s?"minut u":"minutou";case"mm":return a||s?n+(Ds(e)?"minuty":"minut"):n+"minutami";case"h ":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(Ds(e)?"hodiny": "hodin"):n+"hodinami";case"d":return a||s?"den":"dnem";case"dd":return a||s?n+(D s(e)?"dny":"dní"):n+"dny";case"M":return a||s?"měsíc":"měsícem";case"MM":return a||s?n+(Ds(e)?"měsíce":"měsíců"):n+"měsíci";case"y":return a||s?"rok":"rokem";ca se"yy":return a||s?n+(Ds(e)?"roky":"let"):n+"lety"}}function gs(e,a,t,s){var n={ m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag"," einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Mona te",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};retur n a?n[t][0]:n[t][1]}function ws(e,a,t,s){var n={m:["eine Minute","einer Minute"] ,h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Ta gen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr", "einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?n[t][0]:n[t][1]}function vs( e,a,t,s){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti" ,"üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund "],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega" ,"üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return a?n[t][2]?n[t][2]:n[t][1]:s?n[t][0]:n[t][1]}function Ss(e,a,t,s){var n="";switch(t){case"s":return s?"muutaman sekunnin":"muutama se kunti";case"m":return s?"minuutin":"minuutti";case"mm":n=s?"minuutin":"minuuttia ";break;case"h":return s?"tunnin":"tunti";case"hh":n=s?"tunnin":"tuntia";break;c ase"d":return s?"päivän":"päivä";case"dd":n=s?"päivän":"päivää";break;case"M":re turn s?"kuukauden":"kuukausi";case"MM":n=s?"kuukauden":"kuukautta";break;case"y" :return s?"vuoden":"vuosi";case"yy":n=s?"vuoden":"vuotta"}return n=Hs(e,s)+" "+n }function Hs(e,a){return e<10?a?N_[e]:G_[e]:e}function bs(e,a,t){var s=e+" ";swi tch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1===e?" minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jedn og sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"d d":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e|| 4===e?"mjeseca":"mjeseci";case"yy":return s+=1===e?"godina":2===e||3===e||4===e? "godine":"godina"}}function js(e,a,t,s){var n=e;switch(t){case"s":return s||a?"n éhány másodperc":"néhány másodperce";case"m":return"egy"+(s||a?" perc":" perce") ;case"mm":return n+(s||a?" perc":" perce");case"h":return"egy"+(s||a?" óra":" ór ája");case"hh":return n+(s||a?" óra":" órája");case"d":return"egy"+(s||a?" nap": " napja");case"dd":return n+(s||a?" nap":" napja");case"M":return"egy"+(s||a?" h ónap":" hónapja");case"MM":return n+(s||a?" hónap":" hónapja");case"y":return"eg y"+(s||a?" év":" éve");case"yy":return n+(s||a?" év":" éve")}return""}function x s(e){return(e?"":"[múlt] ")+"["+ed[this.day()]+"] LT[-kor]"}function Ps(e){retur n e%100===11||e%10!==1}function Ws(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return a?"mínúta":"mínútu";c ase"mm":return Ps(e)?n+(a||s?"mínútur":"mínútum"):a?n+"mínúta":n+"mínútu";case"h h":return Ps(e)?n+(a||s?"klukkustundir":"klukkustundum"):n+"klukkustund";case"d" :return a?"dagur":s?"dag":"degi";case"dd":return Ps(e)?a?n+"dagar":n+(s?"daga":" dögum"):a?n+"dagur":n+(s?"dag":"degi");case"M":return a?"mánuður":s?"mánuð":"mán uði";case"MM":return Ps(e)?a?n+"mánuðir":n+(s?"mánuði":"mánuðum"):a?n+"mánuður": n+(s?"mánuð":"mánuði");case"y":return a||s?"ár":"ári";case"yy":return Ps(e)?n+(a ||s?"ár":"árum"):n+(a||s?"ár":"ári")}}function As(e,a,t,s){var n={m:["eng Minutt ","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?n[t][0]:n[t][1]}func tion Es(e){var a=e.substr(0,e.indexOf(" "));return zs(a)?"a "+e:"an "+e}function Fs(e){var a=e.substr(0,e.indexOf(" "));return zs(a)?"viru "+e:"virun "+e}functi on zs(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4< =e&&e<=7;if(e<100){var a=e%10,t=e/10;return zs(0===a?t:a)}if(e<1e4){for(;e>=10;) e/=10;return zs(e)}return e/=1e3,zs(e)}function Os(e,a,t,s){return a?"kelios sek undės":s?"kelių sekundžių":"kelias sekundes"}function Js(e,a,t,s){return a?Is(t) [0]:s?Is(t)[1]:Is(t)[2]}function Rs(e){return e%10===0||e>10&&e<20}function Is(e ){return sd[e].split("_")}function Cs(e,a,t,s){var n=e+" ";return 1===e?n+Js(e,a ,t[0],s):a?n+(Rs(e)?Is(t)[1]:Is(t)[0]):s?n+Is(t)[1]:n+(Rs(e)?Is(t)[1]:Is(t)[2])} function Gs(e,a,t){return t?a%10===1&&a%100!==11?e[2]:e[3]:a%10===1&&a%100!==11? e[0]:e[1]}function Ns(e,a,t){return e+" "+Gs(nd[t],e,a)}function Us(e,a,t){retur n Gs(nd[t],e,a)}function Vs(e,a){return a?"dažas sekundes":"dažām sekundēm"}func tion $s(e,a,t,s){var n="";if(a)switch(t){case"s":n="काही सेकंद";break;case"m":n= "एक मिनिट";break;case"mm":n="%d मिनिटे";break;case"h":n="एक तास";break;case"hh": n="%d तास";break;case"d":n="एक दिवस";break;case"dd":n="%d दिवस";break;case"M":n= "एक महिना";break;case"MM":n="%d महिने";break;case"y":n="एक वर्ष";break;case"yy": n="%d वर्षे"}else switch(t){case"s":n="काही सेकंदां";break;case"m":n="एका मिनिटा ";break;case"mm":n="%d मिनिटां";break;case"h":n="एका तासा";break;case"hh":n="%d तासां";break;case"d":n="एका दिवसा";break;case"dd":n="%d दिवसां";break;case"M":n= "एका महिन्या";break;case"MM":n="%d महिन्यां";break;case"y":n="एका वर्षा";break;c ase"yy":n="%d वर्षां"}return n.replace(/%d/i,e)}function Ks(e){return e%10<5&&e% 10>1&&~~(e/10)%10!==1}function Zs(e,a,t){var s=e+" ";switch(t){case"m":return a? "minuta":"minutę";case"mm":return s+(Ks(e)?"minuty":"minut");case"h":return a?"g odzina":"godzinę";case"hh":return s+(Ks(e)?"godziny":"godzin");case"MM":return s +(Ks(e)?"miesiące":"miesięcy");case"yy":return s+(Ks(e)?"lata":"lat")}}function qs(e,a,t){var s={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},n=" ";return (e%100>=20||e>=100&&e%100===0)&&(n=" de "),e+n+s[t]}function Bs(e,a){var t=e.spl it("_");return a%10===1&&a%100!==11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20) ?t[1]:t[2]}function Qs(e,a,t){var s={mm:a?"минута_минуты_минут":"минуту_минуты_м инут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_г ода_лет"};return"m"===t?a?"минута":"минуту":e+" "+Bs(s[t],+e)}function Xs(e){ret urn e>1&&e<5}function en(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"pár sekúnd":"pár sekundami";case"m":return a?"minúta":s?"minútu":"minútou";case"mm" :return a||s?n+(Xs(e)?"minúty":"minút"):n+"minútami";case"h":return a?"hodina":s ?"hodinu":"hodinou";case"hh":return a||s?n+(Xs(e)?"hodiny":"hodín"):n+"hodinami" ;case"d":return a||s?"deň":"dňom";case"dd":return a||s?n+(Xs(e)?"dni":"dní"):n+" dňami";case"M":return a||s?"mesiac":"mesiacom";case"MM":return a||s?n+(Xs(e)?"me siace":"mesiacov"):n+"mesiacmi";case"y":return a||s?"rok":"rokom";case"yy":retur n a||s?n+(Xs(e)?"roky":"rokov"):n+"rokmi"}}function an(e,a,t,s){var n=e+" ";swit ch(t){case"s":return a||s?"nekaj sekund":"nekaj sekundami";case"m":return a?"ena minuta":"eno minuto";case"mm":return n+=1===e?a?"minuta":"minuto":2===e?a||s?"m inuti":"minutama":e<5?a||s?"minute":"minutami":a||s?"minut":"minutami";case"h":r eturn a?"ena ura":"eno uro";case"hh":return n+=1===e?a?"ura":"uro":2===e?a||s?"u ri":"urama":e<5?a||s?"ure":"urami":a||s?"ur":"urami";case"d":return a||s?"en dan ":"enim dnem";case"dd":return n+=1===e?a||s?"dan":"dnem":2===e?a||s?"dni":"dnevo ma":a||s?"dni":"dnevi";case"M":return a||s?"en mesec":"enim mesecem";case"MM":re turn n+=1===e?a||s?"mesec":"mesecem":2===e?a||s?"meseca":"mesecema":e<5?a||s?"me sece":"meseci":a||s?"mesecev":"meseci";case"y":return a||s?"eno leto":"enim leto m";case"yy":return n+=1===e?a||s?"leto":"letom":2===e?a||s?"leti":"letoma":e<5?a ||s?"leta":"leti":a||s?"let":"leti"}}function tn(e){var a=e;return a=e.indexOf(" jaj")!==-1?a.slice(0,-3)+"leS":e.indexOf("jar")!==-1?a.slice(0,-3)+"waQ":e.index Of("DIS")!==-1?a.slice(0,-3)+"nem":a+" pIq"}function sn(e){var a=e;return a=e.in dexOf("jaj")!==-1?a.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?a.slice(0,-3)+"wen": e.indexOf("DIS")!==-1?a.slice(0,-3)+"ben":a+" ret"}function nn(e,a,t,s){var n=rn (e);switch(t){case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}function rn(e){var a =Math.floor(e%1e3/100),t=Math.floor(e%100/10),s=e%10,n="";return a>0&&(n+=xd[a]+ "vatlh"),t>0&&(n+=(""!==n?" ":"")+xd[t]+"maH"),s>0&&(n+=(""!==n?" ":"")+xd[s])," "===n?"pagh":n}function _n(e,a,t,s){var n={s:["viensas secunds","'iensas secunds "],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas" ,""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar ","'iens ar"],yy:[e+" ars",""+e+" ars"]};return s?n[t][0]:a?n[t][0]:n[t][1]}func tion dn(e,a){var t=e.split("_");return a%10===1&&a%100!==11?t[0]:a%10>=2&&a%10<= 4&&(a%100<10||a%100>=20)?t[1]:t[2]}function on(e,a,t){var s={mm:a?"хвилина_хвили ни_хвилин":"хвилину_хвилини_хвилин",hh:a?"година_години_годин":"годину_години_го дин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m "===t?a?"хвилина":"хвилину":"h"===t?a?"година":"годину":e+" "+dn(s[t],+e)}functi on mn(e,a){var t={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_с убота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_с уботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_с уботи".split("_")},s=/(\[[ВвУу]\]) ?dddd/.test(a)?"accusative":/\[?(?:минулої|на ступної)? ?\] ?dddd/.test(a)?"genitive":"nominative";return t[s][e.day()]}functi on un(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var l n,Mn;Mn=Array.prototype.some?Array.prototype.some:function(e){for(var a=Object(t his),t=a.length>>>0,s=0;s<t;s++)if(s in a&&e.call(this,a[s],s,a))return!0;return !1};var hn=Mn,Ln=e.momentProperties=[],cn=!1,Yn={};e.suppressDeprecationWarnings =!1,e.deprecationHandler=null;var yn;yn=Object.keys?Object.keys:function(e){var a,t=[];for(a in e)i(e,a)&&t.push(a);return t};var pn,fn=yn,kn={sameDay:"[Today a t] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at ] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dn={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"},Tn="Invalid date",gn="%d",wn=/\d{1,2}/,vn={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"},Sn= {},Hn={},bn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do ?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|k k?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,jn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4}) /g,xn={},Pn={},Wn=/\d/,An=/\d\d/,En=/\d{3}/,Fn=/\d{4}/,zn=/[+-]?\d{6}/,On=/\d\d? /,Jn=/\d\d\d\d?/,Rn=/\d\d\d\d\d\d?/,In=/\d{1,3}/,Cn=/\d{1,4}/,Gn=/[+-]?\d{1,6}/, Nn=/\d+/,Un=/[+-]?\d+/,Vn=/Z|[+-]\d\d:?\d\d/gi,$n=/Z|[+-]\d\d(?::?\d\d)?/gi,Kn=/ [+-]?\d+(\.\d{1,3})?/,Zn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFD F0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,qn={},Bn={},Qn=0,Xn= 1,er=2,ar=3,tr=4,sr=5,nr=6,rr=7,_r=8;pn=Array.prototype.indexOf?Array.prototype. indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;retu rn-1};var dr=pn;V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0 ,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,funct ion(e){return this.localeData().months(this,e)}),E("month","M"),O("month",8),B(" M",On),B("MM",On,An),B("MMM",function(e,a){return a.monthsShortRegex(e)}),B("MMM M",function(e,a){return a.monthsRegex(e)}),ae(["M","MM"],function(e,a){a[Xn]=f(e )-1}),ae(["MMM","MMMM"],function(e,a,t,s){var n=t._locale.monthsParse(e,s,t._str ict);null!=n?a[Xn]=n:l(t).invalidMonth=e});var ir=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM? /,or="January_February_March_April_May_June_July_August_September_October_Novemb er_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".spl it("_"),ur=Zn,lr=Zn;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:" +"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year "),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),E("year","y"),O("year ",1),B("Y",Un),B("YY",On,An),B("YYYY",Cn,Fn),B("YYYYY",Gn,zn),B("YYYYYY",Gn,zn), ae(["YYYYY","YYYYYY"],Qn),ae("YYYY",function(a,t){t[Qn]=2===a.length?e.parseTwoD igitYear(a):f(a)}),ae("YY",function(a,t){t[Qn]=e.parseTwoDigitYear(a)}),ae("Y",f unction(e,a){a[Qn]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return f(e)+ (f(e)>68?1900:2e3)};var Mr=R("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",[" WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),O("week",5),O("isoWeek",5) ,B("w",On),B("ww",On,An),B("W",On),B("WW",On,An),te(["w","ww","W","WW"],function (e,a,t,s){a[s.substr(0,1)]=f(e)});var hr={dow:0,doy:6};V("d",0,"do","day"),V("dd ",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,fun ction(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function( e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"i soWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),O("day",11),O("wee kday",11),O("isoWeekday",11),B("d",On),B("e",On),B("E",On),B("dd",function(e,a){ return a.weekdaysMinRegex(e)}),B("ddd",function(e,a){return a.weekdaysShortRegex (e)}),B("dddd",function(e,a){return a.weekdaysRegex(e)}),te(["dd","ddd","dddd"], function(e,a,t,s){var n=t._locale.weekdaysParse(e,s,t._strict);null!=n?a.d=n:l(t ).invalidWeekday=e}),te(["d","e","E"],function(e,a,t,s){a[s]=f(e)});var Lr="Sund ay_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="Sun_Mon_Tue _Wed_Thu_Fri_Sat".split("_"),Yr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yr=Zn,pr=Zn,fr =Zn;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Ge),V("k",["kk",2],0,Ne),V("hmm",0 ,0,function(){return""+Ge.apply(this)+U(this.minutes(),2)}),V("hmmss",0,0,functi on(){return""+Ge.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),V("Hmm",0 ,0,function(){return""+this.hours()+U(this.minutes(),2)}),V("Hmmss",0,0,function (){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue ("A",!1),E("hour","h"),O("hour",13),B("a",Ve),B("A",Ve),B("H",On),B("h",On),B("H H",On,An),B("hh",On,An),B("hmm",Jn),B("hmmss",Rn),B("Hmm",Jn),B("Hmmss",Rn),ae([ "H","HH"],ar),ae(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem =e}),ae(["h","hh"],function(e,a,t){a[ar]=f(e),l(t).bigHour=!0}),ae("hmm",functio n(e,a,t){var s=e.length-2;a[ar]=f(e.substr(0,s)),a[tr]=f(e.substr(s)),l(t).bigHo ur=!0}),ae("hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[ar]=f(e.subst r(0,s)),a[tr]=f(e.substr(s,2)),a[sr]=f(e.substr(n)),l(t).bigHour=!0}),ae("Hmm",f unction(e,a,t){var s=e.length-2;a[ar]=f(e.substr(0,s)),a[tr]=f(e.substr(s))}),ae ("Hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[ar]=f(e.substr(0,s)),a[ tr]=f(e.substr(s,2)),a[sr]=f(e.substr(n))});var kr,Dr=/[ap]\.?m?\.?/i,Tr=R("Hour s",!0),gr={calendar:kn,longDateFormat:Dn,invalidDate:Tn,ordinal:gn,ordinalParse: wn,relativeTime:vn,months:or,monthsShort:mr,week:hr,weekdays:Lr,weekdaysMin:Yr,w eekdaysShort:cr,meridiemParse:Dr},wr={},vr={},Sr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d \d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?) ?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\ d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(? ::?\d\d)?|\s*Z)?)?$/,br=/Z|[+-]\d\d(?::?\d\d)?/,jr=[["YYYYYY-MM-DD",/[+-]\d{6}-\ d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],[" GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/ ,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3} /],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xr=[["HH:mm:ss.SSSS",/\d\ d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d :\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS" ,/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/] ],Pr=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=T("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discoura ged and will be removed in an upcoming major release. Please refer to http://mom entjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e ._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Wr=T("moment().min is d eprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max /",function(){var e=ya.apply(null,arguments);return this.isValid()&&e.isValid()? e<this?this:e:h()}),Ar=T("moment().max is deprecated, use moment.min instead. ht tp://momentjs.com/guides/#/warnings/min-max/",function(){var e=ya.apply(null,arg uments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),Er=function(){ret urn Date.now?Date.now():+new Date};wa("Z",":"),wa("ZZ",""),B("Z",$n),B("ZZ",$n), ae(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=va($n,e)});var Fr=/([\+\-]|\d\ d)/gi;e.updateOffset=function(){};var zr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:( \d+)(\.\d*)?)?$/,Or=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W) ?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$ /;Ra.fn=Da.prototype;var Jr=Na(1,"add"),Rr=Na(-1,"subtract");e.defaultFormat="YY YY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ir=T("moment ().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return vo id 0===e?this.localeData():this.locale(e)});V(0,["gg",2],0,function(){return thi s.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),wt( "gggg","weekYear"),wt("ggggg","weekYear"),wt("GGGG","isoWeekYear"),wt("GGGGG","i soWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),O("weekYear",1),O("isoWeek Year",1),B("G",Un),B("g",Un),B("GG",On,An),B("gg",On,An),B("GGGG",Cn,Fn),B("gggg ",Cn,Fn),B("GGGGG",Gn,zn),B("ggggg",Gn,zn),te(["gggg","ggggg","GGGG","GGGGG"],fu nction(e,a,t,s){a[s.substr(0,2)]=f(e)}),te(["gg","GG"],function(a,t,s,n){t[n]=e. parseTwoDigitYear(a)}),V("Q",0,"Qo","quarter"),E("quarter","Q"),O("quarter",7),B ("Q",Wn),ae("Q",function(e,a){a[Xn]=3*(f(e)-1)}),V("D",["DD",2],"Do","date"),E(" date","D"),O("date",9),B("D",On),B("DD",On,An),B("Do",function(e,a){return e?a._ ordinalParse:a._ordinalParseLenient}),ae(["D","DD"],er),ae("Do",function(e,a){a[ er]=f(e.match(On)[0],10)});var Cr=R("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfY ear"),E("dayOfYear","DDD"),O("dayOfYear",4),B("DDD",In),B("DDDD",En),ae(["DDD"," DDDD"],function(e,a,t){t._dayOfYear=f(e)}),V("m",["mm",2],0,"minute"),E("minute" ,"m"),O("minute",14),B("m",On),B("mm",On,An),ae(["m","mm"],tr);var Gr=R("Minutes ",!1);V("s",["ss",2],0,"second"),E("second","s"),O("second",15),B("s",On),B("ss" ,On,An),ae(["s","ss"],sr);var Nr=R("Seconds",!1);V("S",0,0,function(){return~~(t his.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/1 0)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.m illisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0, ["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,fu nction(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millis econd()}),E("millisecond","ms"),O("millisecond",16),B("S",In,Wn),B("SS",In,An),B ("SSS",In,En);var Ur;for(Ur="SSSS";Ur.length<=9;Ur+="S")B(Ur,Nn);for(Ur="S";Ur.l ength<=9;Ur+="S")ae(Ur,At);var Vr=R("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V(" zz",0,0,"zoneName");var $r=Y.prototype;$r.add=Jr,$r.calendar=$a,$r.clone=Ka,$r.d iff=at,$r.endOf=ht,$r.format=_t,$r.from=dt,$r.fromNow=it,$r.to=ot,$r.toNow=mt,$r .get=G,$r.invalidAt=Tt,$r.isAfter=Za,$r.isBefore=qa,$r.isBetween=Ba,$r.isSame=Qa ,$r.isSameOrAfter=Xa,$r.isSameOrBefore=et,$r.isValid=kt,$r.lang=Ir,$r.locale=ut, $r.localeData=lt,$r.max=Ar,$r.min=Wr,$r.parsingFlags=Dt,$r.set=N,$r.startOf=Mt,$ r.subtract=Rr,$r.toArray=yt,$r.toObject=pt,$r.toDate=Yt,$r.toISOString=nt,$r.ins pect=rt,$r.toJSON=ft,$r.toString=st,$r.unix=ct,$r.valueOf=Lt,$r.creationData=gt, $r.year=Mr,$r.isLeapYear=Ye,$r.weekYear=vt,$r.isoWeekYear=St,$r.quarter=$r.quart ers=Pt,$r.month=me,$r.daysInMonth=ue,$r.week=$r.weeks=Se,$r.isoWeek=$r.isoWeeks= He,$r.weeksInYear=bt,$r.isoWeeksInYear=Ht,$r.date=Cr,$r.day=$r.days=Fe,$r.weekda y=ze,$r.isoWeekday=Oe,$r.dayOfYear=Wt,$r.hour=$r.hours=Tr,$r.minute=$r.minutes=G r,$r.second=$r.seconds=Nr,$r.millisecond=$r.milliseconds=Vr,$r.utcOffset=ba,$r.u tc=xa,$r.local=Pa,$r.parseZone=Wa,$r.hasAlignedHourOffset=Aa,$r.isDST=Ea,$r.isLo cal=za,$r.isUtcOffset=Oa,$r.isUtc=Ja,$r.isUTC=Ja,$r.zoneAbbr=Et,$r.zoneName=Ft,$ r.dates=T("dates accessor is deprecated. Use date instead.",Cr),$r.months=T("mon ths accessor is deprecated. Use month instead",me),$r.years=T("years accessor is deprecated. Use year instead",Mr),$r.zone=T("moment().zone is deprecated, use m oment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ja),$r.i sDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warn ings/dst-shifted/ for more information",Fa);var Kr=H.prototype;Kr.calendar=b,Kr. longDateFormat=j,Kr.invalidDate=x,Kr.ordinal=P,Kr.preparse=Jt,Kr.postformat=Jt,K r.relativeTime=W,Kr.pastFuture=A,Kr.set=v,Kr.months=re,Kr.monthsShort=_e,Kr.mont hsParse=ie,Kr.monthsRegex=Me,Kr.monthsShortRegex=le,Kr.week=ge,Kr.firstDayOfYear =ve,Kr.firstDayOfWeek=we,Kr.weekdays=xe,Kr.weekdaysMin=We,Kr.weekdaysShort=Pe,Kr .weekdaysParse=Ee,Kr.weekdaysRegex=Je,Kr.weekdaysShortRegex=Re,Kr.weekdaysMinReg ex=Ie,Kr.isPM=$e,Kr.meridiem=Ke,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ord inal:function(e){var a=e%10,t=1===f(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?" rd":"th";return e+t}}),e.lang=T("moment.lang is deprecated. Use moment.locale in stead.",Qe),e.langData=T("moment.langData is deprecated. Use moment.localeData i nstead.",aa);var Zr=Math.abs,qr=ns("ms"),Br=ns("s"),Qr=ns("m"),Xr=ns("h"),e_=ns( "d"),a_=ns("w"),t_=ns("M"),s_=ns("y"),n_=_s("milliseconds"),r_=_s("seconds"),__= _s("minutes"),d_=_s("hours"),i_=_s("days"),o_=_s("months"),m_=_s("years"),u_=Mat h.round,l_={s:45,m:45,h:22,d:26,M:11},M_=Math.abs,h_=Da.prototype;h_.abs=Kt,h_.a dd=qt,h_.subtract=Bt,h_.as=ts,h_.asMilliseconds=qr,h_.asSeconds=Br,h_.asMinutes= Qr,h_.asHours=Xr,h_.asDays=e_,h_.asWeeks=a_,h_.asMonths=t_,h_.asYears=s_,h_.valu eOf=ss,h_._bubble=Xt,h_.get=rs,h_.milliseconds=n_,h_.seconds=r_,h_.minutes=__,h_ .hours=d_,h_.days=i_,h_.weeks=ds,h_.months=o_,h_.years=m_,h_.humanize=ls,h_.toIS OString=Ms,h_.toString=Ms,h_.toJSON=Ms,h_.locale=ut,h_.localeData=lt,h_.toIsoStr ing=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ms),h_.lang=Ir,V("X",0,0,"unix"),V("x",0,0,"valueOf"),B("x",Un),B("X ",Kn),ae("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e,10))}),ae("x",functi on(e,a,t){t._d=new Date(f(e))}),e.version="2.17.1",a(ya),e.fn=$r,e.min=fa,e.max= ka,e.now=Er,e.utc=m,e.unix=zt,e.months=Gt,e.isDate=_,e.locale=Qe,e.invalid=h,e.d uration=Ra,e.isMoment=y,e.weekdays=Ut,e.parseZone=Ot,e.localeData=aa,e.isDuratio n=Ta,e.monthsShort=Nt,e.weekdaysMin=$t,e.defineLocale=Xe,e.updateLocale=ea,e.loc ales=ta,e.weekdaysShort=Vt,e.normalizeUnits=F,e.relativeTimeRounding=ms,e.relati veTimeThreshold=us,e.calendarFormat=Va,e.prototype=$r,e.defineLocale("af",{month s:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_Nov ember_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_ Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_S aterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekd aysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e) {return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm": "NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY", LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vand ag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] L T",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",pa st:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:" %d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d ja ar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e|| e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"جانفي_في فري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),month sShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر". split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split( "_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMi n:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H H:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLL L:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[ غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT ",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",pas t:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"% d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});var L_= {1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},c_=function(e){ret urn 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Y_={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:[" أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيق ة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d س اعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم" ],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:[ "أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},y_=fu nction(e){return function(a,t,s,n){var r=c_(a),_=Y_[e][c_(a)];return 2===r&&(_=_ [t?0:1]),_.replace(/%d/i,a)}},p_=["يناير","فبراير","مارس","أبريل","مايو","يونيو" ,"يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{mo nths:p_,monthsShort:p_,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_ا لسبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_" ),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"== =e},meridiem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastD ay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeT ime:{future:"بعد %s",past:"منذ %s",s:y_("s"),m:y_("m"),mm:y_("m"),h:y_("h"),hh:y _("h"),d:y_("d"),dd:y_("d"),M:y_("M"),MM:y_("M"),y:y_("y"),yy:y_("y")},preparse: function(e){
791 return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return L_[e]}).replace(/,/g,"،")},week:{dow:6,doy:12 }}),e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت _شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_ي ونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الث لاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_ا ربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysP arseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay: "[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة ] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L" },relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h: "ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سن وات"},week:{dow:6,doy:12}});var f_={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8: "٨",9:"٩",0:"٠"},k_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨" :"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_ما يو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_ فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_") ,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekd aysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر _خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:s s",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYY Y HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function( e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[ غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT ",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",pas t:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"% d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return k_[e]}).replace(/،/g,",")},postform at:function(e){return e.replace(/\d/g,function(e){return f_[e]}).replace(/,/g,"، ")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_ف يفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),week days:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysSh ort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_ س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L: "DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH: mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nex tWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على ا لساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:" دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var D_={1:"١",2:"٢",3:"٣",4:"٤ ",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},T_={"١":"1","٢":"2","٣":"3","٤":"4","٥":" 5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},g_=function(e){return 0===e?0:1===e? 1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},w_={s:["أقل من ثانية","ثانية واحد ة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقي قة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساع ة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من ي وم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر", "شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},v_=function(e){return f unction(a,t,s,n){var r=g_(a),_=w_[e][g_(a)];return 2===r&&(_=_[t?0:1]),_.replace (/%d/i,a)}},S_=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أي ار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتو بر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];e.defineLocale("ar",{months:S_,m onthsShort:S_,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".spl it("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekday sMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm" ,LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dd dd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},merid iem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] L T",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{futu re:"بعد %s",past:"منذ %s",s:v_("s"),m:v_("m"),mm:v_("m"),h:v_("h"),hh:v_("h"),d: v_("d"),dd:v_("d"),M:v_("M"),MM:v_("M"),y:v_("y"),yy:v_("y")},preparse:function( e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return T_[ e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e ){return D_[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var H_={1:"-inci",5:"- inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"- üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı", 90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_ avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_m ay_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Ç ər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekday sParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MM MM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameD ay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saa t] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L" },relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəq iqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay" ,MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM: function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,a,t){return e< 4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nc i|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10,t=e%1 00-a,s=e>=100?100:null;return e+(H_[a]||H_[t]||H_[s])},week:{dow:1,doy:7}}),e.de fineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрве ня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"ст удзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_ лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_ вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сера ду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_сера да_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_а т_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYY Y",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., H H:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(t his.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:ca se 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future: "праз %s",past:"%s таму",s:"некалькі секунд",m:Ls,mm:Ls,h:Ls,hh:Ls,d:"дзень",dd: Ls,M:"месяц",MM:Ls,y:"год",yy:Ls},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:fu nction(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,a,t){return e<4?"н очы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal: function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!== 2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default :return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"януари_февруари_ма рт_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),mont hsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"н еделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort: "нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".spli t("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LL L:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek :function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [ в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse: "L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минут а",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месе ца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordina l:function(e){var a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e +"-ти":1===a?e+"-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy :7}});var b_={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},j_={" ১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}; e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট _সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্ র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবা র_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বু ধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".s plit("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়" },calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDa y:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s প রে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"% d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},p reparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return j_[e]})} ,postformat:function(e){return e.replace(/\d/g,function(e){return b_[e]})},merid iemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,a){return 12===e&&(e =0),"রাত"===a&&e>=4||"দুপুর"===a&&e<5||"বিকাল"===a?e+12:e},meridiem:function(e,a ,t){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,do y:6}});var x_={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},P_={ "༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"} ;e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ _ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་ བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་ བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་ད མར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་ བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm" ,LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL: "dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] L T",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་ མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང ",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"% d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){ return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return P_[e]})},postformat:function (e){return e.replace(/\d/g,function(e){return x_[e]})},meridiemParse:/མཚན་མོ|ཞོག ས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,a){return 12===e&&(e=0),"མཚ ན་མོ"===a&&e>=4||"ཉིན་གུང"===a&&e<5||"དགོང་དག"===a?e+12:e},meridiem:function(e,a ,t){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},w eek:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_M ae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hw e_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Me rc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad ".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:! 0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] M MMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e ]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek: "dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L "},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"u r vunutenn",mm:cs,h:"un eur",hh:"%d eur",d:"un devezh",dd:cs,M:"ur miz",MM:cs,y: "ur bloaz",yy:Ys},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var a=1===e ?"añ":"vet";return e+a},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar _februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".sp lit("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec .".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_ četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._s ub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact :!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL :"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u ] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:retur n"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [ subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu ] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",pas t:"prije %s",s:"par sekundi",m:ks,mm:ks,h:ks,hh:ks,d:"dan",dd:ks,M:"mjesec",MM:k s,y:"godinu",yy:ks},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_sete mbre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai ._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"di umenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysSh ort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds". split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/M M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},ca lendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT" },nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},next Week:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:f unction(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:functi on(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse :"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut", mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM: "%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:fu nction(e,a){var t=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==a&&"W" !==a||(t="a"),e+t},week:{dow:1,doy:4}});var W_="leden_únor_březen_duben_květen_č erven_červenec_srpen_září_říjen_listopad_prosinec".split("_"),A_="led_úno_bře_du b_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");e.defineLocale("cs",{months:W_,mon thsShort:A_,monthsParse:function(e,a){var t,s=[];for(t=0;t<12;t++)s[t]=new RegEx p("^"+e[t]+"$|^"+a[t]+"$","i");return s}(W_,A_),shortMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(A_),longMon thsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i ");return t}(W_),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".spl it("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st _čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL: "D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YY YY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){ switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5: return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",l astWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sam eElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Ts,m:Ts,mm:Ts,h:Ts,hh:T s,d:Ts,dd:Ts,M:Ts,MM:Ts,y:Ts,yy:Ts},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week: {dow:1,doy:4}}),e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ _ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_к ӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑ м".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:" HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LL L:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уй ӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]" ,lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:functio n(e){var a=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+a},past: "%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул" },ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),e.defineLocal e("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_H ydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws _Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mer cher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Me r_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdays ParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMM M YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDa y:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddo e am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"m ewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh: "%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d fly nedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a =e,t="",s=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed", "eg","eg","fed","eg","eg","fed","eg","fed"];return a>20?t=40===a||50===a||60===a ||80===a||100===a?"fed":"ain":a>0&&(t=s[a]),e+t},week:{dow:1,doy:4}}),e.defineLo cale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_okt ober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_ sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_freda g_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),week daysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm: ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT ",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder", m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage", M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordi nal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"Jänner_Februar_Mä rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),mo nthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split(" _"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Fr eitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_") ,weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYY Y HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr] ",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",last Day:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTim e:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:gs,mm:"%d Minuten",h:gs, hh:"%d Stunden",d:gs,dd:gs,M:gs,MM:gs,y:gs,yy:gs},ordinalParse:/\d{1,2}\./,ordin al:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_März_A pril_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),months Short:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"), monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freita g_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),wee kdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat: {LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH :mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sa meElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay: "[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{f uture:"in %s",past:"vor %s",s:"ein paar Sekunden",m:ws,mm:"%d Minuten",h:ws,hh:" %d Stunden",d:ws,dd:ws,M:ws,MM:ws,y:ws,yy:ws},ordinalParse:/\d{1,2}\./,ordinal:" %d.",week:{dow:1,doy:4}});var E_=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މ ޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަ ރު"],F_=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e .defineLocale("dv",{months:E_,monthsShort:E_,weekdays:F_,weekdaysShort:F_,weekda ysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm" ,LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meri diem:function(e,a,t){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",next Day:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސި ކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވ ަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},prepa rse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.repl ace(/,/g,"،")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"Ια νουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριο ς_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρου αρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοε μβρίου_Δεκεμβρίου".split("_"),months:function(e,a){return/D/.test(a.substring(0, a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e .month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split ("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_ "),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_ Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,a,t){return e>11?t?"μμ":"ΜΜ":t?"πμ": "ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\ .?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{same Day:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χ θες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο ] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},c alendar:function(e,a){var t=this._calendarEl[e],s=a&&a.hours();return w(t)&&(t=t .apply(a)),t.replace("{}",s%12===1?"στη":"στις")},relativeTime:{future:"σε %s",p ast:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:" %d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος" ,yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),e.de fineLocale("en-au",{months:"January_February_March_April_May_June_July_August_Se ptember_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_J un_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday _Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat ".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h :mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A", LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tom orrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Las t] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a f ew 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"},ordinalParse:/\d{ 1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a? "st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.defineLocale( "en-ca",{months:"January_February_March_April_May_June_July_August_September_Oct ober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_ Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_F riday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_" ),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS: "h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"ddd d, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at ] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few secon ds",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"},ordinalParse:/\d{1,2}(st| nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2== =a?"nd":3===a?"rd":"th";return e+t}}),e.defineLocale("en-gb",{months:"January_Fe bruary_March_April_May_June_July_August_September_October_November_December".spl it("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_") ,weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_ Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL :"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar: {sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",last Day:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTim e:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t },week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_Ap ril_May_June_July_August_September_October_November_December".split("_"),monthsS hort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sund ay_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:" Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split ("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY", LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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 yea rs"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~ (e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,do y:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_Jul y_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Ma r_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesda y_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_ Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFo rmat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YY YY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",ne xtDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",las tWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordina lParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)? "th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.de fineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_ septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj _jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_ Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab". split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH: mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\. t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function (e,a,t){return e>11?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:" [Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera ŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:" je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d h oroj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}, ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var z_="ene._feb._mar ._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),O_="ene_feb_mar_abr_m ay_jun_jul_ago_sep_oct_nov_dic".split("_"); 791 return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return L_[e]}).replace(/,/g,"،")},week:{dow:6,doy:12 }}),e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت _شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_ي ونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الث لاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_ا ربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysP arseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay: "[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة ] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L" },relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h: "ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سن وات"},week:{dow:6,doy:12}});var f_={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8: "٨",9:"٩",0:"٠"},k_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨" :"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_ما يو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_ فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_") ,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekd aysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر _خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:s s",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYY Y HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function( e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[ غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT ",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",pas t:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"% d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return k_[e]}).replace(/،/g,",")},postform at:function(e){return e.replace(/\d/g,function(e){return f_[e]}).replace(/,/g,"، ")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_ف يفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),week days:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysSh ort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_ س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L: "DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH: mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nex tWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على ا لساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:" دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var D_={1:"١",2:"٢",3:"٣",4:"٤ ",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},T_={"١":"1","٢":"2","٣":"3","٤":"4","٥":" 5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},g_=function(e){return 0===e?0:1===e? 1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},w_={s:["أقل من ثانية","ثانية واحد ة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقي قة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساع ة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من ي وم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر", "شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},v_=function(e){return f unction(a,t,s,n){var r=g_(a),_=w_[e][g_(a)];return 2===r&&(_=_[t?0:1]),_.replace (/%d/i,a)}},S_=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أي ار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتو بر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];e.defineLocale("ar",{months:S_,m onthsShort:S_,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".spl it("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekday sMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm" ,LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dd dd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},merid iem:function(e,a,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] L T",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{futu re:"بعد %s",past:"منذ %s",s:v_("s"),m:v_("m"),mm:v_("m"),h:v_("h"),hh:v_("h"),d: v_("d"),dd:v_("d"),M:v_("M"),MM:v_("M"),y:v_("y"),yy:v_("y")},preparse:function( e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return T_[ e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e ){return D_[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var H_={1:"-inci",5:"- inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"- üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı", 90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_ avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_m ay_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Ç ər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekday sParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MM MM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameD ay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saa t] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L" },relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəq iqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay" ,MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM: function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,a,t){return e< 4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nc i|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10,t=e%1 00-a,s=e>=100?100:null;return e+(H_[a]||H_[t]||H_[s])},week:{dow:1,doy:7}}),e.de fineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрве ня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"ст удзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_ лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_ вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сера ду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_сера да_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_а т_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYY Y",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., H H:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(t his.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:ca se 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future: "праз %s",past:"%s таму",s:"некалькі секунд",m:Ls,mm:Ls,h:Ls,hh:Ls,d:"дзень",dd: Ls,M:"месяц",MM:Ls,y:"год",yy:Ls},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:fu nction(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,a,t){return e<4?"н очы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal: function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!== 2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default :return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"януари_февруари_ма рт_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),mont hsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"н еделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort: "нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".spli t("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LL L:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek :function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [ в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse: "L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минут а",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месе ца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordina l:function(e){var a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e +"-ти":1===a?e+"-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy :7}});var b_={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},j_={" ১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}; e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট _সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্ র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবা র_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বু ধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".s plit("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়" },calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDa y:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s প রে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"% d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},p reparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return j_[e]})} ,postformat:function(e){return e.replace(/\d/g,function(e){return b_[e]})},merid iemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,a){return 12===e&&(e =0),"রাত"===a&&e>=4||"দুপুর"===a&&e<5||"বিকাল"===a?e+12:e},meridiem:function(e,a ,t){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,do y:6}});var x_={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},P_={ "༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"} ;e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ _ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་ བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་ བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་ད མར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་ བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm" ,LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL: "dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] L T",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་ མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང ",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"% d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){ return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return P_[e]})},postformat:function (e){return e.replace(/\d/g,function(e){return x_[e]})},meridiemParse:/མཚན་མོ|ཞོག ས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,a){return 12===e&&(e=0),"མཚ ན་མོ"===a&&e>=4||"ཉིན་གུང"===a&&e<5||"དགོང་དག"===a?e+12:e},meridiem:function(e,a ,t){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},w eek:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_M ae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hw e_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Me rc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad ".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:! 0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] M MMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e ]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek: "dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L "},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"u r vunutenn",mm:cs,h:"un eur",hh:"%d eur",d:"un devezh",dd:cs,M:"ur miz",MM:cs,y: "ur bloaz",yy:Ys},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var a=1===e ?"añ":"vet";return e+a},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar _februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".sp lit("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec .".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_ četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._s ub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact :!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL :"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u ] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:retur n"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [ subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu ] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",pas t:"prije %s",s:"par sekundi",m:ks,mm:ks,h:ks,hh:ks,d:"dan",dd:ks,M:"mjesec",MM:k s,y:"godinu",yy:ks},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_sete mbre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai ._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"di umenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysSh ort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds". split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/M M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},ca lendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT" },nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},next Week:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:f unction(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:functi on(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse :"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut", mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM: "%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:fu nction(e,a){var t=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==a&&"W" !==a||(t="a"),e+t},week:{dow:1,doy:4}});var W_="leden_únor_březen_duben_květen_č erven_červenec_srpen_září_říjen_listopad_prosinec".split("_"),A_="led_úno_bře_du b_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");e.defineLocale("cs",{months:W_,mon thsShort:A_,monthsParse:function(e,a){var t,s=[];for(t=0;t<12;t++)s[t]=new RegEx p("^"+e[t]+"$|^"+a[t]+"$","i");return s}(W_,A_),shortMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(A_),longMon thsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i ");return t}(W_),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".spl it("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st _čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL: "D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YY YY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){ switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5: return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",l astWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sam eElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Ts,m:Ts,mm:Ts,h:Ts,hh:T s,d:Ts,dd:Ts,M:Ts,MM:Ts,y:Ts,yy:Ts},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week: {dow:1,doy:4}}),e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ _ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_к ӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑ м".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:" HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LL L:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уй ӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]" ,lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:functio n(e){var a=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+a},past: "%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул" },ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),e.defineLocal e("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_H ydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws _Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mer cher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Me r_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdays ParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMM M YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDa y:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddo e am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"m ewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh: "%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d fly nedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a =e,t="",s=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed", "eg","eg","fed","eg","eg","fed","eg","fed"];return a>20?t=40===a||50===a||60===a ||80===a||100===a?"fed":"ain":a>0&&(t=s[a]),e+t},week:{dow:1,doy:4}}),e.defineLo cale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_okt ober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_ sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_freda g_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),week daysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm: ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT ",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder", m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage", M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordi nal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"Jänner_Februar_Mä rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),mo nthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split(" _"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Fr eitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_") ,weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYY Y HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr] ",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",last Day:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTim e:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:gs,mm:"%d Minuten",h:gs, hh:"%d Stunden",d:gs,dd:gs,M:gs,MM:gs,y:gs,yy:gs},ordinalParse:/\d{1,2}\./,ordin al:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_März_A pril_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),months Short:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"), monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freita g_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),wee kdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat: {LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH :mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sa meElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay: "[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{f uture:"in %s",past:"vor %s",s:"ein paar Sekunden",m:ws,mm:"%d Minuten",h:ws,hh:" %d Stunden",d:ws,dd:ws,M:ws,MM:ws,y:ws,yy:ws},ordinalParse:/\d{1,2}\./,ordinal:" %d.",week:{dow:1,doy:4}});var E_=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މ ޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަ ރު"],F_=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e .defineLocale("dv",{months:E_,monthsShort:E_,weekdays:F_,weekdaysShort:F_,weekda ysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm" ,LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meri diem:function(e,a,t){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",next Day:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސި ކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވ ަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},prepa rse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.repl ace(/,/g,"،")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"Ια νουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριο ς_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρου αρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοε μβρίου_Δεκεμβρίου".split("_"),months:function(e,a){return/D/.test(a.substring(0, a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e .month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split ("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_ "),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_ Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,a,t){return e>11?t?"μμ":"ΜΜ":t?"πμ": "ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\ .?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{same Day:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χ θες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο ] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},c alendar:function(e,a){var t=this._calendarEl[e],s=a&&a.hours();return w(t)&&(t=t .apply(a)),t.replace("{}",s%12===1?"στη":"στις")},relativeTime:{future:"σε %s",p ast:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:" %d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος" ,yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),e.de fineLocale("en-au",{months:"January_February_March_April_May_June_July_August_Se ptember_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_J un_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday _Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat ".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h :mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A", LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tom orrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Las t] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a f ew 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"},ordinalParse:/\d{ 1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a? "st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.defineLocale( "en-ca",{months:"January_February_March_April_May_June_July_August_September_Oct ober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_ Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_F riday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_" ),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS: "h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"ddd d, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at ] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few secon ds",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"},ordinalParse:/\d{1,2}(st| nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2== =a?"nd":3===a?"rd":"th";return e+t}}),e.defineLocale("en-gb",{months:"January_Fe bruary_March_April_May_June_July_August_September_October_November_December".spl it("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_") ,weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_ Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL :"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar: {sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",last Day:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTim e:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t },week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_Ap ril_May_June_July_August_September_October_November_December".split("_"),monthsS hort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sund ay_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:" Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split ("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY", LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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 yea rs"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~ (e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,do y:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_Jul y_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Ma r_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesda y_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_ Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFo rmat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YY YY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",ne xtDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",las tWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordina lParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10,t=1===~~(e%100/10)? "th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.de fineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_ septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj _jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_ Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab". split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH: mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\. t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function (e,a,t){return e>11?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:" [Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera ŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:" je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d h oroj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}, ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var z_="ene._feb._mar ._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),O_="ene_feb_mar_abr_m ay_jun_jul_ago_sep_oct_nov_dic".split("_");
792 e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agost o_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){r eturn/-MMM-/.test(a)?O_[e.month()]:z_[e.month()]},monthsParseExact:!0,weekdays:" domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:" dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L :"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL :"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+ (1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==th is.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours ()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this. hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s ",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:" un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalPa rse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var J_="ene._feb._mar._abr._ma y._jun._jul._ago._sep._oct._nov._dic.".split("_"),R_="ene_feb_mar_abr_may_jun_ju l_ago_sep_oct_nov_dic".split("_");e.defineLocale("es",{months:"enero_febrero_mar zo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split(" _"),monthsShort:function(e,a){return/-MMM-/.test(a)?R_[e.month()]:J_[e.month()]} ,monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sáb ado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),we ekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat :{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay: function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function( ){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){ret urn"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[aye r a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [ pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{futur e:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año", yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defin eLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_septe mber_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_m ai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_te isipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R _L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm", LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"ddd d, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",next Week:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",same Else:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:vs,m:vs,mm:vs,h:vs ,hh:vs,d:vs,dd:"%d päeva",M:vs,MM:vs,y:vs,yy:vs},ordinalParse:/\d{1,2}\./,ordina l:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_mart xoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_ "),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".spl it("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_os teguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr. ".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0 ,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] H H:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"dd d, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar ] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurrek o] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s", s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"eg un bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte" },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var I_={1:"۱",2:"۲ ",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},C_={"۱":"1","۲":"2","۳":"3"," ۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{mon ths:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".spli t("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوام بر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شن به".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه ".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر /,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,a,t){return e <12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فرد ا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [ پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندی ن ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d ر وز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e .replace(/[۰-۹]/g,function(e){return C_[e]}).replace(/،/g,",")},postformat:funct ion(e){return e.replace(/\d/g,function(e){return I_[e]}).replace(/,/g,"،")},ordi nalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var G_="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),N_=["nolla","y hden","kahden","kolmen","neljän","viiden","kuuden",G_[7],G_[8],G_[9]];e.defineLo cale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäku u_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi _maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:" sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),w eekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la ".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMM M[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [k lo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"dd d, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[hu omenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:" [viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:" %s sitten",s:Ss,m:Ss,mm:Ss,h:Ss,hh:Ss,d:Ss,dd:Ss,M:Ss,MM:Ss,y:Ss,yy:Ss},ordinalP arse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months: "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desem ber".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".sp lit("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur _leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"), weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MM MM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT", nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m: "ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d da gar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2 }\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_ février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".sp lit("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._ déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeu di_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam. ".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0 ,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:" D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hu i à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",la stWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:" il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh :"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e" )}}),e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet _août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._m ars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:! 0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),week daysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_ Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMM M YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",ne xtWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameEl se:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m: "une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jou rs",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/ ,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}}),e.defineLoc ale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_oct obre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_j uil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanch e_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun ._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split( "_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YY YY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},cale ndar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT ",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTim e:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM: "%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e) {return e+(1===e?"er":"")},week:{dow:1,doy:4}});var U_="jan._feb._mrt._apr._mai_ jun._jul._aug._sep._okt._nov._des.".split("_"),V_="jan_feb_mrt_apr_mai_jun_jul_a ug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewari s_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".spli t("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?V_[e.month()]:U_[e.month( )]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_free d_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekd aysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moar n om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dd dd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei", dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordin alParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste ":"de")},week:{dow:1,doy:4}});var $_=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain" ,"An Dàmhair","An t-Samhain","An Dùbhlachd"],K_=["Faoi","Gear","Màrt","Gibl","Cè it","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Z_=["Didòmhnaich","Diluain" ,"Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],q_=["Did","Dil","Di m","Dic","Dia","Dih","Dis"],B_=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLoca le("gd",{months:$_,monthsShort:K_,monthsParseExact:!0,weekdays:Z_,weekdaysShort: q_,weekdaysMin:B_,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sa meDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT" ,lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},re lativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid ",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",M M:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ord inal:function(e){var a=1===e?"d":e%10===2?"na":"mh";return e+a},week:{dow:1,doy: 4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_a gosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar. _abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,we ekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysSho rt:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_v e_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L :"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:" dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+( 1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.h ours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"á s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+" ] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un") ?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:" unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e. defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_או קטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג ׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת ".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL: "D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l: "D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}, calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",l astDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},rela tiveTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h: "שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){ret urn 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה" :e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בב וקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridie m:function(e,a,t){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?t?'לפנה"צ':"לפני הצה ריים":e<18?t?'אחה"צ':"אחרי הצהריים":"בערב"}});var Q_={1:"१",2:"२",3:"३",4:"४",5: "५",6:"६",7:"७",8:"८",9:"९",0:"०"},X_={"१":"1","२":"2","३":"3","४":"4","५":"5"," ६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवर ी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),mon thsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_") ,monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनि वार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekd aysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h: mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"d ddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nex tWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},rel ativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिन ट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y: "एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,fu nction(e){return X_[e]})},postformat:function(e){return e.replace(/\d/g,function (e){return Q_[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,a ){return 12===e&&(e=0),"रात"===a?e<4?e:e+12:"सुबह"===a?e:"दोपहर"===a?e>=10?e:e+1 2:"शाम"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"रात":e<10?"सुबह":e <17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{ format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_lis topada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travan j_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},mon thsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_ "),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_pe tak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split( "_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDat eFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM Y YYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextD ay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedj elju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT ",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[ prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s ",s:"par sekundi",m:bs,mm:bs,h:bs,hh:bs,d:"dan",dd:bs,M:"mjesec",MM:bs,y:"godinu ",yy:bs},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ed="vas árnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");e.defineL ocale("hu",{months:"január_február_március_április_május_június_július_augusztus _szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_ máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szer da_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén _szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT: "H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm" ,LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return "u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?t===!0?"de ":"DE":t===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[ -kor]",nextWeek:function(){return xs.call(this,!0)},lastDay:"[tegnap] LT[-kor]", lastWeek:function(){return xs.call(this,!1)},sameElse:"L"},relativeTime:{future: "%s múlva",past:"%s",s:js,m:js,mm:js,h:js,hh:js,d:js,dd:js,M:js,MM:js,y:js,yy:js },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy -am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոս տոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_ փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտ եմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ" .split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շա բաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdays Min:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"ddd d, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",la stDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:funct ion(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemPars e:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան )$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցեր եկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,a){s witch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";defau lt:return e}},week:{dow:1,doy:7}}),e.defineLocale("id",{months:"Januari_Februari _Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_ "),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),week days:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_ Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_" ),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL: "D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemPars e:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi" ===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:fu nction(e,a,t){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sam eDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT" ,lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},rela tiveTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",m m:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bu lan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("is",{months :"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desem ber".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".sp lit("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_fös tudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".spli t("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",L TS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL :"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[sí ðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Ws,m:Ws,mm:Ws,h:"klukkustund",hh:Ws,d:Ws,dd:Ws,M:Ws,MM:Ws,y:Ws,yy:Ws },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it ",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_o ttobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ag o_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Gioved ì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split(" _"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS :"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT ",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch( this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9] .+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm :"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM: "%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{ dow:1,doy:4}}),e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_1 2月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),w eekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".s plit("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS: "Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m 分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:functi on(e,a,t){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",n extWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ord inalParse:/\d{1,2}日/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":r eturn e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1 分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"} }),e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agust us_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_ Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_K emis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split ("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",L TS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LL LL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/ ,meridiemHour:function(e,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?e>= 11?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten p uniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDa y:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},rel ativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik ",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",d d:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy :7}}),e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მა ისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),fo rmat:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტ ომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_ აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ო თხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათ ს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},wee kdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_ პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar :{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",ne xtWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relati veTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/ ,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.repl ace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რ ამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე" ,M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1 ,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0|| e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ad={0:"-ші",1:"-ші",2:"-ші",3 :"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы ",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocal e("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қаза н_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_ қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_ж ұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),wee kdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm :ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nex tWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"б ірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір кү н",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1 ,2}-(ші|шы)/,ordinal:function(e){var a=e%10,t=e>=100?100:null;return e+(ad[e]||a d[a]||ad[t])},week:{dow:1,doy:7}}),e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា _មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:" មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_ "),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdays Short:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អ ាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH :mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL :"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែ ក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"ddd d [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន ",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ង ៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy :4}}),e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split ("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:" 일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_") ,weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m 분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"% s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:" %d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",me ridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,a,t){re turn e<12?"오전":"오후"}});var td={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6 :"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:" -чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_ф евраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split(" _"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"), weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),w eekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Б й_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{ sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",la stDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse :"L" 792 e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agost o_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){r eturn/-MMM-/.test(a)?O_[e.month()]:z_[e.month()]},monthsParseExact:!0,weekdays:" domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:" dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L :"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL :"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+ (1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==th is.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours ()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this. hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s ",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:" un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalPa rse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var J_="ene._feb._mar._abr._ma y._jun._jul._ago._sep._oct._nov._dic.".split("_"),R_="ene_feb_mar_abr_may_jun_ju l_ago_sep_oct_nov_dic".split("_");e.defineLocale("es",{months:"enero_febrero_mar zo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split(" _"),monthsShort:function(e,a){return/-MMM-/.test(a)?R_[e.month()]:J_[e.month()]} ,monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sáb ado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),we ekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat :{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay: function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function( ){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){ret urn"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[aye r a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [ pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{futur e:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año", yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defin eLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_septe mber_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_m ai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_te isipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R _L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm", LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"ddd d, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",next Week:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",same Else:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:vs,m:vs,mm:vs,h:vs ,hh:vs,d:vs,dd:"%d päeva",M:vs,MM:vs,y:vs,yy:vs},ordinalParse:/\d{1,2}\./,ordina l:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_mart xoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_ "),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".spl it("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_os teguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr. ".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0 ,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] H H:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"dd d, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar ] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurrek o] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s", s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"eg un bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte" },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var I_={1:"۱",2:"۲ ",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},C_={"۱":"1","۲":"2","۳":"3"," ۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{mon ths:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".spli t("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوام بر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شن به".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه ".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر /,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,a,t){return e <12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فرد ا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [ پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندی ن ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d ر وز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e .replace(/[۰-۹]/g,function(e){return C_[e]}).replace(/،/g,",")},postformat:funct ion(e){return e.replace(/\d/g,function(e){return I_[e]}).replace(/,/g,"،")},ordi nalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var G_="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),N_=["nolla","y hden","kahden","kolmen","neljän","viiden","kuuden",G_[7],G_[8],G_[9]];e.defineLo cale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäku u_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi _maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:" sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),w eekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la ".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMM M[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [k lo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"dd d, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[hu omenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:" [viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:" %s sitten",s:Ss,m:Ss,mm:Ss,h:Ss,hh:Ss,d:Ss,dd:Ss,M:Ss,MM:Ss,y:Ss,yy:Ss},ordinalP arse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months: "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desem ber".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".sp lit("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur _leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"), weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MM MM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT", nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m: "ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d da gar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2 }\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_ février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".sp lit("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._ déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeu di_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam. ".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0 ,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:" D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hu i à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",la stWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:" il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh :"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e" )}}),e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet _août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._m ars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:! 0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),week daysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_ Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMM M YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",ne xtWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameEl se:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m: "une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jou rs",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/ ,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}}),e.defineLoc ale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_oct obre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_j uil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanch e_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun ._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split( "_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YY YY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},cale ndar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT ",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTim e:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM: "%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e) {return e+(1===e?"er":"")},week:{dow:1,doy:4}});var U_="jan._feb._mrt._apr._mai_ jun._jul._aug._sep._okt._nov._des.".split("_"),V_="jan_feb_mrt_apr_mai_jun_jul_a ug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewari s_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".spli t("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?V_[e.month()]:U_[e.month( )]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_free d_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekd aysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moar n om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dd dd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei", dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordin alParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste ":"de")},week:{dow:1,doy:4}});var $_=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain" ,"An Dàmhair","An t-Samhain","An Dùbhlachd"],K_=["Faoi","Gear","Màrt","Gibl","Cè it","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Z_=["Didòmhnaich","Diluain" ,"Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],q_=["Did","Dil","Di m","Dic","Dia","Dih","Dis"],B_=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLoca le("gd",{months:$_,monthsShort:K_,monthsParseExact:!0,weekdays:Z_,weekdaysShort: q_,weekdaysMin:B_,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sa meDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT" ,lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},re lativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid ",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",M M:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ord inal:function(e){var a=1===e?"d":e%10===2?"na":"mh";return e+a},week:{dow:1,doy: 4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_a gosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar. _abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,we ekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysSho rt:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_v e_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L :"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:" dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+( 1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.h ours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"á s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+" ] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un") ?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:" unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e. defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_או קטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג ׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת ".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL: "D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l: "D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}, calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",l astDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},rela tiveTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h: "שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){ret urn 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה" :e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בב וקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridie m:function(e,a,t){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?t?'לפנה"צ':"לפני הצה ריים":e<18?t?'אחה"צ':"אחרי הצהריים":"בערב"}});var Q_={1:"१",2:"२",3:"३",4:"४",5: "५",6:"६",7:"७",8:"८",9:"९",0:"०"},X_={"१":"1","२":"2","३":"3","४":"4","५":"5"," ६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवर ी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),mon thsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_") ,monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनि वार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekd aysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h: mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"d ddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nex tWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},rel ativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिन ट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y: "एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,fu nction(e){return X_[e]})},postformat:function(e){return e.replace(/\d/g,function (e){return Q_[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,a ){return 12===e&&(e=0),"रात"===a?e<4?e:e+12:"सुबह"===a?e:"दोपहर"===a?e>=10?e:e+1 2:"शाम"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"रात":e<10?"सुबह":e <17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{ format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_lis topada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travan j_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},mon thsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_ "),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_pe tak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split( "_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDat eFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM Y YYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextD ay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedj elju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT ",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[ prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s ",s:"par sekundi",m:bs,mm:bs,h:bs,hh:bs,d:"dan",dd:bs,M:"mjesec",MM:bs,y:"godinu ",yy:bs},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ed="vas árnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");e.defineL ocale("hu",{months:"január_február_március_április_május_június_július_augusztus _szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_ máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szer da_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén _szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT: "H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm" ,LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return "u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?t===!0?"de ":"DE":t===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[ -kor]",nextWeek:function(){return xs.call(this,!0)},lastDay:"[tegnap] LT[-kor]", lastWeek:function(){return xs.call(this,!1)},sameElse:"L"},relativeTime:{future: "%s múlva",past:"%s",s:js,m:js,mm:js,h:js,hh:js,d:js,dd:js,M:js,MM:js,y:js,yy:js },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy -am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոս տոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_ փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտ եմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ" .split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շա բաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdays Min:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"ddd d, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",la stDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:funct ion(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemPars e:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան )$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցեր եկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,a){s witch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";defau lt:return e}},week:{dow:1,doy:7}}),e.defineLocale("id",{months:"Januari_Februari _Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_ "),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),week days:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_ Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_" ),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL: "D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemPars e:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi" ===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:fu nction(e,a,t){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sam eDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT" ,lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},rela tiveTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",m m:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bu lan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("is",{months :"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desem ber".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".sp lit("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_fös tudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".spli t("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",L TS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL :"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[sí ðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Ws,m:Ws,mm:Ws,h:"klukkustund",hh:Ws,d:Ws,dd:Ws,M:Ws,MM:Ws,y:Ws,yy:Ws },ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it ",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_o ttobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ag o_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Gioved ì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split(" _"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS :"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT ",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch( this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9] .+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm :"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM: "%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{ dow:1,doy:4}}),e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_1 2月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),w eekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".s plit("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS: "Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m 分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:functi on(e,a,t){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",n extWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ord inalParse:/\d{1,2}日/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":r eturn e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1 分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"} }),e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agust us_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_ Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_K emis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split ("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",L TS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LL LL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/ ,meridiemHour:function(e,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?e>= 11?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten p uniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDa y:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},rel ativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik ",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",d d:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy :7}}),e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მა ისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),fo rmat:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტ ომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_ აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ო თხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათ ს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},wee kdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_ პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar :{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",ne xtWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relati veTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/ ,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.repl ace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რ ამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე" ,M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1 ,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0|| e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ad={0:"-ші",1:"-ші",2:"-ші",3 :"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы ",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocal e("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қаза н_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_ қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_ж ұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),wee kdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm :ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nex tWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"б ірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір кү н",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1 ,2}-(ші|шы)/,ordinal:function(e){var a=e%10,t=e>=100?100:null;return e+(ad[e]||a d[a]||ad[t])},week:{dow:1,doy:7}}),e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា _មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:" មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_ "),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdays Short:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អ ាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH :mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL :"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែ ក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"ddd d [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន ",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ង ៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy :4}}),e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split ("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:" 일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_") ,weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m 분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"% s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:" %d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",me ridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,a,t){re turn e<12?"오전":"오후"}});var td={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6 :"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:" -чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_ф евраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split(" _"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"), weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),w eekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Б й_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL: "D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{ sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",la stDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse :"L"
793 },relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүн өт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",M M:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal: function(e){var a=e%10,t=e>=100?100:null;return e+(td[e]||td[a]||td[t])},week:{d ow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_ Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Fe br._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExa ct:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg ".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin: "So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um ] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gësc hter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Lescht en] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future :Es,past:Fs,s:"e puer Sekonnen",m:As,mm:"%d Minutten",h:As,hh:"%d Stonnen",d:As, dd:"%d Deeg",M:As,MM:"%d Méint",y:As,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordi nal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມ ສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:" ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".spli t("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:" ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".spl it("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM /YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm" },meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem: function(e,a,t){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວາ ນນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{f uture:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປ ີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}}); var sd={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valand os_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_die nų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų _metus",yy:"metai_metų_metus"};e.defineLocale("lt",{months:{format:"sausio_vasar io_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gru odžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liep a_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\ [\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_g eg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadie nį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),stand alone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadie nis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tr e_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseE xact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] M MMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d. ], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},cale ndar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[ Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:Os,m:Js,mm:Cs,h:Js,hh:Cs,d:Js,dd:Cs,M:Js,MM:Cs,y:Js,yy:Cs} ,ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy :4}});var nd={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_ minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stu ndas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_" ),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši". split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_ga di".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{month s:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktob ris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug _sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ce turtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split ("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YY YY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{s ameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulkst en] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",s ameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:Vs,m:Us,mm:Ns,h:Us, hh:Ns,d:Us,dd:Ns,M:Us,MM:Ns,y:Us,yy:Ns},ordinalParse:/\d{1,2}\./,ordinal:"%d.",w eek:{dow:1,doy:4}});var rd={words:{m:["jedan minut","jednog minuta"],mm:["minut" ,"minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:[" dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","god ina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[ 2]},translate:function(e,a,t){var s=rd.words[t];return 1===t.length?a?s[0]:s[1]: e+" "+rd.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_febru ar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_") ,monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_ "),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_pe tak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split( "_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDat eFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM Y YYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextD ay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [ned jelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u ] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT ",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljk a] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [č etvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e [this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"neko liko sekundi",m:rd.translate,mm:rd.translate,h:rd.translate,hh:rd.translate,d:"d an",dd:rd.translate,M:"mjesec",MM:rd.translate,y:"godinu",yy:rd.translate},ordin alParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{mont hs:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi _Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),mont hsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split(" _"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:[ 'a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B ]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,we ekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShor t:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split(" _"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LL L:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay: "[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[ inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{f uture:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d me neti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d maram a",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy :4}}),e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_авг уст_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр _мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник _среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_ саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT :"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL :"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){swi tch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:ca se 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTim e:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути ",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година", yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){v ar a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e+"-ти":1===a?e+ "-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),e.defineL ocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekd ays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".spli t("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekd aysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL :"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",same Else:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m: "ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം", dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse :/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,a){retu rn 12===e&&(e=0),"രാത്രി"===a&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===a||"വൈകുന്നേരം"===a?e+12:e },meridiem:function(e,a,t){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്" :e<20?"വൈകുന്നേരം":"രാത്രി"}});var _d={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७" ,8:"८",9:"९",0:"०"},dd={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7", "८":"8","९":"9","०":"0"};e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_ एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsSh ort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसे ं.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवा र_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".sp lit("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT" ,nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] d ddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:$s,m:$s, mm:$s,h:$s,hh:$s,d:$s,dd:$s,M:$s,MM:$s,y:$s,yy:$s},preparse:function(e){return e .replace(/[१२३४५६७८९०]/g,function(e){return dd[e]})},postformat:function(e){retu rn e.replace(/\d/g,function(e){return _d[e]})},meridiemParse:/रात्री|सकाळी|दुपार ी|सायंकाळी/,meridiemHour:function(e,a){return 12===e&&(e=0),"रात्री"===a?e<4?e:e +12:"सकाळी"===a?e:"दुपारी"===a?e>=10?e:e+12:"सायंकाळी"===a?e+12:void 0},meridiem :function(e,a,t){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी": "रात्री"},week:{dow:0,doy:6}}),e.defineLocale("ms-my",{months:"Januari_Februari_ Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),mon thsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:" Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Se l_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),long DateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMM M YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pag i|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi" ===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},merid iem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},c alendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameE lse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat", m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebul an",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale ("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_N ovember_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Ok t_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".spli t("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is _Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/Y YYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [p ukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function( e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a ||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"ten gahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:" [Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWe ek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"% s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam", d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},wee k:{dow:1,doy:7}});var id={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉", 0:"၀"},od={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":" 9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူ လိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖ ေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင် ္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး _ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",n extDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]" ,lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည် ့ %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်", h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",y y:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){r eturn od[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return id[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_a pril_mai_juni_juli_august_september_oktober_november_desember".split("_"),months Short:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),m onthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag" .split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:" sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm ",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm" ,LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDa y:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek :"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s s iden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer ",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},o rdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var md={1:"१",2:"२",3 :"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},ud={"१":"1","२":"2","३":"3","४": "4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months :"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डि सेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट ._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ् गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल. _बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".spli t("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०] /g,function(e){return ud[e]})},postformat:function(e){return e.replace(/\d/g,fun ction(e){return md[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:fun ction(e,a){return 12===e&&(e=0),"राति"===a?e<4?e:e+12:"बिहान"===a?e:"दिउँसो"===a ?e>=10?e:e+12:"साँझ"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?"राति" :e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",next Day:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएक ो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d द िन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});va r ld="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Md= "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),hd=[/^jan/i,/^feb/i ,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/ ^okt/i,/^nov/i,/^dec/i],Ld=/^(januari|februari|maart|april|mei|april|ju[nl]i|aug ustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?| aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_fe bruari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".s plit("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?Md[e.month()]:ld[e.mon th()]},monthsRegex:Ld,monthsShortRegex:Ld,monthsStrictRegex:/^(januari|februari| maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsSh ortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.? |nov\.?|dec\.?)/i,monthsParse:hd,longMonthsParse:hd,shortMonthsParse:hd,weekdays :"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekday sShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Z a".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L: "DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH: mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameEls e:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m: "één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M :"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(st e|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow: 1,doy:4}});var cd="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".s plit("_"),Yd="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),yd=[/^ jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^au g/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],pd=/^(januari|februari|maart|april|mei|apri l|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\ .?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:" januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_d ecember".split("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?Yd[e.month() ]:cd[e.month()]},monthsRegex:pd,monthsShortRegex:pd,monthsStrictRegex:/^(januari |februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/ i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep \.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:yd,longMonthsParse:yd,shortMonthsParse:y d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_ "),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_ Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMM M YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",next Week:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] L T",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar se conden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"% d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/ \d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")}, week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_ juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"ja n_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_månda g_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_on s_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDate Format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay: "[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relat iveTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d m inutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{do w:1,doy:4}});var fd={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦" },kd={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦ ":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸ ਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵ ਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_ "),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calen dar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",l astWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:f unction(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return kd[e]})},postform at:function(e){return e.replace(/\d/g,function(e){return fd[e]})},meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,a){return 12===e&&(e=0),"ਰਾਤ"===a ?e<4?e:e+12:"ਸਵੇਰ"===a?e:"ਦੁਪਹਿਰ"===a?e>=10?e:e+12:"ਸ਼ਾਮ"===a?e+12:void 0},merid iem:function(e,a,t){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ" },week:{dow:0,doy:6}});var Dd="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_ sierpień_wrzesień_październik_listopad_grudzień".split("_"),Td="stycznia_lutego_ marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudn ia".split("_");e.defineLocale("pl",{months:function(e,a){return""===a?"("+Td[e.m onth()]+"|"+Dd[e.month()]+")":/D MMMM/.test(a)?Td[e.month()]:Dd[e.month()]},mont hsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"n iedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysSh ort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".spl it("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY ",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dz iś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT"; default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Zs,mm:Zs,h:Zs,hh:Zs,d:"1 dzień",dd:"%d dni ",M:"miesiąc",MM:Zs,y:"rok",yy:Zs},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{ dow:1,doy:4}}),e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Mai o_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort: "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_S egunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_" ),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_ 4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"H H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoj e às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] L T",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"% s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d h oras",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}, ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),e.defineLocale("pt",{months:"Janeiro_Fev ereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".s plit("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_ "),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-F eira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),w eekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{s ameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:" [Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Últim o] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos" },ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("ro" ,{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_oc tombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_i un._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dum inică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_ Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),lo ngDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMM M YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",next Day:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fo sta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urm ă",s:"câteva secunde",m:"un minut",mm:qs,h:"o oră",hh:qs,d:"o zi",dd:qs,M:"o lun ă",MM:qs,y:"un an",yy:qs},week:{dow:1,doy:7}});var gd=[/^янв/i,/^фев/i,/^мар/i,/ ^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.def ineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_август а_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_ап рель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsSho rt:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split ("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек." .split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг _пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четве рг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\ ] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ ср_чт_пт_сб".split("_"),monthsParse:gd,longMonthsParse:gd,shortMonthsParse:gd,mo nthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.? |ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октяб р[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ь я]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\ .?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ь я]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта ?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|дек абр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.] |июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"H H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dd dd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())ret urn 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dd dd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:fun ction(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:c ase 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прош лую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад ",s:"несколько секунд",m:Qs,mm:Qs,h:"час",hh:Qs,d:"день",dd:Qs,M:"месяц",MM:Qs,y :"год",yy:Qs},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дн я|вечера)$/.test(e)},meridiem:function(e,a,t){return e<4?"ночи":e<12?"утра":e<17 ?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,a){switch(a) {case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W": return e+"-я";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("se",{month s:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoi dnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"), monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split(" _"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_l ávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_") , 793 },relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүн өт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",M M:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal: function(e){var a=e%10,t=e>=100?100:null;return e+(td[e]||td[a]||td[t])},week:{d ow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_ Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Fe br._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExa ct:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg ".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin: "So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um ] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gësc hter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Lescht en] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future :Es,past:Fs,s:"e puer Sekonnen",m:As,mm:"%d Minutten",h:As,hh:"%d Stonnen",d:As, dd:"%d Deeg",M:As,MM:"%d Méint",y:As,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordi nal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມ ສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:" ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".spli t("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:" ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".spl it("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM /YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm" },meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem: function(e,a,t){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວາ ນນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{f uture:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປ ີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}}); var sd={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valand os_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_die nų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų _metus",yy:"metai_metų_metus"};e.defineLocale("lt",{months:{format:"sausio_vasar io_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gru odžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liep a_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\ [\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_g eg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadie nį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),stand alone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadie nis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tr e_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseE xact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] M MMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d. ], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},cale ndar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[ Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:Os,m:Js,mm:Cs,h:Js,hh:Cs,d:Js,dd:Cs,M:Js,MM:Cs,y:Js,yy:Cs} ,ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy :4}});var nd={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_ minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stu ndas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_" ),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši". split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_ga di".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{month s:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktob ris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug _sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ce turtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split ("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YY YY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{s ameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulkst en] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",s ameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:Vs,m:Us,mm:Ns,h:Us, hh:Ns,d:Us,dd:Ns,M:Us,MM:Ns,y:Us,yy:Ns},ordinalParse:/\d{1,2}\./,ordinal:"%d.",w eek:{dow:1,doy:4}});var rd={words:{m:["jedan minut","jednog minuta"],mm:["minut" ,"minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:[" dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","god ina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[ 2]},translate:function(e,a,t){var s=rd.words[t];return 1===t.length?a?s[0]:s[1]: e+" "+rd.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_febru ar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_") ,monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_ "),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_pe tak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split( "_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDat eFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM Y YYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextD ay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [ned jelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u ] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT ",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljk a] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [č etvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e [this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"neko liko sekundi",m:rd.translate,mm:rd.translate,h:rd.translate,hh:rd.translate,d:"d an",dd:rd.translate,M:"mjesec",MM:rd.translate,y:"godinu",yy:rd.translate},ordin alParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{mont hs:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi _Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),mont hsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split(" _"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:[ 'a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B ]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,we ekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShor t:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split(" _"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LL L:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay: "[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[ inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{f uture:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d me neti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d maram a",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy :4}}),e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_авг уст_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр _мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник _среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_ саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT :"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL :"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){swi tch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:ca se 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTim e:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути ",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година", yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){v ar a=e%10,t=e%100;return 0===e?e+"-ев":0===t?e+"-ен":t>10&&t<20?e+"-ти":1===a?e+ "-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),e.defineL ocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekd ays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".spli t("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekd aysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL :"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",same Else:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m: "ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം", dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse :/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,a){retu rn 12===e&&(e=0),"രാത്രി"===a&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===a||"വൈകുന്നേരം"===a?e+12:e },meridiem:function(e,a,t){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്" :e<20?"വൈകുന്നേരം":"രാത്രി"}});var _d={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७" ,8:"८",9:"९",0:"०"},dd={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7", "८":"8","९":"9","०":"0"};e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_ एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsSh ort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसे ं.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवा र_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".sp lit("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT" ,nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] d ddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:$s,m:$s, mm:$s,h:$s,hh:$s,d:$s,dd:$s,M:$s,MM:$s,y:$s,yy:$s},preparse:function(e){return e .replace(/[१२३४५६७८९०]/g,function(e){return dd[e]})},postformat:function(e){retu rn e.replace(/\d/g,function(e){return _d[e]})},meridiemParse:/रात्री|सकाळी|दुपार ी|सायंकाळी/,meridiemHour:function(e,a){return 12===e&&(e=0),"रात्री"===a?e<4?e:e +12:"सकाळी"===a?e:"दुपारी"===a?e>=10?e:e+12:"सायंकाळी"===a?e+12:void 0},meridiem :function(e,a,t){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी": "रात्री"},week:{dow:0,doy:6}}),e.defineLocale("ms-my",{months:"Januari_Februari_ Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),mon thsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:" Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Se l_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),long DateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMM M YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pag i|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi" ===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},merid iem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},c alendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameE lse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat", m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebul an",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale ("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_N ovember_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Ok t_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".spli t("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is _Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/Y YYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [p ukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function( e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a ||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"ten gahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:" [Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWe ek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"% s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam", d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},wee k:{dow:1,doy:7}});var id={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉", 0:"၀"},od={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":" 9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူ လိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖ ေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင် ္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး _ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",n extDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]" ,lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည် ့ %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်", h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",y y:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){r eturn od[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return id[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_a pril_mai_juni_juli_august_september_oktober_november_desember".split("_"),months Short:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),m onthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag" .split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:" sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm ",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm" ,LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDa y:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek :"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s s iden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer ",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},o rdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var md={1:"१",2:"२",3 :"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},ud={"१":"1","२":"2","३":"3","४": "4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months :"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डि सेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट ._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ् गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल. _बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".spli t("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०] /g,function(e){return ud[e]})},postformat:function(e){return e.replace(/\d/g,fun ction(e){return md[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:fun ction(e,a){return 12===e&&(e=0),"राति"===a?e<4?e:e+12:"बिहान"===a?e:"दिउँसो"===a ?e>=10?e:e+12:"साँझ"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?"राति" :e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",next Day:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएक ो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d द िन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});va r ld="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Md= "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),hd=[/^jan/i,/^feb/i ,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/ ^okt/i,/^nov/i,/^dec/i],Ld=/^(januari|februari|maart|april|mei|april|ju[nl]i|aug ustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?| aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_fe bruari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".s plit("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?Md[e.month()]:ld[e.mon th()]},monthsRegex:Ld,monthsShortRegex:Ld,monthsStrictRegex:/^(januari|februari| maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsSh ortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.? |nov\.?|dec\.?)/i,monthsParse:hd,longMonthsParse:hd,shortMonthsParse:hd,weekdays :"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekday sShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Z a".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L: "DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH: mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameEls e:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m: "één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M :"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(st e|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow: 1,doy:4}});var cd="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".s plit("_"),Yd="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),yd=[/^ jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^au g/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],pd=/^(januari|februari|maart|april|mei|apri l|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\ .?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:" januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_d ecember".split("_"),monthsShort:function(e,a){return/-MMM-/.test(a)?Yd[e.month() ]:cd[e.month()]},monthsRegex:pd,monthsShortRegex:pd,monthsStrictRegex:/^(januari |februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/ i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep \.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:yd,longMonthsParse:yd,shortMonthsParse:y d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_ "),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_ Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH :mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMM M YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",next Week:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] L T",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar se conden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"% d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/ \d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")}, week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_ juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"ja n_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_månda g_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_on s_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDate Format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay: "[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relat iveTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d m inutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{do w:1,doy:4}});var fd={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦" },kd={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦ ":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸ ਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵ ਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_ "),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calen dar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",l astWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:f unction(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return kd[e]})},postform at:function(e){return e.replace(/\d/g,function(e){return fd[e]})},meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,a){return 12===e&&(e=0),"ਰਾਤ"===a ?e<4?e:e+12:"ਸਵੇਰ"===a?e:"ਦੁਪਹਿਰ"===a?e>=10?e:e+12:"ਸ਼ਾਮ"===a?e+12:void 0},merid iem:function(e,a,t){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ" },week:{dow:0,doy:6}});var Dd="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_ sierpień_wrzesień_październik_listopad_grudzień".split("_"),Td="stycznia_lutego_ marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudn ia".split("_");e.defineLocale("pl",{months:function(e,a){return""===a?"("+Td[e.m onth()]+"|"+Dd[e.month()]+")":/D MMMM/.test(a)?Td[e.month()]:Dd[e.month()]},mont hsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"n iedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysSh ort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".spl it("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY ",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dz iś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT"; default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Zs,mm:Zs,h:Zs,hh:Zs,d:"1 dzień",dd:"%d dni ",M:"miesiąc",MM:Zs,y:"rok",yy:Zs},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{ dow:1,doy:4}}),e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Mai o_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort: "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_S egunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_" ),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_ 4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"H H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoj e às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] L T",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"% s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d h oras",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}, ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),e.defineLocale("pt",{months:"Janeiro_Fev ereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".s plit("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_ "),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-F eira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),w eekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFor mat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{s ameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:" [Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Últim o] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos" },ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("ro" ,{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_oc tombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_i un._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dum inică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_ Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),lo ngDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMM M YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",next Day:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fo sta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urm ă",s:"câteva secunde",m:"un minut",mm:qs,h:"o oră",hh:qs,d:"o zi",dd:qs,M:"o lun ă",MM:qs,y:"un an",yy:qs},week:{dow:1,doy:7}});var gd=[/^янв/i,/^фев/i,/^мар/i,/ ^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.def ineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_август а_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_ап рель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsSho rt:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split ("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек." .split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг _пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четве рг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\ ] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ ср_чт_пт_сб".split("_"),monthsParse:gd,longMonthsParse:gd,shortMonthsParse:gd,mo nthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.? |ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октяб р[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ь я]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\ .?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ь я]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта ?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|дек абр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.] |июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"H H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dd dd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())ret urn 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dd dd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:fun ction(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:c ase 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прош лую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад ",s:"несколько секунд",m:Qs,mm:Qs,h:"час",hh:Qs,d:"день",dd:Qs,M:"месяц",MM:Qs,y :"год",yy:Qs},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дн я|вечера)$/.test(e)},meridiem:function(e,a,t){return e<4?"ночи":e<12?"утра":e<17 ?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,a){switch(a) {case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W": return e+"-я";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("se",{month s:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoi dnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"), monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split(" _"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_l ávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_") ,
794 weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss" ,L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL: "dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay: "[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddi t] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s", s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d di immut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jah ki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e .defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස් තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර් _අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහ රුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳ ු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"), weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD" ,LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:m m:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට] ",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTim e:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු % d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiem Parse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"== =e},meridiem:function(e,a,t){return e>11?t?"ප.ව.":"පස් වරු":t?"පෙ.ව.":"පෙර වරු"} });var wd="január_február_marec_apríl_máj_jún_júl_august_september_október_novem ber_december".split("_"),vd="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".sp lit("_");e.defineLocale("sk",{months:wd,monthsShort:vd,weekdays:"nedeľa_pondelok _utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_p i_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{L T:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm", LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";cas e 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return" [vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT" }},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[ minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[m inulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[mi nulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s :en,m:en,mm:en,h:en,hh:en,d:en,dd:en,M:en,MM:en,y:en,yy:en},ordinalParse:/\d{1,2 }\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_febr uar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".spli t("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec." .split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek _petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".spl it("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,long DateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMM M YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",n extDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včera j ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedel jo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}}, sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:an,m:an,mm:an,h:an, hh:an,d:an,dd:an,M:an,MM:an,y:an,yy:an},ordinalParse:/\d{1,2}\./,ordinal:"%d.",w eek:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qer shor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_ Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Ma rtë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_M ër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysPar seExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},merid iem:function(e,a,t){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm :ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"d ddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L" },relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë" ,mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",M M:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",wee k:{dow:1,doy:4}});var Sd={words:{m:["један минут","једне минуте"],mm:["минут","м инуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан ","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]} ,correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},tr anslate:function(e,a,t){var s=Sd.words[t];return 1===t.length?a?s[0]:s[1]:e+" "+ Sd.correctGrammaticalCase(e,s)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруа р_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"), monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_" ),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_суб ота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),we ekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat :{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:m m",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[су тра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1 :case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:f unction(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[про шлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT"," [прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},same Else:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:Sd.t ranslate,mm:Sd.translate,h:Sd.translate,hh:Sd.translate,d:"дан",dd:Sd.translate, M:"месец",MM:Sd.translate,y:"годину",yy:Sd.translate},ordinalParse:/\d{1,2}\./,o rdinal:"%d.",week:{dow:1,doy:7}});var Hd={words:{m:["jedan minut","jedne minute" ],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata", "sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","go dine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e< =4?a[1]:a[2]},translate:function(e,a,t){var s=Hd.words[t];return 1===t.length?a? s[0]:s[1]:e+" "+Hd.correctGrammaticalCase(e,s)}};e.defineLocale("sr",{months:"ja nuar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar". split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec. ".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvr tak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.". split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,l ongDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT" ,nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljk a] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [čet vrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[t his.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Hd.translate,mm:Hd.translate,h:Hd.translate,hh:Hd.translate,d:"dan", dd:Hd.translate,M:"mesec",MM:Hd.translate,y:"godinu",yy:Hd.translate},ordinalPar se:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"B himbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci _Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh _Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Les itsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Ls i_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysPars eExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDa y:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay: "[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTi me:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:" %d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga", MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|ents ambama|ebusuku/,meridiem:function(e,a,t){return e<11?"ekuseni":e<15?"emini":e<19 ?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekusen i"===a?e:"emini"===a?e>=11?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:v oid 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale(" sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober _november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_ okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lör dag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysM in:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L :"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM Y YYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{s ameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] ddd d LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past: "för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:" %d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:" %d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var a=e%10,t=1===~~(e%10 0/10)?"e":1===a?"a":2===a?"a":"e";return e+t},week:{dow:1,doy:4}}),e.defineLocal e("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Okt oba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep _Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_I jumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split ("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nex tDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT" ,lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:" %s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d ",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var bd={1:"௧",2:"௨",3:"௩", 4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},jd={"௧":"1","௨":"2","௩":"3","௪":"4"," ௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவ ரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம ்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_ச ெப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங் கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split(" _"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"), weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH: mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MM MM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dd dd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},re lativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்" ,mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட் கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalPars e:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e .replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return jd[e]})},postformat:function(e){retu rn e.replace(/\d/g,function(e){return bd[e]})},meridiemParse:/யாமம்|வைகறை|காலை|ந ண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,a,t){return e<2?" யாமம்":e<6?" வைகறை":e <10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour: function(e,a){return 12===e&&(e=0),"யாமம்"===a?e<2?e:e+12:"வைகறை"===a||"காலை"=== a?e:"நண்பகல்"===a&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{month s:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్ _డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సె ప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మ ంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మం గళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),lo ngDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd: "%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinal Parse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,me ridiemHour:function(e,a){return 12===e&&(e=0),"రాత్రి"===a?e<4?e:e+12:"ఉదయం"===a ?e:"మధ్యాహ్నం"===a?e>=10?e:e+12:"సాయంత్రం"===a?e+12:void 0},meridiem:function(e, a,t){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"}, week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril _Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsS hort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domi ngu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_T ers_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_" ),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL: "D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha ] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] L T",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"i ha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"ti nan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){ var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_ เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split( "_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค. ".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุ กร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์ ".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact: !0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:" D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก ่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function (e,a,t){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวา นนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime: {future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี ",yy:"%d ปี"}}),e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_H unyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort: "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lu nes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun _Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"), longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"M MMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngay ong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"L T [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{fu ture:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto", mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal :function(e){return e},week:{dow:1,doy:4}});var xd="pagh_wa’_cha’_wej_loS_vagh_j av_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soc h_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_ jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".s plit("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghja j_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_lo ghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_ loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:" DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH: mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDa y:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:tn,past:sn,s:" puS lup",m:"wa’ tup",mm:nn,h:"wa’ rep",hh:nn,d:"wa’ jaj",dd:nn,M:"wa’ jar",MM:nn ,y:"wa’ DIS",yy:nn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); var Pd={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20 :"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu", 30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat _Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),mon thsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:" Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort: "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".spli t("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY" ,LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug ün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastD ay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime :{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakik a",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bi r yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal :function(e){if(0===e)return e+"'ıncı";var a=e%10,t=e%100-a,s=e>=100?100:null;re turn e+(Pd[a]||Pd[t]||Pd[s])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months: "Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zece mvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".s plit("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split(" _"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma _Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY ",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return "d'o"===e.toLowerCase()},meridiem:function(e,a,t){return e>11?t?"d'o":"D'O":t?"d 'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:" L"},relativeTime:{future:"osprei %s",past:"ja%s",s:_n,m:_n,mm:_n,h:_n,hh:_n,d:_n ,dd:_n,M:_n,MM:_n,y:_n,yy:_n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1 ,doy:4}}),e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_y wnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"inna yr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbi r".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split(" _"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),w eekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDate Format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YY YY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDa y:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g ] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik" ,m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayow r",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),e.defineLocale ("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏ ⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍ ⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏ ⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽ ⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡ ⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/M M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}, calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",las tDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷ ⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙ ⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}, week:{dow:6,doy:12}}),e.defineLocale("uk",{months:{format:"січня_лютого_березня_ квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),st andalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_ жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_ли п_серп_вер_жовт_лист_груд".split("_"),weekdays:mn,weekdaysShort:"нд_пн_вт_ср_чт_ пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{ LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р. , HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:un("[Сьогодні "), nextDay:un("[Завтра "),lastDay:un("[Вчора "),nextWeek:un("[У] dddd ["),lastWeek: function(){switch(this.day()){case 0:case 3:case 5:case 6:return un("[Минулої] d ddd [").call(this);case 1:case 2:case 4:return un("[Минулого] dddd [").call(this )}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд ",m:on,mm:on,h:"годину",hh:on,d:"день",dd:on,M:"місяць",MM:on,y:"рік",yy:on},mer idiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test( e)},meridiem:function(e,a,t){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"} ,ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,a){switch(a){case"M":case"d":c ase"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}} ,week:{dow:1,doy:7}}),e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_и юн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_а пр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба _Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум _Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDa y:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{f uture:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой", y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_thán g 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_T h09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_th ứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6 _T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact :!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:func tion(e,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS: "HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",L LLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYY Y HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",next Day:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tớ i",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"} ,ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.def ineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Jú l~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort :"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),months ParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd ~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".sp lit("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:! 0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH :mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay :"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",la stWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:" %s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh: "%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár", yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e% 10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},wee k:{dow:1,doy:4}}),e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_È bibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:" Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekda ys:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysSho rt:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_ Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY" ,LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},cale ndar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'b ọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameEls e:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ì sẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s \d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),e.defineLocale("zh-cn",{months:" 一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月 _7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split(" _"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六". split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMM D日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年M MMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上 午|中午|下午|晚上/,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a|| "上午"===a?e:"下午"===a||"晚上"===a?e+12:e>=11?e:e+12},meridiem:function(e,a,t){var s= 100*e+a;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},c alendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nex tDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:functio n(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var a,t ;return a=e().startOf("week"),t=this.diff(a,"days")>=7?"[下]":"[本]",0===this.minu tes()?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var a,t;return a=e().startOf ("week"),t=this.unix()<a.unix()?"[上]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dd dAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,a){swit ch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W ":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m :"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:" 1 年",yy:"%d 年"},week:{dow:1,doy:4}}),e.defineLocale("zh-hk",{months:"一月_二月_三月_四月 _五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_1 0月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekday sShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"), longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YY YY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:" YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/ ,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e: "中午"===a?e>=11?e:e+12:"下午"===a||"晚上"===a?e+12:void 0},meridiem:function(e,a,t){v ar s=100*e+a;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚 上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨 天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:f unction(e,a){switch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+" 月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",pa st:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個 月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五 月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月 _11月_12月".split("_"), 794 weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss" ,L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL: "dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay: "[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddi t] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s", s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d di immut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jah ki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e .defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස් තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර් _අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහ රුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳ ු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"), weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD" ,LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:m m:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට] ",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTim e:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු % d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiem Parse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"== =e},meridiem:function(e,a,t){return e>11?t?"ප.ව.":"පස් වරු":t?"පෙ.ව.":"පෙර වරු"} });var wd="január_február_marec_apríl_máj_jún_júl_august_september_október_novem ber_december".split("_"),vd="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".sp lit("_");e.defineLocale("sk",{months:wd,monthsShort:vd,weekdays:"nedeľa_pondelok _utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_p i_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{L T:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm", LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";cas e 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return" [vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT" }},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[ minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[m inulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[mi nulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s :en,m:en,mm:en,h:en,hh:en,d:en,dd:en,M:en,MM:en,y:en,yy:en},ordinalParse:/\d{1,2 }\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_febr uar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".spli t("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec." .split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek _petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".spl it("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,long DateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMM M YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",n extDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včera j ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedel jo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}}, sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:an,m:an,mm:an,h:an, hh:an,d:an,dd:an,M:an,MM:an,y:an,yy:an},ordinalParse:/\d{1,2}\./,ordinal:"%d.",w eek:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qer shor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_ Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Ma rtë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_M ër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysPar seExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},merid iem:function(e,a,t){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm :ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"d ddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L" },relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë" ,mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",M M:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",wee k:{dow:1,doy:4}});var Sd={words:{m:["један минут","једне минуте"],mm:["минут","м инуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан ","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]} ,correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},tr anslate:function(e,a,t){var s=Sd.words[t];return 1===t.length?a?s[0]:s[1]:e+" "+ Sd.correctGrammaticalCase(e,s)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруа р_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"), monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_" ),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_суб ота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),we ekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat :{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:m m",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[су тра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1 :case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:f unction(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[про шлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT"," [прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},same Else:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:Sd.t ranslate,mm:Sd.translate,h:Sd.translate,hh:Sd.translate,d:"дан",dd:Sd.translate, M:"месец",MM:Sd.translate,y:"годину",yy:Sd.translate},ordinalParse:/\d{1,2}\./,o rdinal:"%d.",week:{dow:1,doy:7}});var Hd={words:{m:["jedan minut","jedne minute" ],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata", "sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","go dine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e< =4?a[1]:a[2]},translate:function(e,a,t){var s=Hd.words[t];return 1===t.length?a? s[0]:s[1]:e+" "+Hd.correctGrammaticalCase(e,s)}};e.defineLocale("sr",{months:"ja nuar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar". split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec. ".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvr tak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.". split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,l ongDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT" ,nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljk a] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [čet vrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[t his.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Hd.translate,mm:Hd.translate,h:Hd.translate,hh:Hd.translate,d:"dan", dd:Hd.translate,M:"mesec",MM:Hd.translate,y:"godinu",yy:Hd.translate},ordinalPar se:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"B himbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci _Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh _Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Les itsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Ls i_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysPars eExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDa y:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay: "[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTi me:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:" %d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga", MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|ents ambama|ebusuku/,meridiem:function(e,a,t){return e<11?"ekuseni":e<15?"emini":e<19 ?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekusen i"===a?e:"emini"===a?e>=11?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:v oid 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale(" sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober _november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_ okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lör dag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysM in:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L :"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM Y YYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{s ameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] ddd d LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past: "för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:" %d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:" %d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var a=e%10,t=1===~~(e%10 0/10)?"e":1===a?"a":2===a?"a":"e";return e+t},week:{dow:1,doy:4}}),e.defineLocal e("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Okt oba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep _Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_I jumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split ("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDa teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nex tDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT" ,lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:" %s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d ",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var bd={1:"௧",2:"௨",3:"௩", 4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},jd={"௧":"1","௨":"2","௩":"3","௪":"4"," ௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவ ரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம ்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_ச ெப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங் கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split(" _"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"), weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH: mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MM MM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dd dd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},re lativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்" ,mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட் கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalPars e:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e .replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return jd[e]})},postformat:function(e){retu rn e.replace(/\d/g,function(e){return bd[e]})},meridiemParse:/யாமம்|வைகறை|காலை|ந ண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,a,t){return e<2?" யாமம்":e<6?" வைகறை":e <10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour: function(e,a){return 12===e&&(e=0),"யாமம்"===a?e<2?e:e+12:"வைகறை"===a||"காலை"=== a?e:"நண்பகல்"===a&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{month s:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్ _డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సె ప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మ ంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మం గళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),lo ngDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd: "%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinal Parse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,me ridiemHour:function(e,a){return 12===e&&(e=0),"రాత్రి"===a?e<4?e:e+12:"ఉదయం"===a ?e:"మధ్యాహ్నం"===a?e>=10?e:e+12:"సాయంత్రం"===a?e+12:void 0},meridiem:function(e, a,t){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"}, week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril _Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsS hort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domi ngu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_T ers_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_" ),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL: "D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha ] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] L T",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"i ha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"ti nan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){ var a=e%10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_ เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split( "_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค. ".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุ กร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์ ".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact: !0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:" D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก ่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function (e,a,t){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวา นนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime: {future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี ",yy:"%d ปี"}}),e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_H unyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort: "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lu nes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun _Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"), longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"M MMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngay ong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"L T [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{fu ture:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto", mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal :function(e){return e},week:{dow:1,doy:4}});var xd="pagh_wa’_cha’_wej_loS_vagh_j av_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soc h_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_ jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".s plit("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghja j_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_lo ghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_ loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:" DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH: mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDa y:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:tn,past:sn,s:" puS lup",m:"wa’ tup",mm:nn,h:"wa’ rep",hh:nn,d:"wa’ jaj",dd:nn,M:"wa’ jar",MM:nn ,y:"wa’ DIS",yy:nn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); var Pd={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20 :"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu", 30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat _Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),mon thsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:" Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort: "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".spli t("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY" ,LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug ün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastD ay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime :{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakik a",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bi r yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal :function(e){if(0===e)return e+"'ıncı";var a=e%10,t=e%100-a,s=e>=100?100:null;re turn e+(Pd[a]||Pd[t]||Pd[s])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months: "Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zece mvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".s plit("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split(" _"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma _Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY ",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return "d'o"===e.toLowerCase()},meridiem:function(e,a,t){return e>11?t?"d'o":"D'O":t?"d 'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:" L"},relativeTime:{future:"osprei %s",past:"ja%s",s:_n,m:_n,mm:_n,h:_n,hh:_n,d:_n ,dd:_n,M:_n,MM:_n,y:_n,yy:_n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1 ,doy:4}}),e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_y wnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"inna yr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbi r".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split(" _"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),w eekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDate Format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YY YY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDa y:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g ] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik" ,m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayow r",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),e.defineLocale ("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏ ⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍ ⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏ ⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽ ⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡ ⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/M M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}, calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",las tDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷ ⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙ ⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}, week:{dow:6,doy:12}}),e.defineLocale("uk",{months:{format:"січня_лютого_березня_ квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),st andalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_ жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_ли п_серп_вер_жовт_лист_груд".split("_"),weekdays:mn,weekdaysShort:"нд_пн_вт_ср_чт_ пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{ LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р. , HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:un("[Сьогодні "), nextDay:un("[Завтра "),lastDay:un("[Вчора "),nextWeek:un("[У] dddd ["),lastWeek: function(){switch(this.day()){case 0:case 3:case 5:case 6:return un("[Минулої] d ddd [").call(this);case 1:case 2:case 4:return un("[Минулого] dddd [").call(this )}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд ",m:on,mm:on,h:"годину",hh:on,d:"день",dd:on,M:"місяць",MM:on,y:"рік",yy:on},mer idiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test( e)},meridiem:function(e,a,t){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"} ,ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,a){switch(a){case"M":case"d":c ase"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}} ,week:{dow:1,doy:7}}),e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_и юн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_а пр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба _Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум _Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{L T:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm" ,LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDa y:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{f uture:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой", y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_thán g 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_T h09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_th ứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6 _T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact :!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:func tion(e,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS: "HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",L LLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYY Y HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",next Day:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tớ i",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"} ,ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.def ineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Jú l~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort :"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),months ParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd ~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".sp lit("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:! 0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH :mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay :"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",la stWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:" %s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh: "%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár", yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e% 10,t=1===~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th";return e+t},wee k:{dow:1,doy:4}}),e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_È bibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:" Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekda ys:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysSho rt:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_ Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY" ,LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},cale ndar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'b ọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameEls e:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ì sẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s \d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),e.defineLocale("zh-cn",{months:" 一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月 _7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split(" _"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六". split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMM D日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年M MMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上 午|中午|下午|晚上/,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a|| "上午"===a?e:"下午"===a||"晚上"===a?e+12:e>=11?e:e+12},meridiem:function(e,a,t){var s= 100*e+a;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},c alendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nex tDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:functio n(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var a,t ;return a=e().startOf("week"),t=this.diff(a,"days")>=7?"[下]":"[本]",0===this.minu tes()?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var a,t;return a=e().startOf ("week"),t=this.unix()<a.unix()?"[上]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dd dAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,a){swit ch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W ":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m :"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:" 1 年",yy:"%d 年"},week:{dow:1,doy:4}}),e.defineLocale("zh-hk",{months:"一月_二月_三月_四月 _五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_1 0月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekday sShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"), longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YY YY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:" YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/ ,meridiemHour:function(e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e: "中午"===a?e>=11?e:e+12:"下午"===a||"晚上"===a?e+12:void 0},meridiem:function(e,a,t){v ar s=100*e+a;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚 上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨 天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:f unction(e,a){switch(a){case"d":case"D":case"DDD":return e+"日";case"M":return e+" 月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",pa st:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個 月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五 月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月 _11月_12月".split("_"),
795 weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_ 週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點 mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"Y YYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll: "YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function( e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e:"中午"===a?e>=11?e:e+12:" 下午"===a||"晚上"===a?e+12:void 0},meridiem:function(e,a,t){var s=100*e+a;return s<6 00?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:" [今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,a){switch(a){ case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":retu rn e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘 ",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",y y:"%d 年"}}),e.locale("en"),e})</script> <iron-iconset-svg size="24" name="date-p icker"> <svg> <defs> <g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.4 1-1.41L10.83 12z"></path></g> <g id="chevron-right"><path d="M10 6L8.59 7.41 13. 17 12l-4.58 4.59L10 18l6-6z"></path></g> </defs> </svg> </iron-iconset-svg> <dom -module id="paper-calendar" assetpath="/res/imp/bower_components/polymer-paper-d ate-picker/"> <template> <style>:host{display:block;box-sizing:border-box;paddin g:12px 0;position:relative;width:100%;height:100%;min-width:160px;min-height:160 px;color:var(--primary-text-color);-webkit-font-smoothing:antialiased;-webkit-ta p-highlight-color:transparent;--ease-in-sine:cubic-bezier(0.47, 0, 0.745, 0.715) ;--ease-out-sine:cubic-bezier(0.39, 0.575, 0.565, 1);@apply(--paper-font-body1); @apply(--paper-calendar);overflow:hidden;-webkit-touch-callout:none;-webkit-user -select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none; user-select:none;@apply(--paper-calendar)}#calendar{position:relative;width:100% ;height:100%;@apply(--layout-horizontal)}#months{height:100%;@apply(--layout-hor izontal)}#months.animating .month-nav{opacity:1}#months.animating{transition-pro perty:transform,opacity;transition-duration:.3s}#months.animating.swipe{transiti on-timing-function:var(--ease-in-sine);--webkit-transition-timing-function:var(- -ease-in-sine)}#months.animating.reset{transition-timing-function:var(--ease-out -sine);--webkit-transition-timing-function:var(--ease-out-sine)}.month{height:10 0%;@apply(--layout-vertical);@apply(--layout-justified);@apply(--layout-flex)}.m onth-nav,.month-row{height:calc(100%/8);box-sizing:border-box;padding:0 calc(100 %/36)}.month-col{position:relative;@apply(--layout-vertical);@apply(--layout-fle x)}.month-nav{position:absolute;top:0;left:0;width:100%;opacity:1;@apply(--layou t-horizontal);@apply(--layout-center)}.month-nav .col{position:relative;@apply(- -layout-vertical);@apply(--layout-center-center)}.month-nav .btn .icon{cursor:po inter}.month-nav .btn .ripple{position:absolute;width:48px;height:48px;top:50%;l eft:50%;transform:translate(-50%,-50%)}.month-nav .btn.right{text-align:right}.m onth-name{line-height:24px;vertical-align:middle;text-align:center;font-weight:7 00;@apply(--paper-font-body2);@apply(--layout-horizontal);@apply(--layout-center );@apply(--layout-center-justified);@apply(--layout-flex)}.month-weekdays{color: var(--secondary-text-color);@apply(--layout-horizontal);@apply(--layout-justifie d);@apply(--layout-flex)}.month-days{@apply(--layout-horizontal);@apply(--layout -justified);@apply(--layout-flex)}.month-col .day{cursor:default;pointer-events: none;@apply(--layout-fit);@apply(--layout-vertical);@apply(--layout-center-cente r)}.month-col{position:relative;width:100%;height:100%;@apply(--layout-center-ce nter)}.day-item{border-radius:100%;width:100%;height:100%}.day-item::selection{b ackground:0 0}.day-item.selected{background:var(--default-primary-color)}.day-it em.selected .day{color:var(--text-primary-color)}.day-item:not([disabled]){curso r:pointer}.day-item[disabled] .day{color:var(--text-disabled-color,#9d9d9d)}.day -item.today .day{color:var(--default-primary-color)}.day-item.selected.today .da y{color:var(--text-primary-color)}.flex{@apply(--layout-flex)}.flex-5{@apply(--l ayout-flex-5)}</style> <div id="calendar"> <div id="months" on-track="_onTrack" class$="{{_contentClass}}"> <template is="dom-repeat" items="{{_months}}" as="mo nth"> <div class$="{{_getMonthClass('month', month)}}"> <div class="month-row mo nth-name"> <span>{{dateFormat(month.date, 'MMMM YYYY', locale)}}</span> </div> < div class="month-row month-weekdays week"> <template is="dom-repeat" items="{{_w eekdays}}"> <div class="month-col layout vertical flex"> <div class="day">{{item .0}}</div> </div> </template> </div> <template is="dom-repeat" items="{{month.we eks}}" as="row"> <div class="month-row month-days"> <template is="dom-repeat" it ems="{{row}}"> <div class="month-col"> <div class$="{{_getDayClass('day-item sel ection', item.date, today, date)}}" disabled$="{{_isDisabled(item.day, item.date , minDate, maxDate)}}" on-tap="_tapDay" date$="{{item.name}}"> <div class="day"> {{item.day}}</div> </div> </div> </template> </div> </template> </div> </templat e> </div> <div id="monthNav" class="month-nav"> <div class="flex col self-stretc h"> <div class="btn" on-tap="_swipePrevMonth"> <paper-ripple center="" class="ri pple circle"></paper-ripple> <iron-icon class="icon flex" icon="date-picker:chev ron-left"></iron-icon> </div> </div> <div class="flex-5"></div> <div class="flex col self-stretch"> <div class="btn" on-tap="_swipeNextMonth"> <paper-ripple cen ter="" class="ripple circle"></paper-ripple> <iron-icon class="icon flex" icon=" date-picker:chevron-right"></iron-icon> </div> </div> </div> </div> </template> <script>!function(){function t(t,e){return t=new Date(t.getTime()),e=new Date(e. getTime()),t.setHours(0,0,0,0),e.setHours(0,0,0,0),(t.getTime()-e.getTime())/864 e5}var e=4,i=e*e,n=.5,s=40,a=2,r=1;Polymer({is:"paper-calendar",properties:{date :{type:Date,notify:!0,value:function(){return new Date},observer:"_dateChanged"} ,locale:{type:String,value:"en",notify:!0,observer:"_localeChanged"},minDate:{ty pe:Date,value:null},maxDate:{type:Date,value:null},currentMonth:{type:Number},cu rrentYear:{type:Number},_contentClass:String,_months:Array,_firstDayOfWeek:Numbe r},behaviors:[Polymer.IronResizableBehavior],observers:["_populate(currentYear, currentMonth, minDate, maxDate, locale)"],listeners:{"iron-resize":"_resizeHandl er",swiped:"_onSwipe"},ready:function(){this._updateToday(),this.currentMonth=th is.date.getMonth()+1,this.currentYear=this.date.getFullYear(),this._transitionEv ent=this._whichTransitionEnd()},dateFormat:function(t,e,i){if(!t)return"";var n= moment(t);return n.locale(i||this.locale),n.format(e)},_localeChanged:function(t ){var e=moment();e.locale(t);for(var i=[],n=0;n<7;n++)i.push(e.weekday(n).format ("dd"));this._weekdays=i,this._firstDayOfWeek=e.weekday(0).format("d")},_populat e:function(t,e,i,n){var s,a,h,o,l,u,d,_=[];if(i&&new Date(t,e,0)<i)return this.c urrentYear=i.getFullYear(),void(this.currentMonth=i.getMonth()+1);if(n&&new Date (t,e-1,1)>n)return this.currentYear=n.getFullYear(),void(this.currentMonth=n.get Month()+1);for(var c=-r;c<=r;c++)if(h=[[]],o=1,s=new Date(t,e-1+c,1),a=s.getMont h(),d={year:s.getFullYear(),month:s.getMonth()+1,date:new Date(s)},this._monthWi thinValidRange(d.year,d.month)){var m=s.getDay()-this._firstDayOfWeek;for(m<0&&( m=7+m),l=0;l<m;l++)h[0].push({day:null,date:null});for(;s.getMonth()===a;)h[0].l ength&&l%7===0&&h.push([]),u={date:new Date(s.getFullYear(),a,o),name:this.dateF ormat(s,"YYYY-MM-DD"),year:t,month:a,day:o},h[h.length-1].push(u),s.setDate(++o) ,l++;for(;l<42;)l%7===0&&h.push([]),h[h.length-1].push({day:null,date:null}),l+= 1;d.weeks=h,_.push(d)}_.length&&(this.set("_months",_),this.async(function(){thi s._updateSelection(),this._positionSlider()}))},_getDayClass:function(e,i){retur n i&&(0===t(i,this.today)&&(e+=" today"),0===t(i,this.date)&&(e+=" selected",thi s.async(function(){this._updateSelection()}))),e},_isDisabled:function(t,e){retu rn!t||!this._withinValidRange(e)},_getMonthClass:function(t,e){return t+" month- "+e.year+"-"+e.month},_onTrack:function(t){var e=t.detail.dx,r=t.detail.dy,h=Mat h.abs(e),o=Math.abs(r),l=this._containerWidth;switch(t.detail.state){case"start" :this._trackStartTime=(new Date).getTime(),this._startPos=this._currentPos,this. _moveQueue=[];break;case"track":this._moveQueue.length>=4&&this._moveQueue.shift (),this._moveQueue.push(t);var u=e*e+r*r;if(!this._gesture&&u>i&&(this._gesture= h>o?"pan-x":"pan-y"),"pan-x"!==this._gesture)return;this._dragging=!0;var d=l*th is._months.length,_=this._startPos+e;if(_>0||_<-d+l){isNaN(parseInt(this._resist Start,10))&&(this._resistStart=h);var c,m,f=h-this._resistStart,g=s;c=f>l?1:f/l, m=g*(1-Math.pow(1-c,a)),_=e<0?-this._scrollWidth+l-m:m}else this._resistStart=nu ll;this._translateX(_);break;case"end":this._resistStart=null;var p=this._getMon thIdx(this._startPos),y=this._getMonthIdx(this._currentPos),v=this._getFastestMo vement(t).v,w=y!==p||v>n;if(!this._resistStart&&"pan-x"===this._gesture&&w){if(v >n){var D=l-h,M=D/v;M>300&&(M=300),this._transitionDuration=M}e>0?this._swipePre vMonth():this._swipeNextMonth()}else this._translateX(this._startPos,"reset");th is._gesture=null}},_swipePrevMonth:function(){this._translateX(0,"swipe",functio n(){this.set("_contentClass",""),this.transform("translateX("+this._startPos+"px )",this.$.months),this.fire("swiped",{direction:"right"})}.bind(this))},_swipeNe xtMonth:function(){(!this.maxDate||this.currentMonth<this.maxDate.getMonth()+1)& &this._translateX(2*-this._containerWidth,"swipe",function(){this.set("_contentC lass",""),this.transform("translateX("+this._startPos+"px)",this.$.months),this. fire("swiped",{direction:"left"})}.bind(this))},_getMonthIdx:function(t){var e=t his._containerWidth,i=Math.floor((-t+e/2)/e);return i<0?0:i},_translateX:functio n(t,e,i){if(isNaN(parseInt(t,10)))throw new Error("Not a number: "+t);this._curr entPos=t,e&&(this._transitionDuration&&(this.$.months.style.transitionDuration=t his._transitionDuration+"ms"),this._once(this._transitionEvent,function(){this.s et("_contentClass",""),this.$.months.style.transitionDuration="",this._transitio nDuration=null,this.$.monthNav.style.removeProperty("opacity"),i&&i()}.bind(this ),this.$.months),this.set("_contentClass","animating "+e),this.$.monthNav.style. removeProperty("opacity"),this._once("touchstart",function(){})),window.requestA nimationFrame(function(){if(!e){var i=this._containerWidth/2,n=Math.abs(this._st artPos-t),s=100*(1-n/i);s=(100-Math.pow(s,2))/100/100;var a=Math.abs(parseFloat( s).toFixed(2));this.$.monthNav.style.opacity=a}this.transform("translateX("+t+"p x)",this.$.months)}.bind(this))},_getFastestMovement:function(t){for(var e,i,n,s ,a,r=this._moveQueue.length,h=0,o=0,l=0,u=0;u<r&&(a=this._moveQueue[u]);u++)e=t. timeStamp-a.timeStamp,i=(t.detail.x-a.detail.x)/e,n=(t.detail.y-a.detail.y)/e,s= i*i+n*n,s>l&&(h=i,o=n,l=s);return{x:h,y:o,v:Math.sqrt(l)}},_onSwipe:function(t){ "right"===t.detail.direction?this._prevMonth():this._nextMonth()},_once:function (t,e,i){function n(){i.removeEventListener(t,n),e.apply(null,arguments)}i=i||thi s,i.addEventListener(t,n)},_incrMonth:function(t){var e=new Date(this.currentYea r,this.currentMonth-1+t),i=e.getFullYear(),n=e.getMonth()+1;this._monthWithinVal idRange(i,n)&&(this.currentYear=i,this.currentMonth=n)},_prevMonth:function(){th is._incrMonth(-1)},_nextMonth:function(){this._incrMonth(1)},_dateChanged:functi on(t,e){this._isValidDate(t)||(console.warn("Invalid date: "+t),this.date=t=e),t his._withinValidRange(t)||(console.warn("Date outside of valid range: "+t),this. date=t=e),this.currentYear=t.getFullYear(),this.currentMonth=t.getMonth()+1,e&&t .getTime&&e.getTime&&t.getTime()===e.getTime()||this._updateSelection()},_tapDay :function(t){if(!this._withinValidRange(t.model.item.date))return!1;var e=t.mode l.item,i=new Date(this.date.getTime());i.setYear(e.year),i.setMonth(e.month),i.s etDate(e.day),this.date=i},_isValidDate:function(t){return t&&t.getTime&&!isNaN( t.getTime())},_withinValidRange:function(t){return!!this._isValidDate(t)&&((!thi s.minDate||t>=this.minDate)&&(!this.maxDate||t<=this.maxDate))},_monthWithinVali dRange:function(t,e){var i=new Date(t,e-1,1),n=new Date(t,e,0);return this._with inValidRange(i)||this._withinValidRange(n)},_positionSlider:function(){if(this._ months&&this._containerWidth){this._scrollWidth=this.$.calendar.offsetWidth*this ._months.length,this.$.months.style.minWidth=this._scrollWidth+"px";var t=12*thi s.currentYear+this.currentMonth-(12*this._months[0].year+this._months[0].month); this._translateX(-t*this._containerWidth)}},_updateSelection:function(){var t=th is.$$(".day-item.selected");if(t){t.style.height="",t.style.width="";var e=t.par entElement.offsetWidth,i=t.parentElement.offsetHeight;t.style.flex="",window.req uestAnimationFrame(function(){e>0&&e<i?t.style.height=e+"px":i>0&&(t.style.width =i+"px")})}},_resizeHandler:function(){this._containerWidth=this.$.calendar.offs etWidth,this._positionSlider(),this._updateSelection()},_getDayName:function(t){ return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},_updateToday:functi on(){this.today=new Date,this.today.setHours(0,0,0,0)},_whichTransitionEnd:funct ion(){var t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend ",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(va r e in t)if(void 0!==this.style[e])return t[e]}})}()</script> </dom-module> <sty le is="custom-style">:root{--paper-date-picker-dialog:{margin:0;max-height:520px !important;overflow:hidden};--paper-date-picker-dialog-picker:{margin-top:0!impo rtant;padding:0};--paper-date-picker-dialog-calendar:{padding-bottom:0};--paper- date-picker-dialog-heading:{margin-bottom:-62px};}</style> <dom-module id="paper -date-picker-dialog-style" assetpath="/res/imp/bower_components/polymer-paper-da te-picker/"> <template> <style>.paper-date-picker-dialog{@apply(--paper-date-pic ker-dialog)}.paper-date-picker-dialog>paper-date-picker{--paper-calendar:{@apply (--paper-date-picker-dialog-calendar)};@apply(--paper-date-picker-dialog-picker) }.paper-date-picker-dialog>paper-date-picker:not([narrow]){--paper-date-picker-h eading:{@apply(--paper-date-picker-dialog-heading)};}</style> </template> </dom- module> <dom-module id="iron-list" assetpath="/res/imp/bower_components/iron-lis t/"> <template> <style>:host{display:block;position:relative}@media only screen and (-webkit-max-device-pixel-ratio:1){:host{will-change:transform}}#items{@appl y(--iron-list-items-container);position:relative}:host(:not([grid])) #items>::co ntent>*{width:100%}; #items>::content>*{box-sizing:border-box;margin:0;position: absolute;top:0;will-change:transform}</style> <array-selector id="selector" item s="{{items}}" selected="{{selectedItems}}" selected-item="{{selectedItem}}"> </a rray-selector> <div id="items"> <content></content> </div> </template> </dom-mod ule> <script>!function(){var t=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/),i=t&&t[1]>=8,e=3,s="-10000px",h=-100;Polymer({is:"iron-list",pro perties:{items:{type:Array},maxPhysicalCount:{type:Number,value:500},as:{type:St ring,value:"item"},indexAs:{type:String,value:"index"},selectedAs:{type:String,v alue:"selected"},grid:{type:Boolean,value:!1,reflectToAttribute:!0},selectionEna bled:{type:Boolean,value:!1},selectedItem:{type:Object,notify:!0},selectedItems: {type:Object,notify:!0},multiSelection:{type:Boolean,value:!1}},observers:["_ite msChanged(items.*)","_selectionEnabledChanged(selectionEnabled)","_multiSelectio nChanged(multiSelection)","_setOverflow(scrollTarget)"],behaviors:[Polymer.Templ atizer,Polymer.IronResizableBehavior,Polymer.IronA11yKeysBehavior,Polymer.IronSc rollTargetBehavior],keyBindings:{up:"_didMoveUp",down:"_didMoveDown",enter:"_did Enter"},_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physi calAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_physicalInd exForKey:null,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidt h:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisi bleIndexVal:null,_collection:null,_maxPages:2,_focusedItem:null,_focusedIndex:-1 ,_offscreenFocusedItem:null,_focusBackfillItem:null,_itemsPerRow:1,_itemWidth:0, _rowHeight:0,_templateCost:0,get _physicalBottom(){return this._physicalTop+this ._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHe ight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hi ddenContentSize(){var t=this.grid?this._physicalRows*this._rowHeight:this._physi calSize;return t-this._viewportHeight},get _maxScrollTop(){return this._estScrol lHeight-this._viewportHeight+this._scrollerPaddingTop},_minVirtualStart:0,get _m axVirtualStart(){return Math.max(0,this._virtualCount-this._physicalCount)},_vir tualStartVal:0,set _virtualStart(t){this._virtualStartVal=Math.min(this._maxVirt ualStart,Math.max(this._minVirtualStart,t))},get _virtualStart(){return this._vi rtualStartVal||0},_physicalStartVal:0,set _physicalStart(t){this._physicalStartV al=t%this._physicalCount,this._physicalStartVal<0&&(this._physicalStartVal=this. _physicalCount+this._physicalStartVal),this._physicalEnd=(this._physicalStart+th is._physicalCount-1)%this._physicalCount},get _physicalStart(){return this._phys icalStartVal||0},_physicalCountVal:0,set _physicalCount(t){this._physicalCountVa l=t,this._physicalEnd=(this._physicalStart+this._physicalCount-1)%this._physical Count},get _physicalCount(){return this._physicalCountVal},_physicalEnd:0,get _o ptPhysicalSize(){return this.grid?this._estRowsInView*this._rowHeight*this._maxP ages:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.o ffsetWidth||this.offsetHeight)},get firstVisibleIndex(){if(null===this._firstVis ibleIndexVal){var t=Math.floor(this._physicalTop+this._scrollerPaddingTop);this. _firstVisibleIndexVal=this._iterateItems(function(i,e){return t+=this._getPhysic alSizeIncrement(i),t>this._scrollPosition?this.grid?e-e%this._itemsPerRow:e:this .grid&&this._virtualCount-1===e?e-e%this._itemsPerRow:void 0})||0}return this._f irstVisibleIndexVal},get lastVisibleIndex(){if(null===this._lastVisibleIndexVal) if(this.grid){var t=this.firstVisibleIndex+this._estRowsInView*this._itemsPerRow -1;this._lastVisibleIndexVal=Math.min(this._virtualCount,t)}else{var i=this._phy sicalTop;this._iterateItems(function(t,e){return!(i<this._scrollBottom)||(this._ lastVisibleIndexVal=e,void(i+=this._getPhysicalSizeIncrement(t)))})}return this. _lastVisibleIndexVal},get _defaultScrollTarget(){return this},get _virtualRowCou nt(){return Math.ceil(this._virtualCount/this._itemsPerRow)},get _estRowsInView( ){return Math.ceil(this._viewportHeight/this._rowHeight)},get _physicalRows(){re turn Math.ceil(this._physicalCount/this._itemsPerRow)},ready:function(){this.add EventListener("focus",this._didFocus.bind(this),!0)},attached:function(){0===thi s._physicalCount&&this._debounceTemplate(this._render),this.listen(this,"iron-re size","_resizeHandler")},detached:function(){this.unlisten(this,"iron-resize","_ resizeHandler")},_setOverflow:function(t){this.style.webkitOverflowScrolling=t== =this?"touch":"",this.style.overflow=t===this?"auto":""},updateViewportBoundarie s:function(){this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(window .getComputedStyle(this)["padding-top"],10),this._viewportWidth=this.$.items.offs etWidth,this._viewportHeight=this._scrollTargetHeight,this.grid&&this._updateGri dMetrics()},_scrollHandler:function(){var t=Math.max(0,Math.min(this._maxScrollT op,this._scrollTop)),i=t-this._scrollPosition,e=i>=0;if(this._scrollPosition=t,t his._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(i)>this._ physicalSize){var s=Math.round(i/this._physicalAverage)*this._itemsPerRow;this._ physicalTop=this._physicalTop+i,this._virtualStart=this._virtualStart+s,this._ph ysicalStart=this._physicalStart+s,this._update()}else{var h=this._getReusables(e );e?(this._physicalTop=h.physicalTop,this._virtualStart=this._virtualStart+h.ind exes.length,this._physicalStart=this._physicalStart+h.indexes.length):(this._vir tualStart=this._virtualStart-h.indexes.length,this._physicalStart=this._physical Start-h.indexes.length),0===h.indexes.length?this._increasePoolIfNeeded():this._ update(h.indexes,e?null:h.indexes)}},_getReusables:function(t){var i,e,s,h,l=[], o=this._hiddenContentSize*this._ratio,a=this._virtualStart,n=this._virtualEnd,r= this._physicalCount,c=this._physicalTop+this._scrollerPaddingTop,_=this._scrollT op,u=this._scrollBottom;for(t?(i=this._physicalStart,e=this._physicalEnd,s=_-c): (i=this._physicalEnd,e=this._physicalStart,s=this._physicalBottom-u);;){if(h=thi s._getPhysicalSizeIncrement(i),s-=h,l.length>=r||s<=o)break;if(t){if(n+l.length+ 1>=this._virtualCount)break;if(c+h>=_)break;l.push(i),c+=h,i=(i+1)%r}else{if(a-l .length<=0)break;if(c+this._physicalSize-h<=u)break;l.push(i),c-=h,i=0===i?r-1:i -1}}return{indexes:l,physicalTop:c-this._scrollerPaddingTop}},_update:function(t ,i){if(!t||0!==t.length){if(this._manageFocus(),this._assignModels(t),this._upda teMetrics(t),i)for(;i.length;){var e=i.pop();this._physicalTop-=this._getPhysica lSizeIncrement(e)}this._positionItems(),this._updateScrollerSize(),this._increas ePoolIfNeeded()}},_createPool:function(t){var i=new Array(t);this._ensureTemplat ized();for(var e=0;e<t;e++){var s=this.stamp(null);i[e]=s.root.querySelector("*" ),Polymer.dom(this).appendChild(s.root)}return i},_increasePoolIfNeeded:function (){if(0===this._viewportHeight)return!1;var t=this,i=this._physicalBottom>=this. _scrollBottom&&this._physicalTop<=this._scrollPosition;if(this._physicalSize>=th is._optPhysicalSize&&i)return!1;var e=Math.round(.5*this._physicalCount);return i?(this._yield(function(){t._increasePool(Math.min(e,Math.max(1,Math.round(50/t. _templateCost))))}),!0):(this._debounceTemplate(this._increasePool.bind(this,e)) ,!0)},_yield:function(t){var i=window,e=i.requestIdleCallback?i.requestIdleCallb ack(t):i.setTimeout(t,16);Polymer.dom.addDebouncer({complete:function(){i.cancel IdleCallback?i.cancelIdleCallback(e):i.clearTimeout(e),t()}})},_increasePool:fun ction(t){var i=Math.min(this._physicalCount+t,this._virtualCount-this._virtualSt art,Math.max(this.maxPhysicalCount,e)),s=this._physicalCount,h=i-s,l=window.perf ormance.now();h<=0||([].push.apply(this._physicalItems,this._createPool(h)),[].p ush.apply(this._physicalSizes,new Array(h)),this._physicalCount=s+h,this._physic alStart>this._physicalEnd&&this._isIndexRendered(this._focusedIndex)&&this._getP hysicalIndex(this._focusedIndex)<this._physicalEnd&&(this._physicalStart=this._p hysicalStart+h),this._update(),this._templateCost=(window.performance.now()-l)/h )},_render:function(){if(this.isAttached&&this._isVisible)if(0===this._physicalC ount)this.updateViewportBoundaries(),this._increasePool(e);else{var t=this._getR eusables(!0);this._physicalTop=t.physicalTop,this._virtualStart=this._virtualSta rt+t.indexes.length,this._physicalStart=this._physicalStart+t.indexes.length,thi s._update(t.indexes),this._update()}},_ensureTemplatized:function(){if(!this.cto r){var t={};t.__key__=!0,t[this.as]=!0,t[this.indexAs]=!0,t[this.selectedAs]=!0, t.tabIndex=!0,this._instanceProps=t,this._userTemplate=Polymer.dom(this).querySe lector("template"),this._userTemplate?this.templatize(this._userTemplate):consol e.warn("iron-list requires a template to be provided in light-dom")}},_getStampe dChildren:function(){return this._physicalItems},_forwardInstancePath:function(t ,i,e){0===i.indexOf(this.as+".")&&this.notifyPath("items."+t.__key__+"."+i.slice (this.as.length+1),e)},_forwardParentProp:function(t,i){this._physicalItems&&thi s._physicalItems.forEach(function(e){e._templateInstance[t]=i},this)},_forwardPa rentPath:function(t,i){this._physicalItems&&this._physicalItems.forEach(function (e){e._templateInstance.notifyPath(t,i,!0)},this)},_forwardItemPath:function(t,i ){if(this._physicalIndexForKey){var e=t.indexOf("."),s=t.substring(0,e<0?t.lengt h:e),h=this._physicalIndexForKey[s],l=this._offscreenFocusedItem,o=l&&l._templat eInstance.__key__===s?l:this._physicalItems[h];if(o&&o._templateInstance.__key__ ===s)if(e>=0)t=this.as+"."+t.substring(e+1),o._templateInstance.notifyPath(t,i,! 0);else{var a=o._templateInstance[this.as];if(Array.isArray(this.selectedItems)) {for(var n=0;n<this.selectedItems.length;n++)if(this.selectedItems[n]===a){this. set("selectedItems."+n,i);break}}else this.selectedItem===a&&this.set("selectedI tem",i);o._templateInstance[this.as]=i}}},_itemsChanged:function(t){"items"===t. path?(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?thi s.items.length:0,this._collection=this.items?Polymer.Collection.get(this.items): null,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisi bleIndexVal=null,this._physicalCount=this._physicalCount||0,this._physicalItems= this._physicalItems||[],this._physicalSizes=this._physicalSizes||[],this._physic alStart=0,this._resetScrollPosition(0),this._removeFocusedItem(),this._debounceT emplate(this._render)):"items.splices"===t.path?(this._adjustVirtualIndex(t.valu e.indexSplices),this._virtualCount=this.items?this.items.length:0,this._debounce Template(this._render)):this._forwardItemPath(t.path.split(".").slice(1).join(". "),t.value)},_adjustVirtualIndex:function(t){t.forEach(function(t){if(t.removed. forEach(this._removeItem,this),t.index<this._virtualStart){var i=Math.max(t.adde dCount-t.removed.length,t.index-this._virtualStart);this._virtualStart=this._vir tualStart+i,this._focusedIndex>=0&&(this._focusedIndex=this._focusedIndex+i)}},t his)},_removeItem:function(t){this.$.selector.deselect(t),this._focusedItem&&thi s._focusedItem._templateInstance[this.as]===t&&this._removeFocusedItem()},_itera teItems:function(t,i){var e,s,h,l;if(2===arguments.length&&i){for(l=0;l<i.length ;l++)if(e=i[l],s=this._computeVidx(e),null!=(h=t.call(this,e,s)))return h}else{f or(e=this._physicalStart,s=this._virtualStart;e<this._physicalCount;e++,s++)if(n ull!=(h=t.call(this,e,s)))return h;for(e=0;e<this._physicalStart;e++,s++)if(null !=(h=t.call(this,e,s)))return h}},_computeVidx:function(t){return t>=this._physi calStart?this._virtualStart+(t-this._physicalStart):this._virtualStart+(this._ph ysicalCount-this._physicalStart)+t},_assignModels:function(t){this._iterateItems (function(t,i){var e=this._physicalItems[t],s=e._templateInstance,h=this.items&& this.items[i];null!=h?(s[this.as]=h,s.__key__=this._collection.getKey(h),s[this. selectedAs]=this.$.selector.isSelected(h),s[this.indexAs]=i,s.tabIndex=this._foc usedIndex===i?0:-1,this._physicalIndexForKey[s.__key__]=t,e.removeAttribute("hid den")):(s.__key__=null,e.setAttribute("hidden",""))},t)},_updateMetrics:function (t){Polymer.dom.flush();var i=0,e=0,s=this._physicalAverageCount,h=this._physica lAverage;this._iterateItems(function(t,s){e+=this._physicalSizes[t]||0,this._phy sicalSizes[t]=this._physicalItems[t].offsetHeight,i+=this._physicalSizes[t],this ._physicalAverageCount+=this._physicalSizes[t]?1:0},t),this.grid?(this._updateGr idMetrics(),this._physicalSize=Math.ceil(this._physicalCount/this._itemsPerRow)* this._rowHeight):this._physicalSize=this._physicalSize+i-e,this._physicalAverage Count!==s&&(this._physicalAverage=Math.round((h*s+i)/this._physicalAverageCount) )},_updateGridMetrics:function(){this._itemWidth=this._physicalCount>0?this._phy sicalItems[0].getBoundingClientRect().width:200,this._rowHeight=this._physicalCo unt>0?this._physicalItems[0].offsetHeight:200,this._itemsPerRow=this._itemWidth? Math.floor(this._viewportWidth/this._itemWidth):this._itemsPerRow},_positionItem s:function(){this._adjustScrollPosition();var t=this._physicalTop;if(this.grid){ var i=this._itemsPerRow*this._itemWidth,e=(this._viewportWidth-i)/2;this._iterat eItems(function(i,s){var h=s%this._itemsPerRow,l=Math.floor(h*this._itemWidth+e) ;this.translate3d(l+"px",t+"px",0,this._physicalItems[i]),this._shouldRenderNext Row(s)&&(t+=this._rowHeight)})}else this._iterateItems(function(i,e){this.transl ate3d(0,t+"px",0,this._physicalItems[i]),t+=this._physicalSizes[i]})},_getPhysic alSizeIncrement:function(t){return this.grid?this._computeVidx(t)%this._itemsPer Row!==this._itemsPerRow-1?0:this._rowHeight:this._physicalSizes[t]},_shouldRende rNextRow:function(t){return t%this._itemsPerRow===this._itemsPerRow-1},_adjustSc rollPosition:function(){var t=0===this._virtualStart?this._physicalTop:Math.min( this._scrollPosition+this._physicalTop,0);t&&(this._physicalTop=this._physicalTo p-t,i||0===this._physicalTop||this._resetScrollPosition(this._scrollTop-t))},_re setScrollPosition:function(t){this.scrollTarget&&(this._scrollTop=t,this._scroll Position=this._scrollTop)},_updateScrollerSize:function(t){this.grid?this._estSc rollHeight=this._virtualRowCount*this._rowHeight:this._estScrollHeight=this._phy sicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0 )*this._physicalAverage,t=t||0===this._scrollHeight,t=t||this._scrollPosition>=t his._estScrollHeight-this._physicalSize,t=t||this.grid&&this.$.items.style.heigh t<this._estScrollHeight,(t||Math.abs(this._estScrollHeight-this._scrollHeight)>= this._optPhysicalSize)&&(this.$.items.style.height=this._estScrollHeight+"px",th is._scrollHeight=this._estScrollHeight)},scrollToItem:function(t){return this.sc rollToIndex(this.items.indexOf(t))},scrollToIndex:function(t){if(!("number"!=typ eof t||t<0||t>this.items.length-1)&&(Polymer.dom.flush(),0!==this._physicalCount )){t=Math.min(Math.max(t,0),this._virtualCount-1),(!this._isIndexRendered(t)||t> =this._maxVirtualStart)&&(this._virtualStart=this.grid?t-2*this._itemsPerRow:t-1 ),this._manageFocus(),this._assignModels(),this._updateMetrics(),this._physicalT op=Math.floor(this._virtualStart/this._itemsPerRow)*this._physicalAverage;for(va r i=this._physicalStart,e=this._virtualStart,s=0,h=this._hiddenContentSize;e<t&& s<=h;)s+=this._getPhysicalSizeIncrement(i),i=(i+1)%this._physicalCount,e++;this. _updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._ph ysicalTop+this._scrollerPaddingTop+s),this._increasePoolIfNeeded(),this._firstVi sibleIndexVal=null,this._lastVisibleIndexVal=null}},_resetAverage:function(){thi s._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler:function(){t&& Math.abs(this._viewportHeight-this._scrollTargetHeight)<100||Polymer.dom.addDebo uncer(this.debounce("_debounceTemplate",function(){this.updateViewportBoundaries (),this._render(),this._isVisible?(this.toggleScrollListener(!0),this._physicalC ount>0&&(this._resetAverage(),this.scrollToIndex(this.firstVisibleIndex))):this. toggleScrollListener(!1)}.bind(this),1))},_getModelFromItem:function(t){var i=th is._collection.getKey(t),e=this._physicalIndexForKey[i];return null!=e?this._phy sicalItems[e]._templateInstance:null},_getNormalizedItem:function(t){if(void 0== =this._collection.getKey(t)){if("number"==typeof t){if(t=this.items[t],!t)throw new RangeError("<item> not found");return t}throw new TypeError("<item> should b e a valid item")}return t},selectItem:function(t){t=this._getNormalizedItem(t);v ar i=this._getModelFromItem(t);!this.multiSelection&&this.selectedItem&&this.des electItem(this.selectedItem),i&&(i[this.selectedAs]=!0),this.$.selector.select(t ),this.updateSizeForItem(t)},deselectItem:function(t){t=this._getNormalizedItem( t);var i=this._getModelFromItem(t);i&&(i[this.selectedAs]=!1),this.$.selector.de select(t),this.updateSizeForItem(t)},toggleSelectionForItem:function(t){t=this._ getNormalizedItem(t),this.$.selector.isSelected(t)?this.deselectItem(t):this.sel ectItem(t)},clearSelection:function(){function t(t){var i=this._getModelFromItem (t);i&&(i[this.selectedAs]=!1)}Array.isArray(this.selectedItems)?this.selectedIt ems.forEach(t,this):this.selectedItem&&t.call(this,this.selectedItem),this.$.sel ector.clearSelection()},_selectionEnabledChanged:function(t){var i=t?this.listen :this.unlisten;i.call(this,this,"tap","_selectionHandler")},_selectionHandler:fu nction(t){var i=this.modelForElement(t.target);if(i){var e,s,l=Polymer.dom(t).pa th[0],o=Polymer.dom(this.domHost?this.domHost.root:document).activeElement,a=thi s._physicalItems[this._getPhysicalIndex(i[this.indexAs])];"input"!==l.localName& &"button"!==l.localName&&"select"!==l.localName&&(e=i.tabIndex,i.tabIndex=h,s=o? o.tabIndex:-1,i.tabIndex=e,o&&a!==o&&a.contains(o)&&s!==h||this.toggleSelectionF orItem(i[this.as]))}},_multiSelectionChanged:function(t){this.clearSelection(),t his.$.selector.multi=t},updateSizeForItem:function(t){t=this._getNormalizedItem( t);var i=this._collection.getKey(t),e=this._physicalIndexForKey[i];null!=e&&(thi s._updateMetrics([e]),this._positionItems())},_manageFocus:function(){var t=this ._focusedIndex;t>=0&&t<this._virtualCount?this._isIndexRendered(t)?this._restore FocusedItem():this._createFocusBackfillItem():this._virtualCount>0&&this._physic alCount>0&&(this._focusedIndex=this._virtualStart,this._focusedItem=this._physic alItems[this._physicalStart])},_isIndexRendered:function(t){return t>=this._virt ualStart&&t<=this._virtualEnd},_isIndexVisible:function(t){return t>=this.firstV isibleIndex&&t<=this.lastVisibleIndex},_getPhysicalIndex:function(t){return this ._physicalIndexForKey[this._collection.getKey(this._getNormalizedItem(t))]},_foc usPhysicalItem:function(t){if(!(t<0||t>=this._virtualCount)){this._restoreFocuse dItem(),this._isIndexRendered(t)||this.scrollToIndex(t);var i,e=this._physicalIt ems[this._getPhysicalIndex(t)],s=e._templateInstance;s.tabIndex=h,e.tabIndex===h &&(i=e),i||(i=Polymer.dom(e).querySelector('[tabindex="'+h+'"]')),s.tabIndex=0,t his._focusedIndex=t,i&&i.focus()}},_removeFocusedItem:function(){this._offscreen FocusedItem&&Polymer.dom(this).removeChild(this._offscreenFocusedItem),this._off screenFocusedItem=null,this._focusBackfillItem=null,this._focusedItem=null,this. _focusedIndex=-1},_createFocusBackfillItem:function(){var t,i=this._focusedIndex ;if(!(this._offscreenFocusedItem||i<0)){if(!this._focusBackfillItem){var e=this. stamp(null);this._focusBackfillItem=e.root.querySelector("*"),Polymer.dom(this). appendChild(e.root)}t=this._getPhysicalIndex(i),null!=t&&(this._offscreenFocused Item=this._physicalItems[t],this._physicalItems[t]=this._focusBackfillItem,this. translate3d(0,s,0,this._offscreenFocusedItem))}},_restoreFocusedItem:function(){ var t,i=this._focusedIndex;!this._offscreenFocusedItem||this._focusedIndex<0||(t his._assignModels(),t=this._getPhysicalIndex(i),null!=t&&(this._focusBackfillIte m=this._physicalItems[t],this._physicalItems[t]=this._offscreenFocusedItem,this. _offscreenFocusedItem=null,this.translate3d(0,s,0,this._focusBackfillItem)))},_d idFocus:function(t){var i=this.modelForElement(t.target),e=this._focusedItem?thi s._focusedItem._templateInstance:null,s=null!==this._offscreenFocusedItem,h=this ._focusedIndex;i&&e&&(e===i?this._isIndexVisible(h)||this.scrollToIndex(h):(this ._restoreFocusedItem(),e.tabIndex=-1,i.tabIndex=0,h=i[this.indexAs],this._focuse dIndex=h,this._focusedItem=this._physicalItems[this._getPhysicalIndex(h)],s&&!th is._offscreenFocusedItem&&this._update()))},_didMoveUp:function(){this._focusPhy sicalItem(this._focusedIndex-1)},_didMoveDown:function(t){t.detail.keyboardEvent .preventDefault(),this._focusPhysicalItem(this._focusedIndex+1)},_didEnter:funct ion(t){this._focusPhysicalItem(this._focusedIndex),this._selectionHandler(t.deta il.keyboardEvent)}})}()</script> <dom-module id="paper-year-list" assetpath="/re s/imp/bower_components/polymer-paper-date-picker/"> <template> <style>:host{disp lay:block;box-sizing:border-box;height:100%;@apply(--paper-font-common-base);pos ition:relative}.year{cursor:pointer;height:var(--paper-year-list-item-height,44p x);line-height:var(--paper-year-list-item-height,44px);text-align:center;vertica l-align:middle}.selected{color:var(--default-primary-color);font-size:24px}iron- list{@apply(--layout-fit)}</style> <iron-list id="yearList" items="[[_years]]"> <template> <div class$="year{{_addSelectedClass(selected)}}" on-tap="_tappedYear Handler"> [[item.year]] </div> </template> </iron-list> </template> <script>Poly mer({is:"paper-year-list",properties:{date:{type:Date,notify:!0,observer:"_dateC hange"},max:{type:Number,value:2100,observer:"_maxChange"},min:{type:Number,valu e:1900,observer:"_minChange"},selected:{type:Number,notify:!0,observer:"_selecte dChange"},_years:{type:Array,computed:"_computeYears(min, max)",readOnly:!0,valu e:function(){return Date.now().getFullYear}}},ready:function(){this.$.yearList._ resizeHandler=function(){this.debounce("resize",function(){this._render(),this._ itemsRendered&&this._physicalItems&&this._isVisible&&(this._resetAverage(),this. updateViewportBoundaries())})}.bind(this.$.yearList)},centerSelected:function(){ if(null!==this.selected){var e=this.selected-this.min;this.$.yearList.scrollToIn dex(e),this.async(function(){var t=e*this._physicalAverage+1;t!==this.scrollTop& &(this._update(),this.scrollTop=t),this.scrollHeight-this.offsetHeight!==this.sc rollTop&&(this.scrollTop+=(this._physicalAverage-this.offsetHeight)/2)}.bind(thi s.$.yearList))}},_addSelectedClass:function(e){if(e)return" selected"},_computeY ears:function(e,t){if("number"==typeof e&&"number"==typeof t){for(var i=[];e<=t; e++)i.push({year:e});return i}},_dateChange:function(e){var t=e.getFullYear();th is.selected=this._withinRange(t)?t:null},_maxChange:function(e){"number"!=typeof e&&(this.max=2100)},_minChange:function(e){"number"!=typeof e&&(this.min=1900)} ,_selectedChange:function(e){return null===e?void this.$.yearList.clearSelection ():(e!==this.date.getFullYear()&&(this.date=new Date(this.date.setFullYear(e))), void this._selectYearInList(e))},_selectYearInList:function(e){var t=e-this.min; this.$.yearList.selectItem(t)},_tappedYearHandler:function(e){var t=e.model.__da ta__.item,i=t.year;this.selected!==i&&(this.$.yearList.selectItem(t),this.select ed=i)},_withinRange:function(e){return!(this.min&&e<this.min||this.max&&e>this.m ax)},behaviors:[Polymer.IronResizableBehavior]})</script> </dom-module> <style i s="custom-style" include="paper-date-picker-dialog-style"></style> <dom-module i d="paper-date-picker" assetpath="/res/imp/bower_components/polymer-paper-date-pi cker/"> <template> <style>:host{-webkit-touch-callout:none;-webkit-user-select:n one;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-sele ct:none;display:inline-block;color:var(--primary-text-color);@apply(--paper-font -body1);@apply(--paper-date-picker)}#datePicker{width:512px;height:248px;@apply( --layout-horizontal)}#heading{width:168px;@apply(--paper-date-picker-heading)}:h ost([narrow]) #datePicker{width:328px;height:428px;@apply(--layout-vertical)}:ho st([narrow]) #heading{width:auto;height:96px;padding:16px 24px}#heading{padding: 16px;box-sizing:border-box;color:var(--text-primary-color);background:var(--defa ult-primary-color);@apply(--layout-vertical);@apply(--layout-around-justfied)}#h eading .date,#heading .year{cursor:pointer}#heading .date{@apply(--paper-font-di splay1);font-weight:700;margin-top:2px;@apply(--paper-date-picker-heading-date)} #heading div.date{letter-spacing:.025em}#heading .date span{white-space:nowrap}# heading .year{@apply(--paper-font-body2);font-size:16px;@apply(--paper-date-pick er-heading-date)}#heading.pg-chooseYear .date,#heading:not(.pg-chooseYear) .year {color:var(--light-primary-color)}:host([isTouch]) paper-year-list::-webkit-scro llbar{width:0!important}#pages{@apply(--layout-flex);width:auto;background:var(- -default-background-color)}#calendar{--paper-calendar:{@apply(--paper-date-picke r-calendar)};}</style> <iron-media-query query="{{_getMediaQuery(forceNarrow, re sponsiveWidth)}}" query-matches="{{_queryMatches}}"></iron-media-query> <div id= "datePicker"> <div id="heading" class$="{{_getHeadingClass('heading-content', _s electedPage)}}"> <div class="year" on-tap="_tapHeadingYear">{{dateFormat(date, ' YYYY', locale)}}</div> <div class="date" on-tap="_tapHeadingDate"> <template is= "dom-repeat" items="{{_splitHeadingDate(date, headingFormat, locale)}}"> <span>{ {item}}</span> </template> </div> </div> <neon-animated-pages id="pages" selecte d="{{_selectedPage}}" attr-for-selected="id" entry-animation="fade-in-animation" exit-animation="fade-out-animation" on-iron-select="_pageSelected"> <neon-anima table id="chooseDate"> <paper-calendar id="calendar" locale="{{locale}}" date="{ {date}}" min-date="{{minDate}}" max-date="{{maxDate}}"> </paper-calendar> </neon -animatable> <neon-animatable id="chooseYear"> <paper-year-list id="yearList" da te="{{date}}" on-tap="_tapHeadingDate" min="[[_minYear]]" max="[[_maxYear]]"></p aper-year-list> </neon-animatable> </neon-animated-pages> </div> </template> <sc ript>Polymer({is:"paper-date-picker",properties:{date:{type:Date,notify:!0},resp onsiveWidth:{type:String,value:"560px"},locale:{type:String,value:"en"},headingF ormat:{type:String,value:"ddd, MMM D"},minDate:{type:Date,value:null},maxDate:{t ype:Date,value:null},forceNarrow:{type:Boolean,value:!1},narrow:{type:Boolean,re flectToAttribute:!0,notify:!0,computed:"_computeNarrow(forceNarrow, _queryMatche s)"},isTouch:{type:Boolean,value:!1,readOnly:!0,reflectToAttribute:!0},_queryMat ches:{type:Boolean,value:!1},headingBreak:{type:String,value:"[,]"},_selectedPag e:String,_maxYear:{type:Number,computed:"_getFullYear(maxDate)"},_minYear:{type: Number,computed:"_getFullYear(minDate)"}},behaviors:[Polymer.IronResizableBehavi or],listeners:{"iron-resize":"_resizeHandler"},ready:function(){this.today=this. $.calendar.today,this.isTouch="ontouchstart"in window,this._selectPage("chooseDa te")},dateFormat:function(){return this.$.calendar.dateFormat.apply(this.$.calen dar,arguments)},_tapHeadingDate:function(){"chooseDate"!==this.$.pages.selected? this._selectPage("chooseDate"):(this.$.calendar.currentMonth=this.date.getMonth( )+1,this.$.calendar.currentYear=this.date.getFullYear())},_tapHeadingYear:functi on(){"chooseYear"!==this.$.pages.selected&&(this._selectPage("chooseYear"),this. $.yearList.centerSelected())},_selectPage:function(e){this.$.pages.selected=e},_ getMediaQuery:function(e,t){return"(max-width: "+(e?"":t)+")"},_getHeadingClass: function(e,t){return e+" pg-"+t},_getFullYear:function(e){return e?e.getFullYear ():null},_splitHeadingDate:function(e,t,a){var r,i=new RegExp(this.headingBreak, "g"),n=this.dateFormat(e,t,a),o=n.match(i);return r=o?n.split(i).map(function(e, t){return e+(o[t]||"")}):[n]},_computeNarrow:function(e,t){return e||t},_pageSel ected:function(){this._resizeHandler()},_resizeHandler:function(){this._resizing ||(this._resizing=!0,this.$.calendar.notifyResize(),this._resizing=!1,this.updat eStyles())}})</script> </dom-module> <script>window.SwarmingBehaviors=window.Swa rmingBehaviors||{},function(){SwarmingBehaviors.TaskBehavior={properties:{BOT_DI ED:{type:String,value:"BOT_DIED"},CANCELED:{type:String,value:"CANCELED"},COMPLE TED:{type:String,value:"COMPLETED"},COMPLETED_DEDUPED:{type:String,value:"COMPLE TED (DEDUPED)"},COMPLETED_FAILURE:{type:String,value:"COMPLETED (FAILURE)"},COMP LETED_SUCCESS:{type:String,value:"COMPLETED (SUCCESS)"},EXPIRED:{type:String,val ue:"EXPIRED"},PENDING:{type:String,value:"PENDING"},RUNNING:{type:String,value:" RUNNING"},TIMED_OUT:{type:String,value:"TIMED_OUT"}},stateClass:function(t){retu rn t===this.CANCELED||t===this.TIMED_OUT||t===this.EXPIRED?"exception":t===this. BOT_DIED?"bot_died":t===this.COMPLETED_FAILURE?"failed_task":t===this.RUNNING||t ===this.PENDING?"pending_task":""},state:function(t){return t?t.state===this.COM PLETED?t.failure?this.COMPLETED_FAILURE:"0"===t.try_number?this.COMPLETED_DEDUPE D:this.COMPLETED_SUCCESS:t.state:""},_stateClass:function(t){return this.stateCl ass(this.state(t))}}}()</script> <dom-module id="task-style" assetpath="/res/imp /common/"> <template> <style>.failed_task{background-color:#fdd}.bot_died{backgr ound-color:#ccc}.exception{background-color:#edd2ff}.pending_task{background-col or:#fffc6c}</style> </template> </dom-module><dom-module id="task-filters" asset path="/res/imp/tasklist/"> <template> <style is="custom-style" include="iron-fle x iron-flex-alignment iron-positioning query-column-filter-style swarming-app-st yle">.item.wide{max-width:400px}.selector.wide{min-width:275px}.selector.narrow{ min-width:250px}.cancel-button{display:block;margin-top:5px}.settings{margin-lef t:5px}:host{min-width:850px}.bold{font-weight:700}.end.date_time{margin-top:5px} .pickable>span{padding:3px;border:1px solid #000;display:inline-block;cursor:poi nter}.pickable.disabled>span{color:#AAA;cursor:default}</style> <url-param name= "f" value="{{_filters}}" default_values="[]" multi=""> </url-param> <url-param n ame="c" value="{{columns}}" default_values="[&quot;name&quot;,&quot;state&quot;, &quot;created_ts&quot;,&quot;user&quot;,&quot;bot&quot;]" multi=""> </url-param> <url-param name="q" value="{{_query}}" default_value=""> </url-param> <url-para m name="l" default_value="50" value="{{_limit}}"> </url-param> <url-param name=" st" value="{{_start_ts}}"> </url-param> <url-param name="et" value="{{_end_ts}}" > </url-param> <url-param name="n" value="{{_use_now}}"> </url-param> <div class ="container horizontal layout"> <div class="narrow-down-selector"> <div> <iron-a 11y-keys target="[[_filter_input]]" keys="enter" on-keys-pressed="_manuallyAddFi lter"></iron-a11y-keys> <paper-input id="filter" label="Search columns and filte rs or supply a filter and press enter" placeholder="gpu nvidia pool:Chrome" valu e="{{_query::input}}"> </paper-input> </div> <div class="wide selector side-by-s ide" title="This shows all task tags and other interesting task properties. Mark the check box to add as a column. Select the row to see filter options."> <iron -selector attr-for-selected="label" selected="{{_primarySelected}}"> <template i s="dom-repeat" items="[[_primaryItems]]" as="item"> <div class="selectable item horizontal layout" label="[[item]]"> <span>[[_beforeBold(item,_query)]]<span cla ss="bold">[[_bold(item,_query)]]</span>[[_afterBold(item,_query)]]</span> <span class="flex"></span> <paper-checkbox noink="" disabled$="[[_cantToggleColumn(ite m)]]" checked="[[_columnState(item,columns.*)]]" on-change="_toggleColumn"> </pa per-checkbox> </div> </template> </iron-selector> </div> <div class="selector si de-by-side" title="These are most of the options (if any) that the task list can be filtered on. This list is all that have been seen recently, augmented with t he ones returned by the current query. There may be others."> <template is="dom- repeat" id="secondaryList" items="[[_secondaryItems]]" as="item"> <div class="it em horizontal layout" label="[[item]]"> <span>[[_beforeBold(item,_query)]]<span class="bold">[[_bold(item,_query)]]</span>[[_afterBold(item,_query)]]</span> <sp an class="flex"></span> <iron-icon class="icons" icon="icons:arrow-forward" hidd en="[[_cantAddFilter(_primarySelected,item,_filters.*)]]" on-tap="_addFilter"> < /iron-icon> </div> </template> <template is="dom-if" if="[[_secondaryItems.lengt h]]"> <div class="pointable item" title="There may be more valid options than ju st the ones shown.">...</div> </template> <template is="dom-if" if="[[_showTagMe ssage(_primarySelected,_secondaryItems.length)]]"> <div class="item">Only tags c an be used for filtering. <i>"[[_primarySelected]]"</i> is informational only.</ div> </template> </div> <div class="narrow selector side-by-side" title="These t ag filters are AND'd together and applied to all tasks."> <template is="dom-repe at" items="[[_filters]]" as="fil"> <div class="item horizontal layout" label="[[ fil]]"> <span>[[fil]]</span> <span class="flex"></span> <iron-icon class="icons" icon="icons:remove-circle-outline" hidden="[[_cantRemoveFilter(fil,_filters.*)] ]" on-tap="_removeFilter"> </iron-icon> </div> </template> </div> <div class="si de-by-side settings"> <paper-input id="_limit" label="Limit Results" auto-valida te="" min="0" max="1000" pattern="[0-9]+" value="{{_limit}}"> </paper-input> <a href$="[[_matchingBotsLink(query_params,dimensions.*)]]">View Matching Bots</a> <template is="dom-if" if="[[permissions.cancel_tasks]]"> <paper-button class="ca ncel-button" raised="" on-tap="_promptCancel"> Cancel All Tasks </paper-button> </template> </div> <div class="side-by-side settings"> <div class="end date_time "> <div class="bold" title="Should be earlier than end">Start:</div> <div class= "pickable"> <span on-click="_promptStartDate">[[_dateString(_start_ts)]]</span> <span on-click="_promptStartTime">[[_timeString(_start_ts)]]</span> </div> </div > <div class="end date_time"> <div class="bold" title="Should be later than star t">End:</div> <div class$="pickable [[_isEnabled(_use_now)]]"> <span on-click="_ promptEndDate">[[_dateString(_end_ts)]]</span> <span on-click="_promptEndTime">[ [_timeString(_end_ts)]]</span> </div> </div> <paper-checkbox checked="{{_use_now }}">Now</paper-checkbox> </div> </div> </div> </template> <script>!function(){fu nction t(t){return t=t||"1",t=parseInt(t),new Date(t)}var s={state:function(t,s) {var e=this._attribute(t,"state")[0];if(s===e||"ALL"===s)return!0;if("PENDING_RU NNING"===s)return e===this.PENDING||e===this.RUNNING;var i=this._attribute(t,"fa ilure",!1)[0];if("COMPLETED_SUCCESS"===s)return e===this.COMPLETED&&!i;if("COMPL ETED_FAILURE"===s)return e===this.COMPLETED&&i;var n=this._attribute(t,"try_numb er","-1")[0];return"DEDUPED"===s?e===this.COMPLETED&&"0"===n:void 0}};Polymer({i s:"task-filters",behaviors:[SwarmingBehaviors.QueryColumnFilter,SwarmingBehavior s.TaskBehavior],properties:{columns:{type:Array,notify:!0},query_params:{type:Ob ject,computed:"_extractQueryParams(_filters.*, _limit, _start_ts, _end_ts, _use_ now)",notify:!0},permissions:{type:Object},_end_ts:{type:String},_start_ts:{type :String},_use_now:{type:Boolean},_filterMap:{type:Object,value:function(){var t= this._commonFilters();for(var e in s)t[e]=s[e];return t}}},ready:function(){var t=new Date;t.setSeconds(0),t.setMilliseconds(0),this._end_ts||this._use_now||(th is._use_now=!0),this._end_ts||this._setEndTS(t.getTime()),this._start_ts||this._ setStartTS(t.getTime()-864e5)},_cantToggleColumn:function(t){return!t||"name"=== t},_dateString:function(s){return t(s).toLocaleDateString()},_extractQueryParams :function(){var t={},s=[];this._filters.forEach(function(e){var i=e.split(this.F ILTER_SEP,1),n=i[0],r=e.substring(n.length+this.FILTER_SEP.length);"state"===n?t .state=[r]:("user"===n&&"none"===r&&(r=""),s.push(n+this.FILTER_SEP+swarming.ali as.unapply(r)))}.bind(this)),t.tags=s,this._start_ts&&(t.start=[this._start_ts.s ubstring(0,this._start_ts.length-3)]),!this._use_now&&this._end_ts&&(t.end=[this ._end_ts.substring(0,this._end_ts.length-3)]);var e=parseInt(this._limit);return Number.isInteger(e)&&(e=Math.max(e,1),e=Math.min(1e3,e),t.limit=[e],this._limit !=e&&this.set("_limit",e)),t},_isEnabled:function(t){return t?"disabled":""},_ma tchingBotsLink:function(t){var s=["id","os","task","status"];if(!t.tags||!this.d imensions)return this._botListLink([],s);var e=t.tags.filter(function(t){var s=t .split(this.FILTER_SEP,1)[0];return this.dimensions.indexOf(s)!==-1}.bind(this)) ;return e.forEach(function(t){var e=t.split(this.FILTER_SEP,1)[0];s.indexOf(e)== =-1&&s.push(e)}.bind(this)),this._botListLink(e,s)},_promptCancel:function(){ret urn this.query_params.tags&&this.query_params.tags.length?void this.fire("cancel -all",{tags:this.query_params.tags}):void sk.errorMessage("You can't batch cance l everything. Specify some tags to filter by first.",8e3)},_promptEndDate:funct ion(s){this._use_now||this._promptDate(t(this._end_ts),"end")},_promptStartDate: function(s){this._promptDate(t(this._start_ts),"start")},_promptDate:function(t, s){this.fire("prompt-date",{date:t,name:s})},_promptEndTime:function(s){this._us e_now||this._promptTime(t(this._end_ts),"end")},_promptStartTime:function(s){thi s._promptTime(t(this._start_ts),"start")},_promptTime:function(t,s){this.fire("p rompt-time",{date:t,name:s})},_setEndTS:function(t){this._end_ts=""+t},setEndDat e:function(s,e,i){var n=t(this._end_ts);n.setFullYear(s),n.setMonth(e),n.setDate (i),this._setEndTS(n.getTime())},setEndTime:function(s,e,i){var n=t(this._end_ts );n.setHours(s),n.setMinutes(e),n.setSeconds(i),n.setMilliseconds(0),this._setEn dTS(n.getTime())},_setStartTS:function(t){this._start_ts=""+t},setStartDate:func tion(s,e,i){var n=t(this._start_ts);n.setFullYear(s),n.setMonth(e),n.setDate(i), this._setStartTS(n.getTime())},setStartTime:function(s,e,i){var n=t(this._start_ ts);n.setHours(s),n.setMinutes(e),n.setSeconds(i),n.setMilliseconds(0),this._set StartTS(n.getTime())},_showTagMessage:function(t,s){return t&&"name"!==t&&!s},_t imeString:function(s){return t(s).toLocaleTimeString()}})}()</script> </dom-modu le><dom-module id="task-list-data" assetpath="/res/imp/tasklist/"> <script>!func tion(){var t=["abandoned_ts","completed_ts","created_ts","modified_ts","started_ ts"],s=["quarantined","error"];Polymer({is:"task-list-data",behaviors:[SwarmingB ehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{auth_headers :{type:Object,observer:"signIn"},query_params:{type:Object},tasks:{type:Array},b usy:{type:Boolean,computed:"_or(_busy2,_busy1)",notify:!0},dimensions:{type:Arra y,computed:"_makeArray(_dimensions)",notify:!0},primary_map:{type:Object,compute d:"_primaryMap(_tags,_dimensions,tasks.*)",notify:!0},primary_arr:{type:Array,co mputed:"_primaryArr(primary_map)",notify:!0},_busy2:{type:Boolean,value:!1},_bus y1:{type:Boolean,value:!1},_dimensions:{type:Object},_list:{type:Object},_tags:{ type:Object}},signIn:function(){this._getJsonAsync("_tags","/api/swarming/v1/tas ks/tags","_busy2",this.auth_headers),this._getJsonAsync("_dimensions","/api/swar ming/v1/bots/dimensions","_busy1",this.auth_headers)},_makeArray:function(t){if( !t||!t.bots_dimensions)return[];var a=[];return t.bots_dimensions.forEach(functi on(t){s.indexOf(t.key)===-1&&a.push(t.key)}),a.push("id"),a.sort(),a},_primaryAr r:function(t){var s=Object.keys(t);return s.sort(),s},_primaryMap:function(s,a){ s=s&&s.tasks_tags||[],a=a&&a.bots_dimensions||[],tasks=this.tasks||[];var e={};s .forEach(function(t){e[t.key]||(e[t.key]={});var s=t.value||[];s.forEach(functio n(s){e[t.key][s]=!0})}),a.forEach(function(t){var s=t.value;e[t.key]||(e[t.key]= {}),s.forEach(function(s){e[t.key][s]=!0})}),tasks.forEach(function(t){Object.ke ys(t.tagMap).forEach(function(s){var a=t.tagMap[s];e[s]||(e[s]={}),e[s][a]=!0})} ),e.user&&(delete e.user[""],e.user.none=!0);var r={};for(key in e){var n=Object .keys(e[key]);if(swarming.alias.DIMENSIONS_WITH_ALIASES.indexOf(key)===-1)r[key] =n;else{var i=[];n.forEach(function(t){i.push(swarming.alias.apply(t,key))}),r[k ey]=i}}return r.name=[],r.state=[this.PENDING,this.RUNNING,"PENDING_RUNNING",thi s.COMPLETED,"COMPLETED_SUCCESS","COMPLETED_FAILURE",this.EXPIRED,this.TIMED_OUT, this.BOT_DIED,this.CANCELED,"DEDUPED","ALL"],r.costs_usd=[],r.deduped_from=[],r. duration=[],r.server_versions=[],r.bot=[],t.forEach(function(t){r[t]=[]}),r},par seTasks:function(s){if(!s||!s.items)return[];var a=new Date;return s.items.forEa ch(function(s){var e={};s.tags=s.tags||[],s.tags.forEach(function(t){var s=t.spl it(":",1),a=s[0],r=t.substring(a.length+1);e[a]=r}),s.tagMap=e,t.forEach(functio n(t){s[t]&&(s[t]=new Date(s[t]),s["human_"+t]=sk.human.localeTime(s[t]))}),!s.du ration&&s.state===this.RUNNING&&s.started_ts&&(s.duration=(a-s.started_ts)/1e3), s.duration&&(s.human_duration=this._humanDuration(s.duration))}.bind(this)),s.it ems}})}()</script> </dom-module> <dom-module id="task-list-summary" assetpath="/ res/imp/tasklist/"> <template> <style include="swarming-app-style iron-flex">:ho st{display:block;border-left:1px solid #000;padding:5px 5px;font-family:sans-ser if}.header{font-size:1.2em;font-weight:700}.column.left{margin-left:10px}.right{ text-align:right}.left{text-align:left}</style> <div class="horizontal layout"> <div class="column"> <table> <thead> <tr><th class="header right" colspan="2">Se lected</th> </tr></thead> <tbody><tr> <td class="right"> Displayed: </td> <td cl ass="left">[[num_tasks]]</td> </tr> <tr title="These counts reflect the time per iod selected"> <td class="right"> Total: </td> <td class="left">[[_selected_exac t.count]]</td> </tr> <template is="dom-repeat" items="[[_selected_summary]]" as= "item" index-as="idx"> <tr title="These counts reflect the time period selected" > <td class="right"> <a href$="[[_makeURL(item.name,'true',columns.*,sort,count_ params.*)]]">[[item.human]]</a>: </td> <td class="left">[[_idx(_selected_counts, idx, _selected_counts.*)]]</td> </tr> </template> </tbody></table> </div> <div class="left column"> <table> <thead> <tr><th class="header right" colspan="2">Al l Tasks in last 24h</th> </tr></thead> <template is="dom-repeat" items="[[_all_s ummary]]" as="item" index-as="idx"> <tr title="These counts are all from the las t 24 hours"> <td class="right"> <a href$="[[_makeURL(item.name,'',columns.*,sort )]]">[[item.human]]</a>: </td> <td class="left">[[_idx(_all_counts, idx, _all_co unts.*)]]</td> </tr> </template> </table> </div> </div> </template> <script>!fun ction(){var e=[{name:"ALL",human:"All"},{name:"BOT_DIED",human:"Bot Died"},{name :"CANCELED",human:"Canceled"},{name:"COMPLETED_SUCCESS",human:"Completed (Succes s)"},{name:"COMPLETED_FAILURE",human:"Completed (Failure)"},{name:"DEDUPED",huma n:"Deduplicated"},{name:"EXPIRED",human:"Expired"},{name:"PENDING",human:"Pendin g"},{name:"RUNNING",human:"Running"},{name:"TIMED_OUT",human:"Timed Out"}],t=[{n ame:"BOT_DIED",human:"Bot Died"},{name:"CANCELED",human:"Canceled"},{name:"COMPL ETED_SUCCESS",human:"Completed (Success)"},{name:"COMPLETED_FAILURE",human:"Comp leted (Failure)"},{name:"DEDUPED",human:"Deduplicated"},{name:"EXPIRED",human:"E xpired"},{name:"PENDING",human:"Pending"},{name:"RUNNING",human:"Running"},{name :"TIMED_OUT",human:"Timed Out"}];Polymer({is:"task-list-summary",behaviors:[Swar mingBehaviors.CommonBehavior],properties:{auth_headers:{type:Object},busy:{type: Boolean,computed:"_anyBusy(_busyArr1.*,_busyArr2.*,_busy3)",notify:!0},count_par ams:{type:Object},columns:{type:Array},num_tasks:{type:Number},sort:{type:String },_busyArr1:{type:Array,value:function(){return[]}},_busyArr2:{type:Array,value: function(){return[]}},_busy3:{type:Boolean,value:!1},_all_counts:{type:Array,val ue:function(){return[]}},_all_summary:{type:Array,value:function(){return e}},_s elected_counts:{type:Array,value:function(){return[]}},_selected_exact:{type:Obj ect},_selected_summary:{type:Array,value:function(){return t}}},observers:["_rec ountEverything(auth_headers.*,count_params.*)"],_anyBusy:function(){for(var e=0; e<this._busyArr1.length;e++)if(this._busyArr1[e].status)return!0;for(var e=0;e<t his._busyArr2.length;e++)if(this._busyArr2[e].status)return!0;return this._busy3 },_idx:function(e,t){return e&&e[t]&&e[t].count},_recountEverything:function(){i f(this.auth_headers&&this.count_params){var n=new Date;n.setSeconds(0),n.setMill iseconds(0);for(var a=n.getTime()/1e3-86400,s={start:[a]},r=0;r<e.length;r++)thi s._all_counts.length<e.length&&this.push("_all_counts",{}),s.state=[e[r].name],t his._getJsonAsyncArr(r,"_all_counts","/api/swarming/v1/tasks/count","_busyArr1", this.auth_headers,s);s=JSON.parse(JSON.stringify(this.count_params)),this._getJs onAsync("_selected_exact","/api/swarming/v1/tasks/count","_busy3",this.auth_head ers,s);for(var u=0;u<t.length;u++)this._selected_counts.length<t.length&&this.pu sh("_selected_counts",{}),s.state=[t[u].name],this._getJsonAsyncArr(u,"_selected _counts","/api/swarming/v1/tasks/count","_busyArr2",this.auth_headers,s)}},_make URL:function(e,t){var n="state:"+e,a=this.count_params,s={s:[this.sort],c:this.c olumns,f:[]};return a.start&&a.start[0]&&(s.st=[a.start[0]+"000"]),a.end&&a.end[ 0]?s.et=[a.end[0]+"000"]:s.n=[!0],e&&s.f.push(n),t&&a.tags&&a.tags.forEach(funct ion(e){s.f.push(e)}),t||(s.n=[!0]),window.location.href.split("?")[0]+"?"+sk.que ry.fromParamSet(s)}})}()</script> </dom-module><dom-module id="task-mass-cancel" assetpath="/res/imp/tasklist/"> <template> <style>.container{padding:5px;max-wi dth:800px}.cancel-button{background-color:red;color:#fff;font-weight:700}.cancel -button[disabled]{background-color:grey}</style> <div class="container"> <div> Y ou are about to cancel all PENDING task with the following tags: <ul> <template is="dom-repeat" items="[[tags]]" as="tag"> <li>[[tag]]</li> </template> </ul> Th is is about [[_estimated_count]] tasks. Once you start the process, the only way to partially stop it is to close this browser window. If that sounds good, clic k the button below. </div> <paper-button class="cancel-button" raised="" disable d$="[[!_ready_to_cancel]]" hidden$="[[started_canceling]]" on-tap="_cancel"> Can cel the Tasks </paper-button> <div> <div hidden$="[[!started_canceling]]">Progre ss: [[_canceled_count]] queued for cancelation</div> <div>Note: tasks queued for cancellation will be canceled as soon as possible, but there may be some delay between when this dialog box is closed and all tasks actually being canceled.</d iv> </div> </div> </template> <script> (function(){ 795 weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_ 週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點 mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"Y YYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll: "YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function( e,a){return 12===e&&(e=0),"凌晨"===a||"早上"===a||"上午"===a?e:"中午"===a?e>=11?e:e+12:" 下午"===a||"晚上"===a?e+12:void 0},meridiem:function(e,a,t){var s=100*e+a;return s<6 00?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:" [今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,a){switch(a){ case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":retu rn e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘 ",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",y y:"%d 年"}}),e.locale("en"),e})</script> <iron-iconset-svg size="24" name="date-p icker"> <svg> <defs> <g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.4 1-1.41L10.83 12z"></path></g> <g id="chevron-right"><path d="M10 6L8.59 7.41 13. 17 12l-4.58 4.59L10 18l6-6z"></path></g> </defs> </svg> </iron-iconset-svg> <dom -module id="paper-calendar" assetpath="/res/imp/bower_components/polymer-paper-d ate-picker/"> <template> <style>:host{display:block;box-sizing:border-box;paddin g:12px 0;position:relative;width:100%;height:100%;min-width:160px;min-height:160 px;color:var(--primary-text-color);-webkit-font-smoothing:antialiased;-webkit-ta p-highlight-color:transparent;--ease-in-sine:cubic-bezier(0.47, 0, 0.745, 0.715) ;--ease-out-sine:cubic-bezier(0.39, 0.575, 0.565, 1);@apply(--paper-font-body1); @apply(--paper-calendar);overflow:hidden;-webkit-touch-callout:none;-webkit-user -select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none; user-select:none;@apply(--paper-calendar)}#calendar{position:relative;width:100% ;height:100%;@apply(--layout-horizontal)}#months{height:100%;@apply(--layout-hor izontal)}#months.animating .month-nav{opacity:1}#months.animating{transition-pro perty:transform,opacity;transition-duration:.3s}#months.animating.swipe{transiti on-timing-function:var(--ease-in-sine);--webkit-transition-timing-function:var(- -ease-in-sine)}#months.animating.reset{transition-timing-function:var(--ease-out -sine);--webkit-transition-timing-function:var(--ease-out-sine)}.month{height:10 0%;@apply(--layout-vertical);@apply(--layout-justified);@apply(--layout-flex)}.m onth-nav,.month-row{height:calc(100%/8);box-sizing:border-box;padding:0 calc(100 %/36)}.month-col{position:relative;@apply(--layout-vertical);@apply(--layout-fle x)}.month-nav{position:absolute;top:0;left:0;width:100%;opacity:1;@apply(--layou t-horizontal);@apply(--layout-center)}.month-nav .col{position:relative;@apply(- -layout-vertical);@apply(--layout-center-center)}.month-nav .btn .icon{cursor:po inter}.month-nav .btn .ripple{position:absolute;width:48px;height:48px;top:50%;l eft:50%;transform:translate(-50%,-50%)}.month-nav .btn.right{text-align:right}.m onth-name{line-height:24px;vertical-align:middle;text-align:center;font-weight:7 00;@apply(--paper-font-body2);@apply(--layout-horizontal);@apply(--layout-center );@apply(--layout-center-justified);@apply(--layout-flex)}.month-weekdays{color: var(--secondary-text-color);@apply(--layout-horizontal);@apply(--layout-justifie d);@apply(--layout-flex)}.month-days{@apply(--layout-horizontal);@apply(--layout -justified);@apply(--layout-flex)}.month-col .day{cursor:default;pointer-events: none;@apply(--layout-fit);@apply(--layout-vertical);@apply(--layout-center-cente r)}.month-col{position:relative;width:100%;height:100%;@apply(--layout-center-ce nter)}.day-item{border-radius:100%;width:100%;height:100%}.day-item::selection{b ackground:0 0}.day-item.selected{background:var(--default-primary-color)}.day-it em.selected .day{color:var(--text-primary-color)}.day-item:not([disabled]){curso r:pointer}.day-item[disabled] .day{color:var(--text-disabled-color,#9d9d9d)}.day -item.today .day{color:var(--default-primary-color)}.day-item.selected.today .da y{color:var(--text-primary-color)}.flex{@apply(--layout-flex)}.flex-5{@apply(--l ayout-flex-5)}</style> <div id="calendar"> <div id="months" on-track="_onTrack" class$="{{_contentClass}}"> <template is="dom-repeat" items="{{_months}}" as="mo nth"> <div class$="{{_getMonthClass('month', month)}}"> <div class="month-row mo nth-name"> <span>{{dateFormat(month.date, 'MMMM YYYY', locale)}}</span> </div> < div class="month-row month-weekdays week"> <template is="dom-repeat" items="{{_w eekdays}}"> <div class="month-col layout vertical flex"> <div class="day">{{item .0}}</div> </div> </template> </div> <template is="dom-repeat" items="{{month.we eks}}" as="row"> <div class="month-row month-days"> <template is="dom-repeat" it ems="{{row}}"> <div class="month-col"> <div class$="{{_getDayClass('day-item sel ection', item.date, today, date)}}" disabled$="{{_isDisabled(item.day, item.date , minDate, maxDate)}}" on-tap="_tapDay" date$="{{item.name}}"> <div class="day"> {{item.day}}</div> </div> </div> </template> </div> </template> </div> </templat e> </div> <div id="monthNav" class="month-nav"> <div class="flex col self-stretc h"> <div class="btn" on-tap="_swipePrevMonth"> <paper-ripple center="" class="ri pple circle"></paper-ripple> <iron-icon class="icon flex" icon="date-picker:chev ron-left"></iron-icon> </div> </div> <div class="flex-5"></div> <div class="flex col self-stretch"> <div class="btn" on-tap="_swipeNextMonth"> <paper-ripple cen ter="" class="ripple circle"></paper-ripple> <iron-icon class="icon flex" icon=" date-picker:chevron-right"></iron-icon> </div> </div> </div> </div> </template> <script>!function(){function t(t,e){return t=new Date(t.getTime()),e=new Date(e. getTime()),t.setHours(0,0,0,0),e.setHours(0,0,0,0),(t.getTime()-e.getTime())/864 e5}var e=4,i=e*e,n=.5,s=40,a=2,r=1;Polymer({is:"paper-calendar",properties:{date :{type:Date,notify:!0,value:function(){return new Date},observer:"_dateChanged"} ,locale:{type:String,value:"en",notify:!0,observer:"_localeChanged"},minDate:{ty pe:Date,value:null},maxDate:{type:Date,value:null},currentMonth:{type:Number},cu rrentYear:{type:Number},_contentClass:String,_months:Array,_firstDayOfWeek:Numbe r},behaviors:[Polymer.IronResizableBehavior],observers:["_populate(currentYear, currentMonth, minDate, maxDate, locale)"],listeners:{"iron-resize":"_resizeHandl er",swiped:"_onSwipe"},ready:function(){this._updateToday(),this.currentMonth=th is.date.getMonth()+1,this.currentYear=this.date.getFullYear(),this._transitionEv ent=this._whichTransitionEnd()},dateFormat:function(t,e,i){if(!t)return"";var n= moment(t);return n.locale(i||this.locale),n.format(e)},_localeChanged:function(t ){var e=moment();e.locale(t);for(var i=[],n=0;n<7;n++)i.push(e.weekday(n).format ("dd"));this._weekdays=i,this._firstDayOfWeek=e.weekday(0).format("d")},_populat e:function(t,e,i,n){var s,a,h,o,l,u,d,_=[];if(i&&new Date(t,e,0)<i)return this.c urrentYear=i.getFullYear(),void(this.currentMonth=i.getMonth()+1);if(n&&new Date (t,e-1,1)>n)return this.currentYear=n.getFullYear(),void(this.currentMonth=n.get Month()+1);for(var c=-r;c<=r;c++)if(h=[[]],o=1,s=new Date(t,e-1+c,1),a=s.getMont h(),d={year:s.getFullYear(),month:s.getMonth()+1,date:new Date(s)},this._monthWi thinValidRange(d.year,d.month)){var m=s.getDay()-this._firstDayOfWeek;for(m<0&&( m=7+m),l=0;l<m;l++)h[0].push({day:null,date:null});for(;s.getMonth()===a;)h[0].l ength&&l%7===0&&h.push([]),u={date:new Date(s.getFullYear(),a,o),name:this.dateF ormat(s,"YYYY-MM-DD"),year:t,month:a,day:o},h[h.length-1].push(u),s.setDate(++o) ,l++;for(;l<42;)l%7===0&&h.push([]),h[h.length-1].push({day:null,date:null}),l+= 1;d.weeks=h,_.push(d)}_.length&&(this.set("_months",_),this.async(function(){thi s._updateSelection(),this._positionSlider()}))},_getDayClass:function(e,i){retur n i&&(0===t(i,this.today)&&(e+=" today"),0===t(i,this.date)&&(e+=" selected",thi s.async(function(){this._updateSelection()}))),e},_isDisabled:function(t,e){retu rn!t||!this._withinValidRange(e)},_getMonthClass:function(t,e){return t+" month- "+e.year+"-"+e.month},_onTrack:function(t){var e=t.detail.dx,r=t.detail.dy,h=Mat h.abs(e),o=Math.abs(r),l=this._containerWidth;switch(t.detail.state){case"start" :this._trackStartTime=(new Date).getTime(),this._startPos=this._currentPos,this. _moveQueue=[];break;case"track":this._moveQueue.length>=4&&this._moveQueue.shift (),this._moveQueue.push(t);var u=e*e+r*r;if(!this._gesture&&u>i&&(this._gesture= h>o?"pan-x":"pan-y"),"pan-x"!==this._gesture)return;this._dragging=!0;var d=l*th is._months.length,_=this._startPos+e;if(_>0||_<-d+l){isNaN(parseInt(this._resist Start,10))&&(this._resistStart=h);var c,m,f=h-this._resistStart,g=s;c=f>l?1:f/l, m=g*(1-Math.pow(1-c,a)),_=e<0?-this._scrollWidth+l-m:m}else this._resistStart=nu ll;this._translateX(_);break;case"end":this._resistStart=null;var p=this._getMon thIdx(this._startPos),y=this._getMonthIdx(this._currentPos),v=this._getFastestMo vement(t).v,w=y!==p||v>n;if(!this._resistStart&&"pan-x"===this._gesture&&w){if(v >n){var D=l-h,M=D/v;M>300&&(M=300),this._transitionDuration=M}e>0?this._swipePre vMonth():this._swipeNextMonth()}else this._translateX(this._startPos,"reset");th is._gesture=null}},_swipePrevMonth:function(){this._translateX(0,"swipe",functio n(){this.set("_contentClass",""),this.transform("translateX("+this._startPos+"px )",this.$.months),this.fire("swiped",{direction:"right"})}.bind(this))},_swipeNe xtMonth:function(){(!this.maxDate||this.currentMonth<this.maxDate.getMonth()+1)& &this._translateX(2*-this._containerWidth,"swipe",function(){this.set("_contentC lass",""),this.transform("translateX("+this._startPos+"px)",this.$.months),this. fire("swiped",{direction:"left"})}.bind(this))},_getMonthIdx:function(t){var e=t his._containerWidth,i=Math.floor((-t+e/2)/e);return i<0?0:i},_translateX:functio n(t,e,i){if(isNaN(parseInt(t,10)))throw new Error("Not a number: "+t);this._curr entPos=t,e&&(this._transitionDuration&&(this.$.months.style.transitionDuration=t his._transitionDuration+"ms"),this._once(this._transitionEvent,function(){this.s et("_contentClass",""),this.$.months.style.transitionDuration="",this._transitio nDuration=null,this.$.monthNav.style.removeProperty("opacity"),i&&i()}.bind(this ),this.$.months),this.set("_contentClass","animating "+e),this.$.monthNav.style. removeProperty("opacity"),this._once("touchstart",function(){})),window.requestA nimationFrame(function(){if(!e){var i=this._containerWidth/2,n=Math.abs(this._st artPos-t),s=100*(1-n/i);s=(100-Math.pow(s,2))/100/100;var a=Math.abs(parseFloat( s).toFixed(2));this.$.monthNav.style.opacity=a}this.transform("translateX("+t+"p x)",this.$.months)}.bind(this))},_getFastestMovement:function(t){for(var e,i,n,s ,a,r=this._moveQueue.length,h=0,o=0,l=0,u=0;u<r&&(a=this._moveQueue[u]);u++)e=t. timeStamp-a.timeStamp,i=(t.detail.x-a.detail.x)/e,n=(t.detail.y-a.detail.y)/e,s= i*i+n*n,s>l&&(h=i,o=n,l=s);return{x:h,y:o,v:Math.sqrt(l)}},_onSwipe:function(t){ "right"===t.detail.direction?this._prevMonth():this._nextMonth()},_once:function (t,e,i){function n(){i.removeEventListener(t,n),e.apply(null,arguments)}i=i||thi s,i.addEventListener(t,n)},_incrMonth:function(t){var e=new Date(this.currentYea r,this.currentMonth-1+t),i=e.getFullYear(),n=e.getMonth()+1;this._monthWithinVal idRange(i,n)&&(this.currentYear=i,this.currentMonth=n)},_prevMonth:function(){th is._incrMonth(-1)},_nextMonth:function(){this._incrMonth(1)},_dateChanged:functi on(t,e){this._isValidDate(t)||(console.warn("Invalid date: "+t),this.date=t=e),t his._withinValidRange(t)||(console.warn("Date outside of valid range: "+t),this. date=t=e),this.currentYear=t.getFullYear(),this.currentMonth=t.getMonth()+1,e&&t .getTime&&e.getTime&&t.getTime()===e.getTime()||this._updateSelection()},_tapDay :function(t){if(!this._withinValidRange(t.model.item.date))return!1;var e=t.mode l.item,i=new Date(this.date.getTime());i.setYear(e.year),i.setMonth(e.month),i.s etDate(e.day),this.date=i},_isValidDate:function(t){return t&&t.getTime&&!isNaN( t.getTime())},_withinValidRange:function(t){return!!this._isValidDate(t)&&((!thi s.minDate||t>=this.minDate)&&(!this.maxDate||t<=this.maxDate))},_monthWithinVali dRange:function(t,e){var i=new Date(t,e-1,1),n=new Date(t,e,0);return this._with inValidRange(i)||this._withinValidRange(n)},_positionSlider:function(){if(this._ months&&this._containerWidth){this._scrollWidth=this.$.calendar.offsetWidth*this ._months.length,this.$.months.style.minWidth=this._scrollWidth+"px";var t=12*thi s.currentYear+this.currentMonth-(12*this._months[0].year+this._months[0].month); this._translateX(-t*this._containerWidth)}},_updateSelection:function(){var t=th is.$$(".day-item.selected");if(t){t.style.height="",t.style.width="";var e=t.par entElement.offsetWidth,i=t.parentElement.offsetHeight;t.style.flex="",window.req uestAnimationFrame(function(){e>0&&e<i?t.style.height=e+"px":i>0&&(t.style.width =i+"px")})}},_resizeHandler:function(){this._containerWidth=this.$.calendar.offs etWidth,this._positionSlider(),this._updateSelection()},_getDayName:function(t){ return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},_updateToday:functi on(){this.today=new Date,this.today.setHours(0,0,0,0)},_whichTransitionEnd:funct ion(){var t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend ",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(va r e in t)if(void 0!==this.style[e])return t[e]}})}()</script> </dom-module> <sty le is="custom-style">:root{--paper-date-picker-dialog:{margin:0;max-height:520px !important;overflow:hidden};--paper-date-picker-dialog-picker:{margin-top:0!impo rtant;padding:0};--paper-date-picker-dialog-calendar:{padding-bottom:0};--paper- date-picker-dialog-heading:{margin-bottom:-62px};}</style> <dom-module id="paper -date-picker-dialog-style" assetpath="/res/imp/bower_components/polymer-paper-da te-picker/"> <template> <style>.paper-date-picker-dialog{@apply(--paper-date-pic ker-dialog)}.paper-date-picker-dialog>paper-date-picker{--paper-calendar:{@apply (--paper-date-picker-dialog-calendar)};@apply(--paper-date-picker-dialog-picker) }.paper-date-picker-dialog>paper-date-picker:not([narrow]){--paper-date-picker-h eading:{@apply(--paper-date-picker-dialog-heading)};}</style> </template> </dom- module> <dom-module id="iron-list" assetpath="/res/imp/bower_components/iron-lis t/"> <template> <style>:host{display:block;position:relative}@media only screen and (-webkit-max-device-pixel-ratio:1){:host{will-change:transform}}#items{@appl y(--iron-list-items-container);position:relative}:host(:not([grid])) #items>::co ntent>*{width:100%}; #items>::content>*{box-sizing:border-box;margin:0;position: absolute;top:0;will-change:transform}</style> <array-selector id="selector" item s="{{items}}" selected="{{selectedItems}}" selected-item="{{selectedItem}}"> </a rray-selector> <div id="items"> <content></content> </div> </template> </dom-mod ule> <script>!function(){var t=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/),i=t&&t[1]>=8,e=3,s="-10000px",h=-100;Polymer({is:"iron-list",pro perties:{items:{type:Array},maxPhysicalCount:{type:Number,value:500},as:{type:St ring,value:"item"},indexAs:{type:String,value:"index"},selectedAs:{type:String,v alue:"selected"},grid:{type:Boolean,value:!1,reflectToAttribute:!0},selectionEna bled:{type:Boolean,value:!1},selectedItem:{type:Object,notify:!0},selectedItems: {type:Object,notify:!0},multiSelection:{type:Boolean,value:!1}},observers:["_ite msChanged(items.*)","_selectionEnabledChanged(selectionEnabled)","_multiSelectio nChanged(multiSelection)","_setOverflow(scrollTarget)"],behaviors:[Polymer.Templ atizer,Polymer.IronResizableBehavior,Polymer.IronA11yKeysBehavior,Polymer.IronSc rollTargetBehavior],keyBindings:{up:"_didMoveUp",down:"_didMoveDown",enter:"_did Enter"},_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physi calAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_physicalInd exForKey:null,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidt h:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisi bleIndexVal:null,_collection:null,_maxPages:2,_focusedItem:null,_focusedIndex:-1 ,_offscreenFocusedItem:null,_focusBackfillItem:null,_itemsPerRow:1,_itemWidth:0, _rowHeight:0,_templateCost:0,get _physicalBottom(){return this._physicalTop+this ._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHe ight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hi ddenContentSize(){var t=this.grid?this._physicalRows*this._rowHeight:this._physi calSize;return t-this._viewportHeight},get _maxScrollTop(){return this._estScrol lHeight-this._viewportHeight+this._scrollerPaddingTop},_minVirtualStart:0,get _m axVirtualStart(){return Math.max(0,this._virtualCount-this._physicalCount)},_vir tualStartVal:0,set _virtualStart(t){this._virtualStartVal=Math.min(this._maxVirt ualStart,Math.max(this._minVirtualStart,t))},get _virtualStart(){return this._vi rtualStartVal||0},_physicalStartVal:0,set _physicalStart(t){this._physicalStartV al=t%this._physicalCount,this._physicalStartVal<0&&(this._physicalStartVal=this. _physicalCount+this._physicalStartVal),this._physicalEnd=(this._physicalStart+th is._physicalCount-1)%this._physicalCount},get _physicalStart(){return this._phys icalStartVal||0},_physicalCountVal:0,set _physicalCount(t){this._physicalCountVa l=t,this._physicalEnd=(this._physicalStart+this._physicalCount-1)%this._physical Count},get _physicalCount(){return this._physicalCountVal},_physicalEnd:0,get _o ptPhysicalSize(){return this.grid?this._estRowsInView*this._rowHeight*this._maxP ages:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.o ffsetWidth||this.offsetHeight)},get firstVisibleIndex(){if(null===this._firstVis ibleIndexVal){var t=Math.floor(this._physicalTop+this._scrollerPaddingTop);this. _firstVisibleIndexVal=this._iterateItems(function(i,e){return t+=this._getPhysic alSizeIncrement(i),t>this._scrollPosition?this.grid?e-e%this._itemsPerRow:e:this .grid&&this._virtualCount-1===e?e-e%this._itemsPerRow:void 0})||0}return this._f irstVisibleIndexVal},get lastVisibleIndex(){if(null===this._lastVisibleIndexVal) if(this.grid){var t=this.firstVisibleIndex+this._estRowsInView*this._itemsPerRow -1;this._lastVisibleIndexVal=Math.min(this._virtualCount,t)}else{var i=this._phy sicalTop;this._iterateItems(function(t,e){return!(i<this._scrollBottom)||(this._ lastVisibleIndexVal=e,void(i+=this._getPhysicalSizeIncrement(t)))})}return this. _lastVisibleIndexVal},get _defaultScrollTarget(){return this},get _virtualRowCou nt(){return Math.ceil(this._virtualCount/this._itemsPerRow)},get _estRowsInView( ){return Math.ceil(this._viewportHeight/this._rowHeight)},get _physicalRows(){re turn Math.ceil(this._physicalCount/this._itemsPerRow)},ready:function(){this.add EventListener("focus",this._didFocus.bind(this),!0)},attached:function(){0===thi s._physicalCount&&this._debounceTemplate(this._render),this.listen(this,"iron-re size","_resizeHandler")},detached:function(){this.unlisten(this,"iron-resize","_ resizeHandler")},_setOverflow:function(t){this.style.webkitOverflowScrolling=t== =this?"touch":"",this.style.overflow=t===this?"auto":""},updateViewportBoundarie s:function(){this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(window .getComputedStyle(this)["padding-top"],10),this._viewportWidth=this.$.items.offs etWidth,this._viewportHeight=this._scrollTargetHeight,this.grid&&this._updateGri dMetrics()},_scrollHandler:function(){var t=Math.max(0,Math.min(this._maxScrollT op,this._scrollTop)),i=t-this._scrollPosition,e=i>=0;if(this._scrollPosition=t,t his._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(i)>this._ physicalSize){var s=Math.round(i/this._physicalAverage)*this._itemsPerRow;this._ physicalTop=this._physicalTop+i,this._virtualStart=this._virtualStart+s,this._ph ysicalStart=this._physicalStart+s,this._update()}else{var h=this._getReusables(e );e?(this._physicalTop=h.physicalTop,this._virtualStart=this._virtualStart+h.ind exes.length,this._physicalStart=this._physicalStart+h.indexes.length):(this._vir tualStart=this._virtualStart-h.indexes.length,this._physicalStart=this._physical Start-h.indexes.length),0===h.indexes.length?this._increasePoolIfNeeded():this._ update(h.indexes,e?null:h.indexes)}},_getReusables:function(t){var i,e,s,h,l=[], o=this._hiddenContentSize*this._ratio,a=this._virtualStart,n=this._virtualEnd,r= this._physicalCount,c=this._physicalTop+this._scrollerPaddingTop,_=this._scrollT op,u=this._scrollBottom;for(t?(i=this._physicalStart,e=this._physicalEnd,s=_-c): (i=this._physicalEnd,e=this._physicalStart,s=this._physicalBottom-u);;){if(h=thi s._getPhysicalSizeIncrement(i),s-=h,l.length>=r||s<=o)break;if(t){if(n+l.length+ 1>=this._virtualCount)break;if(c+h>=_)break;l.push(i),c+=h,i=(i+1)%r}else{if(a-l .length<=0)break;if(c+this._physicalSize-h<=u)break;l.push(i),c-=h,i=0===i?r-1:i -1}}return{indexes:l,physicalTop:c-this._scrollerPaddingTop}},_update:function(t ,i){if(!t||0!==t.length){if(this._manageFocus(),this._assignModels(t),this._upda teMetrics(t),i)for(;i.length;){var e=i.pop();this._physicalTop-=this._getPhysica lSizeIncrement(e)}this._positionItems(),this._updateScrollerSize(),this._increas ePoolIfNeeded()}},_createPool:function(t){var i=new Array(t);this._ensureTemplat ized();for(var e=0;e<t;e++){var s=this.stamp(null);i[e]=s.root.querySelector("*" ),Polymer.dom(this).appendChild(s.root)}return i},_increasePoolIfNeeded:function (){if(0===this._viewportHeight)return!1;var t=this,i=this._physicalBottom>=this. _scrollBottom&&this._physicalTop<=this._scrollPosition;if(this._physicalSize>=th is._optPhysicalSize&&i)return!1;var e=Math.round(.5*this._physicalCount);return i?(this._yield(function(){t._increasePool(Math.min(e,Math.max(1,Math.round(50/t. _templateCost))))}),!0):(this._debounceTemplate(this._increasePool.bind(this,e)) ,!0)},_yield:function(t){var i=window,e=i.requestIdleCallback?i.requestIdleCallb ack(t):i.setTimeout(t,16);Polymer.dom.addDebouncer({complete:function(){i.cancel IdleCallback?i.cancelIdleCallback(e):i.clearTimeout(e),t()}})},_increasePool:fun ction(t){var i=Math.min(this._physicalCount+t,this._virtualCount-this._virtualSt art,Math.max(this.maxPhysicalCount,e)),s=this._physicalCount,h=i-s,l=window.perf ormance.now();h<=0||([].push.apply(this._physicalItems,this._createPool(h)),[].p ush.apply(this._physicalSizes,new Array(h)),this._physicalCount=s+h,this._physic alStart>this._physicalEnd&&this._isIndexRendered(this._focusedIndex)&&this._getP hysicalIndex(this._focusedIndex)<this._physicalEnd&&(this._physicalStart=this._p hysicalStart+h),this._update(),this._templateCost=(window.performance.now()-l)/h )},_render:function(){if(this.isAttached&&this._isVisible)if(0===this._physicalC ount)this.updateViewportBoundaries(),this._increasePool(e);else{var t=this._getR eusables(!0);this._physicalTop=t.physicalTop,this._virtualStart=this._virtualSta rt+t.indexes.length,this._physicalStart=this._physicalStart+t.indexes.length,thi s._update(t.indexes),this._update()}},_ensureTemplatized:function(){if(!this.cto r){var t={};t.__key__=!0,t[this.as]=!0,t[this.indexAs]=!0,t[this.selectedAs]=!0, t.tabIndex=!0,this._instanceProps=t,this._userTemplate=Polymer.dom(this).querySe lector("template"),this._userTemplate?this.templatize(this._userTemplate):consol e.warn("iron-list requires a template to be provided in light-dom")}},_getStampe dChildren:function(){return this._physicalItems},_forwardInstancePath:function(t ,i,e){0===i.indexOf(this.as+".")&&this.notifyPath("items."+t.__key__+"."+i.slice (this.as.length+1),e)},_forwardParentProp:function(t,i){this._physicalItems&&thi s._physicalItems.forEach(function(e){e._templateInstance[t]=i},this)},_forwardPa rentPath:function(t,i){this._physicalItems&&this._physicalItems.forEach(function (e){e._templateInstance.notifyPath(t,i,!0)},this)},_forwardItemPath:function(t,i ){if(this._physicalIndexForKey){var e=t.indexOf("."),s=t.substring(0,e<0?t.lengt h:e),h=this._physicalIndexForKey[s],l=this._offscreenFocusedItem,o=l&&l._templat eInstance.__key__===s?l:this._physicalItems[h];if(o&&o._templateInstance.__key__ ===s)if(e>=0)t=this.as+"."+t.substring(e+1),o._templateInstance.notifyPath(t,i,! 0);else{var a=o._templateInstance[this.as];if(Array.isArray(this.selectedItems)) {for(var n=0;n<this.selectedItems.length;n++)if(this.selectedItems[n]===a){this. set("selectedItems."+n,i);break}}else this.selectedItem===a&&this.set("selectedI tem",i);o._templateInstance[this.as]=i}}},_itemsChanged:function(t){"items"===t. path?(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?thi s.items.length:0,this._collection=this.items?Polymer.Collection.get(this.items): null,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisi bleIndexVal=null,this._physicalCount=this._physicalCount||0,this._physicalItems= this._physicalItems||[],this._physicalSizes=this._physicalSizes||[],this._physic alStart=0,this._resetScrollPosition(0),this._removeFocusedItem(),this._debounceT emplate(this._render)):"items.splices"===t.path?(this._adjustVirtualIndex(t.valu e.indexSplices),this._virtualCount=this.items?this.items.length:0,this._debounce Template(this._render)):this._forwardItemPath(t.path.split(".").slice(1).join(". "),t.value)},_adjustVirtualIndex:function(t){t.forEach(function(t){if(t.removed. forEach(this._removeItem,this),t.index<this._virtualStart){var i=Math.max(t.adde dCount-t.removed.length,t.index-this._virtualStart);this._virtualStart=this._vir tualStart+i,this._focusedIndex>=0&&(this._focusedIndex=this._focusedIndex+i)}},t his)},_removeItem:function(t){this.$.selector.deselect(t),this._focusedItem&&thi s._focusedItem._templateInstance[this.as]===t&&this._removeFocusedItem()},_itera teItems:function(t,i){var e,s,h,l;if(2===arguments.length&&i){for(l=0;l<i.length ;l++)if(e=i[l],s=this._computeVidx(e),null!=(h=t.call(this,e,s)))return h}else{f or(e=this._physicalStart,s=this._virtualStart;e<this._physicalCount;e++,s++)if(n ull!=(h=t.call(this,e,s)))return h;for(e=0;e<this._physicalStart;e++,s++)if(null !=(h=t.call(this,e,s)))return h}},_computeVidx:function(t){return t>=this._physi calStart?this._virtualStart+(t-this._physicalStart):this._virtualStart+(this._ph ysicalCount-this._physicalStart)+t},_assignModels:function(t){this._iterateItems (function(t,i){var e=this._physicalItems[t],s=e._templateInstance,h=this.items&& this.items[i];null!=h?(s[this.as]=h,s.__key__=this._collection.getKey(h),s[this. selectedAs]=this.$.selector.isSelected(h),s[this.indexAs]=i,s.tabIndex=this._foc usedIndex===i?0:-1,this._physicalIndexForKey[s.__key__]=t,e.removeAttribute("hid den")):(s.__key__=null,e.setAttribute("hidden",""))},t)},_updateMetrics:function (t){Polymer.dom.flush();var i=0,e=0,s=this._physicalAverageCount,h=this._physica lAverage;this._iterateItems(function(t,s){e+=this._physicalSizes[t]||0,this._phy sicalSizes[t]=this._physicalItems[t].offsetHeight,i+=this._physicalSizes[t],this ._physicalAverageCount+=this._physicalSizes[t]?1:0},t),this.grid?(this._updateGr idMetrics(),this._physicalSize=Math.ceil(this._physicalCount/this._itemsPerRow)* this._rowHeight):this._physicalSize=this._physicalSize+i-e,this._physicalAverage Count!==s&&(this._physicalAverage=Math.round((h*s+i)/this._physicalAverageCount) )},_updateGridMetrics:function(){this._itemWidth=this._physicalCount>0?this._phy sicalItems[0].getBoundingClientRect().width:200,this._rowHeight=this._physicalCo unt>0?this._physicalItems[0].offsetHeight:200,this._itemsPerRow=this._itemWidth? Math.floor(this._viewportWidth/this._itemWidth):this._itemsPerRow},_positionItem s:function(){this._adjustScrollPosition();var t=this._physicalTop;if(this.grid){ var i=this._itemsPerRow*this._itemWidth,e=(this._viewportWidth-i)/2;this._iterat eItems(function(i,s){var h=s%this._itemsPerRow,l=Math.floor(h*this._itemWidth+e) ;this.translate3d(l+"px",t+"px",0,this._physicalItems[i]),this._shouldRenderNext Row(s)&&(t+=this._rowHeight)})}else this._iterateItems(function(i,e){this.transl ate3d(0,t+"px",0,this._physicalItems[i]),t+=this._physicalSizes[i]})},_getPhysic alSizeIncrement:function(t){return this.grid?this._computeVidx(t)%this._itemsPer Row!==this._itemsPerRow-1?0:this._rowHeight:this._physicalSizes[t]},_shouldRende rNextRow:function(t){return t%this._itemsPerRow===this._itemsPerRow-1},_adjustSc rollPosition:function(){var t=0===this._virtualStart?this._physicalTop:Math.min( this._scrollPosition+this._physicalTop,0);t&&(this._physicalTop=this._physicalTo p-t,i||0===this._physicalTop||this._resetScrollPosition(this._scrollTop-t))},_re setScrollPosition:function(t){this.scrollTarget&&(this._scrollTop=t,this._scroll Position=this._scrollTop)},_updateScrollerSize:function(t){this.grid?this._estSc rollHeight=this._virtualRowCount*this._rowHeight:this._estScrollHeight=this._phy sicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0 )*this._physicalAverage,t=t||0===this._scrollHeight,t=t||this._scrollPosition>=t his._estScrollHeight-this._physicalSize,t=t||this.grid&&this.$.items.style.heigh t<this._estScrollHeight,(t||Math.abs(this._estScrollHeight-this._scrollHeight)>= this._optPhysicalSize)&&(this.$.items.style.height=this._estScrollHeight+"px",th is._scrollHeight=this._estScrollHeight)},scrollToItem:function(t){return this.sc rollToIndex(this.items.indexOf(t))},scrollToIndex:function(t){if(!("number"!=typ eof t||t<0||t>this.items.length-1)&&(Polymer.dom.flush(),0!==this._physicalCount )){t=Math.min(Math.max(t,0),this._virtualCount-1),(!this._isIndexRendered(t)||t> =this._maxVirtualStart)&&(this._virtualStart=this.grid?t-2*this._itemsPerRow:t-1 ),this._manageFocus(),this._assignModels(),this._updateMetrics(),this._physicalT op=Math.floor(this._virtualStart/this._itemsPerRow)*this._physicalAverage;for(va r i=this._physicalStart,e=this._virtualStart,s=0,h=this._hiddenContentSize;e<t&& s<=h;)s+=this._getPhysicalSizeIncrement(i),i=(i+1)%this._physicalCount,e++;this. _updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._ph ysicalTop+this._scrollerPaddingTop+s),this._increasePoolIfNeeded(),this._firstVi sibleIndexVal=null,this._lastVisibleIndexVal=null}},_resetAverage:function(){thi s._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler:function(){t&& Math.abs(this._viewportHeight-this._scrollTargetHeight)<100||Polymer.dom.addDebo uncer(this.debounce("_debounceTemplate",function(){this.updateViewportBoundaries (),this._render(),this._isVisible?(this.toggleScrollListener(!0),this._physicalC ount>0&&(this._resetAverage(),this.scrollToIndex(this.firstVisibleIndex))):this. toggleScrollListener(!1)}.bind(this),1))},_getModelFromItem:function(t){var i=th is._collection.getKey(t),e=this._physicalIndexForKey[i];return null!=e?this._phy sicalItems[e]._templateInstance:null},_getNormalizedItem:function(t){if(void 0== =this._collection.getKey(t)){if("number"==typeof t){if(t=this.items[t],!t)throw new RangeError("<item> not found");return t}throw new TypeError("<item> should b e a valid item")}return t},selectItem:function(t){t=this._getNormalizedItem(t);v ar i=this._getModelFromItem(t);!this.multiSelection&&this.selectedItem&&this.des electItem(this.selectedItem),i&&(i[this.selectedAs]=!0),this.$.selector.select(t ),this.updateSizeForItem(t)},deselectItem:function(t){t=this._getNormalizedItem( t);var i=this._getModelFromItem(t);i&&(i[this.selectedAs]=!1),this.$.selector.de select(t),this.updateSizeForItem(t)},toggleSelectionForItem:function(t){t=this._ getNormalizedItem(t),this.$.selector.isSelected(t)?this.deselectItem(t):this.sel ectItem(t)},clearSelection:function(){function t(t){var i=this._getModelFromItem (t);i&&(i[this.selectedAs]=!1)}Array.isArray(this.selectedItems)?this.selectedIt ems.forEach(t,this):this.selectedItem&&t.call(this,this.selectedItem),this.$.sel ector.clearSelection()},_selectionEnabledChanged:function(t){var i=t?this.listen :this.unlisten;i.call(this,this,"tap","_selectionHandler")},_selectionHandler:fu nction(t){var i=this.modelForElement(t.target);if(i){var e,s,l=Polymer.dom(t).pa th[0],o=Polymer.dom(this.domHost?this.domHost.root:document).activeElement,a=thi s._physicalItems[this._getPhysicalIndex(i[this.indexAs])];"input"!==l.localName& &"button"!==l.localName&&"select"!==l.localName&&(e=i.tabIndex,i.tabIndex=h,s=o? o.tabIndex:-1,i.tabIndex=e,o&&a!==o&&a.contains(o)&&s!==h||this.toggleSelectionF orItem(i[this.as]))}},_multiSelectionChanged:function(t){this.clearSelection(),t his.$.selector.multi=t},updateSizeForItem:function(t){t=this._getNormalizedItem( t);var i=this._collection.getKey(t),e=this._physicalIndexForKey[i];null!=e&&(thi s._updateMetrics([e]),this._positionItems())},_manageFocus:function(){var t=this ._focusedIndex;t>=0&&t<this._virtualCount?this._isIndexRendered(t)?this._restore FocusedItem():this._createFocusBackfillItem():this._virtualCount>0&&this._physic alCount>0&&(this._focusedIndex=this._virtualStart,this._focusedItem=this._physic alItems[this._physicalStart])},_isIndexRendered:function(t){return t>=this._virt ualStart&&t<=this._virtualEnd},_isIndexVisible:function(t){return t>=this.firstV isibleIndex&&t<=this.lastVisibleIndex},_getPhysicalIndex:function(t){return this ._physicalIndexForKey[this._collection.getKey(this._getNormalizedItem(t))]},_foc usPhysicalItem:function(t){if(!(t<0||t>=this._virtualCount)){this._restoreFocuse dItem(),this._isIndexRendered(t)||this.scrollToIndex(t);var i,e=this._physicalIt ems[this._getPhysicalIndex(t)],s=e._templateInstance;s.tabIndex=h,e.tabIndex===h &&(i=e),i||(i=Polymer.dom(e).querySelector('[tabindex="'+h+'"]')),s.tabIndex=0,t his._focusedIndex=t,i&&i.focus()}},_removeFocusedItem:function(){this._offscreen FocusedItem&&Polymer.dom(this).removeChild(this._offscreenFocusedItem),this._off screenFocusedItem=null,this._focusBackfillItem=null,this._focusedItem=null,this. _focusedIndex=-1},_createFocusBackfillItem:function(){var t,i=this._focusedIndex ;if(!(this._offscreenFocusedItem||i<0)){if(!this._focusBackfillItem){var e=this. stamp(null);this._focusBackfillItem=e.root.querySelector("*"),Polymer.dom(this). appendChild(e.root)}t=this._getPhysicalIndex(i),null!=t&&(this._offscreenFocused Item=this._physicalItems[t],this._physicalItems[t]=this._focusBackfillItem,this. translate3d(0,s,0,this._offscreenFocusedItem))}},_restoreFocusedItem:function(){ var t,i=this._focusedIndex;!this._offscreenFocusedItem||this._focusedIndex<0||(t his._assignModels(),t=this._getPhysicalIndex(i),null!=t&&(this._focusBackfillIte m=this._physicalItems[t],this._physicalItems[t]=this._offscreenFocusedItem,this. _offscreenFocusedItem=null,this.translate3d(0,s,0,this._focusBackfillItem)))},_d idFocus:function(t){var i=this.modelForElement(t.target),e=this._focusedItem?thi s._focusedItem._templateInstance:null,s=null!==this._offscreenFocusedItem,h=this ._focusedIndex;i&&e&&(e===i?this._isIndexVisible(h)||this.scrollToIndex(h):(this ._restoreFocusedItem(),e.tabIndex=-1,i.tabIndex=0,h=i[this.indexAs],this._focuse dIndex=h,this._focusedItem=this._physicalItems[this._getPhysicalIndex(h)],s&&!th is._offscreenFocusedItem&&this._update()))},_didMoveUp:function(){this._focusPhy sicalItem(this._focusedIndex-1)},_didMoveDown:function(t){t.detail.keyboardEvent .preventDefault(),this._focusPhysicalItem(this._focusedIndex+1)},_didEnter:funct ion(t){this._focusPhysicalItem(this._focusedIndex),this._selectionHandler(t.deta il.keyboardEvent)}})}()</script> <dom-module id="paper-year-list" assetpath="/re s/imp/bower_components/polymer-paper-date-picker/"> <template> <style>:host{disp lay:block;box-sizing:border-box;height:100%;@apply(--paper-font-common-base);pos ition:relative}.year{cursor:pointer;height:var(--paper-year-list-item-height,44p x);line-height:var(--paper-year-list-item-height,44px);text-align:center;vertica l-align:middle}.selected{color:var(--default-primary-color);font-size:24px}iron- list{@apply(--layout-fit)}</style> <iron-list id="yearList" items="[[_years]]"> <template> <div class$="year{{_addSelectedClass(selected)}}" on-tap="_tappedYear Handler"> [[item.year]] </div> </template> </iron-list> </template> <script>Poly mer({is:"paper-year-list",properties:{date:{type:Date,notify:!0,observer:"_dateC hange"},max:{type:Number,value:2100,observer:"_maxChange"},min:{type:Number,valu e:1900,observer:"_minChange"},selected:{type:Number,notify:!0,observer:"_selecte dChange"},_years:{type:Array,computed:"_computeYears(min, max)",readOnly:!0,valu e:function(){return Date.now().getFullYear}}},ready:function(){this.$.yearList._ resizeHandler=function(){this.debounce("resize",function(){this._render(),this._ itemsRendered&&this._physicalItems&&this._isVisible&&(this._resetAverage(),this. updateViewportBoundaries())})}.bind(this.$.yearList)},centerSelected:function(){ if(null!==this.selected){var e=this.selected-this.min;this.$.yearList.scrollToIn dex(e),this.async(function(){var t=e*this._physicalAverage+1;t!==this.scrollTop& &(this._update(),this.scrollTop=t),this.scrollHeight-this.offsetHeight!==this.sc rollTop&&(this.scrollTop+=(this._physicalAverage-this.offsetHeight)/2)}.bind(thi s.$.yearList))}},_addSelectedClass:function(e){if(e)return" selected"},_computeY ears:function(e,t){if("number"==typeof e&&"number"==typeof t){for(var i=[];e<=t; e++)i.push({year:e});return i}},_dateChange:function(e){var t=e.getFullYear();th is.selected=this._withinRange(t)?t:null},_maxChange:function(e){"number"!=typeof e&&(this.max=2100)},_minChange:function(e){"number"!=typeof e&&(this.min=1900)} ,_selectedChange:function(e){return null===e?void this.$.yearList.clearSelection ():(e!==this.date.getFullYear()&&(this.date=new Date(this.date.setFullYear(e))), void this._selectYearInList(e))},_selectYearInList:function(e){var t=e-this.min; this.$.yearList.selectItem(t)},_tappedYearHandler:function(e){var t=e.model.__da ta__.item,i=t.year;this.selected!==i&&(this.$.yearList.selectItem(t),this.select ed=i)},_withinRange:function(e){return!(this.min&&e<this.min||this.max&&e>this.m ax)},behaviors:[Polymer.IronResizableBehavior]})</script> </dom-module> <style i s="custom-style" include="paper-date-picker-dialog-style"></style> <dom-module i d="paper-date-picker" assetpath="/res/imp/bower_components/polymer-paper-date-pi cker/"> <template> <style>:host{-webkit-touch-callout:none;-webkit-user-select:n one;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-sele ct:none;display:inline-block;color:var(--primary-text-color);@apply(--paper-font -body1);@apply(--paper-date-picker)}#datePicker{width:512px;height:248px;@apply( --layout-horizontal)}#heading{width:168px;@apply(--paper-date-picker-heading)}:h ost([narrow]) #datePicker{width:328px;height:428px;@apply(--layout-vertical)}:ho st([narrow]) #heading{width:auto;height:96px;padding:16px 24px}#heading{padding: 16px;box-sizing:border-box;color:var(--text-primary-color);background:var(--defa ult-primary-color);@apply(--layout-vertical);@apply(--layout-around-justfied)}#h eading .date,#heading .year{cursor:pointer}#heading .date{@apply(--paper-font-di splay1);font-weight:700;margin-top:2px;@apply(--paper-date-picker-heading-date)} #heading div.date{letter-spacing:.025em}#heading .date span{white-space:nowrap}# heading .year{@apply(--paper-font-body2);font-size:16px;@apply(--paper-date-pick er-heading-date)}#heading.pg-chooseYear .date,#heading:not(.pg-chooseYear) .year {color:var(--light-primary-color)}:host([isTouch]) paper-year-list::-webkit-scro llbar{width:0!important}#pages{@apply(--layout-flex);width:auto;background:var(- -default-background-color)}#calendar{--paper-calendar:{@apply(--paper-date-picke r-calendar)};}</style> <iron-media-query query="{{_getMediaQuery(forceNarrow, re sponsiveWidth)}}" query-matches="{{_queryMatches}}"></iron-media-query> <div id= "datePicker"> <div id="heading" class$="{{_getHeadingClass('heading-content', _s electedPage)}}"> <div class="year" on-tap="_tapHeadingYear">{{dateFormat(date, ' YYYY', locale)}}</div> <div class="date" on-tap="_tapHeadingDate"> <template is= "dom-repeat" items="{{_splitHeadingDate(date, headingFormat, locale)}}"> <span>{ {item}}</span> </template> </div> </div> <neon-animated-pages id="pages" selecte d="{{_selectedPage}}" attr-for-selected="id" entry-animation="fade-in-animation" exit-animation="fade-out-animation" on-iron-select="_pageSelected"> <neon-anima table id="chooseDate"> <paper-calendar id="calendar" locale="{{locale}}" date="{ {date}}" min-date="{{minDate}}" max-date="{{maxDate}}"> </paper-calendar> </neon -animatable> <neon-animatable id="chooseYear"> <paper-year-list id="yearList" da te="{{date}}" on-tap="_tapHeadingDate" min="[[_minYear]]" max="[[_maxYear]]"></p aper-year-list> </neon-animatable> </neon-animated-pages> </div> </template> <sc ript>Polymer({is:"paper-date-picker",properties:{date:{type:Date,notify:!0},resp onsiveWidth:{type:String,value:"560px"},locale:{type:String,value:"en"},headingF ormat:{type:String,value:"ddd, MMM D"},minDate:{type:Date,value:null},maxDate:{t ype:Date,value:null},forceNarrow:{type:Boolean,value:!1},narrow:{type:Boolean,re flectToAttribute:!0,notify:!0,computed:"_computeNarrow(forceNarrow, _queryMatche s)"},isTouch:{type:Boolean,value:!1,readOnly:!0,reflectToAttribute:!0},_queryMat ches:{type:Boolean,value:!1},headingBreak:{type:String,value:"[,]"},_selectedPag e:String,_maxYear:{type:Number,computed:"_getFullYear(maxDate)"},_minYear:{type: Number,computed:"_getFullYear(minDate)"}},behaviors:[Polymer.IronResizableBehavi or],listeners:{"iron-resize":"_resizeHandler"},ready:function(){this.today=this. $.calendar.today,this.isTouch="ontouchstart"in window,this._selectPage("chooseDa te")},dateFormat:function(){return this.$.calendar.dateFormat.apply(this.$.calen dar,arguments)},_tapHeadingDate:function(){"chooseDate"!==this.$.pages.selected? this._selectPage("chooseDate"):(this.$.calendar.currentMonth=this.date.getMonth( )+1,this.$.calendar.currentYear=this.date.getFullYear())},_tapHeadingYear:functi on(){"chooseYear"!==this.$.pages.selected&&(this._selectPage("chooseYear"),this. $.yearList.centerSelected())},_selectPage:function(e){this.$.pages.selected=e},_ getMediaQuery:function(e,t){return"(max-width: "+(e?"":t)+")"},_getHeadingClass: function(e,t){return e+" pg-"+t},_getFullYear:function(e){return e?e.getFullYear ():null},_splitHeadingDate:function(e,t,a){var r,i=new RegExp(this.headingBreak, "g"),n=this.dateFormat(e,t,a),o=n.match(i);return r=o?n.split(i).map(function(e, t){return e+(o[t]||"")}):[n]},_computeNarrow:function(e,t){return e||t},_pageSel ected:function(){this._resizeHandler()},_resizeHandler:function(){this._resizing ||(this._resizing=!0,this.$.calendar.notifyResize(),this._resizing=!1,this.updat eStyles())}})</script> </dom-module> <script>window.SwarmingBehaviors=window.Swa rmingBehaviors||{},function(){SwarmingBehaviors.TaskBehavior={properties:{BOT_DI ED:{type:String,value:"BOT_DIED"},CANCELED:{type:String,value:"CANCELED"},COMPLE TED:{type:String,value:"COMPLETED"},COMPLETED_DEDUPED:{type:String,value:"COMPLE TED (DEDUPED)"},COMPLETED_FAILURE:{type:String,value:"COMPLETED (FAILURE)"},COMP LETED_SUCCESS:{type:String,value:"COMPLETED (SUCCESS)"},EXPIRED:{type:String,val ue:"EXPIRED"},PENDING:{type:String,value:"PENDING"},RUNNING:{type:String,value:" RUNNING"},TIMED_OUT:{type:String,value:"TIMED_OUT"}},stateClass:function(t){retu rn t===this.CANCELED||t===this.TIMED_OUT||t===this.EXPIRED?"exception":t===this. BOT_DIED?"bot_died":t===this.COMPLETED_FAILURE?"failed_task":t===this.RUNNING||t ===this.PENDING?"pending_task":""},state:function(t){return t?t.state===this.COM PLETED?t.failure?this.COMPLETED_FAILURE:"0"===t.try_number?this.COMPLETED_DEDUPE D:this.COMPLETED_SUCCESS:t.state:""},_stateClass:function(t){return this.stateCl ass(this.state(t))}}}()</script> <dom-module id="task-style" assetpath="/res/imp /common/"> <template> <style>.failed_task{background-color:#fdd}.bot_died{backgr ound-color:#ccc}.exception{background-color:#edd2ff}.pending_task{background-col or:#fffc6c}</style> </template> </dom-module><dom-module id="task-filters" asset path="/res/imp/tasklist/"> <template> <style is="custom-style" include="iron-fle x iron-flex-alignment iron-positioning query-column-filter-style swarming-app-st yle">.item.wide{max-width:400px}.selector.wide{min-width:275px}.selector.narrow{ min-width:250px}.cancel-button{display:block;margin-top:5px}.settings{margin-lef t:5px}:host{min-width:850px}.bold{font-weight:700}.end.date_time{margin-top:5px} .pickable>span{padding:3px;border:1px solid #000;display:inline-block;cursor:poi nter}.pickable.disabled>span{color:#AAA;cursor:default}</style> <url-param name= "f" value="{{_filters}}" default_values="[]" multi=""> </url-param> <url-param n ame="c" value="{{columns}}" default_values="[&quot;name&quot;,&quot;state&quot;, &quot;created_ts&quot;,&quot;user&quot;,&quot;bot&quot;]" multi=""> </url-param> <url-param name="q" value="{{_query}}" default_value=""> </url-param> <url-para m name="l" default_value="50" value="{{_limit}}"> </url-param> <url-param name=" st" value="{{_start_ts}}"> </url-param> <url-param name="et" value="{{_end_ts}}" > </url-param> <url-param name="n" value="{{_use_now}}"> </url-param> <div class ="container horizontal layout"> <div class="narrow-down-selector"> <div> <iron-a 11y-keys target="[[_filter_input]]" keys="enter" on-keys-pressed="_manuallyAddFi lter"></iron-a11y-keys> <paper-input id="filter" label="Search columns and filte rs or supply a filter and press enter" placeholder="gpu nvidia pool:Chrome" valu e="{{_query::input}}"> </paper-input> </div> <div class="wide selector side-by-s ide" title="This shows all task tags and other interesting task properties. Mark the check box to add as a column. Select the row to see filter options."> <iron -selector attr-for-selected="label" selected="{{_primarySelected}}"> <template i s="dom-repeat" items="[[_primaryItems]]" as="item"> <div class="selectable item horizontal layout" label="[[item]]"> <span>[[_beforeBold(item,_query)]]<span cla ss="bold">[[_bold(item,_query)]]</span>[[_afterBold(item,_query)]]</span> <span class="flex"></span> <paper-checkbox noink="" disabled$="[[_cantToggleColumn(ite m)]]" checked="[[_columnState(item,columns.*)]]" on-change="_toggleColumn"> </pa per-checkbox> </div> </template> </iron-selector> </div> <div class="selector si de-by-side" title="These are most of the options (if any) that the task list can be filtered on. This list is all that have been seen recently, augmented with t he ones returned by the current query. There may be others."> <template is="dom- repeat" id="secondaryList" items="[[_secondaryItems]]" as="item"> <div class="it em horizontal layout" label="[[item]]"> <span>[[_beforeBold(item,_query)]]<span class="bold">[[_bold(item,_query)]]</span>[[_afterBold(item,_query)]]</span> <sp an class="flex"></span> <iron-icon class="icons" icon="icons:arrow-forward" hidd en="[[_cantAddFilter(_primarySelected,item,_filters.*)]]" on-tap="_addFilter"> < /iron-icon> </div> </template> <template is="dom-if" if="[[_secondaryItems.lengt h]]"> <div class="pointable item" title="There may be more valid options than ju st the ones shown.">...</div> </template> <template is="dom-if" if="[[_showTagMe ssage(_primarySelected,_secondaryItems.length)]]"> <div class="item">Only tags c an be used for filtering. <i>"[[_primarySelected]]"</i> is informational only.</ div> </template> </div> <div class="narrow selector side-by-side" title="These t ag filters are AND'd together and applied to all tasks."> <template is="dom-repe at" items="[[_filters]]" as="fil"> <div class="item horizontal layout" label="[[ fil]]"> <span>[[fil]]</span> <span class="flex"></span> <iron-icon class="icons" icon="icons:remove-circle-outline" hidden="[[_cantRemoveFilter(fil,_filters.*)] ]" on-tap="_removeFilter"> </iron-icon> </div> </template> </div> <div class="si de-by-side settings"> <paper-input id="_limit" label="Limit Results" auto-valida te="" min="0" max="1000" pattern="[0-9]+" value="{{_limit}}"> </paper-input> <a href$="[[_matchingBotsLink(query_params,dimensions.*)]]">View Matching Bots</a> <template is="dom-if" if="[[permissions.cancel_tasks]]"> <paper-button class="ca ncel-button" raised="" on-tap="_promptCancel"> Cancel All Tasks </paper-button> </template> </div> <div class="side-by-side settings"> <div class="end date_time "> <div class="bold" title="Should be earlier than end">Start:</div> <div class= "pickable"> <span on-click="_promptStartDate">[[_dateString(_start_ts)]]</span> <span on-click="_promptStartTime">[[_timeString(_start_ts)]]</span> </div> </div > <div class="end date_time"> <div class="bold" title="Should be later than star t">End:</div> <div class$="pickable [[_isEnabled(_use_now)]]"> <span on-click="_ promptEndDate">[[_dateString(_end_ts)]]</span> <span on-click="_promptEndTime">[ [_timeString(_end_ts)]]</span> </div> </div> <paper-checkbox checked="{{_use_now }}">Now</paper-checkbox> </div> </div> </div> </template> <script>!function(){fu nction t(t){return t=t||"1",t=parseInt(t),new Date(t)}var s={state:function(t,s) {var e=this._attribute(t,"state")[0];if(s===e||"ALL"===s)return!0;if("PENDING_RU NNING"===s)return e===this.PENDING||e===this.RUNNING;var i=this._attribute(t,"fa ilure",!1)[0];if("COMPLETED_SUCCESS"===s)return e===this.COMPLETED&&!i;if("COMPL ETED_FAILURE"===s)return e===this.COMPLETED&&i;var n=this._attribute(t,"try_numb er","-1")[0];return"DEDUPED"===s?e===this.COMPLETED&&"0"===n:void 0}};Polymer({i s:"task-filters",behaviors:[SwarmingBehaviors.QueryColumnFilter,SwarmingBehavior s.TaskBehavior],properties:{columns:{type:Array,notify:!0},query_params:{type:Ob ject,computed:"_extractQueryParams(_filters.*, _limit, _start_ts, _end_ts, _use_ now)",notify:!0},permissions:{type:Object},_end_ts:{type:String},_start_ts:{type :String},_use_now:{type:Boolean},_filterMap:{type:Object,value:function(){var t= this._commonFilters();for(var e in s)t[e]=s[e];return t}}},ready:function(){var t=new Date;t.setSeconds(0),t.setMilliseconds(0),this._end_ts||this._use_now||(th is._use_now=!0),this._end_ts||this._setEndTS(t.getTime()),this._start_ts||this._ setStartTS(t.getTime()-864e5)},_cantToggleColumn:function(t){return!t||"name"=== t},_dateString:function(s){return t(s).toLocaleDateString()},_extractQueryParams :function(){var t={},s=[];this._filters.forEach(function(e){var i=e.split(this.F ILTER_SEP,1),n=i[0],r=e.substring(n.length+this.FILTER_SEP.length);"state"===n?t .state=[r]:("user"===n&&"none"===r&&(r=""),s.push(n+this.FILTER_SEP+swarming.ali as.unapply(r)))}.bind(this)),t.tags=s,this._start_ts&&(t.start=[this._start_ts.s ubstring(0,this._start_ts.length-3)]),!this._use_now&&this._end_ts&&(t.end=[this ._end_ts.substring(0,this._end_ts.length-3)]);var e=parseInt(this._limit);return Number.isInteger(e)&&(e=Math.max(e,1),e=Math.min(1e3,e),t.limit=[e],this._limit !=e&&this.set("_limit",e)),t},_isEnabled:function(t){return t?"disabled":""},_ma tchingBotsLink:function(t){var s=["id","os","task","status"];if(!t.tags||!this.d imensions)return this._botListLink([],s);var e=t.tags.filter(function(t){var s=t .split(this.FILTER_SEP,1)[0];return this.dimensions.indexOf(s)!==-1}.bind(this)) ;return e.forEach(function(t){var e=t.split(this.FILTER_SEP,1)[0];s.indexOf(e)== =-1&&s.push(e)}.bind(this)),this._botListLink(e,s)},_promptCancel:function(){ret urn this.query_params.tags&&this.query_params.tags.length?void this.fire("cancel -all",{tags:this.query_params.tags}):void sk.errorMessage("You can't batch cance l everything. Specify some tags to filter by first.",8e3)},_promptEndDate:funct ion(s){this._use_now||this._promptDate(t(this._end_ts),"end")},_promptStartDate: function(s){this._promptDate(t(this._start_ts),"start")},_promptDate:function(t, s){this.fire("prompt-date",{date:t,name:s})},_promptEndTime:function(s){this._us e_now||this._promptTime(t(this._end_ts),"end")},_promptStartTime:function(s){thi s._promptTime(t(this._start_ts),"start")},_promptTime:function(t,s){this.fire("p rompt-time",{date:t,name:s})},_setEndTS:function(t){this._end_ts=""+t},setEndDat e:function(s,e,i){var n=t(this._end_ts);n.setFullYear(s),n.setMonth(e),n.setDate (i),this._setEndTS(n.getTime())},setEndTime:function(s,e,i){var n=t(this._end_ts );n.setHours(s),n.setMinutes(e),n.setSeconds(i),n.setMilliseconds(0),this._setEn dTS(n.getTime())},_setStartTS:function(t){this._start_ts=""+t},setStartDate:func tion(s,e,i){var n=t(this._start_ts);n.setFullYear(s),n.setMonth(e),n.setDate(i), this._setStartTS(n.getTime())},setStartTime:function(s,e,i){var n=t(this._start_ ts);n.setHours(s),n.setMinutes(e),n.setSeconds(i),n.setMilliseconds(0),this._set StartTS(n.getTime())},_showTagMessage:function(t,s){return t&&"name"!==t&&!s},_t imeString:function(s){return t(s).toLocaleTimeString()}})}()</script> </dom-modu le><dom-module id="task-list-data" assetpath="/res/imp/tasklist/"> <script>!func tion(){var t=["abandoned_ts","completed_ts","created_ts","modified_ts","started_ ts"],s=["quarantined","error"];Polymer({is:"task-list-data",behaviors:[SwarmingB ehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{auth_headers :{type:Object,observer:"signIn"},query_params:{type:Object},tasks:{type:Array},b usy:{type:Boolean,computed:"_or(_busy2,_busy1)",notify:!0},dimensions:{type:Arra y,computed:"_makeArray(_dimensions)",notify:!0},primary_map:{type:Object,compute d:"_primaryMap(_tags,_dimensions,tasks.*)",notify:!0},primary_arr:{type:Array,co mputed:"_primaryArr(primary_map)",notify:!0},_busy2:{type:Boolean,value:!1},_bus y1:{type:Boolean,value:!1},_dimensions:{type:Object},_list:{type:Object},_tags:{ type:Object}},signIn:function(){this._getJsonAsync("_tags","/api/swarming/v1/tas ks/tags","_busy2",this.auth_headers),this._getJsonAsync("_dimensions","/api/swar ming/v1/bots/dimensions","_busy1",this.auth_headers)},_makeArray:function(t){if( !t||!t.bots_dimensions)return[];var a=[];return t.bots_dimensions.forEach(functi on(t){s.indexOf(t.key)===-1&&a.push(t.key)}),a.push("id"),a.sort(),a},_primaryAr r:function(t){var s=Object.keys(t);return s.sort(),s},_primaryMap:function(s,a){ s=s&&s.tasks_tags||[],a=a&&a.bots_dimensions||[],tasks=this.tasks||[];var e={};s .forEach(function(t){e[t.key]||(e[t.key]={});var s=t.value||[];s.forEach(functio n(s){e[t.key][s]=!0})}),a.forEach(function(t){var s=t.value;e[t.key]||(e[t.key]= {}),s.forEach(function(s){e[t.key][s]=!0})}),tasks.forEach(function(t){Object.ke ys(t.tagMap).forEach(function(s){var a=t.tagMap[s];e[s]||(e[s]={}),e[s][a]=!0})} ),e.user&&(delete e.user[""],e.user.none=!0);var r={};for(key in e){var n=Object .keys(e[key]);if(swarming.alias.DIMENSIONS_WITH_ALIASES.indexOf(key)===-1)r[key] =n;else{var i=[];n.forEach(function(t){i.push(swarming.alias.apply(t,key))}),r[k ey]=i}}return r.name=[],r.state=[this.PENDING,this.RUNNING,"PENDING_RUNNING",thi s.COMPLETED,"COMPLETED_SUCCESS","COMPLETED_FAILURE",this.EXPIRED,this.TIMED_OUT, this.BOT_DIED,this.CANCELED,"DEDUPED","ALL"],r.costs_usd=[],r.deduped_from=[],r. duration=[],r.server_versions=[],r.bot=[],t.forEach(function(t){r[t]=[]}),r},par seTasks:function(s){if(!s||!s.items)return[];var a=new Date;return s.items.forEa ch(function(s){var e={};s.tags=s.tags||[],s.tags.forEach(function(t){var s=t.spl it(":",1),a=s[0],r=t.substring(a.length+1);e[a]=r}),s.tagMap=e,t.forEach(functio n(t){s[t]&&(s[t]=new Date(s[t]),s["human_"+t]=sk.human.localeTime(s[t]))}),!s.du ration&&s.state===this.RUNNING&&s.started_ts&&(s.duration=(a-s.started_ts)/1e3), s.duration&&(s.human_duration=this._humanDuration(s.duration))}.bind(this)),s.it ems}})}()</script> </dom-module> <dom-module id="task-list-summary" assetpath="/ res/imp/tasklist/"> <template> <style include="swarming-app-style iron-flex">:ho st{display:block;border-left:1px solid #000;padding:5px 5px;font-family:sans-ser if}.header{font-size:1.2em;font-weight:700}.column.left{margin-left:10px}.right{ text-align:right}.left{text-align:left}</style> <div class="horizontal layout"> <div class="column"> <table> <thead> <tr><th class="header right" colspan="2">Se lected Tasks</th> </tr></thead> <tbody><tr> <td class="right"> Displayed: </td> <td class="left">[[num_tasks]]</td> </tr> <tr title="These counts reflect the ti me period selected"> <td class="right"> Total: </td> <td class="left">[[_selecte d_exact.count]]</td> </tr> <template is="dom-repeat" items="[[_selected_summary] ]" as="item" index-as="idx"> <tr title="These counts reflect the time period sel ected"> <td class="right"> <a href$="[[_makeURL(item.name,'true',columns.*,sort, count_params.*)]]">[[item.human]]</a>: </td> <td class="left">[[_idx(_selected_c ounts, idx, _selected_counts.*)]]</td> </tr> </template> </tbody></table> </div> </div> </template> <script>!function(){var t=[{name:"BOT_DIED",human:"Bot Died" },{name:"CANCELED",human:"Canceled"},{name:"COMPLETED_SUCCESS",human:"Completed (Success)"},{name:"COMPLETED_FAILURE",human:"Completed (Failure)"},{name:"DEDUPE D",human:"Deduplicated"},{name:"EXPIRED",human:"Expired"},{name:"PENDING",human: "Pending"},{name:"RUNNING",human:"Running"},{name:"TIMED_OUT",human:"Timed Out"} ];Polymer({is:"task-list-summary",behaviors:[SwarmingBehaviors.CommonBehavior],p roperties:{auth_headers:{type:Object},busy:{type:Boolean,computed:"_anyBusy(_bus yArr1.*,_busy3)",notify:!0},count_params:{type:Object},columns:{type:Array},num_ tasks:{type:Number},sort:{type:String},_busyArr1:{type:Array,value:function(){re turn[]}},_busy3:{type:Boolean,value:!1},_selected_counts:{type:Array,value:funct ion(){return[]}},_selected_exact:{type:Object},_selected_summary:{type:Array,val ue:function(){return t}}},observers:["_recountEverything(auth_headers.*,count_pa rams.*)"],_anyBusy:function(){for(var t=0;t<this._busyArr1.length;t++)if(this._b usyArr1[t].status)return!0;return this._busy3},_idx:function(t,e){return t&&t[e] &&t[e].count},_recountEverything:function(){if(this.auth_headers&&this.count_par ams){var e=JSON.parse(JSON.stringify(this.count_params));this._getJsonAsync("_se lected_exact","/api/swarming/v1/tasks/count","_busy3",this.auth_headers,e);for(v ar n=0;n<t.length;n++)this._selected_counts.length<t.length&&this.push("_selecte d_counts",{}),e.state=[t[n].name],this._getJsonAsyncArr(n,"_selected_counts","/a pi/swarming/v1/tasks/count","_busyArr1",this.auth_headers,e)}},_makeURL:function (t){var e="state:"+t,n=this.count_params,s={s:[this.sort],c:this.columns,f:[]};r eturn n.start&&n.start[0]&&(s.st=[n.start[0]+"000"]),n.end&&n.end[0]?s.et=[n.end [0]+"000"]:s.n=[!0],t&&s.f.push(e),n.tags&&n.tags.forEach(function(t){s.f.push(t )}),window.location.href.split("?")[0]+"?"+sk.query.fromParamSet(s)}})}()</scrip t> </dom-module><dom-module id="task-mass-cancel" assetpath="/res/imp/tasklist/" > <template> <style>.container{padding:5px;max-width:800px}.cancel-button{backgr ound-color:red;color:#fff;font-weight:700}.cancel-button[disabled]{background-co lor:grey}</style> <div class="container"> <div> You are about to cancel all PEND ING task with the following tags: <ul> <template is="dom-repeat" items="[[tags]] " as="tag"> <li>[[tag]]</li> </template> </ul> This is about [[_estimated_count] ] tasks. Once you start the process, the only way to partially stop it is to clo se this browser window. If that sounds good, click the button below. </div> <pap er-button class="cancel-button" raised="" disabled$="[[!_ready_to_cancel]]" hidd en$="[[started_canceling]]" on-tap="_cancel"> Cancel the Tasks </paper-button> < div> <div hidden$="[[!started_canceling]]">Progress: [[_canceled_count]] queued for cancelation</div> <div>Note: tasks queued for cancellation will be canceled as soon as possible, but there may be some delay between when this dialog box is closed and all tasks actually being canceled.</div> </div> </div> </template> < script> (function(){
796 var CANCEL_BATCH_SIZE = 100; 796 var CANCEL_BATCH_SIZE = 100;
797 Polymer({ 797 Polymer({
798 is: 'task-mass-cancel', 798 is: 'task-mass-cancel',
799 799
800 properties: { 800 properties: {
801 // input 801 // input
802 auth_headers: { 802 auth_headers: {
803 type: Object, 803 type: Object,
804 }, 804 },
805 tags: { 805 tags: {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 } 1133 }
1134 return ""; 1134 return "";
1135 }, 1135 },
1136 1136
1137 _toggleState: function() { 1137 _toggleState: function() {
1138 this.set("_show_state", !this._show_state); 1138 this.set("_show_state", !this._show_state);
1139 } 1139 }
1140 1140
1141 }); 1141 });
1142 })(); </script> </dom-module><dom-module id="interval-timer" assetpath="/res/i mp/common/"> <script>!function(){Polymer({is:"interval-timer",properties:{period :{type:Number,value:-1,observer:"_periodChanged"}},_periodChanged:function(e){th is._timeout&&window.clearTimeout(this._timeout),e>0&&(this._timeout=window.setTi meout(function(){this.fire("trigger"),this._periodChanged(e)}.bind(this),1e3*e)) }})}()</script> </dom-module> <dom-module id="task-page-data" assetpath="/res/im p/taskpage/"> <script>!function(){var t,e=400,s=["abandoned_ts","completed_ts"," created_ts","modified_ts","started_ts"];Polymer({is:"task-page-data",behaviors:[ SwarmingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{aut h_headers:{type:Object},task_id:{type:String},busy:{type:Boolean,computed:"_or(_ busy1,_busy2,_busy3)",notify:!0},request:{type:Object,computed:"_parseRequest(_r equest)",notify:!0},result:{type:Object,computed:"_parseResult(_result)",notify: !0},stdout:{type:String,computed:"_parseStdout(_stdout)",notify:!0},task_exists: {type:Boolean,value:!0,notify:!0},_busy1:{type:Boolean,value:!1},_busy2:{type:Bo olean,value:!1},_busy3:{type:Boolean,value:!1},_request:{type:Object},_result:{t ype:Object},_stdout:{type:Object}},observers:["reload(auth_headers,task_id)"],re load:function(){if(!this.task_id||!this.auth_headers)return void console.log("ta sk_id and auth_headers can't be empty");t&&this.cancelAsync(t);var s="/api/swarm ing/v1/task/"+this.task_id;t=this.async(function(){t=void 0;var e=this._getJsonA sync("_request",s+"/request","_busy1",this.auth_headers);e.then(function(){this. set("task_exists",!0)}.bind(this)).catch(function(t){404===t.status?this.set("ta sk_exists",!1):sk.errorMessage("Http response: "+(t.status||" ")+" "+t.response) }.bind(this)),this._getJsonAsync("_result",s+"/result?include_performance_stats= true","_busy2",this.auth_headers),this.reloadStdout()},e)},_parseRequest:functio n(t){return t?(t.tagMap={},t.tags=t.tags||[],t.tags.forEach(function(e){var s=e. split(":",1),a=s[0],u=e.substring(a.length+1);t.tagMap[a]=u}),s.forEach(function (e){t[e]&&(t[e]=new Date(t[e]),t["human_"+e]=sk.human.localeTime(t[e]))}),t):{}} ,_parseResult:function(t){if(!t)return{};var e=new Date;return s.forEach(functio n(e){t[e]&&(t[e]=new Date(t[e]),t["human_"+e]=sk.human.localeTime(t[e]))}),!t.du ration&&t.state===this.RUNNING&&t.started_ts&&(t.duration=(e-t.started_ts)/1e3), t.duration&&(t.human_duration=this._humanDuration(t.duration)),t},_parseStdout:f unction(t){return t&&t.output?t.output:""},reloadStdout:function(){this._getJson Async("_stdout","/api/swarming/v1/task/"+this.task_id+"/stdout","_busy3",this.au th_headers)}})}()</script> </dom-module><dom-module id="task-disambiguation" ass etpath="/res/imp/taskpage/"> <template> <style include="swarming-app-style singl e-page-style task-style"></style> <table> <thead> <tr> <th>Try ID</th> <th>Bot I D</th> <th>Status</th> </tr> </thead> <tbody> <template id="result_list" is="dom -repeat" items="[[_results]]" as="result" observe="task_id bot_id state"> <tr> < td> <a href$="[[_taskLink(result.task_id,'true')]]"> [[result.task_id]] </a> </t d> <td> <a href$="[[_botLink(result.bot_id)]]"> [[result.bot_id]] </a> </td> <td class$="[[_stateClass(result)]]">[[state(result)]]</td> </tr> </template> </tbo dy> </table> </template> <script>Polymer({is:"task-disambiguation",behaviors:[Sw armingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{auth_ headers:{type:Object},summary_result:{type:Object},task_id:{type:String},busy:{t ype:Boolean,value:!1,notify:!0},_busyArr:{type:Array,value:function(){return[]}} ,_results:{type:Array,value:function(){return[]}}},observers:["_fetchRest(auth_h eaders,task_id,summary_result)","_computeBusy(_busyArr.*)"],_computeBusy:functio n(){for(var s=0;s<this._busyArr.length;s++)if(this._busyArr[s].status)return!0;r eturn!1},_fetchRest:function(s,r,t){if(s&&r&&t){var e=t.try_number;this.set("_bu syArr",[]),this.set("_results",[]);for(var u=r.substring(0,r.length-1),i="/api/s warming/v1/task/",a=0;a<e-1;a++){var n=u+(a+1);this.splice("_busyArr",a,0,{}),th is.splice("_results",a,0,{task_id:n}),this._getJsonAsyncArr(a,"_results",i+n+"/r esult","_busyArr",s)}t.task_id=u+e,this.splice("_results",e-1,1,t)}}})</script> </dom-module><dom-module id="task-page" assetpath="/res/imp/taskpage/"> <templat e> <style include="iron-flex iron-flex-alignment swarming-app-style single-page- style task-style">.milo{width:calc(100% - 11px);height:2000px}.right{margin-top: 8px}.break-all{word-break:break-all}.expand{min-width:3em;vertical-align:middle; padding:.5em}.code{font-family:monospace}.stdout{white-space:pre-wrap;padding:2p x}.stdout.wide{white-space:pre;overflow-x:auto}.refresh_input{padding:0 5px}.rep roduce{margin-left:5px}.tabbed{border:3px solid #1F78B4;margin-left:5px;min-heig ht:80vh;min-width:550px}.task-info{min-width:500px}.cipd-header{-moz-user-select :none;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-weight :700;margin-left:8px}.full-width{min-width:100%}.full-width-container{position:r elative}.full-width-container>paper-checkbox{position:absolute;bottom:10px;width :140px;left:5px}</style> <url-param name="id" value="{{task_id}}"> </url-param> <url-param name="try_detail" value="{{_try_detail}}"> </url-param> <url-param na me="request_detail" value="{{_request_detail}}"> </url-param> <url-param name="s how_raw" value="{{_show_raw}}"> </url-param> <url-param name="wide_logs" value=" {{_wide_logs}}"> </url-param> <url-param name="refresh" value="{{_refresh_interv al}}" default_value="10"> </url-param> <swarming-app client_id="[[client_id]]" a uth_headers="{{_auth_headers}}" permissions="{{_permissions}}" profile="{{_profi le}}" server_details="{{_server_details}}" signed_in="{{_signed_in}}" busy="[[_o r(_busy1,busy2)]]" name="Swarming Task Page"> <h2 hidden$="[[_signed_in]]">You m ust sign in to see anything useful.</h2> <div hidden$="[[_not(_signed_in)]]"> <t ask-page-data id="data" auth_headers="[[_auth_headers]]" task_id="[[task_id]]" b usy="{{_busy1}}" request="{{_request}}" result="{{_result}}" stdout="{{_stdout}} " task_exists="{{_task_exists}}"> </task-page-data> <div class="horizontal layou t wrap"> <div class="left flex"> <div class="horizontal layout"> <paper-input cl ass="id_input" label="Task id" value="{{task_id}}"></paper-input> <button on-cli ck="_refresh"> <iron-icon class="refresh" icon="icons:refresh"></iron-icon> </bu tton> <button on-click="_promptRetry">Retry</button> <template is="dom-if" if="[ [_canCancelTask(_result,_permissions)]]"> <button on-click="_promptCancel">Cance l</button> </template> </div> <h2 hidden$="[[_task_exists]]">Task not found.</h2 > <template is="dom-if" if="[[_disambiguate(task_id,_result)]]"> <h2>Displaying a summary for a task with multiple tries</h2> <task-disambiguation busy="{{busy2 }}" auth_headers="[[_auth_headers]]" task_id="[[task_id]]" summary_result="[[_re sult]]"> </task-disambiguation> </template> <table class="task-info" hidden$="[[ _not(_task_exists)]]"> <tbody> <tr> <td>Name</td> <td>[[_request.name]]</td> </t r> <tr> <td>State</td> <td class$="[[_stateClass(_result)]]">[[state(_result)]]< /td> </tr> <tr> <td>Created</td> <td title$="[[_request.created_ts]]">[[_request .human_created_ts]]</td> </tr> <template is="dom-if" if="[[_wasPickedUp(_result) ]]"> <tr> <td>Started</td> <td title$="[[_result.started_ts]]">[[_result.human_s tarted_ts]]</td> </tr> </template> <template is="dom-if" if="[[_wasNotPickedUp(_ result)]]"> <tr> <td>Expires</td> <td>[[_expires(_request)]]</td> </tr> </templa te> <template is="dom-if" if="[[_result.human_completed_ts]]"> <tr> <td>Complete d</td> <td title$="[[_result.completed_ts]]">[[_result.human_completed_ts]]</td> </tr> </template> <template is="dom-if" if="[[_result.human_abandoned_ts]]"> <t r> <td>Abandoned</td> <td title$="[[_result.abandoned_ts]]">[[_result.human_aban doned_ts]]</td> </tr> </template> <tr> <td>Last Updated</td> <td title$="[[_resu lt.modified_ts]]">[[_result.human_modified_ts]]</td> </tr> <template is="dom-if" if="[[_result.deduped_from]]"> <tr> <td><b>Deduped from</b></td> <td> <a href$= "[[_taskLink(_result.deduped_from)]]"> [[_result.deduped_from]] </a> </td> </tr> </template> <tr> <td>Pending Time</td> <td>[[_pending(_result)]]</td> </tr> <tr > <td>Duration</td> <td>[[_result.human_duration]]</td> </tr> <tr> <td>Priority< /td> <td>[[_request.priority]]</td> </tr> <tr> <td>User</td> <td>[[_request.user ]]</td> </tr> <tr> <td>Authenticated</td> <td>[[_request.authenticated]]</td> </ tr> <template is="dom-if" if="[[_request.service_account]]"> <tr> <td>Service Ac count</td> <td>[[_request.service_account]]</td> </tr> </template> <template is= "dom-if" if="[[_request.properties.secret_bytes]]"> <tr> <td>Secret Bytes</td> < td>[[_request.properties.secret_bytes]]</td> </tr> </template> <template is="dom -if" if="[[_request.parent_task_id]]"> <tr> <td>Parent Task</td> <td> <a href$=" [[_taskLink(_request.parent_task_id)]]">[[_request.parent_task_id]]</a> </td> </ tr> </template> <tr> <td rowspan$="[[_rowspan(_request.properties.dimensions)]]" > <a title="The list of bots that matches the list of dimensions" href$="[[_botL istLink(_request.properties.dimensions)]]"> Requested Dimensions </a> </td> </tr > <template is="dom-repeat" items="{{_request.properties.dimensions}}" as="dimen sion"> <tr> <td><b>[[dimension.key]]:</b> [[_alias(dimension)]]</td> </tr> </tem plate> <tr> <td>Isolated Inputs</td> <td> <a href$="[[_isolateLink(_request.prop erties.inputs_ref)]]"> [[_request.properties.inputs_ref.isolated]] </a> </td> </ tr> <template is="dom-if" if="[[_request.properties.outputs.length]]"> <tr> <td rowspan$="[[_rowspan(_request.properties.outputs)]]">Expected outputs</td> </tr> <template is="dom-repeat" items="{{_request.properties.outputs}}" as="output"> <tr> <td>[[output]]</td> </tr> </template> </template> <template is="dom-if" if= "[[_not(_request_detail)]]"> <tr> <td>More Details</td> <td> <button on-click="_ toggleDetails"> <iron-icon icon="icons:add-circle-outline"></iron-icon> </button > </td> </tr> </template> <template is="dom-if" if="[[_request_detail]]"> <tr> < td>Hide Details</td> <td> <button on-click="_toggleDetails"> <iron-icon icon="ic ons:remove-circle-outline"></iron-icon> </button> </td> </tr> </template> </tbod y> <tbody id="more_details" hidden$="[[!_request_detail]]"> <tr> <td>Extra Args< /td> <td class="code break-all">[[_extraArgs(_request)]]</td> </tr> <tr> <td>Com mand</td> <td class="code break-all">[[_command(_request)]]</td> </tr> <tr> <td> Idempotent</td> <td>[[_request.properties.idempotent]]</td> </tr> <tr> <td rowsp an$="[[_rowspan(_request.tags)]]">Tags</td> </tr> <template is="dom-repeat" item s="{{_request.tags}}" as="tag"> <tr> <td class="break-all">[[tag]]</td> </tr> </ template> <tr> <td>Execution timeout</td> <td>[[_humanDuration(_request.properti es.execution_timeout_secs)]]</td> </tr> <tr> <td>I/O timeout</td> <td>[[_humanDu ration(_request.properties.io_timeout_secs)]]</td> </tr> <tr> <td>Grace period</ td> <td>[[_humanDuration(_request.properties.grace_period_secs)]]</td> </tr> <tr > <td>CIPD server</td> <td> <a href$="[[_request.properties.cipd_input.server]]" > [[_request.properties.cipd_input.server]] </a> </td> </tr> <tr> <td>CIPD versi on</td> <td class="break-all">[[_request.properties.cipd_input.client_package.ve rsion]]</td> </tr> <template is="dom-if" if="[[_wasPickedUp(_result)]]"> <tr> <t d>CIPD package name</td> <td>[[_result.cipd_pins.client_package.package_name]]</ td> </tr> </template> <tr hidden$="[[_not(_request.properties.cipd_input)]]"> <t d rowspan$="[[_cipdRowspan(_request,_result)]]">CIPD packages</td> </tr> <templa te is="dom-repeat" items="[[_cipdPackages(_request,_result)]]" as="cipd"> <tr> < td>[[cipd.path]]/</td> </tr> <tr> <td class="break-all"> <span class="cipd-heade r">Requested: </span>[[cipd.requested]] </td> </tr> <tr hidden$="[[!_hasActualCI PDPackages(_result)]]"> <td class="break-all"> <span class="cipd-header">Actual: </span>[[cipd.actual]] </td> </tr> </template> <tr hidden$="[[_empty(_request.p roperties.caches)]]"> <td rowspan$="[[_rowspan(_request.properties.caches)]]">Na med caches</td> </tr> <template is="dom-repeat" items="[[_request.properties.cac hes]]" as="cache"> <tr> <td><span>[[cache.name]]</span>:<span>[[cache.path]]</sp an></td> </tr> </template> </tbody> </table> <div class="title" hidden$="[[_not( _task_exists)]]">Task Execution</div> <template is="dom-if" if="[[_wasPickedUp(_ result)]]"> <table hidden$="[[_not(_task_exists)]]"> <tbody><tr> <td>Bot assigne d to task</td> <td><a href$="[[_botLink(_result.bot_id)]]">[[_result.bot_id]]</a ></td> </tr> <tr> <td rowspan$="[[_rowspan(_result.bot_dimensions)]]"> <a>Bot Di mensions</a> </td> </tr> <template is="dom-repeat" items="[[_result.bot_dimensio ns]]" as="dimension"> <tr> <td><b>[[dimension.key]]:</b> [[_alias(dimension)]]</ td> </tr> </template> <tr> <td>Exit code</td> <td>[[_result.exit_code]]</td> </t r> <tr> <td>Try number</td> <td>[[_result.try_number]]</td> </tr> <tr> <td>Failu re</td> <td class$="[[_failureClass(_result.failure)]]">[[_result.failure]]</td> </tr> <tr> <td>Internal Failure</td> <td class$="[[_internalClass(_result.inter nal_failure)]]">[[_result.internal_failure]]</td> </tr> <tr> <td>Isolated Output s</td> <td> <a href$="[[_isolateLink(_result.outputs_ref)]]"> [[_result.outputs_ ref.isolated]] </a> </td> </tr> <tr> <td>Bot version</td> <td>[[_result.bot_vers ion]]</td> </tr> <tr> <td>Server version</td> <td>[[_result.server_versions]]</t d> </tr> </tbody></table> </template> <template is="dom-if" if="[[_wasNotPickedU p(_result)]]"> This space left blank until a bot is assigned to the task. </temp late> <template is="dom-if" if="[[_result.performance_stats]]"> <div class="titl e">Performance Stats</div> <table> <tbody><tr> <td title="This includes time tak en to download inputs, isolate outputs, and setup CIPD">Total Overhead</td> <td> [[_humanDuration(_result.performance_stats.bot_overhead)]]</td> </tr> <tr> <td>D ownloading Inputs From Isolate</td> <td>[[_humanDuration(_result.performance_sta ts.isolated_download.duration)]]</td> </tr> <tr> <td>Uploading Outputs To Isolat e</td> <td>[[_humanDuration(_result.performance_stats.isolated_upload.duration)] ]</td> </tr> <tr hidden$="[[!_result.performance_stats.isolated_download.initial _size]]"> <td>Initial bot cache</td> <td>[[_result.performance_stats.isolated_do wnload.initial_number_items]] items; [[_bytes(_result.performance_stats.isolated _download.initial_size)]]</td> </tr> </tbody></table> </template> <div hidden$=" [[_not(_task_exists)]]"> <div class="title">Reproducing the task locally</div> < div class="reproduce"> <div>Download inputs files into directory <i>foo</i>:</di v> <div class="code"> python isolateserver.py download -I [[_request.properties. inputs_ref.isolatedserver]] --namespace [[_request.properties.inputs_ref.namespa ce]] -s [[_request.properties.inputs_ref.isolated]] --target foo</div> <br> <div >Run this task locally:</div> <div class="code"> python swarming.py reproduce -S [[_host_url]] [[task_id]]</div> <br> <div>Download output results into director y <i>foo</i>:</div> <div class="code"> python swarming.py collect -S [[_host_url ]] --task-output-dir=foo [[task_id]]</div> <br> <div>Looking for <i>swarming.py< /i>?</div> <div class="code"> git clone https://github.com/luci/client-py</div> </div> </div> </div> <div class$="flex right [[_classRight(_wide_logs)]]" hidden $="[[_not(_task_exists)]]"> <div class="horizontal layout"> <div class="tabs"> < paper-tabs selected="{{_show_raw}}" no-bar=""> <paper-tab disabled$="[[_noMilo(_ request)]]">Milo Output</paper-tab> <paper-tab>Raw Output</paper-tab> </paper-ta bs> </div> <paper-input class="refresh_input" label="Refresh Interval (seconds)" value="{{_refresh_interval}}" title="How often to refresh all information about the task" auto-validate="" min="1" max="1000" pattern="[0-9]+"> </paper-input> <div class="full-width-container"> <paper-checkbox checked="{{_wide_logs}}"> Ful l Width Logs </paper-checkbox> </div> </div> <template is="dom-if" if="[[_suppor tsMilo(_request,_show_raw)]]"> <div class="milo tabbed" hidden$="[[_isSummaryLin k(task_id)]]"> Milo results are only generated for task summaires, that is, task s whose ids end in 0. Tasks ending in 1 or 2 represent possible retries of tasks . See <a href="//goo.gl/LE4rwV">the docs</a> for more. </div> <iframe id="miloFr ame" class="milo tabbed" src$="[[_getDisplayServerLink(_server_details.display_s erver_url_template,task_id)]]"></iframe> </template> <template is="dom-if" if="[ [_show_raw]]"> <div class$="code stdout tabbed break-all [[_classStdout(_wide_lo gs)]]">[[_rawOutput(_stdout,_result)]]</div> </template> </div> </div> </div> </ swarming-app> <paper-dialog id="prompt" modal="" on-iron-overlay-closed="_prompt Closed"> <h2>Are you sure?</h2> <div>Are you sure you want to [[_dialog_prompt]] ?</div> <div class="buttons"> <paper-button dialog-dismiss="" autofocus="">No</p aper-button> <paper-button dialog-confirm="">Yes</paper-button> </div> </paper-d ialog> <interval-timer period="[[_refresh_interval]]" on-trigger="_softRefresh"> </interval-timer> </template> <script>!function(){Polymer({is:"task-page",behav iors:[SwarmingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],propertie s:{task_id:{type:String},client_id:{type:String},_dialog_prompt:{type:String,val ue:""},_host_url:{type:String,value:function(){return window.location.hostname}} ,_refresh_interval:{type:Number},_request:{type:Object,observer:"_requestUpdated "},_request_detail:{type:Boolean},_result:{type:Object},_server_details:{type:Ob ject},_stdout:{type:String}},_alias:function(t){var e=t.value;return Array.isArr ay(e)||(e=[e]),swarming.alias.has(t.key)&&e.forEach(function(i,s){e[s]=swarming. alias.apply(i,t.key)}),e.join(" | ")},_bytes:function(t){return sk.human.bytes(t )},_canCancelTask:function(t,e){return t&&"PENDING"===t.state&&e.cancel_task},_c ancelTask:function(){var t="/api/swarming/v1/task/"+this.task_id+"/cancel";swarm ing.postWithToast(t,"Canceling task "+this.task_id,this._auth_headers)},_cipdRow span:function(t,e){if(!t||!t.properties||!t.properties.cipd_input)return 0;var i =(t.properties.cipd_input.packages||[]).length;return i*=this._hasActualCIPDPack ages(e)?3:2,i+1},_cipdPackages:function(t,e){if(!t||!t.properties||!t.properties .cipd_input)return[];var i=t.properties.cipd_input.packages||[],s=e&&e.cipd_pins &&e.cipd_pins.packages||[];return i.forEach(function(t){t.requested=t.package_na me+":"+t.version,s.forEach(function(e){e.path===t.path&&(t.actual=e.package_name +":"+e.version)})}),i},_classRight:function(t){return t?"full-width":""},_classS tdout:function(t){return t?"wide":""},_command:function(t){if(!t||!t.properties) return"";var e=t.properties.command||[];return e.join(" ")},_disambiguate:functi on(t,e){return!(!t.endsWith("0")||!e)&&e.try_number>1},_empty:function(t){return !t||0==t.length},_expires:function(t){var e=parseInt(t.expiration_secs);return e ?sk.human.localeTime(new Date(t.created_ts.getTime()+1e3*e)):t.expiration_secs+" seconds from created time"},_extraArgs:function(t){if(!t||!t.properties)return" ";var e=t.properties.extra_args||[];return e.join(" ")},_failureClass:function(t ){return t?"failed_task":""},_getDisplayServerLink:function(t,e){if(t)return t.r eplace("%s",e)},_hasActualCIPDPackages:function(t){return t&&t.cipd_pins&&t.cipd _pins.packages},_internalClass:function(t){return t?"exception":""},_isolateLink :function(t){if(t&&t.isolatedserver)return t.isolatedserver+"/browse?namespace=" +t.namespace+"&hash="+t.isolated},_isSummaryLink:function(t){return t&&t.endsWit h(0)},_noMilo:function(t){return!this._tag(t,"allow_milo")},_pending:function(t) {if(!t.created_ts)return"";var e=t.started_ts||t.abandoned_ts||new Date;return e <=t.created_ts?"0s":this._timeDiffExact(t.created_ts,e)},_promptClosed:function( t){t.detail.confirmed&&(this._dialog_prompt.startsWith("cancel")?this._cancelTas k():this._retryTask())},_promptCancel:function(){this.set("_dialog_prompt","canc el task "+this.task_id),this.$.prompt.open()},_promptRetry:function(){this.set(" _dialog_prompt","retry task "+this.task_id),this.$.prompt.open()},_rawOutput:fun ction(t,e){return t?t:"PENDING"===e.state||"RUNNING"===e.state?"[No output yet]" :"[No output received]"},_refresh:function(){this.$.data.reload()},_requestUpdat ed:function(t){this._noMilo(t)&&this.set("_show_raw",1)},_softRefresh:function() {if(!this._result||"RUNNING"===this._result.state||"PENDING"===this._result.stat e){this.$.data.reload();var t=this.$$("iframe");t&&(t.src=this._getDisplayServer Link(this._server_details.display_server_url_template,this.task_id))}},_retryTas k:function(){if(!this._request)return void sk.errorMessage("Task not yet loaded" ,3e3);var t={expiration_secs:this._request.expiration_secs,name:this._request.na me+" (retry)",parent_task_id:this._request.parent_task_id,priority:this._request .priority,properties:this._request.properties,tags:this._request.tags,user:this. _profile.email,service_account:this._request.service_account};t.properties.idemp otent=!1,swarming.postWithToast("/api/swarming/v1/tasks/new","Retrying task "+th is.task_id,this._auth_headers,t).then(function(t){if(t=JSON.parse(t),t&&t.task_i d){var e={id:this.task_id};history.pushState(e,"Task Page"),this.set("task_id",t .task_id)}}.bind(this),function(t){console.log("Task could not be retried",t)})} ,_rowspan:function(t){return t=t||[],t.length+1},_supportsMilo:function(t,e){ret urn!e&&t&&this._tag(t,"allow_milo")},_toggleDetails:function(){this.set("_reques t_detail",!this._request_detail)},_tag:function(t,e){if(t&&t.tagMap)return t.tag Map[e]},_wasPickedUp:function(t){return t&&t.state!==this.PENDING&&t.state!==thi s.CANCELED&&t.state!=this.EXPIRED},_wasNotPickedUp:function(t){return t&&!this._ wasPickedUp(t)}})}()</script> </dom-module> </div></body></html> 1142 })(); </script> </dom-module><dom-module id="interval-timer" assetpath="/res/i mp/common/"> <script>!function(){Polymer({is:"interval-timer",properties:{period :{type:Number,value:-1,observer:"_periodChanged"}},_periodChanged:function(e){th is._timeout&&window.clearTimeout(this._timeout),e>0&&(this._timeout=window.setTi meout(function(){this.fire("trigger"),this._periodChanged(e)}.bind(this),1e3*e)) }})}()</script> </dom-module> <dom-module id="task-page-data" assetpath="/res/im p/taskpage/"> <script>!function(){var t,e=400,s=["abandoned_ts","completed_ts"," created_ts","modified_ts","started_ts"];Polymer({is:"task-page-data",behaviors:[ SwarmingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{aut h_headers:{type:Object},task_id:{type:String},busy:{type:Boolean,computed:"_or(_ busy1,_busy2,_busy3)",notify:!0},request:{type:Object,computed:"_parseRequest(_r equest)",notify:!0},result:{type:Object,computed:"_parseResult(_result)",notify: !0},stdout:{type:String,computed:"_parseStdout(_stdout)",notify:!0},task_exists: {type:Boolean,value:!0,notify:!0},_busy1:{type:Boolean,value:!1},_busy2:{type:Bo olean,value:!1},_busy3:{type:Boolean,value:!1},_request:{type:Object},_result:{t ype:Object},_stdout:{type:Object}},observers:["reload(auth_headers,task_id)"],re load:function(){if(!this.task_id||!this.auth_headers)return void console.log("ta sk_id and auth_headers can't be empty");t&&this.cancelAsync(t);var s="/api/swarm ing/v1/task/"+this.task_id;t=this.async(function(){t=void 0;var e=this._getJsonA sync("_request",s+"/request","_busy1",this.auth_headers);e.then(function(){this. set("task_exists",!0)}.bind(this)).catch(function(t){404===t.status?this.set("ta sk_exists",!1):sk.errorMessage("Http response: "+(t.status||" ")+" "+t.response) }.bind(this)),this._getJsonAsync("_result",s+"/result?include_performance_stats= true","_busy2",this.auth_headers),this.reloadStdout()},e)},_parseRequest:functio n(t){return t?(t.tagMap={},t.tags=t.tags||[],t.tags.forEach(function(e){var s=e. split(":",1),a=s[0],u=e.substring(a.length+1);t.tagMap[a]=u}),s.forEach(function (e){t[e]&&(t[e]=new Date(t[e]),t["human_"+e]=sk.human.localeTime(t[e]))}),t):{}} ,_parseResult:function(t){if(!t)return{};var e=new Date;return s.forEach(functio n(e){t[e]&&(t[e]=new Date(t[e]),t["human_"+e]=sk.human.localeTime(t[e]))}),!t.du ration&&t.state===this.RUNNING&&t.started_ts&&(t.duration=(e-t.started_ts)/1e3), t.duration&&(t.human_duration=this._humanDuration(t.duration)),t},_parseStdout:f unction(t){return t&&t.output?t.output:""},reloadStdout:function(){this._getJson Async("_stdout","/api/swarming/v1/task/"+this.task_id+"/stdout","_busy3",this.au th_headers)}})}()</script> </dom-module><dom-module id="task-disambiguation" ass etpath="/res/imp/taskpage/"> <template> <style include="swarming-app-style singl e-page-style task-style"></style> <table> <thead> <tr> <th>Try ID</th> <th>Bot I D</th> <th>Status</th> </tr> </thead> <tbody> <template id="result_list" is="dom -repeat" items="[[_results]]" as="result" observe="task_id bot_id state"> <tr> < td> <a href$="[[_taskLink(result.task_id,'true')]]"> [[result.task_id]] </a> </t d> <td> <a href$="[[_botLink(result.bot_id)]]"> [[result.bot_id]] </a> </td> <td class$="[[_stateClass(result)]]">[[state(result)]]</td> </tr> </template> </tbo dy> </table> </template> <script>Polymer({is:"task-disambiguation",behaviors:[Sw armingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],properties:{auth_ headers:{type:Object},summary_result:{type:Object},task_id:{type:String},busy:{t ype:Boolean,value:!1,notify:!0},_busyArr:{type:Array,value:function(){return[]}} ,_results:{type:Array,value:function(){return[]}}},observers:["_fetchRest(auth_h eaders,task_id,summary_result)","_computeBusy(_busyArr.*)"],_computeBusy:functio n(){for(var s=0;s<this._busyArr.length;s++)if(this._busyArr[s].status)return!0;r eturn!1},_fetchRest:function(s,r,t){if(s&&r&&t){var e=t.try_number;this.set("_bu syArr",[]),this.set("_results",[]);for(var u=r.substring(0,r.length-1),i="/api/s warming/v1/task/",a=0;a<e-1;a++){var n=u+(a+1);this.splice("_busyArr",a,0,{}),th is.splice("_results",a,0,{task_id:n}),this._getJsonAsyncArr(a,"_results",i+n+"/r esult","_busyArr",s)}t.task_id=u+e,this.splice("_results",e-1,1,t)}}})</script> </dom-module><dom-module id="task-page" assetpath="/res/imp/taskpage/"> <templat e> <style include="iron-flex iron-flex-alignment swarming-app-style single-page- style task-style">.milo{width:calc(100% - 11px);height:2000px}.right{margin-top: 8px}.break-all{word-break:break-all}.expand{min-width:3em;vertical-align:middle; padding:.5em}.code{font-family:monospace}.stdout{white-space:pre-wrap;padding:2p x}.stdout.wide{white-space:pre;overflow-x:auto}.refresh_input{padding:0 5px}.rep roduce{margin-left:5px}.tabbed{border:3px solid #1F78B4;margin-left:5px;min-heig ht:80vh;min-width:550px}.task-info{min-width:500px}.cipd-header{-moz-user-select :none;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-weight :700;margin-left:8px}.full-width{min-width:100%}.full-width-container{position:r elative}.full-width-container>paper-checkbox{position:absolute;bottom:10px;width :140px;left:5px}</style> <url-param name="id" value="{{task_id}}"> </url-param> <url-param name="try_detail" value="{{_try_detail}}"> </url-param> <url-param na me="request_detail" value="{{_request_detail}}"> </url-param> <url-param name="s how_raw" value="{{_show_raw}}"> </url-param> <url-param name="wide_logs" value=" {{_wide_logs}}"> </url-param> <url-param name="refresh" value="{{_refresh_interv al}}" default_value="10"> </url-param> <swarming-app client_id="[[client_id]]" a uth_headers="{{_auth_headers}}" permissions="{{_permissions}}" profile="{{_profi le}}" server_details="{{_server_details}}" signed_in="{{_signed_in}}" busy="[[_o r(_busy1,busy2)]]" name="Swarming Task Page"> <h2 hidden$="[[_signed_in]]">You m ust sign in to see anything useful.</h2> <div hidden$="[[_not(_signed_in)]]"> <t ask-page-data id="data" auth_headers="[[_auth_headers]]" task_id="[[task_id]]" b usy="{{_busy1}}" request="{{_request}}" result="{{_result}}" stdout="{{_stdout}} " task_exists="{{_task_exists}}"> </task-page-data> <div class="horizontal layou t wrap"> <div class="left flex"> <div class="horizontal layout"> <paper-input cl ass="id_input" label="Task id" value="{{task_id}}"></paper-input> <button on-cli ck="_refresh"> <iron-icon class="refresh" icon="icons:refresh"></iron-icon> </bu tton> <button on-click="_promptRetry">Retry</button> <template is="dom-if" if="[ [_canCancelTask(_result,_permissions)]]"> <button on-click="_promptCancel">Cance l</button> </template> </div> <h2 hidden$="[[_task_exists]]">Task not found.</h2 > <template is="dom-if" if="[[_disambiguate(task_id,_result)]]"> <h2>Displaying a summary for a task with multiple tries</h2> <task-disambiguation busy="{{busy2 }}" auth_headers="[[_auth_headers]]" task_id="[[task_id]]" summary_result="[[_re sult]]"> </task-disambiguation> </template> <table class="task-info" hidden$="[[ _not(_task_exists)]]"> <tbody> <tr> <td>Name</td> <td>[[_request.name]]</td> </t r> <tr> <td>State</td> <td class$="[[_stateClass(_result)]]">[[state(_result)]]< /td> </tr> <tr> <td>Created</td> <td title$="[[_request.created_ts]]">[[_request .human_created_ts]]</td> </tr> <template is="dom-if" if="[[_wasPickedUp(_result) ]]"> <tr> <td>Started</td> <td title$="[[_result.started_ts]]">[[_result.human_s tarted_ts]]</td> </tr> </template> <template is="dom-if" if="[[_wasNotPickedUp(_ result)]]"> <tr> <td>Expires</td> <td>[[_expires(_request)]]</td> </tr> </templa te> <template is="dom-if" if="[[_result.human_completed_ts]]"> <tr> <td>Complete d</td> <td title$="[[_result.completed_ts]]">[[_result.human_completed_ts]]</td> </tr> </template> <template is="dom-if" if="[[_result.human_abandoned_ts]]"> <t r> <td>Abandoned</td> <td title$="[[_result.abandoned_ts]]">[[_result.human_aban doned_ts]]</td> </tr> </template> <tr> <td>Last Updated</td> <td title$="[[_resu lt.modified_ts]]">[[_result.human_modified_ts]]</td> </tr> <template is="dom-if" if="[[_result.deduped_from]]"> <tr> <td><b>Deduped from</b></td> <td> <a href$= "[[_taskLink(_result.deduped_from)]]"> [[_result.deduped_from]] </a> </td> </tr> </template> <tr> <td>Pending Time</td> <td>[[_pending(_result)]]</td> </tr> <tr > <td>Duration</td> <td>[[_result.human_duration]]</td> </tr> <tr> <td>Priority< /td> <td>[[_request.priority]]</td> </tr> <tr> <td>User</td> <td>[[_request.user ]]</td> </tr> <tr> <td>Authenticated</td> <td>[[_request.authenticated]]</td> </ tr> <template is="dom-if" if="[[_request.service_account]]"> <tr> <td>Service Ac count</td> <td>[[_request.service_account]]</td> </tr> </template> <template is= "dom-if" if="[[_request.properties.secret_bytes]]"> <tr> <td>Secret Bytes</td> < td>[[_request.properties.secret_bytes]]</td> </tr> </template> <template is="dom -if" if="[[_request.parent_task_id]]"> <tr> <td>Parent Task</td> <td> <a href$=" [[_taskLink(_request.parent_task_id)]]">[[_request.parent_task_id]]</a> </td> </ tr> </template> <tr> <td rowspan$="[[_rowspan(_request.properties.dimensions)]]" > <a title="The list of bots that matches the list of dimensions" href$="[[_botL istLink(_request.properties.dimensions)]]"> Requested Dimensions </a> </td> </tr > <template is="dom-repeat" items="{{_request.properties.dimensions}}" as="dimen sion"> <tr> <td><b>[[dimension.key]]:</b> [[_alias(dimension)]]</td> </tr> </tem plate> <tr> <td>Isolated Inputs</td> <td> <a href$="[[_isolateLink(_request.prop erties.inputs_ref)]]"> [[_request.properties.inputs_ref.isolated]] </a> </td> </ tr> <template is="dom-if" if="[[_request.properties.outputs.length]]"> <tr> <td rowspan$="[[_rowspan(_request.properties.outputs)]]">Expected outputs</td> </tr> <template is="dom-repeat" items="{{_request.properties.outputs}}" as="output"> <tr> <td>[[output]]</td> </tr> </template> </template> <template is="dom-if" if= "[[_not(_request_detail)]]"> <tr> <td>More Details</td> <td> <button on-click="_ toggleDetails"> <iron-icon icon="icons:add-circle-outline"></iron-icon> </button > </td> </tr> </template> <template is="dom-if" if="[[_request_detail]]"> <tr> < td>Hide Details</td> <td> <button on-click="_toggleDetails"> <iron-icon icon="ic ons:remove-circle-outline"></iron-icon> </button> </td> </tr> </template> </tbod y> <tbody id="more_details" hidden$="[[!_request_detail]]"> <tr> <td>Extra Args< /td> <td class="code break-all">[[_extraArgs(_request)]]</td> </tr> <tr> <td>Com mand</td> <td class="code break-all">[[_command(_request)]]</td> </tr> <tr> <td> Idempotent</td> <td>[[_request.properties.idempotent]]</td> </tr> <tr> <td rowsp an$="[[_rowspan(_request.tags)]]">Tags</td> </tr> <template is="dom-repeat" item s="{{_request.tags}}" as="tag"> <tr> <td class="break-all">[[tag]]</td> </tr> </ template> <tr> <td>Execution timeout</td> <td>[[_humanDuration(_request.properti es.execution_timeout_secs)]]</td> </tr> <tr> <td>I/O timeout</td> <td>[[_humanDu ration(_request.properties.io_timeout_secs)]]</td> </tr> <tr> <td>Grace period</ td> <td>[[_humanDuration(_request.properties.grace_period_secs)]]</td> </tr> <tr > <td>CIPD server</td> <td> <a href$="[[_request.properties.cipd_input.server]]" > [[_request.properties.cipd_input.server]] </a> </td> </tr> <tr> <td>CIPD versi on</td> <td class="break-all">[[_request.properties.cipd_input.client_package.ve rsion]]</td> </tr> <template is="dom-if" if="[[_wasPickedUp(_result)]]"> <tr> <t d>CIPD package name</td> <td>[[_result.cipd_pins.client_package.package_name]]</ td> </tr> </template> <tr hidden$="[[_not(_request.properties.cipd_input)]]"> <t d rowspan$="[[_cipdRowspan(_request,_result)]]">CIPD packages</td> </tr> <templa te is="dom-repeat" items="[[_cipdPackages(_request,_result)]]" as="cipd"> <tr> < td>[[cipd.path]]/</td> </tr> <tr> <td class="break-all"> <span class="cipd-heade r">Requested: </span>[[cipd.requested]] </td> </tr> <tr hidden$="[[!_hasActualCI PDPackages(_result)]]"> <td class="break-all"> <span class="cipd-header">Actual: </span>[[cipd.actual]] </td> </tr> </template> <tr hidden$="[[_empty(_request.p roperties.caches)]]"> <td rowspan$="[[_rowspan(_request.properties.caches)]]">Na med caches</td> </tr> <template is="dom-repeat" items="[[_request.properties.cac hes]]" as="cache"> <tr> <td><span>[[cache.name]]</span>:<span>[[cache.path]]</sp an></td> </tr> </template> </tbody> </table> <div class="title" hidden$="[[_not( _task_exists)]]">Task Execution</div> <template is="dom-if" if="[[_wasPickedUp(_ result)]]"> <table hidden$="[[_not(_task_exists)]]"> <tbody><tr> <td>Bot assigne d to task</td> <td><a href$="[[_botLink(_result.bot_id)]]">[[_result.bot_id]]</a ></td> </tr> <tr> <td rowspan$="[[_rowspan(_result.bot_dimensions)]]"> <a>Bot Di mensions</a> </td> </tr> <template is="dom-repeat" items="[[_result.bot_dimensio ns]]" as="dimension"> <tr> <td><b>[[dimension.key]]:</b> [[_alias(dimension)]]</ td> </tr> </template> <tr> <td>Exit code</td> <td>[[_result.exit_code]]</td> </t r> <tr> <td>Try number</td> <td>[[_result.try_number]]</td> </tr> <tr> <td>Failu re</td> <td class$="[[_failureClass(_result.failure)]]">[[_result.failure]]</td> </tr> <tr> <td>Internal Failure</td> <td class$="[[_internalClass(_result.inter nal_failure)]]">[[_result.internal_failure]]</td> </tr> <tr> <td>Isolated Output s</td> <td> <a href$="[[_isolateLink(_result.outputs_ref)]]"> [[_result.outputs_ ref.isolated]] </a> </td> </tr> <tr> <td>Bot version</td> <td>[[_result.bot_vers ion]]</td> </tr> <tr> <td>Server version</td> <td>[[_result.server_versions]]</t d> </tr> </tbody></table> </template> <template is="dom-if" if="[[_wasNotPickedU p(_result)]]"> This space left blank until a bot is assigned to the task. </temp late> <template is="dom-if" if="[[_result.performance_stats]]"> <div class="titl e">Performance Stats</div> <table> <tbody><tr> <td title="This includes time tak en to download inputs, isolate outputs, and setup CIPD">Total Overhead</td> <td> [[_humanDuration(_result.performance_stats.bot_overhead)]]</td> </tr> <tr> <td>D ownloading Inputs From Isolate</td> <td>[[_humanDuration(_result.performance_sta ts.isolated_download.duration)]]</td> </tr> <tr> <td>Uploading Outputs To Isolat e</td> <td>[[_humanDuration(_result.performance_stats.isolated_upload.duration)] ]</td> </tr> <tr hidden$="[[!_result.performance_stats.isolated_download.initial _size]]"> <td>Initial bot cache</td> <td>[[_result.performance_stats.isolated_do wnload.initial_number_items]] items; [[_bytes(_result.performance_stats.isolated _download.initial_size)]]</td> </tr> </tbody></table> </template> <div hidden$=" [[_not(_task_exists)]]"> <div class="title">Reproducing the task locally</div> < div class="reproduce"> <div>Download inputs files into directory <i>foo</i>:</di v> <div class="code"> python isolateserver.py download -I [[_request.properties. inputs_ref.isolatedserver]] --namespace [[_request.properties.inputs_ref.namespa ce]] -s [[_request.properties.inputs_ref.isolated]] --target foo</div> <br> <div >Run this task locally:</div> <div class="code"> python swarming.py reproduce -S [[_host_url]] [[task_id]]</div> <br> <div>Download output results into director y <i>foo</i>:</div> <div class="code"> python swarming.py collect -S [[_host_url ]] --task-output-dir=foo [[task_id]]</div> <br> <div>Looking for <i>swarming.py< /i>?</div> <div class="code"> git clone https://github.com/luci/client-py</div> </div> </div> </div> <div class$="flex right [[_classRight(_wide_logs)]]" hidden $="[[_not(_task_exists)]]"> <div class="horizontal layout"> <div class="tabs"> < paper-tabs selected="{{_show_raw}}" no-bar=""> <paper-tab disabled$="[[_noMilo(_ request)]]">Milo Output</paper-tab> <paper-tab>Raw Output</paper-tab> </paper-ta bs> </div> <paper-input class="refresh_input" label="Refresh Interval (seconds)" value="{{_refresh_interval}}" title="How often to refresh all information about the task" auto-validate="" min="1" max="1000" pattern="[0-9]+"> </paper-input> <div class="full-width-container"> <paper-checkbox checked="{{_wide_logs}}"> Ful l Width Logs </paper-checkbox> </div> </div> <template is="dom-if" if="[[_suppor tsMilo(_request,_show_raw)]]"> <div class="milo tabbed" hidden$="[[_isSummaryLin k(task_id)]]"> Milo results are only generated for task summaires, that is, task s whose ids end in 0. Tasks ending in 1 or 2 represent possible retries of tasks . See <a href="//goo.gl/LE4rwV">the docs</a> for more. </div> <iframe id="miloFr ame" class="milo tabbed" src$="[[_getDisplayServerLink(_server_details.display_s erver_url_template,task_id)]]"></iframe> </template> <template is="dom-if" if="[ [_show_raw]]"> <div class$="code stdout tabbed break-all [[_classStdout(_wide_lo gs)]]">[[_rawOutput(_stdout,_result)]]</div> </template> </div> </div> </div> </ swarming-app> <paper-dialog id="prompt" modal="" on-iron-overlay-closed="_prompt Closed"> <h2>Are you sure?</h2> <div>Are you sure you want to [[_dialog_prompt]] ?</div> <div class="buttons"> <paper-button dialog-dismiss="" autofocus="">No</p aper-button> <paper-button dialog-confirm="">Yes</paper-button> </div> </paper-d ialog> <interval-timer period="[[_refresh_interval]]" on-trigger="_softRefresh"> </interval-timer> </template> <script>!function(){Polymer({is:"task-page",behav iors:[SwarmingBehaviors.CommonBehavior,SwarmingBehaviors.TaskBehavior],propertie s:{task_id:{type:String},client_id:{type:String},_dialog_prompt:{type:String,val ue:""},_host_url:{type:String,value:function(){return window.location.hostname}} ,_refresh_interval:{type:Number},_request:{type:Object,observer:"_requestUpdated "},_request_detail:{type:Boolean},_result:{type:Object},_server_details:{type:Ob ject},_stdout:{type:String}},_alias:function(t){var e=t.value;return Array.isArr ay(e)||(e=[e]),swarming.alias.has(t.key)&&e.forEach(function(i,s){e[s]=swarming. alias.apply(i,t.key)}),e.join(" | ")},_bytes:function(t){return sk.human.bytes(t )},_canCancelTask:function(t,e){return t&&"PENDING"===t.state&&e.cancel_task},_c ancelTask:function(){var t="/api/swarming/v1/task/"+this.task_id+"/cancel";swarm ing.postWithToast(t,"Canceling task "+this.task_id,this._auth_headers)},_cipdRow span:function(t,e){if(!t||!t.properties||!t.properties.cipd_input)return 0;var i =(t.properties.cipd_input.packages||[]).length;return i*=this._hasActualCIPDPack ages(e)?3:2,i+1},_cipdPackages:function(t,e){if(!t||!t.properties||!t.properties .cipd_input)return[];var i=t.properties.cipd_input.packages||[],s=e&&e.cipd_pins &&e.cipd_pins.packages||[];return i.forEach(function(t){t.requested=t.package_na me+":"+t.version,s.forEach(function(e){e.path===t.path&&(t.actual=e.package_name +":"+e.version)})}),i},_classRight:function(t){return t?"full-width":""},_classS tdout:function(t){return t?"wide":""},_command:function(t){if(!t||!t.properties) return"";var e=t.properties.command||[];return e.join(" ")},_disambiguate:functi on(t,e){return!(!t.endsWith("0")||!e)&&e.try_number>1},_empty:function(t){return !t||0==t.length},_expires:function(t){var e=parseInt(t.expiration_secs);return e ?sk.human.localeTime(new Date(t.created_ts.getTime()+1e3*e)):t.expiration_secs+" seconds from created time"},_extraArgs:function(t){if(!t||!t.properties)return" ";var e=t.properties.extra_args||[];return e.join(" ")},_failureClass:function(t ){return t?"failed_task":""},_getDisplayServerLink:function(t,e){if(t)return t.r eplace("%s",e)},_hasActualCIPDPackages:function(t){return t&&t.cipd_pins&&t.cipd _pins.packages},_internalClass:function(t){return t?"exception":""},_isolateLink :function(t){if(t&&t.isolatedserver)return t.isolatedserver+"/browse?namespace=" +t.namespace+"&hash="+t.isolated},_isSummaryLink:function(t){return t&&t.endsWit h(0)},_noMilo:function(t){return!this._tag(t,"allow_milo")},_pending:function(t) {if(!t.created_ts)return"";var e=t.started_ts||t.abandoned_ts||new Date;return e <=t.created_ts?"0s":this._timeDiffExact(t.created_ts,e)},_promptClosed:function( t){t.detail.confirmed&&(this._dialog_prompt.startsWith("cancel")?this._cancelTas k():this._retryTask())},_promptCancel:function(){this.set("_dialog_prompt","canc el task "+this.task_id),this.$.prompt.open()},_promptRetry:function(){this.set(" _dialog_prompt","retry task "+this.task_id),this.$.prompt.open()},_rawOutput:fun ction(t,e){return t?t:"PENDING"===e.state||"RUNNING"===e.state?"[No output yet]" :"[No output received]"},_refresh:function(){this.$.data.reload()},_requestUpdat ed:function(t){this._noMilo(t)&&this.set("_show_raw",1)},_softRefresh:function() {if(!this._result||"RUNNING"===this._result.state||"PENDING"===this._result.stat e){this.$.data.reload();var t=this.$$("iframe");t&&(t.src=this._getDisplayServer Link(this._server_details.display_server_url_template,this.task_id))}},_retryTas k:function(){if(!this._request)return void sk.errorMessage("Task not yet loaded" ,3e3);var t={expiration_secs:this._request.expiration_secs,name:this._request.na me+" (retry)",parent_task_id:this._request.parent_task_id,priority:this._request .priority,properties:this._request.properties,tags:this._request.tags,user:this. _profile.email,service_account:this._request.service_account};t.properties.idemp otent=!1,swarming.postWithToast("/api/swarming/v1/tasks/new","Retrying task "+th is.task_id,this._auth_headers,t).then(function(t){if(t=JSON.parse(t),t&&t.task_i d){var e={id:this.task_id};history.pushState(e,"Task Page"),this.set("task_id",t .task_id)}}.bind(this),function(t){console.log("Task could not be retried",t)})} ,_rowspan:function(t){return t=t||[],t.length+1},_supportsMilo:function(t,e){ret urn!e&&t&&this._tag(t,"allow_milo")},_toggleDetails:function(){this.set("_reques t_detail",!this._request_detail)},_tag:function(t,e){if(t&&t.tagMap)return t.tag Map[e]},_wasPickedUp:function(t){return t&&t.state!==this.PENDING&&t.state!==thi s.CANCELED&&t.state!=this.EXPIRED},_wasNotPickedUp:function(t){return t&&!this._ wasPickedUp(t)}})}()</script> </dom-module> </div></body></html>
OLDNEW
« no previous file with comments | « no previous file | appengine/swarming/ui/res/imp/tasklist/task-list-summary.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698