(function(){/* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ 'use strict';var m,aa="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function n(){this.end=this.start=0;this.rules=this.parent=this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""} function q(a){var b=a=a.replace(ba,"").replace(ca,""),c=new n;c.start=0;c.end=b.length;for(var e=c,d=0,f=b.length;d "+h}))}return{value:a,G:b,stop:f}}function Wa(a,b){a=a.split(/(\[.+?\])/);for(var c=[],e=0;e+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Za=/[[.:#*]/,Ra=/^(::slotted)/,Ya=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Xa=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ua=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Pa=/:(?:matches|any|-(?:webkit|moz)-any)/,K=new I;function N(a,b,c,e,d){this.l=a||null;this.b=b||null;this.w=c||[];this.i=null;this.cssBuild=d||"";this.s=e||"";this.a=this.j=this.o=null}function O(a){return a?a.__styleInfo:null}function ab(a,b){return a.__styleInfo=b}N.prototype.c=function(){return this.l};N.prototype._getStyleRules=N.prototype.c;function bb(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var cb=/:host\s*>\s*/,db=navigator.userAgent.match("Trident");function eb(){}function fb(a){var b={},c=[],e=0;B(a,function(f){P(f);f.index=e++;f=f.f.cssText;for(var g;g=ta.exec(f);){var h=g[1];":"!==g[2]&&(b[h]=!0)}},function(f){c.push(f)});a.b=c;a=[];for(var d in b)a.push(d);return a} function P(a){if(!a.f){var b={},c={};Q(a,c)&&(b.m=c,a.rules=null);b.cssText=a.parsedCssText.replace(wa,"").replace(y,"");a.f=b}}function Q(a,b){var c=a.f;if(c){if(c.m)return Object.assign(b,c.m),!0}else{c=a.parsedCssText;for(var e;a=y.exec(c);){e=(a[2]||a[3]).trim();if("inherit"!==e||"unset"!==e)b[a[1].trim()]=e;e=!0}return e}} function R(a,b,c){b&&(b=0<=b.indexOf(";")?gb(a,b,c):Da(b,function(e,d,f,g){if(!d)return e+g;(d=R(a,c[d],c))&&"initial"!==d?"apply-shim-inherit"===d&&(d="inherit"):d=R(a,c[f]||f,c)||f;return e+(d||"")+g}));return b&&b.trim()||""} function gb(a,b,c){b=b.split(";");for(var e=0,d,f;e *."+d||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(d));if(g||h)c=d,h&&(b.g||(b.g=La(K,b,K.b,a?"."+a:"",d)),c=b.g||d),g&&"html"===d&&(c=b.g||b.u),e({A:c,K:h,T:g})}} function jb(a,b,c){var e={},d={};B(b,function(f){ib(a,f,c,function(g){bb.call(a._element||a,g.A)&&(g.K?Q(f,e):Q(f,d))})},null,!0);return{M:d,J:e}} function kb(a,b,c,e){var d=G(b),f=Ka(d.is,d.s),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=O(b);d=h.l;h=h.cssBuild;var l=lb(d,e);return M(b,d,function(k){var p="";k.f||P(k);k.f.cssText&&(p=gb(a,k.f.cssText,c));k.cssText=p;if(!r&&!ya(k)&&k.cssText){var t=p=k.cssText;null==k.C&&(k.C=ua.test(p));if(k.C)if(null==k.v){k.v=[];for(var x in l)t=l[x],t=t(p),p!==t&&(p=t,k.v.push(x))}else{for(x=0;x=k._useCount&&k.parentNode&&k.parentNode.removeChild(k));r?l.a?(l.a.textContent=h,g=l.a):h&&(g=za(h,f,a.shadowRoot,l.b)):g?g.parentNode||(db&&-1