100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Router defined, Wizzard style update, Local Storage added for login/ intro, API defined(needs tweaking),dynamic content based on API call, settings page updated
Robin61f6348e3422
diff --git a/frontend/api/settings/current/get_current_settings.json b/frontend/api/settings/current/get_current_settings.jsonnew file mode 100644index 000000000..e2475a67b--- /dev/null+++ b/frontend/api/settings/current/get_current_settings.json@@ -0,0 +1,52 @@+{+ "user_id": "1",+ "menu" : ["Home","Light","Start","Safety","Climate"],+ "current_scene": {+ "label": "Evening",+ "smart": {+ "fullsmart": "true",+ "light": "true",+ "start": "true",+ "safety": "true",+ "climate": "false"+ },+ "start_devices": [+ {"label":"Dishwasher", "time": "15:30", "status": "false"},+ {"label":"Washing ", "time": "12:30", "status": "true"}+ ],+ "energy" : {"usage": "0.9", "main_power": "0", "solar": "0.9"},+ "alarm": "true",+ "temperature_actual": {+ "living_room": "18.0",+ "bedroom" : "20.5",+ "bathroom": "18.1"+ },+ "temperature_program": {+ "living_room": "19.0",+ "bedroom" : "20.0",+ "bathroom": "18.5"+ },+ "ventilation": "Low"+ },+ "scenes":{+ "header":["Home","Away","Evening","Night"],+ "data":[+ ["Living","21", "19", "22", "18"],+ ["Bed","21", "19", "22", "18"],+ ["Bath","21", "19", "22", "18"]+ ]+ },+ "predicted_schedule":{+ "header":["Home","Away","Evening","Night"],+ "data":[+ ["Mon","9:00", "10:00", "17:00", "23:00"],+ ["Tue","9:00", "10:00", "17:00", "23:00"],+ ["Wed","9:00", "10:00", "17:00", "23:00"],+ ["Thu","9:00", "10:00", "17:00", "23:00"],+ ["Fri","9:00", "10:00", "17:00", "23:00"],+ ["Sat","9:00", "10:00", "17:00", "23:00"],+ ["Sun","9:00", "10:00", "17:00", "23:00"]+ ]+ }++}diff --git a/frontend/api/settings/update/post_scenes_settings.json b/frontend/api/settings/update/post_scenes_settings.jsonnew file mode 100644index 000000000..a035cc754--- /dev/null+++ b/frontend/api/settings/update/post_scenes_settings.json@@ -0,0 +1,28 @@+{+ "scenes":{+ "Home":{+ "living_room": "18.0",+ "bedroom" : "20.5",+ "bathroom": "18.1",+ "alarm": "true"+ },+ "Away":{+ "living_room": "18.0",+ "bedroom" : "20.5",+ "bathroom": "18.1",+ "alarm": "true"+ },+ "Evening":{+ "living_room": "18.0",+ "bedroom" : "20.5",+ "bathroom": "18.1",+ "alarm": "true"+ },+ "Night":{+ "living_room": "18.0",+ "bedroom" : "20.5",+ "bathroom": "18.1",+ "alarm": "true"+ }+ }+}diff --git a/frontend/api/user/login/response.json b/frontend/api/user/login/response.jsonnew file mode 100644index 000000000..d8892ba6b--- /dev/null+++ b/frontend/api/user/login/response.json@@ -0,0 +1,4 @@+{+ "response": "success",+ "message": "Login succesfull"+}diff --git a/frontend/bower.json b/frontend/bower.jsonindex f232f825e..c7f265075 100644--- a/frontend/bower.json+++ b/frontend/bower.json@@ -21,7 +21,8 @@"paper-spinner": "PolymerElements/paper-spinner#^1.2.1","webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.23","iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.5",- "app-route": "PolymerElements/app-route#^0.9.3"+ "app-route": "PolymerElements/app-route#^0.9.3",+ "iron-ajax": "PolymerElements/iron-ajax#^1.4.3"},"devDependencies": {"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",diff --git a/frontend/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html b/frontend/bower_components/app-layout/app-drawer-layout/app-drawer-layout.htmlindex 6754b0607..0310b6e42 100644--- a/frontend/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html+++ b/frontend/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html@@ -1,117 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-media-query/iron-media-query.html"><link rel="import" href="../../iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="../app-drawer/app-drawer.html">-<!---app-drawer-layout is a wrapper element that positions an app-drawer and other content. When-the viewport width is smaller than `responsiveWidth`, this element changes to narrow layout.-In narrow layout, the drawer will be stacked on top of the main content. The drawer will slide-in/out to hide/reveal the main content.--By default the drawer is aligned to the start, which is left in LTR layouts:--```html-<app-drawer-layout>- <app-drawer>- drawer content- </app-drawer>- <div>- main content- </div>-</app-drawer-layout>-```--Align the drawer at the end:--```html-<app-drawer-layout>- <app-drawer align="end">- drawer content- </app-drawer>- <div>- main content- </div>-</app-drawer-layout>-```--With an app-header-layout:--```html-<app-drawer-layout>- <app-drawer>- drawer-content- </app-drawer>- <app-header-layout>- <app-header>- <app-toolbar>- <div main-title>App name</div>- </app-toolbar>- </app-header>-- main content-- </app-header-layout>-</app-drawer-layout>-```--Add the `drawer-toggle` attribute to elements inside `app-drawer-layout` that toggle the drawer on tap events:--```html-<app-drawer-layout>- <app-drawer>- drawer-content- </app-drawer>- <app-header-layout>- <app-header>- <app-toolbar>- <paper-icon-button icon="menu" drawer-toggle></paper-icon-button>- <div main-title>App name</div>- </app-toolbar>- </app-header>-- main content-- </app-header-layout>-</app-drawer-layout>-```--Add the `fullbleed` attribute to app-drawer-layout to make it fit the size of its container:--```html-<app-drawer-layout fullbleed>- <app-drawer>- drawer content- </app-drawer>- <div>- main content- </div>-</app-drawer-layout>-```--### Styling--Custom property | Description | Default------------------------------------------|--------------------------------------|----------`--app-drawer-layout-content-transition` | Transition for the content container | none-@group App Elements-@element app-drawer-layout-@demo app-drawer-layout/demo/simple-drawer.html Simple Demo-@demo app-drawer-layout/demo/two-drawers.html Two drawers--->-<dom-module id="app-drawer-layout">+</head><body><dom-module id="app-drawer-layout"><template><style>:host {@@ -141,137 +35,9 @@ Custom property | Description<content id="drawerContent" select="app-drawer"></content>- <iron-media-query- query="[[_computeMediaQuery(forceNarrow, responsiveWidth)]]"- on-query-matches-changed="_onQueryMatchesChanged"></iron-media-query>+ <iron-media-query query="[[_computeMediaQuery(forceNarrow, responsiveWidth)]]" on-query-matches-changed="_onQueryMatchesChanged"></iron-media-query></template>- <script>- Polymer({- is: 'app-drawer-layout',-- behaviors: [- Polymer.IronResizableBehavior- ],-- properties: {- /**- * If true, ignore `responsiveWidth` setting and force the narrow layout.- */- forceNarrow: {- type: Boolean,- value: false- },-- /**- * If the viewport's width is smaller than this value, the panel will change to narrow- * layout. In the mode the drawer will be closed.- */- responsiveWidth: {- type: String,- value: '640px'- },-- /**- * Returns true if it is in narrow layout. This is useful if you need to show/hide- * elements based on the layout.- */- narrow: {- type: Boolean,- readOnly: true,- notify: true- },-- /**- * If true, the drawer will initially be opened when in narrow layout mode.- */- openedWhenNarrow: {- type: Boolean,- value: false- }- },-- listeners: {- 'tap': '_tapHandler',- 'app-drawer-attached': '_resetDrawerState',- 'app-drawer-reset-layout': 'resetLayout',- 'iron-resize': 'resetLayout'- },-- observers: [- 'resetLayout(narrow, isAttached)',- '_narrowChanged(narrow, isAttached)'- ],-- /**- * A reference to the app-drawer element.- *- * @property drawer- */- get drawer() {- return Polymer.dom(this.$.drawerContent).getDistributedNodes()[0];- },-- _tapHandler: function(e) {- var target = Polymer.dom(e).localTarget;- if (target && target.hasAttribute('drawer-toggle')) {- var drawer = this.drawer;- if (drawer && !drawer.persistent) {- drawer.toggle();- }- }- },-- resetLayout: function() {- this.debounce('_resetLayout', function() {- var drawer = this.drawer;- var contentContainer = this.$.contentContainer;-- if (this.narrow || !drawer) {- contentContainer.style.marginLeft = '';- contentContainer.style.marginRight = '';- } else {- var drawerWidth = drawer.getWidth();- if (drawer.position == 'right') {- contentContainer.style.marginLeft = '';- contentContainer.style.marginRight = drawerWidth + 'px';- } else {- contentContainer.style.marginLeft = drawerWidth + 'px';- contentContainer.style.marginRight = '';- }- }- });- },-- _resetDrawerState: function() {- this.debounce('_resetDrawerState', function() {- var drawer = this.drawer;- if (!drawer) {- return;- }-- if (this.narrow) {- drawer.opened = this.openedWhenNarrow;- drawer.persistent = false;- } else {- drawer.opened = drawer.persistent = true;- }- });- },-- _narrowChanged: function(narrow) {- this.toggleClass('narrow', narrow, this.$.contentContainer);- this._resetDrawerState();- this.notifyResize();- },-- _onQueryMatchesChanged: function(event) {- this._setNarrow(event.detail.value);- },-- _computeMediaQuery: function(forceNarrow, responsiveWidth) {- return forceNarrow ? '(min-width: 0px)' : '(max-width: ' + responsiveWidth + ')';- }- });- </script>+ <script>Polymer({is:"app-drawer-layout",behaviors:[Polymer.IronResizableBehavior],properties:{forceNarrow:{type:Boolean,value:!1},responsiveWidth:{type:String,value:"640px"},narrow:{type:Boolean,readOnly:!0,notify:!0},openedWhenNarrow:{type:Boolean,value:!1}},listeners:{tap:"_tapHandler","app-drawer-attached":"_resetDrawerState","app-drawer-reset-layout":"resetLayout","iron-resize":"resetLayout"},observers:["resetLayout(narrow, isAttached)","_narrowChanged(narrow, isAttached)"],get drawer(){return Polymer.dom(this.$.drawerContent).getDistributedNodes()[0]},_tapHandler:function(e){var t=Polymer.dom(e).localTarget;if(t&&t.hasAttribute("drawer-toggle")){var r=this.drawer;r&&!r.persistent&&r.toggle()}},resetLayout:function(){this.debounce("_resetLayout",function(){var e=this.drawer,t=this.$.contentContainer;if(this.narrow||!e)t.style.marginLeft="",t.style.marginRight="";else{var r=e.getWidth();"right"==e.position?(t.style.marginLeft="",t.style.marginRight=r+"px"):(t.style.marginLeft=r+"px",t.style.marginRight="")}})},_resetDrawerState:function(){this.debounce("_resetDrawerState",function(){var e=this.drawer;e&&(this.narrow?(e.opened=this.openedWhenNarrow,e.persistent=!1):e.opened=e.persistent=!0)})},_narrowChanged:function(e){this.toggleClass("narrow",e,this.$.contentContainer),this._resetDrawerState(),this.notifyResize()},_onQueryMatchesChanged:function(e){this._setNarrow(e.detail.value)},_computeMediaQuery:function(e,t){return e?"(min-width: 0px)":"(max-width: "+t+")"}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/app-drawer/app-drawer.html b/frontend/bower_components/app-layout/app-drawer/app-drawer.htmlindex cbf0b58b6..ef8a90210 100644--- a/frontend/bower_components/app-layout/app-drawer/app-drawer.html+++ b/frontend/bower_components/app-layout/app-drawer/app-drawer.html@@ -1,57 +1,9 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">-<!---app-drawer is a navigation drawer that can slide in from the left or right.--Example:--Align the drawer at the start, which is left in LTR layouts (default):--```html-<app-drawer opened></app-drawer>-```--Align the drawer at the end:--```html-<app-drawer align="end" opened></app-drawer>-```--To make the contents of the drawer scrollable, create a wrapper for the scroll-content, and apply height and overflow styles to it.-```html-<app-drawer>- <div style="height: 100%; overflow: auto;"></div>-</app-drawer>-```-### Styling--Custom property | Description | Default----------------------------------|----------------------------------------|---------------------`--app-drawer-width` | Width of the drawer | 256px-`--app-drawer-content-container` | Mixin for the drawer content container | {}-`--app-drawer-scrim-background` | Background for the scrim | rgba(0, 0, 0, 0.5)--@group App Elements-@element app-drawer-@demo app-drawer/demo/left-drawer.html Simple Left Drawer-@demo app-drawer/demo/right-drawer.html Right Drawer with Icons--->--<dom-module id="app-drawer">+</head><body><dom-module id="app-drawer"><template><style>:host {@@ -169,522 +121,6 @@ Custom property | Description | Defa</div></template>- <script>-- Polymer({- is: 'app-drawer',-- properties: {- /**- * The opened state of the drawer.- */- opened: {- type: Boolean,- value: false,- notify: true,- reflectToAttribute: true- },-- /**- * The drawer does not have a scrim and cannot be swiped close.- */- persistent: {- type: Boolean,- value: false,- reflectToAttribute: true- },-- /**- * The transition duration of the drawer in milliseconds.- */- transitionDuration: {- type: Number,- value: 200- },-- /**- * The alignment of the drawer on the screen ('left', 'right', 'start' or 'end').- * 'start' computes to left and 'end' to right in LTR layout and vice versa in RTL- * layout.- */- align: {- type: String,- value: 'left'- },-- /**- * The computed, read-only position of the drawer on the screen ('left' or 'right').- */- position: {- type: String,- readOnly: true,- reflectToAttribute: true- },-- /**- * Create an area at the edge of the screen to swipe open the drawer.- */- swipeOpen: {- type: Boolean,- value: false,- reflectToAttribute: true- },-- /**- * Trap keyboard focus when the drawer is opened and not persistent.- */- noFocusTrap: {- type: Boolean,- value: false- },-- /**- * Disables swiping on the drawer.- */- disableSwipe: {- type: Boolean,- value: false- }- },-- observers: [- 'resetLayout(position, isAttached)',- '_resetPosition(align, isAttached)',- '_styleTransitionDuration(transitionDuration)',- '_openedPersistentChanged(opened, persistent)'- ],-- _translateOffset: 0,-- _trackDetails: null,-- _drawerState: 0,-- _boundEscKeydownHandler: null,-- _firstTabStop: null,-- _lastTabStop: null,-- attached: function() {- // Only transition the drawer after its first render (e.g. app-drawer-layout- // may need to set the initial opened state which should not be transitioned).- this._styleTransitionDuration(0);- Polymer.RenderStatus.afterNextRender(this, function() {- this._styleTransitionDuration(this.transitionDuration);- this._boundEscKeydownHandler = this._escKeydownHandler.bind(this);- this._resetDrawerState();-- // contentContainer will transition on opened state changed, and scrim will- // transition on persistent state changed when opened - these are the- // transitions we are interested in.- this.$.scrim.addEventListener('transitionend', this._transitionend.bind(this));- this.$.contentContainer.addEventListener('transitionend', this._transitionend.bind(this));-- this.addEventListener('keydown', this._tabKeydownHandler.bind(this))-- // Only listen for horizontal track so you can vertically scroll inside the drawer.- this.listen(this, 'track', '_track');- this.setScrollDirection('y');- });-- this.fire('app-drawer-attached');- },-- detached: function() {- document.removeEventListener('keydown', this._boundEscKeydownHandler);- },-- /**- * Opens the drawer.- */- open: function() {- this.opened = true;- },-- /**- * Closes the drawer.- */- close: function() {- this.opened = false;- },-- /**- * Toggles the drawer open and close.- */- toggle: function() {- this.opened = !this.opened;- },-- /**- * Gets the width of the drawer.- *- * @return {number} The width of the drawer in pixels.- */- getWidth: function() {- return this.$.contentContainer.offsetWidth;- },-- /**- * Resets the layout. The event fired is used by app-drawer-layout to position the- * content.- *- * @method resetLayout- */- resetLayout: function() {- this.fire('app-drawer-reset-layout');- },-- _isRTL: function() {- return window.getComputedStyle(this).direction === 'rtl';- },-- _resetPosition: function() {- switch (this.align) {- case 'start':- this._setPosition(this._isRTL() ? 'right' : 'left');- return;- case 'end':- this._setPosition(this._isRTL() ? 'left' : 'right');- return;- }- this._setPosition(this.align);- },-- _escKeydownHandler: function(event) {- var ESC_KEYCODE = 27;- if (event.keyCode === ESC_KEYCODE) {- // Prevent any side effects if app-drawer closes.- event.preventDefault();- this.close();- }- },-- _track: function(event) {- if (this.persistent || this.disableSwipe) {- return;- }-- // Disable user selection on desktop.- event.preventDefault();-- switch (event.detail.state) {- case 'start':- this._trackStart(event);- break;- case 'track':- this._trackMove(event);- break;- case 'end':- this._trackEnd(event);- break;- }- },-- _trackStart: function(event) {- this._drawerState = this._DRAWER_STATE.TRACKING;-- // Disable transitions since style attributes will reflect user track events.- this._styleTransitionDuration(0);- this.style.visibility = 'visible';-- var rect = this.$.contentContainer.getBoundingClientRect();- if (this.position === 'left') {- this._translateOffset = rect.left;- } else {- this._translateOffset = rect.right - window.innerWidth;- }-- this._trackDetails = [];- },-- _trackMove: function(event) {- this._translateDrawer(event.detail.dx + this._translateOffset);-- // Use Date.now() since event.timeStamp is inconsistent across browsers (e.g. most- // browsers use milliseconds but FF 44 uses microseconds).- this._trackDetails.push({- dx: event.detail.dx,- timeStamp: Date.now()- });- },-- _trackEnd: function(event) {- var x = event.detail.dx + this._translateOffset;- var drawerWidth = this.getWidth();- var isPositionLeft = this.position === 'left';- var isInEndState = isPositionLeft ? (x >= 0 || x <= -drawerWidth) :- (x <= 0 || x >= drawerWidth);-- if (!isInEndState) {- // No longer need the track events after this method returns - allow them to be GC'd.- var trackDetails = this._trackDetails;- this._trackDetails = null;-- this._flingDrawer(event, trackDetails);- if (this._drawerState === this._DRAWER_STATE.FLINGING) {- return;- }- }-- // If the drawer is not flinging, toggle the opened state based on the position of- // the drawer.- var halfWidth = drawerWidth / 2;- if (event.detail.dx < -halfWidth) {- this.opened = this.position === 'right';- } else if (event.detail.dx > halfWidth) {- this.opened = this.position === 'left';- }-- if (isInEndState) {- // Reset drawer state now since there will be no transitionend event.- this._resetDrawerState();- }-- this._styleTransitionDuration(this.transitionDuration);- this._resetDrawerTranslate();- this.style.visibility = '';- },-- _calculateVelocity: function(event, trackDetails) {- // Find the oldest track event that is within 100ms using binary search.- var now = Date.now();- var timeLowerBound = now - 100;- var trackDetail;- var min = 0;- var max = trackDetails.length - 1;-- while (min <= max) {- // Floor of average of min and max.- var mid = (min + max) >> 1;- var d = trackDetails[mid];- if (d.timeStamp >= timeLowerBound) {- trackDetail = d;- max = mid - 1;- } else {- min = mid + 1;- }- }-- if (trackDetail) {- var dx = event.detail.dx - trackDetail.dx;- var dt = (now - trackDetail.timeStamp) || 1;- return dx / dt;- }- return 0;- },-- _flingDrawer: function(event, trackDetails) {- var velocity = this._calculateVelocity(event, trackDetails);-- // Do not fling if velocity is not above a threshold.- if (Math.abs(velocity) < this._MIN_FLING_THRESHOLD) {- return;- }-- this._drawerState = this._DRAWER_STATE.FLINGING;-- var x = event.detail.dx + this._translateOffset;- var drawerWidth = this.getWidth();- var isPositionLeft = this.position === 'left';- var isVelocityPositive = velocity > 0;- var isClosingLeft = !isVelocityPositive && isPositionLeft;- var isClosingRight = isVelocityPositive && !isPositionLeft;- var dx;- if (isClosingLeft) {- dx = -(x + drawerWidth);- } else if (isClosingRight) {- dx = (drawerWidth - x);- } else {- dx = -x;- }-- // Enforce a minimum transition velocity to make the drawer feel snappy.- if (isVelocityPositive) {- velocity = Math.max(velocity, this._MIN_TRANSITION_VELOCITY);- this.opened = this.position === 'left';- } else {- velocity = Math.min(velocity, -this._MIN_TRANSITION_VELOCITY);- this.opened = this.position === 'right';- }-- // Calculate the amount of time needed to finish the transition based on the- // initial slope of the timing function.- this._styleTransitionDuration(this._FLING_INITIAL_SLOPE * dx / velocity);- this._styleTransitionTimingFunction(this._FLING_TIMING_FUNCTION);-- this._resetDrawerTranslate();- },-- _transitionend: function() {- // If the drawer was flinging, we need to reset the style attributes.- if (this._drawerState === this._DRAWER_STATE.FLINGING) {- this._styleTransitionDuration(this.transitionDuration);- this._styleTransitionTimingFunction('');- this.style.visibility = '';- }-- this._resetDrawerState();- },-- _styleTransitionDuration: function(duration) {- this.style.transitionDuration = duration + 'ms';- this.$.contentContainer.style.transitionDuration = duration + 'ms';- this.$.scrim.style.transitionDuration = duration + 'ms';- },-- _styleTransitionTimingFunction: function(timingFunction) {- this.$.contentContainer.style.transitionTimingFunction = timingFunction;- this.$.scrim.style.transitionTimingFunction = timingFunction;- },-- _translateDrawer: function(x) {- var drawerWidth = this.getWidth();-- if (this.position === 'left') {- x = Math.max(-drawerWidth, Math.min(x, 0));- this.$.scrim.style.opacity = 1 + x / drawerWidth;- } else {- x = Math.max(0, Math.min(x, drawerWidth));- this.$.scrim.style.opacity = 1 - x / drawerWidth;- }-- this.translate3d(x + 'px', '0', '0', this.$.contentContainer);- },-- _resetDrawerTranslate: function() {- this.$.scrim.style.opacity = '';- this.transform('', this.$.contentContainer);- },-- _resetDrawerState: function() {- var oldState = this._drawerState;- if (this.opened) {- this._drawerState = this.persistent ?- this._DRAWER_STATE.OPENED_PERSISTENT : this._DRAWER_STATE.OPENED;- } else {- this._drawerState = this._DRAWER_STATE.CLOSED;- }-- if (oldState !== this._drawerState) {- if (this._drawerState === this._DRAWER_STATE.OPENED) {- this._setKeyboardFocusTrap();- document.addEventListener('keydown', this._boundEscKeydownHandler);- document.body.style.overflow = 'hidden';- } else {- document.removeEventListener('keydown', this._boundEscKeydownHandler);- document.body.style.overflow = '';- }-- // Don't fire the event on initial load.- if (oldState !== this._DRAWER_STATE.INIT) {- this.fire('app-drawer-transitioned');- }- }- },-- _setKeyboardFocusTrap: function() {- if (this.noFocusTrap) {- return;- }-- // NOTE: Unless we use /deep/ (which we shouldn't since it's deprecated), this will- // not select focusable elements inside shadow roots.- var focusableElementsSelector = [- 'a[href]:not([tabindex="-1"])',- 'area[href]:not([tabindex="-1"])',- 'input:not([disabled]):not([tabindex="-1"])',- 'select:not([disabled]):not([tabindex="-1"])',- 'textarea:not([disabled]):not([tabindex="-1"])',- 'button:not([disabled]):not([tabindex="-1"])',- 'iframe:not([tabindex="-1"])',- '[tabindex]:not([tabindex="-1"])',- '[contentEditable=true]:not([tabindex="-1"])'- ].join(',');- var focusableElements = Polymer.dom(this).querySelectorAll(focusableElementsSelector);-- if (focusableElements.length > 0) {- this._firstTabStop = focusableElements[0];- this._lastTabStop = focusableElements[focusableElements.length - 1];- } else {- // Reset saved tab stops when there are no focusable elements in the drawer.- this._firstTabStop = null;- this._lastTabStop = null;- }-- // Focus on app-drawer if it has non-zero tabindex. Otherwise, focus the first focusable- // element in the drawer, if it exists. Use the tabindex attribute since the this.tabIndex- // property in IE/Edge returns 0 (instead of -1) when the attribute is not set.- var tabindex = this.getAttribute('tabindex');- if (tabindex && parseInt(tabindex, 10) > -1) {- this.focus();- } else if (this._firstTabStop) {- this._firstTabStop.focus();- }- },-- _tabKeydownHandler: function(event) {- if (this.noFocusTrap) {- return;- }-- var TAB_KEYCODE = 9;- if (this._drawerState === this._DRAWER_STATE.OPENED && event.keyCode === TAB_KEYCODE) {- if (event.shiftKey) {- if (this._firstTabStop && Polymer.dom(event).localTarget === this._firstTabStop) {- event.preventDefault();- this._lastTabStop.focus();- }- } else {- if (this._lastTabStop && Polymer.dom(event).localTarget === this._lastTabStop) {- event.preventDefault();- this._firstTabStop.focus();- }- }- }- },-- _openedPersistentChanged: function() {- if (this.transitionDuration === 0) {- // Reset drawer state now since there will be no transitionend event.- this._resetDrawerState();- }- },-- _MIN_FLING_THRESHOLD: 0.2,-- _MIN_TRANSITION_VELOCITY: 1.2,-- _FLING_TIMING_FUNCTION: 'cubic-bezier(0.667, 1, 0.667, 1)',-- _FLING_INITIAL_SLOPE: 1.5,-- _DRAWER_STATE: {- INIT: 0,- OPENED: 1,- OPENED_PERSISTENT: 2,- CLOSED: 3,- TRACKING: 4,- FLINGING: 5- }-- /**- * Fired when the layout of app-drawer is attached.- *- * @event app-drawer-attached- */-- /**- * Fired when the layout of app-drawer has changed.- *- * @event app-drawer-reset-layout- */-- /**- * Fired when app-drawer has finished transitioning.- *- * @event app-drawer-transitioned- */- });- </script>+ <script>Polymer({is:"app-drawer",properties:{opened:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},persistent:{type:Boolean,value:!1,reflectToAttribute:!0},transitionDuration:{type:Number,value:200},align:{type:String,value:"left"},position:{type:String,readOnly:!0,reflectToAttribute:!0},swipeOpen:{type:Boolean,value:!1,reflectToAttribute:!0},noFocusTrap:{type:Boolean,value:!1},disableSwipe:{type:Boolean,value:!1}},observers:["resetLayout(position, isAttached)","_resetPosition(align, isAttached)","_styleTransitionDuration(transitionDuration)","_openedPersistentChanged(opened, persistent)"],_translateOffset:0,_trackDetails:null,_drawerState:0,_boundEscKeydownHandler:null,_firstTabStop:null,_lastTabStop:null,attached:function(){this._styleTransitionDuration(0),Polymer.RenderStatus.afterNextRender(this,function(){this._styleTransitionDuration(this.transitionDuration),this._boundEscKeydownHandler=this._escKeydownHandler.bind(this),this._resetDrawerState(),this.$.scrim.addEventListener("transitionend",this._transitionend.bind(this)),this.$.contentContainer.addEventListener("transitionend",this._transitionend.bind(this)),this.addEventListener("keydown",this._tabKeydownHandler.bind(this)),this.listen(this,"track","_track"),this.setScrollDirection("y")}),this.fire("app-drawer-attached")},detached:function(){document.removeEventListener("keydown",this._boundEscKeydownHandler)},open:function(){this.opened=!0},close:function(){this.opened=!1},toggle:function(){this.opened=!this.opened},getWidth:function(){return this.$.contentContainer.offsetWidth},resetLayout:function(){this.fire("app-drawer-reset-layout")},_isRTL:function(){return"rtl"===window.getComputedStyle(this).direction},_resetPosition:function(){switch(this.align){case"start":return void this._setPosition(this._isRTL()?"right":"left");case"end":return void this._setPosition(this._isRTL()?"left":"right")}this._setPosition(this.align)},_escKeydownHandler:function(t){var i=27;t.keyCode===i&&(t.preventDefault(),this.close())},_track:function(t){if(!this.persistent&&!this.disableSwipe)switch(t.preventDefault(),t.detail.state){case"start":this._trackStart(t);break;case"track":this._trackMove(t);break;case"end":this._trackEnd(t)}},_trackStart:function(t){this._drawerState=this._DRAWER_STATE.TRACKING,this._styleTransitionDuration(0),this.style.visibility="visible";var i=this.$.contentContainer.getBoundingClientRect();"left"===this.position?this._translateOffset=i.left:this._translateOffset=i.right-window.innerWidth,this._trackDetails=[]},_trackMove:function(t){this._translateDrawer(t.detail.dx+this._translateOffset),this._trackDetails.push({dx:t.detail.dx,timeStamp:Date.now()})},_trackEnd:function(t){var i=t.detail.dx+this._translateOffset,e=this.getWidth(),n="left"===this.position,s=n?i>=0||i<=-e:i<=0||i>=e;if(!s){var a=this._trackDetails;if(this._trackDetails=null,this._flingDrawer(t,a),this._drawerState===this._DRAWER_STATE.FLINGING)return}var r=e/2;t.detail.dx<-r?this.opened="right"===this.position:t.detail.dx>r&&(this.opened="left"===this.position),s&&this._resetDrawerState(),this._styleTransitionDuration(this.transitionDuration),this._resetDrawerTranslate(),this.style.visibility=""},_calculateVelocity:function(t,i){for(var e,n=Date.now(),s=n-100,a=0,r=i.length-1;a<=r;){var o=a+r>>1,h=i[o];h.timeStamp>=s?(e=h,r=o-1):a=o+1}if(e){var l=t.detail.dx-e.dx,d=n-e.timeStamp||1;return l/d}return 0},_flingDrawer:function(t,i){var e=this._calculateVelocity(t,i);if(!(Math.abs(e)<this._MIN_FLING_THRESHOLD)){this._drawerState=this._DRAWER_STATE.FLINGING;var n,s=t.detail.dx+this._translateOffset,a=this.getWidth(),r="left"===this.position,o=e>0,h=!o&&r,l=o&&!r;n=h?-(s+a):l?a-s:-s,o?(e=Math.max(e,this._MIN_TRANSITION_VELOCITY),this.opened="left"===this.position):(e=Math.min(e,-this._MIN_TRANSITION_VELOCITY),this.opened="right"===this.position),this._styleTransitionDuration(this._FLING_INITIAL_SLOPE*n/e),this._styleTransitionTimingFunction(this._FLING_TIMING_FUNCTION),this._resetDrawerTranslate()}},_transitionend:function(){this._drawerState===this._DRAWER_STATE.FLINGING&&(this._styleTransitionDuration(this.transitionDuration),this._styleTransitionTimingFunction(""),this.style.visibility=""),this._resetDrawerState()},_styleTransitionDuration:function(t){this.style.transitionDuration=t+"ms",this.$.contentContainer.style.transitionDuration=t+"ms",this.$.scrim.style.transitionDuration=t+"ms"},_styleTransitionTimingFunction:function(t){this.$.contentContainer.style.transitionTimingFunction=t,this.$.scrim.style.transitionTimingFunction=t},_translateDrawer:function(t){var i=this.getWidth();"left"===this.position?(t=Math.max(-i,Math.min(t,0)),this.$.scrim.style.opacity=1+t/i):(t=Math.max(0,Math.min(t,i)),this.$.scrim.style.opacity=1-t/i),this.translate3d(t+"px","0","0",this.$.contentContainer)},_resetDrawerTranslate:function(){this.$.scrim.style.opacity="",this.transform("",this.$.contentContainer)},_resetDrawerState:function(){var t=this._drawerState;this.opened?this._drawerState=this.persistent?this._DRAWER_STATE.OPENED_PERSISTENT:this._DRAWER_STATE.OPENED:this._drawerState=this._DRAWER_STATE.CLOSED,t!==this._drawerState&&(this._drawerState===this._DRAWER_STATE.OPENED?(this._setKeyboardFocusTrap(),document.addEventListener("keydown",this._boundEscKeydownHandler),document.body.style.overflow="hidden"):(document.removeEventListener("keydown",this._boundEscKeydownHandler),document.body.style.overflow=""),t!==this._DRAWER_STATE.INIT&&this.fire("app-drawer-transitioned"))},_setKeyboardFocusTrap:function(){if(!this.noFocusTrap){var t=['a[href]:not([tabindex="-1"])','area[href]:not([tabindex="-1"])','input:not([disabled]):not([tabindex="-1"])','select:not([disabled]):not([tabindex="-1"])','textarea:not([disabled]):not([tabindex="-1"])','button:not([disabled]):not([tabindex="-1"])','iframe:not([tabindex="-1"])','[tabindex]:not([tabindex="-1"])','[contentEditable=true]:not([tabindex="-1"])'].join(","),i=Polymer.dom(this).querySelectorAll(t);i.length>0?(this._firstTabStop=i[0],this._lastTabStop=i[i.length-1]):(this._firstTabStop=null,this._lastTabStop=null);var e=this.getAttribute("tabindex");e&&parseInt(e,10)>-1?this.focus():this._firstTabStop&&this._firstTabStop.focus()}},_tabKeydownHandler:function(t){if(!this.noFocusTrap){var i=9;this._drawerState===this._DRAWER_STATE.OPENED&&t.keyCode===i&&(t.shiftKey?this._firstTabStop&&Polymer.dom(t).localTarget===this._firstTabStop&&(t.preventDefault(),this._lastTabStop.focus()):this._lastTabStop&&Polymer.dom(t).localTarget===this._lastTabStop&&(t.preventDefault(),this._firstTabStop.focus()))}},_openedPersistentChanged:function(){0===this.transitionDuration&&this._resetDrawerState()},_MIN_FLING_THRESHOLD:.2,_MIN_TRANSITION_VELOCITY:1.2,_FLING_TIMING_FUNCTION:"cubic-bezier(0.667, 1, 0.667, 1)",_FLING_INITIAL_SLOPE:1.5,_DRAWER_STATE:{INIT:0,OPENED:1,OPENED_PERSISTENT:2,CLOSED:3,TRACKING:4,FLINGING:5}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/app-header-layout/app-header-layout.html b/frontend/bower_components/app-layout/app-header-layout/app-header-layout.htmlindex d73c80f19..18550a973 100644--- a/frontend/bower_components/app-layout/app-header-layout/app-header-layout.html+++ b/frontend/bower_components/app-layout/app-header-layout/app-header-layout.html@@ -1,68 +1,10 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../../iron-resizable-behavior/iron-resizable-behavior.html">-<!---app-header-layout is a wrapper element that positions an app-header and other content. This-element uses the document scroll by default, but it can also define its own scrolling region.--Using the document scroll:--```html-<app-header-layout>- <app-header fixed condenses effects="waterfall">- <app-toolbar>- <div main-title>App name</div>- </app-toolbar>- </app-header>- <div>- main content- </div>-</app-header-layout>-```--Using an own scrolling region:--```html-<app-header-layout has-scrolling-region style="width: 300px; height: 400px;">- <app-header fixed condenses effects="waterfall">- <app-toolbar>- <div main-title>App name</div>- </app-toolbar>- </app-header>- <div>- main content- </div>-</app-header-layout>-```--Add the `fullbleed` attribute to app-header-layout to make it fit the size of its container:-```html-<app-header-layout fullbleed>- ...-</app-header-layout>-```-@group App Elements-@element app-header-layout-@demo app-header-layout/demo/simple.html Simple Demo-@demo app-header-layout/demo/scrolling-region.html Scrolling Region-@demo app-header-layout/demo/music.html Music Demo-@demo app-header-layout/demo/footer.html Footer Demo--->--<dom-module id="app-header-layout">+</head><body><dom-module id="app-header-layout"><template><style>:host {@@ -122,107 +64,6 @@ Add the `fullbleed` attribute to app-header-layout to make it fit the size of it</template>- <script>- Polymer({- is: 'app-header-layout',-- behaviors: [- Polymer.IronResizableBehavior- ],-- properties: {- /**- * If true, the current element will have its own scrolling region.- * Otherwise, it will use the document scroll to control the header.- */- hasScrollingRegion: {- type: Boolean,- value: false,- reflectToAttribute: true- }- },-- listeners: {- 'iron-resize': '_resizeHandler',- 'app-header-reset-layout': '_resetLayoutHandler'- },-- observers: [- 'resetLayout(isAttached, hasScrollingRegion)'- ],-- /**- * A reference to the app-header element.- *- * @property header- */- get header() {- return Polymer.dom(this.$.header).getDistributedNodes()[0];- },-- /**- * Resets the layout. This method is automatically called when the element is attached- * to the DOM.- *- * @method resetLayout- */- resetLayout: function() {- this._updateScroller();- this.debounce('_resetLayout', this._updateContentPosition);- },-- _updateContentPosition: function() {- var header = this.header;- if (!this.isAttached || !header) {- return;- }- // Get header height here so that style reads are batched together before style writes- // (i.e. getBoundingClientRect() below).- var headerHeight = header.offsetHeight;- // Update the header position.- if (!this.hasScrollingRegion) {- var rect = this.getBoundingClientRect();- var rightOffset = document.documentElement.clientWidth - rect.right;- header.style.left = rect.left + 'px';- header.style.right = rightOffset + 'px';- } else {- header.style.left = '';- header.style.right = '';- }- // Update the content container position.- var containerStyle = this.$.contentContainer.style;- if (header.fixed && !header.willCondense() && this.hasScrollingRegion) {- // If the header size does not change and we're using a scrolling region, exclude- // the header area from the scrolling region so that the header doesn't overlap- // the scrollbar.- containerStyle.marginTop = headerHeight + 'px';- containerStyle.paddingTop = '';- } else {- containerStyle.paddingTop = headerHeight + 'px';- containerStyle.marginTop = '';- }- },-- _updateScroller: function() {- if (!this.isAttached) {- return;- }- var header = this.header;- if (header) {- header.scrollTarget = this.hasScrollingRegion ?- this.$.contentContainer : this.ownerDocument.documentElement;- }- },-- _resizeHandler: function() {- this.resetLayout();- },-- _resetLayoutHandler: function(e) {- this.resetLayout();- e.stopPropagation();- }-- });- </script>+ <script>Polymer({is:"app-header-layout",behaviors:[Polymer.IronResizableBehavior],properties:{hasScrollingRegion:{type:Boolean,value:!1,reflectToAttribute:!0}},listeners:{"iron-resize":"_resizeHandler","app-header-reset-layout":"_resetLayoutHandler"},observers:["resetLayout(isAttached, hasScrollingRegion)"],get header(){return Polymer.dom(this.$.header).getDistributedNodes()[0]},resetLayout:function(){this._updateScroller(),this.debounce("_resetLayout",this._updateContentPosition)},_updateContentPosition:function(){var e=this.header;if(this.isAttached&&e){var t=e.offsetHeight;if(this.hasScrollingRegion)e.style.left="",e.style.right="";else{var i=this.getBoundingClientRect(),o=document.documentElement.clientWidth-i.right;e.style.left=i.left+"px",e.style.right=o+"px"}var n=this.$.contentContainer.style;e.fixed&&!e.willCondense()&&this.hasScrollingRegion?(n.marginTop=t+"px",n.paddingTop=""):(n.paddingTop=t+"px",n.marginTop="")}},_updateScroller:function(){if(this.isAttached){var e=this.header;e&&(e.scrollTarget=this.hasScrollingRegion?this.$.contentContainer:this.ownerDocument.documentElement)}},_resizeHandler:function(){this.resetLayout()},_resetLayoutHandler:function(e){this.resetLayout(),e.stopPropagation()}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/app-header/app-header.html b/frontend/bower_components/app-layout/app-header/app-header.htmlindex 49dfc0dfe..d0eb50ee6 100644--- a/frontend/bower_components/app-layout/app-header/app-header.html+++ b/frontend/bower_components/app-layout/app-header/app-header.html@@ -1,230 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../../iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="../app-scroll-effects/app-scroll-effects-behavior.html">-<!---app-header is container element for app-toolbars at the top of the screen that can have scroll-effects. By default, an app-header moves away from the viewport when scrolling down and-if using `reveals`, the header slides back when scrolling back up. For example:--```html-<app-header reveals>- <app-toolbar>- <div main-title>App name</div>- </app-toolbar>-</app-header>-```--app-header can also condense when scrolling down. To achieve this behavior, the header-must have a larger height than the `sticky` element in the light DOM. For example:--```html-<app-header style="height: 96px;" condenses fixed>- <app-toolbar style="height: 64px;">- <div main-title>App name</div>- </app-toolbar>-</app-header>-```--In this case the header is initially `96px` tall, and it shrinks to `64px` when scrolling down.-That is what is meant by "condensing".--### Sticky element--The element that is positioned fixed to top of the header's `scrollTarget` when a threshold-is reached, similar to `position: sticky` in CSS. This element **must** be an immediate-child of app-header. By default, the `sticky` element is the first `app-toolbar that-is an immediate child of app-header.--```html-<app-header condenses>- <app-toolbar> Sticky element </app-toolbar>-</app-header>-```--#### Customizing the sticky element--```html-<app-header condenses>- <app-toolbar></app-toolbar>- <app-toolbar sticky> Sticky element </app-toolbar>-</app-header>-```--### Scroll target--The app-header's `scrollTarget` property allows to customize the scrollable element to which-the header responds when the user scrolls. By default, app-header uses the document as-the scroll target, but you can customize this property by setting the id of the element, e.g.--```html-<div id="scrollingRegion" style="overflow-y: auto;">- <app-header scroll-target="scrollingRegion">- </app-header>-</div>-```--In this case, the `scrollTarget` property points to the outer div element. Alternatively,-you can set this property programmatically:--```js-appHeader.scrollTarget = document.querySelector("#scrollingRegion");-```--## Backgrounds-app-header has two background layers that can be used for styling when the header is condensed-or when the scrollable element is scrolled to the top.--## Scroll effects--Scroll effects are _optional_ visual effects applied in app-header based on scroll position. For example,-The [Material Design scrolling techniques](https://www.google.com/design/spec/patterns/scrolling-techniques.html)-recommends effects that can be installed via the `effects` property. e.g.--```html-<app-header effects="waterfall">- <app-toolbar>App name</app-toolbar>-</app-header>-```--#### Importing the effects--To use the scroll effects, you must explicitly import them in addition to `app-header`:--```html-<link rel="import" href="/bower_components/app-layout/app-scroll-effects/app-scroll-effects.html">-```--#### List of effects-* **blend-background**-Fades in/out two background elements by applying CSS opacity based on scroll position.-You can use this effect to smoothly change the background color or image of the header.-For example, using the mixin `--app-header-background-rear-layer` lets you assign a different-background when the header is condensed:-```css-app-header {- background-color: red;- --app-header-background-rear-layer: {- /* The header is blue when condensed */- background-color: blue;- };-}-```--* **fade-background**-Upon scrolling past a threshold, this effect will trigger an opacity transition to-fade in/out the backgrounds. Compared to the `blend-background` effect,-this effect doesn't interpolate the opacity based on scroll position.---* **parallax-background**-A simple parallax effect that vertically translates the backgrounds based on a fraction-of the scroll position. For example:--```css-app-header {- --app-header-background-front-layer: {- background-image: url(...);- };-}-```-```html-<app-header style="height: 300px;" effects="parallax-background">- <app-toolbar>App name</app-toolbar>-</app-header>-```--The fraction determines how far the background moves relative to the scroll position.-This value can be assigned via the `scalar` config value and it is typically a value-between 0 and 1 inclusive. If `scalar=0`, the background doesn't move away from the header.--* **resize-title**-Progressively interpolates the size of the title from the element with the `main-title` attribute-to the element with the `condensed-title` attribute as the header condenses. For example:--```html-<app-header condenses reveals effects="resize-title">- <app-toolbar>- <h4 condensed-title>App name</h4>- </app-toolbar>- <app-toolbar>- <h1 main-title>App name</h1>- </app-toolbar>-</app-header>-```--* **resize-snapped-title**-Upon scrolling past a threshold, this effect fades in/out the titles using opacity transitions.-Similarly to `resize-title`, the `main-title` and `condensed-title` elements must be placed in the-light DOM.--* **waterfall**-Toggles the shadow property in app-header to create a sense of depth (as recommended in the-MD spec) between the header and the underneath content. You can change the shadow by-customizing the `--app-header-shadow` mixin. For example:--```css-app-header {- --app-header-shadow: {- box-shadow: inset 0px 5px 2px -3px rgba(0, 0, 0, 0.2);- };-}-```--```html-<app-header condenses reveals effects="waterfall">- <app-toolbar>- <h1 main-title>App name</h1>- </app-toolbar>-</app-header>-```--* **material**-Installs the waterfall, resize-title, blend-background and parallax-background effects.--### Content attributes--Attribute | Description | Default-----------|---------------------|-----------------------------------------`sticky` | Element that remains at the top when the header condenses. | The first app-toolbar in the light DOM.---## Styling--Mixin | Description | Default-------|-------------|-----------`--app-header-background-front-layer` | Applies to the front layer of the background. | {}-`--app-header-background-rear-layer` | Applies to the rear layer of the background. | {}-`--app-header-shadow` | Applies to the shadow. | {}--@group App Elements-@element app-header-@demo app-header/demo/blend-background-1.html Blend Background Image-@demo app-header/demo/blend-background-2.html Blend 2 Background Images-@demo app-header/demo/blend-background-3.html Blend Background Colors-@demo app-header/demo/contacts.html Contacts Demo-@demo app-header/demo/give.html Resize Snapped Title Demo-@demo app-header/demo/music.html Reveals Demo-@demo app-header/demo/no-effects.html Condenses and Reveals Demo-@demo app-header/demo/notes.html Fixed with Dynamic Shadow Demo-@demo app-header/demo/custom-sticky-element-1.html Custom Sticky Element Demo 1-@demo app-header/demo/custom-sticky-element-2.html Custom Sticky Element Demo 2--->--<dom-module id="app-header">+</head><body><dom-module id="app-header"><template><style>:host {@@ -315,401 +96,6 @@ Mixin | Description | Default</div></template>- <script>- Polymer({- is: 'app-header',-- behaviors: [- Polymer.AppScrollEffectsBehavior,- Polymer.IronResizableBehavior- ],-- properties: {- /**- * If true, the header will automatically collapse when scrolling down.- * That is, the `sticky` element remains visible when the header is fully condensed- * whereas the rest of the elements will collapse below `sticky` element.- *- * By default, the `sticky` element is the first toolbar in the light DOM:- *- *```html- * <app-header condenses>- * <app-toolbar>This toolbar remains on top</app-toolbar>- * <app-toolbar></app-toolbar>- * <app-toolbar></app-toolbar>- * </app-header>- * ```- *- * Additionally, you can specify which toolbar or element remains visible in condensed mode- * by adding the `sticky` attribute to that element. For example: if we want the last- * toolbar to remain visible, we can add the `sticky` attribute to it.- *- *```html- * <app-header condenses>- * <app-toolbar></app-toolbar>- * <app-toolbar></app-toolbar>- * <app-toolbar sticky>This toolbar remains on top</app-toolbar>- * </app-header>- * ```- *- * Note the `sticky` element must be a direct child of `app-header`.- */- condenses: {- type: Boolean,- value: false- },-- /**- * Mantains the header fixed at the top so it never moves away.- */- fixed: {- type: Boolean,- value: false- },-- /**- * Slides back the header when scrolling back up.- */- reveals: {- type: Boolean,- value: false- },-- /**- * Displays a shadow below the header.- */- shadow: {- type: Boolean,- reflectToAttribute: true,- value: false- }- },-- observers: [- 'resetLayout(isAttached, condenses, fixed)'- ],-- listeners: {- 'iron-resize': '_resizeHandler'- },-- /**- * A cached offsetHeight of the current element.- *- * @type {number}- */- _height: 0,-- /**- * The distance in pixels the header will be translated to when scrolling.- *- * @type {number}- */- _dHeight: 0,-- /**- * The offsetTop of `_stickyEl`- *- * @type {number}- */- _stickyElTop: 0,-- /**- * The element that remains visible when the header condenses.- *- * @type {HTMLElement}- */- _stickyEl: null,-- /**- * The header's top value used for the `transformY`- *- * @type {number}- */- _top: 0,-- /**- * The current scroll progress.- *- * @type {number}- */- _progress: 0,-- _wasScrollingDown: false,- _initScrollTop: 0,- _initTimestamp: 0,- _lastTimestamp: 0,- _lastScrollTop: 0,-- /**- * The distance the header is allowed to move away.- *- * @type {number}- */- get _maxHeaderTop() {- return this.fixed ? this._dHeight : this._height + 5;- },-- /**- * Returns a reference to the sticky element.- *- * @return {HTMLElement}?- */- _getStickyEl: function() {- /** @type {HTMLElement} */- var stickyEl;- var nodes = Polymer.dom(this.$.content).getDistributedNodes();-- for (var i = 0; i < nodes.length; i++) {- if (nodes[i].nodeType === Node.ELEMENT_NODE) {- var node = /** @type {HTMLElement} */ (nodes[i]);- if (node.hasAttribute('sticky')) {- stickyEl = node;- break;- } else if (!stickyEl) {- stickyEl = node;- }- }- }- return stickyEl;- },-- /**- * Resets the layout. If you changed the size of app-header via CSS- * you can notify the changes by either firing the `iron-resize` event- * or calling `resetLayout` directly.- *- * @method resetLayout- */- resetLayout: function() {- this.debounce('_resetLayout', function() {- // noop if the header isn't visible- if (this.offsetWidth === 0 && this.offsetHeight === 0) {- return;- }-- var scrollTop = this._clampedScrollTop;- var firstSetup = this._height === 0 || scrollTop === 0;- var currentDisabled = this.disabled;-- this._height = this.offsetHeight;- this._stickyEl = this._getStickyEl();- this.disabled = true;-- // prepare for measurement- if (!firstSetup) {- this._updateScrollState(0, true);- }- if (this._mayMove()) {- this._dHeight = this._stickyEl ? this._height - this._stickyEl.offsetHeight : 0;- } else {- this._dHeight = 0;- }-- this._stickyElTop = this._stickyEl ? this._stickyEl.offsetTop : 0;- this._setUpEffect();-- if (firstSetup) {- this._updateScrollState(scrollTop, true);- } else {- this._updateScrollState(this._lastScrollTop, true);- this._layoutIfDirty();- }- // restore no transition- this.disabled = currentDisabled;- this.fire('app-header-reset-layout');- });- },-- /**- * Updates the scroll state.- *- * @param {number} scrollTop- * @param {boolean=} forceUpdate (default: false)- */- _updateScrollState: function(scrollTop, forceUpdate) {- if (this._height === 0) {- return;- }-- var progress = 0;- var top = 0;- var lastTop = this._top;- var lastScrollTop = this._lastScrollTop;- var maxHeaderTop = this._maxHeaderTop;- var dScrollTop = scrollTop - this._lastScrollTop;- var absDScrollTop = Math.abs(dScrollTop);- var isScrollingDown = scrollTop > this._lastScrollTop;- var now = Date.now();-- if (this._mayMove()) {- top = this._clamp(this.reveals ? lastTop + dScrollTop : scrollTop, 0, maxHeaderTop);- }-- if (scrollTop >= this._dHeight) {- top = this.condenses && !this.fixed ? Math.max(this._dHeight, top) : top;- this.style.transitionDuration = '0ms';- }-- if (this.reveals && !this.disabled && absDScrollTop < 100) {- // set the initial scroll position- if (now - this._initTimestamp > 300 || this._wasScrollingDown !== isScrollingDown) {- this._initScrollTop = scrollTop;- this._initTimestamp = now;- }-- if (scrollTop >= maxHeaderTop) {- // check if the header is allowed to snap- if (Math.abs(this._initScrollTop - scrollTop) > 30 || absDScrollTop > 10) {- if (isScrollingDown && scrollTop >= maxHeaderTop) {- top = maxHeaderTop;- } else if (!isScrollingDown && scrollTop >= this._dHeight) {- top = this.condenses && !this.fixed ? this._dHeight : 0;- }- var scrollVelocity = dScrollTop / (now - this._lastTimestamp);- this.style.transitionDuration = this._clamp((top - lastTop) / scrollVelocity, 0, 300) + 'ms';- } else {- top = this._top;- }- }- }-- if (this._dHeight === 0) {- progress = scrollTop > 0 ? 1 : 0;- } else {- progress = top / this._dHeight;- }-- if (!forceUpdate) {- this._lastScrollTop = scrollTop;- this._top = top;- this._wasScrollingDown = isScrollingDown;- this._lastTimestamp = now;- }-- if (forceUpdate || progress !== this._progress || lastTop !== top || scrollTop === 0) {- this._progress = progress;- this._runEffects(progress, top);- this._transformHeader(top);- }- },-- /**- * Returns true if the current header is allowed to move as the user scrolls.- *- * @return {boolean}- */- _mayMove: function() {- return this.condenses || !this.fixed;- },-- /**- * Returns true if the current header will condense based on the size of the header- * and the `consenses` property.- *- * @return {boolean}- */- willCondense: function() {- return this._dHeight > 0 && this.condenses;- },-- /**- * Returns true if the current element is on the screen.- * That is, visible in the current viewport.- *- * @method isOnScreen- * @return {boolean}- */- isOnScreen: function() {- return this._height !== 0 && this._top < this._height;- },-- /**- * Returns true if there's content below the current element.- *- * @method isContentBelow- * @return {boolean}- */- isContentBelow: function() {- if (this._top === 0) {- return this._clampedScrollTop > 0;- }- return this._clampedScrollTop - this._maxHeaderTop >= 0;- },-- /**- * Transforms the header.- *- * @param {number} y- */- _transformHeader: function(y) {- this.translate3d(0, (-y) + 'px', 0);- if (this._stickyEl) {- this.translate3d(0, this.condenses && y >= this._stickyElTop ?- (Math.min(y, this._dHeight) - this._stickyElTop) + 'px' : 0, 0, this._stickyEl);- }- },-- _resizeHandler: function() {- this.resetLayout();- },-- _clamp: function(v, min, max) {- return Math.min(max, Math.max(min, v));- },-- _ensureBgContainers: function() {- if (!this._bgContainer) {- this._bgContainer = document.createElement('div');- this._bgContainer.id = 'background';-- this._bgRear = document.createElement('div');- this._bgRear.id = 'backgroundRearLayer';- this._bgContainer.appendChild(this._bgRear);-- this._bgFront = document.createElement('div');- this._bgFront.id = 'backgroundFrontLayer';- this._bgContainer.appendChild(this._bgFront);-- Polymer.dom(this.root).insertBefore(this._bgContainer, this.$.contentContainer);- }- },-- _getDOMRef: function(id) {- switch (id) {- case 'backgroundFrontLayer':- this._ensureBgContainers();- return this._bgFront;- case 'backgroundRearLayer':- this._ensureBgContainers();- return this._bgRear;- case 'background':- this._ensureBgContainers();- return this._bgContainer;- case 'mainTitle':- return Polymer.dom(this).querySelector('[main-title]');- case 'condensedTitle':- return Polymer.dom(this).querySelector('[condensed-title]');- }- return null;- },-- /**- * Returns an object containing the progress value of the scroll effects- * and the top position of the header.- *- * @method getScrollState- * @return {Object}- */- getScrollState: function() {- return { progress: this._progress, top: this._top };- }-- /**- * Fires when the layout of `app-header` changed.- *- * @event app-header-reset-layout- */- });- </script>+ <script>Polymer({is:"app-header",behaviors:[Polymer.AppScrollEffectsBehavior,Polymer.IronResizableBehavior],properties:{condenses:{type:Boolean,value:!1},fixed:{type:Boolean,value:!1},reveals:{type:Boolean,value:!1},shadow:{type:Boolean,reflectToAttribute:!0,value:!1}},observers:["resetLayout(isAttached, condenses, fixed)"],listeners:{"iron-resize":"_resizeHandler"},_height:0,_dHeight:0,_stickyElTop:0,_stickyEl:null,_top:0,_progress:0,_wasScrollingDown:!1,_initScrollTop:0,_initTimestamp:0,_lastTimestamp:0,_lastScrollTop:0,get _maxHeaderTop(){return this.fixed?this._dHeight:this._height+5},_getStickyEl:function(){for(var t,e=Polymer.dom(this.$.content).getDistributedNodes(),i=0;i<e.length;i++)if(e[i].nodeType===Node.ELEMENT_NODE){var s=e[i];if(s.hasAttribute("sticky")){t=s;break}t||(t=s)}return t},resetLayout:function(){this.debounce("_resetLayout",function(){if(0!==this.offsetWidth||0!==this.offsetHeight){var t=this._clampedScrollTop,e=0===this._height||0===t,i=this.disabled;this._height=this.offsetHeight,this._stickyEl=this._getStickyEl(),this.disabled=!0,e||this._updateScrollState(0,!0),this._mayMove()?this._dHeight=this._stickyEl?this._height-this._stickyEl.offsetHeight:0:this._dHeight=0,this._stickyElTop=this._stickyEl?this._stickyEl.offsetTop:0,this._setUpEffect(),e?this._updateScrollState(t,!0):(this._updateScrollState(this._lastScrollTop,!0),this._layoutIfDirty()),this.disabled=i,this.fire("app-header-reset-layout")}})},_updateScrollState:function(t,e){if(0!==this._height){var i=0,s=0,o=this._top,r=(this._lastScrollTop,this._maxHeaderTop),h=t-this._lastScrollTop,n=Math.abs(h),a=t>this._lastScrollTop,l=Date.now();if(this._mayMove()&&(s=this._clamp(this.reveals?o+h:t,0,r)),t>=this._dHeight&&(s=this.condenses&&!this.fixed?Math.max(this._dHeight,s):s,this.style.transitionDuration="0ms"),this.reveals&&!this.disabled&&n<100&&((l-this._initTimestamp>300||this._wasScrollingDown!==a)&&(this._initScrollTop=t,this._initTimestamp=l),t>=r))if(Math.abs(this._initScrollTop-t)>30||n>10){a&&t>=r?s=r:!a&&t>=this._dHeight&&(s=this.condenses&&!this.fixed?this._dHeight:0);var _=h/(l-this._lastTimestamp);this.style.transitionDuration=this._clamp((s-o)/_,0,300)+"ms"}else s=this._top;i=0===this._dHeight?t>0?1:0:s/this._dHeight,e||(this._lastScrollTop=t,this._top=s,this._wasScrollingDown=a,this._lastTimestamp=l),(e||i!==this._progress||o!==s||0===t)&&(this._progress=i,this._runEffects(i,s),this._transformHeader(s))}},_mayMove:function(){return this.condenses||!this.fixed},willCondense:function(){return this._dHeight>0&&this.condenses},isOnScreen:function(){return 0!==this._height&&this._top<this._height},isContentBelow:function(){return 0===this._top?this._clampedScrollTop>0:this._clampedScrollTop-this._maxHeaderTop>=0},_transformHeader:function(t){this.translate3d(0,-t+"px",0),this._stickyEl&&this.translate3d(0,this.condenses&&t>=this._stickyElTop?Math.min(t,this._dHeight)-this._stickyElTop+"px":0,0,this._stickyEl)},_resizeHandler:function(){this.resetLayout()},_clamp:function(t,e,i){return Math.min(i,Math.max(e,t))},_ensureBgContainers:function(){this._bgContainer||(this._bgContainer=document.createElement("div"),this._bgContainer.id="background",this._bgRear=document.createElement("div"),this._bgRear.id="backgroundRearLayer",this._bgContainer.appendChild(this._bgRear),this._bgFront=document.createElement("div"),this._bgFront.id="backgroundFrontLayer",this._bgContainer.appendChild(this._bgFront),Polymer.dom(this.root).insertBefore(this._bgContainer,this.$.contentContainer))},_getDOMRef:function(t){switch(t){case"backgroundFrontLayer":return this._ensureBgContainers(),this._bgFront;case"backgroundRearLayer":return this._ensureBgContainers(),this._bgRear;case"background":return this._ensureBgContainers(),this._bgContainer;case"mainTitle":return Polymer.dom(this).querySelector("[main-title]");case"condensedTitle":return Polymer.dom(this).querySelector("[condensed-title]")}return null},getScrollState:function(){return{progress:this._progress,top:this._top}}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.html b/frontend/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.htmlindex bc6a2b882..c7a9383b5 100644--- a/frontend/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.html+++ b/frontend/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.html@@ -1,392 +1,6 @@-<!---@license-Copyright (c) 2016 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-scroll-target-behavior/iron-scroll-target-behavior.html"><link rel="import" href="../helpers/helpers.html">-<script>- /**- * `Polymer.AppScrollEffectsBehavior` provides an interface that allows an element to use scrolls effects.- *- * ### Importing the app-layout effects- *- * app-layout provides a set of scroll effects that can be used by explicitly importing- * `app-scroll-effects.html`:- *- * ```html- * <link rel="import" href="/bower_components/app-layout/app-scroll-effects/app-scroll-effects.html">- * ```- *- * The scroll effects can also be used by individually importing- * `app-layout/app-scroll-effects/effects/[effectName].html`. For example:- *- * ```html- * <link rel="import" href="/bower_components/app-layout/app-scroll-effects/effects/waterfall.html">- * ```- *- * ### Consuming effects- *- * Effects can be consumed via the `effects` property. For example:- *- * ```html- * <app-header effects="waterfall"></app-header>- * ```- *- * ### Creating scroll effects- *- * You may want to create a custom scroll effect if you need to modify the CSS of an element- * based on the scroll position.- *- * A scroll effect definition is an object with `setUp()`, `tearDown()` and `run()` functions.- *- * To register the effect, you can use `Polymer.AppLayout.registerEffect(effectName, effectDef)`- * For example, let's define an effect that resizes the header's logo:- *- * ```js- * Polymer.AppLayout.registerEffect('resizable-logo', {- * setUp: function(config) {- * // the effect's config is passed to the setUp.- * this._fxResizeLogo = { logo: Polymer.dom(this).querySelector('[logo]') };- * },- *- * run: function(progress) {- * // the progress of the effect- * this.transform('scale3d(' + progress + ', '+ progress +', 1)', this._fxResizeLogo.logo);- * },- *- * tearDown: function() {- * // clean up and reset of states- * delete this._fxResizeLogo;- * }- * });- * ```- * Now, you can consume the effect:- *- * ```html- * <app-header id="appHeader" effects="resizable-logo">- * <img logo src="logo.svg">- * </app-header>- * ```- *- * ### Imperative API- *- * ```js- * var logoEffect = appHeader.createEffect('resizable-logo', effectConfig);- * // run the effect: logoEffect.run(progress);- * // tear down the effect: logoEffect.tearDown();- * ```- *- * ### Configuring effects- *- * For effects installed via the `effects` property, their configuration can be set- * via the `effectsConfig` property. For example:- *- * ```html- * <app-header effects="waterfall"- * effects-config='{"waterfall": {"startsAt": 0, "endsAt": 0.5}}'>- * </app-header>- * ```- *- * All effects have a `startsAt` and `endsAt` config property. They specify at what- * point the effect should start and end. This value goes from 0 to 1 inclusive.- *- * @polymerBehavior- */- Polymer.AppScrollEffectsBehavior = [- Polymer.IronScrollTargetBehavior,- {-- properties: {-- /**- * A space-separated list of the effects names that will be triggered when the user scrolls.- * e.g. `waterfall parallax-background` installs the `waterfall` and `parallax-background`.- */- effects: {- type: String- },-- /**- * An object that configurates the effects installed via the `effects` property. e.g.- * ```js- * element.effectsConfig = {- * "blend-background": {- * "startsAt": 0.5- * }- * };- * ```- * Every effect has at least two config properties: `startsAt` and `endsAt`.- * These properties indicate when the event should start and end respectively- * and relative to the overall element progress. So for example, if `blend-background`- * starts at `0.5`, the effect will only start once the current element reaches 0.5- * of its progress. In this context, the progress is a value in the range of `[0, 1]`- * that indicates where this element is on the screen relative to the viewport.- */- effectsConfig: {- type: Object,- value: function() {- return {};- }- },-- /**- * Disables CSS transitions and scroll effects on the element.- */- disabled: {- type: Boolean,- reflectToAttribute: true,- value: false- },-- /**- * Allows to set a `scrollTop` threshold. When greater than 0, `thresholdTriggered`- * is true only when the scroll target's `scrollTop` has reached this value.- *- * For example, if `threshold = 100`, `thresholdTriggered` is true when the `scrollTop`- * is at least `100`.- */- threshold: {- type: Number,- value: 0- },-- /**- * True if the `scrollTop` threshold (set in `scrollTopThreshold`) has- * been reached.- */- thresholdTriggered: {- type: Boolean,- notify: true,- readOnly: true,- reflectToAttribute: true- }- },-- observers: [- '_effectsChanged(effects, effectsConfig, isAttached)'- ],-- /**- * Updates the scroll state. This method should be overridden- * by the consumer of this behavior.- *- * @method _updateScrollState- */- _updateScrollState: function() {},-- /**- * Returns true if the current element is on the screen.- * That is, visible in the current viewport. This method should be- * overridden by the consumer of this behavior.- *- * @method isOnScreen- * @return {boolean}- */- isOnScreen: function() {- return false;- },-- /**- * Returns true if there's content below the current element. This method- * should be overridden by the consumer of this behavior.- *- * @method isContentBelow- * @return {boolean}- */- isContentBelow: function() {- return false;- },-- /**- * List of effects handlers that will take place during scroll.- *- * @type {Array<Function>}- */- _effectsRunFn: null,-- /**- * List of the effects definitions installed via the `effects` property.- *- * @type {Array<Object>}- */- _effects: null,-- /**- * The clamped value of `_scrollTop`.- * @type number- */- get _clampedScrollTop() {- return Math.max(0, this._scrollTop);- },-- detached: function() {- this._tearDownEffects();- },-- /**- * Creates an effect object from an effect's name that can be used to run- * effects programmatically.- *- * @method createEffect- * @param {string} effectName The effect's name registered via `Polymer.AppLayout.registerEffect`.- * @param {Object=} effectConfig The effect config object. (Optional)- * @return {Object} An effect object with the following functions:- *- * * `effect.setUp()`, Sets up the requirements for the effect.- * This function is called automatically before the `effect` function returns.- * * `effect.run(progress, y)`, Runs the effect given a `progress`.- * * `effect.tearDown()`, Cleans up any DOM nodes or element references used by the effect.- *- * Example:- * ```js- * var parallax = element.createEffect('parallax-background');- * // runs the effect- * parallax.run(0.5, 0);- * ```- */- createEffect: function(effectName, effectConfig) {- var effectDef = Polymer.AppLayout._scrollEffects[effectName];- if (!effectDef) {- throw new ReferenceError(this._getUndefinedMsg(effectName));- }- var prop = this._boundEffect(effectDef, effectConfig || {});- prop.setUp();- return prop;- },-- /**- * Called when `effects` or `effectsConfig` changes.- */- _effectsChanged: function(effects, effectsConfig, isAttached) {- this._tearDownEffects();-- if (effects === '' || !isAttached) {- return;- }- effects.split(' ').forEach(function(effectName) {- var effectDef;- if (effectName !== '') {- if ((effectDef = Polymer.AppLayout._scrollEffects[effectName])) {- this._effects.push(this._boundEffect(effectDef, effectsConfig[effectName]));- } else {- console.warn(this._getUndefinedMsg(effectName));- }- }- }, this);-- this._setUpEffect();- },-- /**- * Forces layout- */- _layoutIfDirty: function() {- return this.offsetWidth;- },-- /**- * Returns an effect object bound to the current context.- *- * @param {Object} effectDef- * @param {Object=} effectsConfig The effect config object if the effect accepts config values. (Optional)- */- _boundEffect: function(effectDef, effectsConfig) {- effectsConfig = effectsConfig || {};- var startsAt = parseFloat(effectsConfig.startsAt || 0);- var endsAt = parseFloat(effectsConfig.endsAt || 1);- var deltaS = endsAt - startsAt;- var noop = function() {};- // fast path if possible- var runFn = (startsAt === 0 && endsAt === 1) ? effectDef.run :- function(progress, y) {- effectDef.run.call(this,- Math.max(0, (progress - startsAt) / deltaS), y);- };- return {- setUp: effectDef.setUp ? effectDef.setUp.bind(this, effectsConfig) : noop,- run: effectDef.run ? runFn.bind(this) : noop,- tearDown: effectDef.tearDown ? effectDef.tearDown.bind(this) : noop- };- },-- /**- * Sets up the effects.- */- _setUpEffect: function() {- if (this.isAttached && this._effects) {- this._effectsRunFn = [];- this._effects.forEach(function(effectDef) {- // install the effect only if no error was reported- if (effectDef.setUp() !== false) {- this._effectsRunFn.push(effectDef.run);- }- }, this);- }- },-- /**- * Tears down the effects.- */- _tearDownEffects: function() {- if (this._effects) {- this._effects.forEach(function(effectDef) {- effectDef.tearDown();- });- }- this._effectsRunFn = [];- this._effects = [];- },-- /**- * Runs the effects.- *- * @param {number} p The progress- * @param {number} y The top position of the current element relative to the viewport.- */- _runEffects: function(p, y) {- if (this._effectsRunFn) {- this._effectsRunFn.forEach(function(run) {- run(p, y);- });- }- },-- /**- * Overrides the `_scrollHandler`.- */- _scrollHandler: function() {- if (!this.disabled) {- var scrollTop = this._clampedScrollTop;- this._updateScrollState(scrollTop);- if (this.threshold > 0) {- this._setThresholdTriggered(scrollTop >= this.threshold);- }- }- },-- /**- * Override this method to return a reference to a node in the local DOM.- * The node is consumed by a scroll effect.- *- * @param {string} id The id for the node.- */- _getDOMRef: function(id) {- console.warn('_getDOMRef', '`'+ id +'` is undefined');- },-- _getUndefinedMsg: function(effectName) {- return 'Scroll effect `' + effectName + '` is undefined. ' +- 'Did you forget to import app-layout/app-scroll-effects/effects/' + effectName + '.html ?';- }-- }];--</script>+<script>Polymer.AppScrollEffectsBehavior=[Polymer.IronScrollTargetBehavior,{properties:{effects:{type:String},effectsConfig:{type:Object,value:function(){return{}}},disabled:{type:Boolean,reflectToAttribute:!0,value:!1},threshold:{type:Number,value:0},thresholdTriggered:{type:Boolean,notify:!0,readOnly:!0,reflectToAttribute:!0}},observers:["_effectsChanged(effects, effectsConfig, isAttached)"],_updateScrollState:function(){},isOnScreen:function(){return!1},isContentBelow:function(){return!1},_effectsRunFn:null,_effects:null,get _clampedScrollTop(){return Math.max(0,this._scrollTop)},detached:function(){this._tearDownEffects()},createEffect:function(t,e){var n=Polymer.AppLayout._scrollEffects[t];if(!n)throw new ReferenceError(this._getUndefinedMsg(t));var f=this._boundEffect(n,e||{});return f.setUp(),f},_effectsChanged:function(t,e,n){this._tearDownEffects(),""!==t&&n&&(t.split(" ").forEach(function(t){var n;""!==t&&((n=Polymer.AppLayout._scrollEffects[t])?this._effects.push(this._boundEffect(n,e[t])):console.warn(this._getUndefinedMsg(t)))},this),this._setUpEffect())},_layoutIfDirty:function(){return this.offsetWidth},_boundEffect:function(t,e){e=e||{};var n=parseFloat(e.startsAt||0),f=parseFloat(e.endsAt||1),s=f-n,r=function(){},o=0===n&&1===f?t.run:function(e,f){t.run.call(this,Math.max(0,(e-n)/s),f)};return{setUp:t.setUp?t.setUp.bind(this,e):r,run:t.run?o.bind(this):r,tearDown:t.tearDown?t.tearDown.bind(this):r}},_setUpEffect:function(){this.isAttached&&this._effects&&(this._effectsRunFn=[],this._effects.forEach(function(t){t.setUp()!==!1&&this._effectsRunFn.push(t.run)},this))},_tearDownEffects:function(){this._effects&&this._effects.forEach(function(t){t.tearDown()}),this._effectsRunFn=[],this._effects=[]},_runEffects:function(t,e){this._effectsRunFn&&this._effectsRunFn.forEach(function(n){n(t,e)})},_scrollHandler:function(){if(!this.disabled){var t=this._clampedScrollTop;this._updateScrollState(t),this.threshold>0&&this._setThresholdTriggered(t>=this.threshold)}},_getDOMRef:function(t){console.warn("_getDOMRef","`"+t+"` is undefined")},_getUndefinedMsg:function(t){return"Scroll effect `"+t+"` is undefined. Did you forget to import app-layout/app-scroll-effects/effects/"+t+".html ?"}}];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/app-toolbar/app-toolbar.html b/frontend/bower_components/app-layout/app-toolbar/app-toolbar.htmlindex 9704ad207..2957ed987 100644--- a/frontend/bower_components/app-layout/app-toolbar/app-toolbar.html+++ b/frontend/bower_components/app-layout/app-toolbar/app-toolbar.html@@ -1,65 +1,9 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">-<!---app-toolbar is a horizontal toolbar containing items that can be used for-label, navigation, search and actions.--### Example--Add a title to the toolbar.--```html-<app-toolbar>- <div main-title>App name</div>-</app-toolbar>-```--Add a button to the left and right side of the toolbar.--```html-<app-toolbar>- <paper-icon-button icon="menu"></paper-icon-button>- <div main-title>App name</div>- <paper-icon-button icon="search"></paper-icon-button>-</app-toolbar>-```--You can use the attributes `top-item` or `bottom-item` to completely fit an element-to the top or bottom of the toolbar respectively.--### Content attributes--Attribute | Description----------------------|----------------------------------------------------------`main-title` | The main title element.-`condensed-title` | The title element if used inside a condensed app-header.-`spacer` | Adds a left margin of `64px`.-`bottom-item` | Sticks the element to the bottom of the toolbar.-`top-item` | Sticks the element to the top of the toolbar.--### Styling--Custom property | Description | Default------------------------------|------------------------------|------------------------`--app-toolbar-font-size` | Toolbar font size | 20px-@group App Elements-@element app-toolbar-@demo app-toolbar/demo/index.html--->-<dom-module id="app-toolbar">+</head><body><dom-module id="app-toolbar"><template><style>:host {@@ -109,9 +53,6 @@ Custom property | Description | Default<content></content></template>- <script>- Polymer({- is: 'app-toolbar'- });- </script>+ <script>Polymer({is:"app-toolbar"});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-layout/helpers/helpers.html b/frontend/bower_components/app-layout/helpers/helpers.htmlindex e215b1850..635cc9991 100644--- a/frontend/bower_components/app-layout/helpers/helpers.html+++ b/frontend/bower_components/app-layout/helpers/helpers.html@@ -1,130 +1,4 @@-<!---@license-Copyright (c) 2016 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--->+<html><head><link rel="import" href="../../polymer/polymer.html">-<link rel="import" href="../../polymer/polymer.html">--<script>- Polymer.AppLayout = Polymer.AppLayout || {};-- Polymer.AppLayout._scrollEffects = Polymer.AppLayout._scrollEffects || {};-- Polymer.AppLayout.scrollTimingFunction = function easeOutQuad(t, b, c, d) {- t /= d;- return -c * t*(t-2) + b;- };-- /**- * Registers a scroll effect to be used in elements that implement the- * `Polymer.AppScrollEffectsBehavior` behavior.- *- * @param {string} effectName The effect name.- * @param {Object} effectDef The effect definition.- */- Polymer.AppLayout.registerEffect = function registerEffect(effectName, effectDef) {- if (Polymer.AppLayout._scrollEffects[effectName] != null) {- throw new Error('effect `'+ effectName + '` is already registered.');- }- Polymer.AppLayout._scrollEffects[effectName] = effectDef;- };-- /**- * Scrolls to a particular set of coordinates in a scroll target.- * If the scroll target is not defined, then it would use the main document as the target.- *- * To scroll in a smooth fashion, you can set the option `behavior: 'smooth'`. e.g.- *- * ```js- * Polymer.AppLayout.scroll({top: 0, behavior: 'smooth'});- * ```- *- * To scroll in a silent mode, without notifying scroll changes to any app-layout elements,- * you can set the option `behavior: 'silent'`. This is particularly useful we you are using- * `app-header` and you desire to scroll to the top of a scrolling region without running- * scroll effects. e.g.- *- * ```js- * Polymer.AppLayout.scroll({top: 0, behavior: 'silent'});- * ```- *- * @param {Object} options {top: Number, left: Number, behavior: String(smooth | silent)}- */- Polymer.AppLayout.scroll = function scroll(options) {- options = options || {};-- var docEl = document.documentElement;- var target = options.target || docEl;- var hasNativeScrollBehavior = 'scrollBehavior' in target.style && target.scroll;- var scrollClassName = 'app-layout-silent-scroll';- var scrollTop = options.top || 0;- var scrollLeft = options.left || 0;- var scrollTo = target === docEl ? window.scrollTo :- function scrollTo(scrollLeft, scrollTop) {- target.scrollLeft = scrollLeft;- target.scrollTop = scrollTop;- };-- if (options.behavior === 'smooth') {-- if (hasNativeScrollBehavior) {-- target.scroll(options);-- } else {-- var timingFn = Polymer.AppLayout.scrollTimingFunction;- var startTime = Date.now();- var currentScrollTop = target === docEl ? window.pageYOffset : target.scrollTop;- var currentScrollLeft = target === docEl ? window.pageXOffset : target.scrollLeft;- var deltaScrollTop = scrollTop - currentScrollTop;- var deltaScrollLeft = scrollLeft - currentScrollLeft;- var duration = 300;- var updateFrame = (function updateFrame() {- var now = Date.now();- var elapsedTime = now - startTime;-- if (elapsedTime < duration) {- scrollTo(timingFn(elapsedTime, currentScrollLeft, deltaScrollLeft, duration),- timingFn(elapsedTime, currentScrollTop, deltaScrollTop, duration));- requestAnimationFrame(updateFrame);- } else {- scrollTo(scrollLeft, scrollTop);- }- }).bind(this);-- updateFrame();- }-- } else if (options.behavior === 'silent') {-- docEl.classList.add(scrollClassName);-- // Browsers keep the scroll momentum even if the bottom of the scrolling content- // was reached. This means that calling scroll({top: 0, behavior: 'silent'}) when- // the momentum is still going will result in more scroll events and thus scroll effects.- // This seems to only apply when using document scrolling.- // Therefore, when should we remove the class from the document element?-- clearInterval(Polymer.AppLayout._scrollTimer);-- Polymer.AppLayout._scrollTimer = setTimeout(function() {- docEl.classList.remove(scrollClassName);- Polymer.AppLayout._scrollTimer = null;- }, 100);-- scrollTo(scrollLeft, scrollTop);-- } else {-- scrollTo(scrollLeft, scrollTop);-- }- };--</script>+<script>Polymer.AppLayout=Polymer.AppLayout||{},Polymer.AppLayout._scrollEffects=Polymer.AppLayout._scrollEffects||{},Polymer.AppLayout.scrollTimingFunction=function(o,l,e,r){return o/=r,-e*o*(o-2)+l},Polymer.AppLayout.registerEffect=function(o,l){if(null!=Polymer.AppLayout._scrollEffects[o])throw new Error("effect `"+o+"` is already registered.");Polymer.AppLayout._scrollEffects[o]=l},Polymer.AppLayout.scroll=function(o){o=o||{};var l=document.documentElement,e=o.target||l,r="scrollBehavior"in e.style&&e.scroll,t="app-layout-silent-scroll",s=o.top||0,c=o.left||0,i=e===l?window.scrollTo:function(o,l){e.scrollLeft=o,e.scrollTop=l};if("smooth"===o.behavior)if(r)e.scroll(o);else{var n=Polymer.AppLayout.scrollTimingFunction,a=Date.now(),p=e===l?window.pageYOffset:e.scrollTop,u=e===l?window.pageXOffset:e.scrollLeft,y=s-p,f=c-u,m=300,L=function o(){var l=Date.now(),e=l-a;e<m?(i(n(e,u,f,m),n(e,p,y,m)),requestAnimationFrame(o)):i(c,s)}.bind(this);L()}else"silent"===o.behavior?(l.classList.add(t),clearInterval(Polymer.AppLayout._scrollTimer),Polymer.AppLayout._scrollTimer=setTimeout(function(){l.classList.remove(t),Polymer.AppLayout._scrollTimer=null},100),i(c,s)):i(c,s)};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/app-route/app-route.html b/frontend/bower_components/app-route/app-route.htmlindex 197dab96c..8bee54a1f 100644--- a/frontend/bower_components/app-route/app-route.html+++ b/frontend/bower_components/app-route/app-route.html@@ -1,417 +1,6 @@-<!---@license-Copyright (c) 2016 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">-<!---`app-route` is an element that enables declarative, self-describing routing-for a web app.-> *n.b. app-route is still in beta. We expect it will need some changes. We're counting on your feedback!*--In its typical usage, a `app-route` element consumes an object that describes-some state about the current route, via the `route` property. It then parses-that state using the `pattern` property, and produces two artifacts: some `data`-related to the `route`, and a `tail` that contains the rest of the `route` that-did not match.--Here is a basic example, when used with `app-location`:-- <app-location route="{{route}}"></app-location>- <app-route- route="{{route}}"- pattern="/:page"- data="{{data}}"- tail="{{tail}}">- </app-route>--In the above example, the `app-location` produces a `route` value. Then, the-`route.path` property is matched by comparing it to the `pattern` property. If-the `pattern` property matches `route.path`, the `app-route` will set or update-its `data` property with an object whose properties correspond to the parameters-in `pattern`. So, in the above example, if `route.path` was `'/about'`, the value-of `data` would be `{"page": "about"}`.--The `tail` property represents the remaining part of the route state after the-`pattern` has been applied to a matching `route`.--Here is another example, where `tail` is used:-- <app-location route="{{route}}"></app-location>- <app-route- route="{{route}}"- pattern="/:page"- data="{{routeData}}"- tail="{{subroute}}">- </app-route>- <app-route- route="{{subroute}}"- pattern="/:id"- data="{{subrouteData}}">- </app-route>--In the above example, there are two `app-route` elements. The first-`app-route` consumes a `route`. When the `route` is matched, the first-`app-route` also produces `routeData` from its `data`, and `subroute` from-its `tail`. The second `app-route` consumes the `subroute`, and when it-matches, it produces an object called `subrouteData` from its `data`.--So, when `route.path` is `'/about'`, the `routeData` object will look like-this: `{ page: 'about' }`--And `subrouteData` will be null. However, if `route.path` changes to-`'/article/123'`, the `routeData` object will look like this:-`{ page: 'article' }`--And the `subrouteData` will look like this: `{ id: '123' }`--`app-route` is responsive to bi-directional changes to the `data` objects-they produce. So, if `routeData.page` changed from `'article'` to `'about'`,-the `app-route` will update `route.path`. This in-turn will update the-`app-location`, and cause the global location bar to change its value.--@element app-route-@demo demo/index.html-@demo demo/data-loading-demo.html-@demo demo/simple-demo.html--->--<script>- (function() {- 'use strict';-- Polymer({- is: 'app-route',-- properties: {- /**- * The URL component managed by this element.- */- route: {- type: Object,- notify: true- },-- /**- * The pattern of slash-separated segments to match `path` against.- *- * For example the pattern "/foo" will match "/foo" or "/foo/bar"- * but not "/foobar".- *- * Path segments like `/:named` are mapped to properties on the `data` object.- */- pattern: {- type: String- },-- /**- * The parameterized values that are extracted from the route as- * described by `pattern`.- */- data: {- type: Object,- value: function() {return {};},- notify: true- },-- /**- * @type {?Object}- */- queryParams: {- type: Object,- value: function() {- return {};- },- notify: true- },-- /**- * The part of `path` NOT consumed by `pattern`.- */- tail: {- type: Object,- value: function() {return {path: null, prefix: null, __queryParams: null};},- notify: true- },-- active: {- type: Boolean,- notify: true,- readOnly: true- },-- _queryParamsUpdating: {- type: Boolean,- value: false- },- /**- * @type {?string}- */- _matched: {- type: String,- value: ''- }- },-- observers: [- '__tryToMatch(route.path, pattern)',- '__updatePathOnDataChange(data.*)',- '__tailPathChanged(tail.path)',- '__routeQueryParamsChanged(route.__queryParams)',- '__tailQueryParamsChanged(tail.__queryParams)',- '__queryParamsChanged(queryParams.*)'- ],-- created: function() {- this.linkPaths('route.__queryParams', 'tail.__queryParams');- this.linkPaths('tail.__queryParams', 'route.__queryParams');- },-- /**- * Deal with the query params object being assigned to wholesale.- * @export- */- __routeQueryParamsChanged: function(queryParams) {- if (queryParams && this.tail) {- this.set('tail.__queryParams', queryParams);-- if (!this.active || this._queryParamsUpdating) {- return;- }-- // Copy queryParams and track whether there are any differences compared- // to the existing query params.- var copyOfQueryParams = {};- var anythingChanged = false;- for (var key in queryParams) {- copyOfQueryParams[key] = queryParams[key];- if (anythingChanged ||- !this.queryParams ||- queryParams[key] !== this.queryParams[key]) {- anythingChanged = true;- }- }- // Need to check whether any keys were deleted- for (var key in this.queryParams) {- if (anythingChanged || !(key in queryParams)) {- anythingChanged = true;- break;- }- }-- if (!anythingChanged) {- return;- }- this._queryParamsUpdating = true;- this.set('queryParams', copyOfQueryParams);- this._queryParamsUpdating = false;- }- },-- /**- * @export- */- __tailQueryParamsChanged: function(queryParams) {- if (queryParams && this.route) {- this.set('route.__queryParams', queryParams);- }- },-- /**- * @export- */- __queryParamsChanged: function(changes) {- if (!this.active || this._queryParamsUpdating) {- return;- }-- this.set('route.__' + changes.path, changes.value);- },-- __resetProperties: function() {- this._setActive(false);- this._matched = null;- //this.tail = { path: null, prefix: null, queryParams: null };- //this.data = {};- },-- /**- * @export- */- __tryToMatch: function() {- if (!this.route) {- return;- }- var path = this.route.path;- var pattern = this.pattern;- if (!pattern) {- return;- }-- if (!path) {- this.__resetProperties();- return;- }-- var remainingPieces = path.split('/');- var patternPieces = pattern.split('/');-- var matched = [];- var namedMatches = {};-- for (var i=0; i < patternPieces.length; i++) {- var patternPiece = patternPieces[i];- if (!patternPiece && patternPiece !== '') {- break;- }- var pathPiece = remainingPieces.shift();-- // We don't match this path.- if (!pathPiece && pathPiece !== '') {- this.__resetProperties();- return;- }- matched.push(pathPiece);-- if (patternPiece.charAt(0) == ':') {- namedMatches[patternPiece.slice(1)] = pathPiece;- } else if (patternPiece !== pathPiece) {- this.__resetProperties();- return;- }- }-- this._matched = matched.join('/');-- // Properties that must be updated atomically.- var propertyUpdates = {};-- //this.active- if (!this.active) {- propertyUpdates.active = true;- }-- // this.tail- var tailPrefix = this.route.prefix + this._matched;- var tailPath = remainingPieces.join('/');- if (remainingPieces.length > 0) {- tailPath = '/' + tailPath;- }- if (!this.tail ||- this.tail.prefix !== tailPrefix ||- this.tail.path !== tailPath) {- propertyUpdates.tail = {- prefix: tailPrefix,- path: tailPath,- __queryParams: this.route.__queryParams- };- }-- // this.data- propertyUpdates.data = namedMatches;- this._dataInUrl = {};- for (var key in namedMatches) {- this._dataInUrl[key] = namedMatches[key];- }-- this.__setMulti(propertyUpdates);- },-- /**- * @export- */- __tailPathChanged: function(path) {- if (!this.active) {- return;- }- var tailPath = path;- var newPath = this._matched;- if (tailPath) {- if (tailPath.charAt(0) !== '/') {- tailPath = '/' + tailPath;- }- newPath += tailPath;- }- this.set('route.path', newPath);- },-- /**- * @export- */- __updatePathOnDataChange: function() {- if (!this.route || !this.active) {- return;- }- var newPath = this.__getLink({});- var oldPath = this.__getLink(this._dataInUrl);- if (newPath === oldPath) {- return;- }- this.set('route.path', newPath);- },-- __getLink: function(overrideValues) {- var values = {tail: null};- for (var key in this.data) {- values[key] = this.data[key];- }- for (var key in overrideValues) {- values[key] = overrideValues[key];- }- var patternPieces = this.pattern.split('/');- var interp = patternPieces.map(function(value) {- if (value[0] == ':') {- value = values[value.slice(1)];- }- return value;- }, this);- if (values.tail && values.tail.path) {- if (interp.length > 0 && values.tail.path.charAt(0) === '/') {- interp.push(values.tail.path.slice(1));- } else {- interp.push(values.tail.path);- }- }- return interp.join('/');- },-- __setMulti: function(setObj) {- // HACK(rictic): skirting around 1.0's lack of a setMulti by poking at- // internal data structures. I would not advise that you copy this- // example.- //- // In the future this will be a feature of Polymer itself.- // See: https://github.com/Polymer/polymer/issues/3640- //- // Hacking around with private methods like this is juggling footguns,- // and is likely to have unexpected and unsupported rough edges.- //- // Be ye so warned.- for (var property in setObj) {- this._propertySetter(property, setObj[property]);- }- //notify in a specific order- if (setObj.data !== undefined) {- this._pathEffector('data', this.data);- this._notifyChange('data');- }- if (setObj.active !== undefined) {- this._pathEffector('active', this.active);- this._notifyChange('active');- }- if (setObj.tail !== undefined) {- this._pathEffector('tail', this.tail);- this._notifyChange('tail');- }-- }- });- })();-</script>+<script>!function(){"use strict";Polymer({is:"app-route",properties:{route:{type:Object,notify:!0},pattern:{type:String},data:{type:Object,value:function(){return{}},notify:!0},queryParams:{type:Object,value:function(){return{}},notify:!0},tail:{type:Object,value:function(){return{path:null,prefix:null,__queryParams:null}},notify:!0},active:{type:Boolean,notify:!0,readOnly:!0},_queryParamsUpdating:{type:Boolean,value:!1},_matched:{type:String,value:""}},observers:["__tryToMatch(route.path, pattern)","__updatePathOnDataChange(data.*)","__tailPathChanged(tail.path)","__routeQueryParamsChanged(route.__queryParams)","__tailQueryParamsChanged(tail.__queryParams)","__queryParamsChanged(queryParams.*)"],created:function(){this.linkPaths("route.__queryParams","tail.__queryParams"),this.linkPaths("tail.__queryParams","route.__queryParams")},__routeQueryParamsChanged:function(t){if(t&&this.tail){if(this.set("tail.__queryParams",t),!this.active||this._queryParamsUpdating)return;var a={},i=!1;for(var e in t)a[e]=t[e],!i&&this.queryParams&&t[e]===this.queryParams[e]||(i=!0);for(var e in this.queryParams)if(i||!(e in t)){i=!0;break}if(!i)return;this._queryParamsUpdating=!0,this.set("queryParams",a),this._queryParamsUpdating=!1}},__tailQueryParamsChanged:function(t){t&&this.route&&this.set("route.__queryParams",t)},__queryParamsChanged:function(t){this.active&&!this._queryParamsUpdating&&this.set("route.__"+t.path,t.value)},__resetProperties:function(){this._setActive(!1),this._matched=null},__tryToMatch:function(){if(this.route){var t=this.route.path,a=this.pattern;if(a){if(!t)return void this.__resetProperties();for(var i=t.split("/"),e=a.split("/"),r=[],s={},h=0;h<e.length;h++){var n=e[h];if(!n&&""!==n)break;var u=i.shift();if(!u&&""!==u)return void this.__resetProperties();if(r.push(u),":"==n.charAt(0))s[n.slice(1)]=u;else if(n!==u)return void this.__resetProperties()}this._matched=r.join("/");var _={};this.active||(_.active=!0);var o=this.route.prefix+this._matched,l=i.join("/");i.length>0&&(l="/"+l),this.tail&&this.tail.prefix===o&&this.tail.path===l||(_.tail={prefix:o,path:l,__queryParams:this.route.__queryParams}),_.data=s,this._dataInUrl={};for(var p in s)this._dataInUrl[p]=s[p];this.__setMulti(_)}}},__tailPathChanged:function(t){if(this.active){var a=t,i=this._matched;a&&("/"!==a.charAt(0)&&(a="/"+a),i+=a),this.set("route.path",i)}},__updatePathOnDataChange:function(){if(this.route&&this.active){var t=this.__getLink({}),a=this.__getLink(this._dataInUrl);t!==a&&this.set("route.path",t)}},__getLink:function(t){var a={tail:null};for(var i in this.data)a[i]=this.data[i];for(var i in t)a[i]=t[i];var e=this.pattern.split("/"),r=e.map(function(t){return":"==t[0]&&(t=a[t.slice(1)]),t},this);return a.tail&&a.tail.path&&(r.length>0&&"/"===a.tail.path.charAt(0)?r.push(a.tail.path.slice(1)):r.push(a.tail.path)),r.join("/")},__setMulti:function(t){for(var a in t)this._propertySetter(a,t[a]);void 0!==t.data&&(this._pathEffector("data",this.data),this._notifyChange("data")),void 0!==t.active&&(this._pathEffector("active",this.active),this._notifyChange("active")),void 0!==t.tail&&(this._pathEffector("tail",this.tail),this._notifyChange("tail"))}})}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/font-roboto/roboto.html b/frontend/bower_components/font-roboto/roboto.htmlindex 7a24999ff..5c4cf9700 100644--- a/frontend/bower_components/font-roboto/roboto.html+++ b/frontend/bower_components/font-roboto/roboto.html@@ -1,11 +1,3 @@-<!---@license-Copyright (c) 2015 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--->-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic">+<html><head><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700">+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-a11y-announcer/iron-a11y-announcer.html b/frontend/bower_components/iron-a11y-announcer/iron-a11y-announcer.htmlindex 11a8809ff..c3618b523 100644--- a/frontend/bower_components/iron-a11y-announcer/iron-a11y-announcer.html+++ b/frontend/bower_components/iron-a11y-announcer/iron-a11y-announcer.html@@ -1,50 +1,8 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">-<!---`iron-a11y-announcer` is a singleton element that is intended to add a11y-to features that require on-demand announcement from screen readers. In-order to make use of the announcer, it is best to request its availability-in the announcing element.-Example:-- Polymer({-- is: 'x-chatty',-- attached: function() {- // This will create the singleton element if it has not- // been created yet:- Polymer.IronA11yAnnouncer.requestAvailability();- }- });--After the `iron-a11y-announcer` has been made available, elements can-make announces by firing bubbling `iron-announce` events.--Example:-- this.fire('iron-announce', {- text: 'This is an announcement!'- }, { bubbles: true });--Note: announcements are only audible if you have a screen reader enabled.--@group Iron Elements-@demo demo/index.html--->--<dom-module id="iron-a11y-announcer">+</head><body><dom-module id="iron-a11y-announcer"><template><style>:host {@@ -56,69 +14,6 @@ Note: announcements are only audible if you have a screen reader enabled.<div aria-live$="[[mode]]">[[_text]]</div></template>- <script>-- (function() {- 'use strict';-- Polymer.IronA11yAnnouncer = Polymer({- is: 'iron-a11y-announcer',-- properties: {-- /**- * The value of mode is used to set the `aria-live` attribute- * for the element that will be announced. Valid values are: `off`,- * `polite` and `assertive`.- */- mode: {- type: String,- value: 'polite'- },-- _text: {- type: String,- value: ''- }- },-- created: function() {- if (!Polymer.IronA11yAnnouncer.instance) {- Polymer.IronA11yAnnouncer.instance = this;- }-- document.body.addEventListener('iron-announce', this._onIronAnnounce.bind(this));- },-- /**- * Cause a text string to be announced by screen readers.- *- * @param {string} text The text that should be announced.- */- announce: function(text) {- this._text = '';- this.async(function() {- this._text = text;- }, 100);- },-- _onIronAnnounce: function(event) {- if (event.detail && event.detail.text) {- this.announce(event.detail.text);- }- }- });-- Polymer.IronA11yAnnouncer.instance = null;-- Polymer.IronA11yAnnouncer.requestAvailability = function() {- if (!Polymer.IronA11yAnnouncer.instance) {- Polymer.IronA11yAnnouncer.instance = document.createElement('iron-a11y-announcer');- }-- document.body.appendChild(Polymer.IronA11yAnnouncer.instance);- };- })();-- </script>+ <script>!function(){"use strict";Polymer.IronA11yAnnouncer=Polymer({is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){Polymer.IronA11yAnnouncer.instance||(Polymer.IronA11yAnnouncer.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(n){this._text="",this.async(function(){this._text=n},100)},_onIronAnnounce:function(n){n.detail&&n.detail.text&&this.announce(n.detail.text)}}),Polymer.IronA11yAnnouncer.instance=null,Polymer.IronA11yAnnouncer.requestAvailability=function(){Polymer.IronA11yAnnouncer.instance||(Polymer.IronA11yAnnouncer.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(Polymer.IronA11yAnnouncer.instance)}}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html b/frontend/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.htmlindex 840d35710..5b3d03fdb 100644--- a/frontend/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html+++ b/frontend/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html@@ -1,496 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>- (function() {- 'use strict';-- /**- * Chrome uses an older version of DOM Level 3 Keyboard Events- *- * Most keys are labeled as text, but some are Unicode codepoints.- * Values taken from: http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/keyset.html#KeySet-Set- */- var KEY_IDENTIFIER = {- 'U+0008': 'backspace',- 'U+0009': 'tab',- 'U+001B': 'esc',- 'U+0020': 'space',- 'U+007F': 'del'- };-- /**- * Special table for KeyboardEvent.keyCode.- * KeyboardEvent.keyIdentifier is better, and KeyBoardEvent.key is even better- * than that.- *- * Values from: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent.keyCode#Value_of_keyCode- */- var KEY_CODE = {- 8: 'backspace',- 9: 'tab',- 13: 'enter',- 27: 'esc',- 33: 'pageup',- 34: 'pagedown',- 35: 'end',- 36: 'home',- 32: 'space',- 37: 'left',- 38: 'up',- 39: 'right',- 40: 'down',- 46: 'del',- 106: '*'- };-- /**- * MODIFIER_KEYS maps the short name for modifier keys used in a key- * combo string to the property name that references those same keys- * in a KeyboardEvent instance.- */- var MODIFIER_KEYS = {- 'shift': 'shiftKey',- 'ctrl': 'ctrlKey',- 'alt': 'altKey',- 'meta': 'metaKey'- };-- /**- * KeyboardEvent.key is mostly represented by printable character made by- * the keyboard, with unprintable keys labeled nicely.- *- * However, on OS X, Alt+char can make a Unicode character that follows an- * Apple-specific mapping. In this case, we fall back to .keyCode.- */- var KEY_CHAR = /[a-z0-9*]/;-- /**- * Matches a keyIdentifier string.- */- var IDENT_CHAR = /U\+/;-- /**- * Matches arrow keys in Gecko 27.0+- */- var ARROW_KEY = /^arrow/;-- /**- * Matches space keys everywhere (notably including IE10's exceptional name- * `spacebar`).- */- var SPACE_KEY = /^space(bar)?/;-- /**- * Matches ESC key.- *- * Value from: http://w3c.github.io/uievents-key/#key-Escape- */- var ESC_KEY = /^escape$/;-- /**- * Transforms the key.- * @param {string} key The KeyBoardEvent.key- * @param {Boolean} [noSpecialChars] Limits the transformation to- * alpha-numeric characters.- */- function transformKey(key, noSpecialChars) {- var validKey = '';- if (key) {- var lKey = key.toLowerCase();- if (lKey === ' ' || SPACE_KEY.test(lKey)) {- validKey = 'space';- } else if (ESC_KEY.test(lKey)) {- validKey = 'esc';- } else if (lKey.length == 1) {- if (!noSpecialChars || KEY_CHAR.test(lKey)) {- validKey = lKey;- }- } else if (ARROW_KEY.test(lKey)) {- validKey = lKey.replace('arrow', '');- } else if (lKey == 'multiply') {- // numpad '*' can map to Multiply on IE/Windows- validKey = '*';- } else {- validKey = lKey;- }- }- return validKey;- }-- function transformKeyIdentifier(keyIdent) {- var validKey = '';- if (keyIdent) {- if (keyIdent in KEY_IDENTIFIER) {- validKey = KEY_IDENTIFIER[keyIdent];- } else if (IDENT_CHAR.test(keyIdent)) {- keyIdent = parseInt(keyIdent.replace('U+', '0x'), 16);- validKey = String.fromCharCode(keyIdent).toLowerCase();- } else {- validKey = keyIdent.toLowerCase();- }- }- return validKey;- }-- function transformKeyCode(keyCode) {- var validKey = '';- if (Number(keyCode)) {- if (keyCode >= 65 && keyCode <= 90) {- // ascii a-z- // lowercase is 32 offset from uppercase- validKey = String.fromCharCode(32 + keyCode);- } else if (keyCode >= 112 && keyCode <= 123) {- // function keys f1-f12- validKey = 'f' + (keyCode - 112);- } else if (keyCode >= 48 && keyCode <= 57) {- // top 0-9 keys- validKey = String(keyCode - 48);- } else if (keyCode >= 96 && keyCode <= 105) {- // num pad 0-9- validKey = String(keyCode - 96);- } else {- validKey = KEY_CODE[keyCode];- }- }- return validKey;- }-- /**- * Calculates the normalized key for a KeyboardEvent.- * @param {KeyboardEvent} keyEvent- * @param {Boolean} [noSpecialChars] Set to true to limit keyEvent.key- * transformation to alpha-numeric chars. This is useful with key- * combinations like shift + 2, which on FF for MacOS produces- * keyEvent.key = @- * To get 2 returned, set noSpecialChars = true- * To get @ returned, set noSpecialChars = false- */- function normalizedKeyForEvent(keyEvent, noSpecialChars) {- // Fall back from .key, to .detail.key for artifical keyboard events,- // and then to deprecated .keyIdentifier and .keyCode.- if (keyEvent.key) {- return transformKey(keyEvent.key, noSpecialChars);- }- if (keyEvent.detail && keyEvent.detail.key) {- return transformKey(keyEvent.detail.key, noSpecialChars);- }- return transformKeyIdentifier(keyEvent.keyIdentifier) ||- transformKeyCode(keyEvent.keyCode) || '';- }-- function keyComboMatchesEvent(keyCombo, event) {- // For combos with modifiers we support only alpha-numeric keys- var keyEvent = normalizedKeyForEvent(event, keyCombo.hasModifiers);- return keyEvent === keyCombo.key &&- (!keyCombo.hasModifiers || (- !!event.shiftKey === !!keyCombo.shiftKey &&- !!event.ctrlKey === !!keyCombo.ctrlKey &&- !!event.altKey === !!keyCombo.altKey &&- !!event.metaKey === !!keyCombo.metaKey)- );- }-- function parseKeyComboString(keyComboString) {- if (keyComboString.length === 1) {- return {- combo: keyComboString,- key: keyComboString,- event: 'keydown'- };- }- return keyComboString.split('+').reduce(function(parsedKeyCombo, keyComboPart) {- var eventParts = keyComboPart.split(':');- var keyName = eventParts[0];- var event = eventParts[1];-- if (keyName in MODIFIER_KEYS) {- parsedKeyCombo[MODIFIER_KEYS[keyName]] = true;- parsedKeyCombo.hasModifiers = true;- } else {- parsedKeyCombo.key = keyName;- parsedKeyCombo.event = event || 'keydown';- }-- return parsedKeyCombo;- }, {- combo: keyComboString.split(':').shift()- });- }-- function parseEventString(eventString) {- return eventString.trim().split(' ').map(function(keyComboString) {- return parseKeyComboString(keyComboString);- });- }-- /**- * `Polymer.IronA11yKeysBehavior` provides a normalized interface for processing- * keyboard commands that pertain to [WAI-ARIA best practices](http://www.w3.org/TR/wai-aria-practices/#kbd_general_binding).- * The element takes care of browser differences with respect to Keyboard events- * and uses an expressive syntax to filter key presses.- *- * Use the `keyBindings` prototype property to express what combination of keys- * will trigger the callback. A key binding has the format- * `"KEY+MODIFIER:EVENT": "callback"` (`"KEY": "callback"` or- * `"KEY:EVENT": "callback"` are valid as well). Some examples:- *- * keyBindings: {- * 'space': '_onKeydown', // same as 'space:keydown'- * 'shift+tab': '_onKeydown',- * 'enter:keypress': '_onKeypress',- * 'esc:keyup': '_onKeyup'- * }- *- * The callback will receive with an event containing the following information in `event.detail`:- *- * _onKeydown: function(event) {- * console.log(event.detail.combo); // KEY+MODIFIER, e.g. "shift+tab"- * console.log(event.detail.key); // KEY only, e.g. "tab"- * console.log(event.detail.event); // EVENT, e.g. "keydown"- * console.log(event.detail.keyboardEvent); // the original KeyboardEvent- * }- *- * Use the `keyEventTarget` attribute to set up event handlers on a specific- * node.- *- * See the [demo source code](https://github.com/PolymerElements/iron-a11y-keys-behavior/blob/master/demo/x-key-aware.html)- * for an example.- *- * @demo demo/index.html- * @polymerBehavior- */- Polymer.IronA11yKeysBehavior = {- properties: {- /**- * The EventTarget that will be firing relevant KeyboardEvents. Set it to- * `null` to disable the listeners.- * @type {?EventTarget}- */- keyEventTarget: {- type: Object,- value: function() {- return this;- }- },-- /**- * If true, this property will cause the implementing element to- * automatically stop propagation on any handled KeyboardEvents.- */- stopKeyboardEventPropagation: {- type: Boolean,- value: false- },-- _boundKeyHandlers: {- type: Array,- value: function() {- return [];- }- },-- // We use this due to a limitation in IE10 where instances will have- // own properties of everything on the "prototype".- _imperativeKeyBindings: {- type: Object,- value: function() {- return {};- }- }- },-- observers: [- '_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)'- ],--- /**- * To be used to express what combination of keys will trigger the relative- * callback. e.g. `keyBindings: { 'esc': '_onEscPressed'}`- * @type {!Object}- */- keyBindings: {},-- registered: function() {- this._prepKeyBindings();- },-- attached: function() {- this._listenKeyEventListeners();- },-- detached: function() {- this._unlistenKeyEventListeners();- },-- /**- * Can be used to imperatively add a key binding to the implementing- * element. This is the imperative equivalent of declaring a keybinding- * in the `keyBindings` prototype property.- */- addOwnKeyBinding: function(eventString, handlerName) {- this._imperativeKeyBindings[eventString] = handlerName;- this._prepKeyBindings();- this._resetKeyEventListeners();- },-- /**- * When called, will remove all imperatively-added key bindings.- */- removeOwnKeyBindings: function() {- this._imperativeKeyBindings = {};- this._prepKeyBindings();- this._resetKeyEventListeners();- },-- /**- * Returns true if a keyboard event matches `eventString`.- *- * @param {KeyboardEvent} event- * @param {string} eventString- * @return {boolean}- */- keyboardEventMatchesKeys: function(event, eventString) {- var keyCombos = parseEventString(eventString);- for (var i = 0; i < keyCombos.length; ++i) {- if (keyComboMatchesEvent(keyCombos[i], event)) {- return true;- }- }- return false;- },-- _collectKeyBindings: function() {- var keyBindings = this.behaviors.map(function(behavior) {- return behavior.keyBindings;- });-- if (keyBindings.indexOf(this.keyBindings) === -1) {- keyBindings.push(this.keyBindings);- }-- return keyBindings;- },-- _prepKeyBindings: function() {- this._keyBindings = {};-- this._collectKeyBindings().forEach(function(keyBindings) {- for (var eventString in keyBindings) {- this._addKeyBinding(eventString, keyBindings[eventString]);- }- }, this);-- for (var eventString in this._imperativeKeyBindings) {- this._addKeyBinding(eventString, this._imperativeKeyBindings[eventString]);- }-- // Give precedence to combos with modifiers to be checked first.- for (var eventName in this._keyBindings) {- this._keyBindings[eventName].sort(function (kb1, kb2) {- var b1 = kb1[0].hasModifiers;- var b2 = kb2[0].hasModifiers;- return (b1 === b2) ? 0 : b1 ? -1 : 1;- })- }- },-- _addKeyBinding: function(eventString, handlerName) {- parseEventString(eventString).forEach(function(keyCombo) {- this._keyBindings[keyCombo.event] =- this._keyBindings[keyCombo.event] || [];-- this._keyBindings[keyCombo.event].push([- keyCombo,- handlerName- ]);- }, this);- },-- _resetKeyEventListeners: function() {- this._unlistenKeyEventListeners();-- if (this.isAttached) {- this._listenKeyEventListeners();- }- },-- _listenKeyEventListeners: function() {- if (!this.keyEventTarget) {- return;- }- Object.keys(this._keyBindings).forEach(function(eventName) {- var keyBindings = this._keyBindings[eventName];- var boundKeyHandler = this._onKeyBindingEvent.bind(this, keyBindings);-- this._boundKeyHandlers.push([this.keyEventTarget, eventName, boundKeyHandler]);-- this.keyEventTarget.addEventListener(eventName, boundKeyHandler);- }, this);- },-- _unlistenKeyEventListeners: function() {- var keyHandlerTuple;- var keyEventTarget;- var eventName;- var boundKeyHandler;-- while (this._boundKeyHandlers.length) {- // My kingdom for block-scope binding and destructuring assignment..- keyHandlerTuple = this._boundKeyHandlers.pop();- keyEventTarget = keyHandlerTuple[0];- eventName = keyHandlerTuple[1];- boundKeyHandler = keyHandlerTuple[2];-- keyEventTarget.removeEventListener(eventName, boundKeyHandler);- }- },-- _onKeyBindingEvent: function(keyBindings, event) {- if (this.stopKeyboardEventPropagation) {- event.stopPropagation();- }-- // if event has been already prevented, don't do anything- if (event.defaultPrevented) {- return;- }-- for (var i = 0; i < keyBindings.length; i++) {- var keyCombo = keyBindings[i][0];- var handlerName = keyBindings[i][1];- if (keyComboMatchesEvent(keyCombo, event)) {- this._triggerKeyHandler(keyCombo, handlerName, event);- // exit the loop if eventDefault was prevented- if (event.defaultPrevented) {- return;- }- }- }- },-- _triggerKeyHandler: function(keyCombo, handlerName, keyboardEvent) {- var detail = Object.create(keyCombo);- detail.keyboardEvent = keyboardEvent;- var event = new CustomEvent(keyCombo.event, {- detail: detail,- cancelable: true- });- this[handlerName].call(this, event);- if (event.defaultPrevented) {- keyboardEvent.preventDefault();- }- }- };- })();-</script>+<script>!function(){"use strict";function e(e,t){var n="";if(e){var i=e.toLowerCase();" "===i||v.test(i)?n="space":f.test(i)?n="esc":1==i.length?t&&!u.test(i)||(n=i):n=c.test(i)?i.replace("arrow",""):"multiply"==i?"*":i}return n}function t(e){var t="";return e&&(e in o?t=o[e]:h.test(e)?(e=parseInt(e.replace("U+","0x"),16),t=String.fromCharCode(e).toLowerCase()):t=e.toLowerCase()),t}function n(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):d[e]),t}function i(i,r){return i.key?e(i.key,r):i.detail&&i.detail.key?e(i.detail.key,r):t(i.keyIdentifier)||n(i.keyCode)||""}function r(e,t){var n=i(t,e.hasModifiers);return n===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function s(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce(function(e,t){var n=t.split(":"),i=n[0],r=n[1];return i in y?(e[y[i]]=!0,e.hasModifiers=!0):(e.key=i,e.event=r||"keydown"),e},{combo:e.split(":").shift()})}function a(e){return e.trim().split(" ").map(function(e){return s(e)})}var o={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},d={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},y={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},u=/[a-z0-9*]/,h=/U\+/,c=/^arrow/,v=/^space(bar)?/,f=/^escape$/;Polymer.IronA11yKeysBehavior={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=a(t),i=0;i<n.length;++i)if(r(n[i],e))return!0;return!1},_collectKeyBindings:function(){var e=this.behaviors.map(function(e){return e.keyBindings});return e.indexOf(this.keyBindings)===-1&&e.push(this.keyBindings),e},_prepKeyBindings:function(){this._keyBindings={},this._collectKeyBindings().forEach(function(e){for(var t in e)this._addKeyBinding(t,e[t])},this);for(var e in this._imperativeKeyBindings)this._addKeyBinding(e,this._imperativeKeyBindings[e]);for(var t in this._keyBindings)this._keyBindings[t].sort(function(e,t){var n=e[0].hasModifiers,i=t[0].hasModifiers;return n===i?0:n?-1:1})},_addKeyBinding:function(e,t){a(e).forEach(function(e){this._keyBindings[e.event]=this._keyBindings[e.event]||[],this._keyBindings[e.event].push([e,t])},this)},_resetKeyEventListeners:function(){this._unlistenKeyEventListeners(),this.isAttached&&this._listenKeyEventListeners()},_listenKeyEventListeners:function(){this.keyEventTarget&&Object.keys(this._keyBindings).forEach(function(e){var t=this._keyBindings[e],n=this._onKeyBindingEvent.bind(this,t);this._boundKeyHandlers.push([this.keyEventTarget,e,n]),this.keyEventTarget.addEventListener(e,n)},this)},_unlistenKeyEventListeners:function(){for(var e,t,n,i;this._boundKeyHandlers.length;)e=this._boundKeyHandlers.pop(),t=e[0],n=e[1],i=e[2],t.removeEventListener(n,i)},_onKeyBindingEvent:function(e,t){if(this.stopKeyboardEventPropagation&&t.stopPropagation(),!t.defaultPrevented)for(var n=0;n<e.length;n++){var i=e[n][0],s=e[n][1];if(r(i,t)&&(this._triggerKeyHandler(i,s,t),t.defaultPrevented))return}},_triggerKeyHandler:function(e,t,n){var i=Object.create(e);i.keyboardEvent=n;var r=new CustomEvent(e.event,{detail:i,cancelable:!0});this[t].call(this,r),r.defaultPrevented&&n.preventDefault()}}}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-ajax/iron-ajax.html b/frontend/bower_components/iron-ajax/iron-ajax.htmlindex fa2fcc68f..0b0f290d6 100644--- a/frontend/bower_components/iron-ajax/iron-ajax.html+++ b/frontend/bower_components/iron-ajax/iron-ajax.html@@ -1,533 +1,7 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="iron-request.html">-<!---The `iron-ajax` element exposes network request functionality.-- <iron-ajax- auto- url="https://www.googleapis.com/youtube/v3/search"- params='{"part":"snippet", "q":"polymer", "key": "YOUTUBE_API_KEY", "type": "video"}'- handle-as="json"- on-response="handleResponse"- debounce-duration="300"></iron-ajax>--With `auto` set to `true`, the element performs a request whenever-its `url`, `params` or `body` properties are changed. Automatically generated-requests will be debounced in the case that multiple attributes are changed-sequentially.--Note: The `params` attribute must be double quoted JSON.--You can trigger a request explicitly by calling `generateRequest` on the-element.--@demo demo/index.html-@hero hero.svg--->--<script>- 'use strict';-- Polymer({-- is: 'iron-ajax',-- /**- * Fired when a request is sent.- *- * @event request- * @event iron-ajax-request- */-- /**- * Fired when a response is received.- *- * @event response- * @event iron-ajax-response- */-- /**- * Fired when an error is received.- *- * @event error- * @event iron-ajax-error- */-- hostAttributes: {- hidden: true- },-- properties: {- /**- * The URL target of the request.- */- url: {- type: String- },-- /**- * An object that contains query parameters to be appended to the- * specified `url` when generating a request. If you wish to set the body- * content when making a POST request, you should use the `body` property- * instead.- */- params: {- type: Object,- value: function() {- return {};- }- },-- /**- * The HTTP method to use such as 'GET', 'POST', 'PUT', or 'DELETE'.- * Default is 'GET'.- */- method: {- type: String,- value: 'GET'- },-- /**- * HTTP request headers to send.- *- * Example:- *- * <iron-ajax- * auto- * url="http://somesite.com"- * headers='{"X-Requested-With": "XMLHttpRequest"}'- * handle-as="json"></iron-ajax>- *- * Note: setting a `Content-Type` header here will override the value- * specified by the `contentType` property of this element.- */- headers: {- type: Object,- value: function() {- return {};- }- },-- /**- * Content type to use when sending data. If the `contentType` property- * is set and a `Content-Type` header is specified in the `headers`- * property, the `headers` property value will take precedence.- *- * Varies the handling of the `body` param.- */- contentType: {- type: String,- value: null- },-- /**- * Body content to send with the request, typically used with "POST"- * requests.- *- * If body is a string it will be sent unmodified.- *- * If Content-Type is set to a value listed below, then- * the body will be encoded accordingly.- *- * * `content-type="application/json"`- * * body is encoded like `{"foo":"bar baz","x":1}`- * * `content-type="application/x-www-form-urlencoded"`- * * body is encoded like `foo=bar+baz&x=1`- *- * Otherwise the body will be passed to the browser unmodified, and it- * will handle any encoding (e.g. for FormData, Blob, ArrayBuffer).- *- * @type (ArrayBuffer|ArrayBufferView|Blob|Document|FormData|null|string|undefined|Object)- */- body: {- type: Object,- value: null- },-- /**- * Toggle whether XHR is synchronous or asynchronous. Don't change this- * to true unless You Know What You Are Doing™.- */- sync: {- type: Boolean,- value: false- },-- /**- * Specifies what data to store in the `response` property, and- * to deliver as `event.detail.response` in `response` events.- *- * One of:- *- * `text`: uses `XHR.responseText`.- *- * `xml`: uses `XHR.responseXML`.- *- * `json`: uses `XHR.responseText` parsed as JSON.- *- * `arraybuffer`: uses `XHR.response`.- *- * `blob`: uses `XHR.response`.- *- * `document`: uses `XHR.response`.- */- handleAs: {- type: String,- value: 'json'- },-- /**- * Set the withCredentials flag on the request.- */- withCredentials: {- type: Boolean,- value: false- },-- /**- * Set the timeout flag on the request.- */- timeout: {- type: Number,- value: 0- },-- /**- * If true, automatically performs an Ajax request when either `url` or- * `params` changes.- */- auto: {- type: Boolean,- value: false- },-- /**- * If true, error messages will automatically be logged to the console.- */- verbose: {- type: Boolean,- value: false- },-- /**- * The most recent request made by this iron-ajax element.- */- lastRequest: {- type: Object,- notify: true,- readOnly: true- },-- /**- * True while lastRequest is in flight.- */- loading: {- type: Boolean,- notify: true,- readOnly: true- },-- /**- * lastRequest's response.- *- * Note that lastResponse and lastError are set when lastRequest finishes,- * so if loading is true, then lastResponse and lastError will correspond- * to the result of the previous request.- *- * The type of the response is determined by the value of `handleAs` at- * the time that the request was generated.- *- * @type {Object}- */- lastResponse: {- type: Object,- notify: true,- readOnly: true- },-- /**- * lastRequest's error, if any.- *- * @type {Object}- */- lastError: {- type: Object,- notify: true,- readOnly: true- },-- /**- * An Array of all in-flight requests originating from this iron-ajax- * element.- */- activeRequests: {- type: Array,- notify: true,- readOnly: true,- value: function() {- return [];- }- },-- /**- * Length of time in milliseconds to debounce multiple automatically generated requests.- */- debounceDuration: {- type: Number,- value: 0,- notify: true- },-- /**- * Prefix to be stripped from a JSON response before parsing it.- *- * In order to prevent an attack using CSRF with Array responses- * (http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx/)- * many backends will mitigate this by prefixing all JSON response bodies- * with a string that would be nonsensical to a JavaScript parser.- *- */- jsonPrefix: {- type: String,- value: ''- },-- /**- * By default, iron-ajax's events do not bubble. Setting this attribute will cause its- * request and response events as well as its iron-ajax-request, -response, and -error- * events to bubble to the window object. The vanilla error event never bubbles when- * using shadow dom even if this.bubbles is true because a scoped flag is not passed with- * it (first link) and because the shadow dom spec did not used to allow certain events,- * including events named error, to leak outside of shadow trees (second link).- * https://www.w3.org/TR/shadow-dom/#scoped-flag- * https://www.w3.org/TR/2015/WD-shadow-dom-20151215/#events-that-are-not-leaked-into-ancestor-trees- */- bubbles: {- type: Boolean,- value: false- },-- _boundHandleResponse: {- type: Function,- value: function() {- return this._handleResponse.bind(this);- }- }- },-- observers: [- '_requestOptionsChanged(url, method, params.*, headers, contentType, ' +- 'body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)'- ],-- /**- * The query string that should be appended to the `url`, serialized from- * the current value of `params`.- *- * @return {string}- */- get queryString () {- var queryParts = [];- var param;- var value;-- for (param in this.params) {- value = this.params[param];- param = window.encodeURIComponent(param);-- if (Array.isArray(value)) {- for (var i = 0; i < value.length; i++) {- queryParts.push(param + '=' + window.encodeURIComponent(value[i]));- }- } else if (value !== null) {- queryParts.push(param + '=' + window.encodeURIComponent(value));- } else {- queryParts.push(param);- }- }-- return queryParts.join('&');- },-- /**- * The `url` with query string (if `params` are specified), suitable for- * providing to an `iron-request` instance.- *- * @return {string}- */- get requestUrl() {- var queryString = this.queryString;- var url = this.url || '';-- if (queryString) {- var bindingChar = url.indexOf('?') >= 0 ? '&' : '?';- return url + bindingChar + queryString;- }-- return url;- },-- /**- * An object that maps header names to header values, first applying the- * the value of `Content-Type` and then overlaying the headers specified- * in the `headers` property.- *- * @return {Object}- */- get requestHeaders() {- var headers = {};- var contentType = this.contentType;- if (contentType == null && (typeof this.body === 'string')) {- contentType = 'application/x-www-form-urlencoded';- }- if (contentType) {- headers['content-type'] = contentType;- }- var header;-- if (this.headers instanceof Object) {- for (header in this.headers) {- headers[header] = this.headers[header].toString();- }- }-- return headers;- },-- /**- * Request options suitable for generating an `iron-request` instance based- * on the current state of the `iron-ajax` instance's properties.- *- * @return {{- * url: string,- * method: (string|undefined),- * async: (boolean|undefined),- * body: (ArrayBuffer|ArrayBufferView|Blob|Document|FormData|null|string|undefined|Object),- * headers: (Object|undefined),- * handleAs: (string|undefined),- * jsonPrefix: (string|undefined),- * withCredentials: (boolean|undefined)}}- */- toRequestOptions: function() {- return {- url: this.requestUrl || '',- method: this.method,- headers: this.requestHeaders,- body: this.body,- async: !this.sync,- handleAs: this.handleAs,- jsonPrefix: this.jsonPrefix,- withCredentials: this.withCredentials,- timeout: this.timeout- };- },-- /**- * Performs an AJAX request to the specified URL.- *- * @return {!IronRequestElement}- */- generateRequest: function() {- var request = /** @type {!IronRequestElement} */ (document.createElement('iron-request'));- var requestOptions = this.toRequestOptions();-- this.push('activeRequests', request);-- request.completes.then(- this._boundHandleResponse- ).catch(- this._handleError.bind(this, request)- ).then(- this._discardRequest.bind(this, request)- );-- request.send(requestOptions);-- this._setLastRequest(request);- this._setLoading(true);-- this.fire('request', {- request: request,- options: requestOptions- }, {bubbles: this.bubbles});-- this.fire('iron-ajax-request', {- request: request,- options: requestOptions- }, {bubbles: this.bubbles});-- return request;- },-- _handleResponse: function(request) {- if (request === this.lastRequest) {- this._setLastResponse(request.response);- this._setLastError(null);- this._setLoading(false);- }- this.fire('response', request, {bubbles: this.bubbles});- this.fire('iron-ajax-response', request, {bubbles: this.bubbles});- },-- _handleError: function(request, error) {- if (this.verbose) {- Polymer.Base._error(error);- }-- if (request === this.lastRequest) {- this._setLastError({- request: request,- error: error,- status: request.xhr.status,- statusText: request.xhr.statusText,- response: request.xhr.response- });- this._setLastResponse(null);- this._setLoading(false);- }-- // Tests fail if this goes after the normal this.fire('error', ...)- this.fire('iron-ajax-error', {- request: request,- error: error- }, {bubbles: this.bubbles});-- this.fire('error', {- request: request,- error: error- }, {bubbles: this.bubbles});- },-- _discardRequest: function(request) {- var requestIndex = this.activeRequests.indexOf(request);-- if (requestIndex > -1) {- this.splice('activeRequests', requestIndex, 1);- }- },-- _requestOptionsChanged: function() {- this.debounce('generate-request', function() {- if (this.url == null) {- return;- }- if (this.auto) {- this.generateRequest();- }- }, this.debounceDuration);- },- });-</script>+<script>"use strict";Polymer({is:"iron-ajax",hostAttributes:{hidden:!0},properties:{url:{type:String},params:{type:Object,value:function(){return{}}},method:{type:String,value:"GET"},headers:{type:Object,value:function(){return{}}},contentType:{type:String,value:null},body:{type:Object,value:null},sync:{type:Boolean,value:!1},handleAs:{type:String,value:"json"},withCredentials:{type:Boolean,value:!1},timeout:{type:Number,value:0},auto:{type:Boolean,value:!1},verbose:{type:Boolean,value:!1},lastRequest:{type:Object,notify:!0,readOnly:!0},loading:{type:Boolean,notify:!0,readOnly:!0},lastResponse:{type:Object,notify:!0,readOnly:!0},lastError:{type:Object,notify:!0,readOnly:!0},activeRequests:{type:Array,notify:!0,readOnly:!0,value:function(){return[]}},debounceDuration:{type:Number,value:0,notify:!0},jsonPrefix:{type:String,value:""},bubbles:{type:Boolean,value:!1},_boundHandleResponse:{type:Function,value:function(){return this._handleResponse.bind(this)}}},observers:["_requestOptionsChanged(url, method, params.*, headers, contentType, body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)"],get queryString(){var e,t,s=[];for(e in this.params)if(t=this.params[e],e=window.encodeURIComponent(e),Array.isArray(t))for(var n=0;n<t.length;n++)s.push(e+"="+window.encodeURIComponent(t[n]));else null!==t?s.push(e+"="+window.encodeURIComponent(t)):s.push(e);return s.join("&")},get requestUrl(){var e=this.queryString,t=this.url||"";if(e){var s=t.indexOf("?")>=0?"&":"?";return t+s+e}return t},get requestHeaders(){var e={},t=this.contentType;null==t&&"string"==typeof this.body&&(t="application/x-www-form-urlencoded"),t&&(e["content-type"]=t);var s;if(this.headers instanceof Object)for(s in this.headers)e[s]=this.headers[s].toString();return e},toRequestOptions:function(){return{url:this.requestUrl||"",method:this.method,headers:this.requestHeaders,body:this.body,async:!this.sync,handleAs:this.handleAs,jsonPrefix:this.jsonPrefix,withCredentials:this.withCredentials,timeout:this.timeout}},generateRequest:function(){var e=document.createElement("iron-request"),t=this.toRequestOptions();return this.push("activeRequests",e),e.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this,e)).then(this._discardRequest.bind(this,e)),e.send(t),this._setLastRequest(e),this._setLoading(!0),this.fire("request",{request:e,options:t},{bubbles:this.bubbles}),this.fire("iron-ajax-request",{request:e,options:t},{bubbles:this.bubbles}),e},_handleResponse:function(e){e===this.lastRequest&&(this._setLastResponse(e.response),this._setLastError(null),this._setLoading(!1)),this.fire("response",e,{bubbles:this.bubbles}),this.fire("iron-ajax-response",e,{bubbles:this.bubbles})},_handleError:function(e,t){this.verbose&&Polymer.Base._error(t),e===this.lastRequest&&(this._setLastError({request:e,error:t,status:e.xhr.status,statusText:e.xhr.statusText,response:e.xhr.response}),this._setLastResponse(null),this._setLoading(!1)),this.fire("iron-ajax-error",{request:e,error:t},{bubbles:this.bubbles}),this.fire("error",{request:e,error:t},{bubbles:this.bubbles})},_discardRequest:function(e){var t=this.activeRequests.indexOf(e);t>-1&&this.splice("activeRequests",t,1)},_requestOptionsChanged:function(){this.debounce("generate-request",function(){null!=this.url&&this.auto&&this.generateRequest()},this.debounceDuration)}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-ajax/iron-request.html b/frontend/bower_components/iron-ajax/iron-request.htmlindex 128ce9514..721343a70 100644--- a/frontend/bower_components/iron-ajax/iron-request.html+++ b/frontend/bower_components/iron-ajax/iron-request.html@@ -1,443 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../promise-polyfill/promise-polyfill-lite.html">-<!---iron-request can be used to perform XMLHttpRequests.-- <iron-request id="xhr"></iron-request>- ...- this.$.xhr.send({url: url, body: params});--->-<script>- 'use strict';-- Polymer({- is: 'iron-request',-- hostAttributes: {- hidden: true- },-- properties: {-- /**- * A reference to the XMLHttpRequest instance used to generate the- * network request.- *- * @type {XMLHttpRequest}- */- xhr: {- type: Object,- notify: true,- readOnly: true,- value: function() {- return new XMLHttpRequest();- }- },-- /**- * A reference to the parsed response body, if the `xhr` has completely- * resolved.- *- * @type {*}- * @default null- */- response: {- type: Object,- notify: true,- readOnly: true,- value: function() {- return null;- }- },-- /**- * A reference to the status code, if the `xhr` has completely resolved.- */- status: {- type: Number,- notify: true,- readOnly: true,- value: 0- },-- /**- * A reference to the status text, if the `xhr` has completely resolved.- */- statusText: {- type: String,- notify: true,- readOnly: true,- value: ''- },-- /**- * A promise that resolves when the `xhr` response comes back, or rejects- * if there is an error before the `xhr` completes.- *- * @type {Promise}- */- completes: {- type: Object,- readOnly: true,- notify: true,- value: function() {- return new Promise(function (resolve, reject) {- this.resolveCompletes = resolve;- this.rejectCompletes = reject;- }.bind(this));- }- },-- /**- * An object that contains progress information emitted by the XHR if- * available.- *- * @default {}- */- progress: {- type: Object,- notify: true,- readOnly: true,- value: function() {- return {};- }- },-- /**- * Aborted will be true if an abort of the request is attempted.- */- aborted: {- type: Boolean,- notify: true,- readOnly: true,- value: false,- },-- /**- * Errored will be true if the browser fired an error event from the- * XHR object (mainly network errors).- */- errored: {- type: Boolean,- notify: true,- readOnly: true,- value: false- },-- /**- * TimedOut will be true if the XHR threw a timeout event.- */- timedOut: {- type: Boolean,- notify: true,- readOnly: true,- value: false- }- },-- /**- * Succeeded is true if the request succeeded. The request succeeded if it- * loaded without error, wasn't aborted, and the status code is ≥ 200, and- * < 300, or if the status code is 0.- *- * The status code 0 is accepted as a success because some schemes - e.g.- * file:// - don't provide status codes.- *- * @return {boolean}- */- get succeeded() {- if (this.errored || this.aborted || this.timedOut) {- return false;- }- var status = this.xhr.status || 0;-- // Note: if we are using the file:// protocol, the status code will be 0- // for all outcomes (successful or otherwise).- return status === 0 ||- (status >= 200 && status < 300);- },-- /**- * Sends an HTTP request to the server and returns the XHR object.- *- * The handling of the `body` parameter will vary based on the Content-Type- * header. See the docs for iron-ajax's `body` param for details.- *- * @param {{- * url: string,- * method: (string|undefined),- * async: (boolean|undefined),- * body: (ArrayBuffer|ArrayBufferView|Blob|Document|FormData|null|string|undefined|Object),- * headers: (Object|undefined),- * handleAs: (string|undefined),- * jsonPrefix: (string|undefined),- * withCredentials: (boolean|undefined)}} options -- * url The url to which the request is sent.- * method The HTTP method to use, default is GET.- * async By default, all requests are sent asynchronously. To send synchronous requests,- * set to false.- * body The content for the request body for POST method.- * headers HTTP request headers.- * handleAs The response type. Default is 'text'.- * withCredentials Whether or not to send credentials on the request. Default is false.- * timeout: (Number|undefined)- * @return {Promise}- */- send: function (options) {- var xhr = this.xhr;-- if (xhr.readyState > 0) {- return null;- }-- xhr.addEventListener('progress', function (progress) {- this._setProgress({- lengthComputable: progress.lengthComputable,- loaded: progress.loaded,- total: progress.total- });- }.bind(this))-- xhr.addEventListener('error', function (error) {- this._setErrored(true);- this._updateStatus();- this.rejectCompletes(error);- }.bind(this));-- xhr.addEventListener('timeout', function (error) {- this._setTimedOut(true);- this._updateStatus();- this.rejectCompletes(error);- }.bind(this));-- xhr.addEventListener('abort', function () {- this._updateStatus();- this.rejectCompletes(new Error('Request aborted.'));- }.bind(this));-- // Called after all of the above.- xhr.addEventListener('loadend', function () {- this._updateStatus();- this._setResponse(this.parseResponse());-- if (!this.succeeded) {- this.rejectCompletes(new Error('The request failed with status code: ' + this.xhr.status));- return;- }-- this.resolveCompletes(this);- }.bind(this));-- this.url = options.url;- xhr.open(- options.method || 'GET',- options.url,- options.async !== false- );-- var acceptType = {- 'json': 'application/json',- 'text': 'text/plain',- 'html': 'text/html',- 'xml': 'application/xml',- 'arraybuffer': 'application/octet-stream'- }[options.handleAs];- var headers = options.headers || Object.create(null);- var newHeaders = Object.create(null);- for (var key in headers) {- newHeaders[key.toLowerCase()] = headers[key];- }- headers = newHeaders;-- if (acceptType && !headers['accept']) {- headers['accept'] = acceptType;- }- Object.keys(headers).forEach(function (requestHeader) {- if (/[A-Z]/.test(requestHeader)) {- Polymer.Base._error('Headers must be lower case, got', requestHeader);- }- xhr.setRequestHeader(- requestHeader,- headers[requestHeader]- );- }, this);-- if (options.async !== false) {- if (options.async) {- xhr.timeout = options.timeout;- }-- var handleAs = options.handleAs;-- // If a JSON prefix is present, the responseType must be 'text' or the- // browser won’t be able to parse the response.- if (!!options.jsonPrefix || !handleAs) {- handleAs = 'text';- }-- // In IE, `xhr.responseType` is an empty string when the response- // returns. Hence, caching it as `xhr._responseType`.- xhr.responseType = xhr._responseType = handleAs;-- // Cache the JSON prefix, if it exists.- if (!!options.jsonPrefix) {- xhr._jsonPrefix = options.jsonPrefix;- }- }-- xhr.withCredentials = !!options.withCredentials;--- var body = this._encodeBodyObject(options.body, headers['content-type']);-- xhr.send(- /** @type {ArrayBuffer|ArrayBufferView|Blob|Document|FormData|- null|string|undefined} */- (body));-- return this.completes;- },-- /**- * Attempts to parse the response body of the XHR. If parsing succeeds,- * the value returned will be deserialized based on the `responseType`- * set on the XHR.- *- * @return {*} The parsed response,- * or undefined if there was an empty response or parsing failed.- */- parseResponse: function () {- var xhr = this.xhr;- var responseType = xhr.responseType || xhr._responseType;- var preferResponseText = !this.xhr.responseType;- var prefixLen = (xhr._jsonPrefix && xhr._jsonPrefix.length) || 0;-- try {- switch (responseType) {- case 'json':- // If the xhr object doesn't have a natural `xhr.responseType`,- // we can assume that the browser hasn't parsed the response for us,- // and so parsing is our responsibility. Likewise if response is- // undefined, as there's no way to encode undefined in JSON.- if (preferResponseText || xhr.response === undefined) {- // Try to emulate the JSON section of the response body section of- // the spec: https://xhr.spec.whatwg.org/#response-body- // That is to say, we try to parse as JSON, but if anything goes- // wrong return null.- try {- return JSON.parse(xhr.responseText);- } catch (_) {- return null;- }- }-- return xhr.response;- case 'xml':- return xhr.responseXML;- case 'blob':- case 'document':- case 'arraybuffer':- return xhr.response;- case 'text':- default: {- // If `prefixLen` is set, it implies the response should be parsed- // as JSON once the prefix of length `prefixLen` is stripped from- // it. Emulate the behavior above where null is returned on failure- // to parse.- if (prefixLen) {- try {- return JSON.parse(xhr.responseText.substring(prefixLen));- } catch (_) {- return null;- }- }- return xhr.responseText;- }- }- } catch (e) {- this.rejectCompletes(new Error('Could not parse response. ' + e.message));- }- },-- /**- * Aborts the request.- */- abort: function () {- this._setAborted(true);- this.xhr.abort();- },-- /**- * @param {*} body The given body of the request to try and encode.- * @param {?string} contentType The given content type, to infer an encoding- * from.- * @return {*} Either the encoded body as a string, if successful,- * or the unaltered body object if no encoding could be inferred.- */- _encodeBodyObject: function(body, contentType) {- if (typeof body == 'string') {- return body; // Already encoded.- }- var bodyObj = /** @type {Object} */ (body);- switch(contentType) {- case('application/json'):- return JSON.stringify(bodyObj);- case('application/x-www-form-urlencoded'):- return this._wwwFormUrlEncode(bodyObj);- }- return body;- },-- /**- * @param {Object} object The object to encode as x-www-form-urlencoded.- * @return {string} .- */- _wwwFormUrlEncode: function(object) {- if (!object) {- return '';- }- var pieces = [];- Object.keys(object).forEach(function(key) {- // TODO(rictic): handle array values here, in a consistent way with- // iron-ajax params.- pieces.push(- this._wwwFormUrlEncodePiece(key) + '=' +- this._wwwFormUrlEncodePiece(object[key]));- }, this);- return pieces.join('&');- },-- /**- * @param {*} str A key or value to encode as x-www-form-urlencoded.- * @return {string} .- */- _wwwFormUrlEncodePiece: function(str) {- // Spec says to normalize newlines to \r\n and replace %20 spaces with +.- // jQuery does this as well, so this is likely to be widely compatible.- if (str === null) {- return '';- }- return encodeURIComponent(str.toString().replace(/\r?\n/g, '\r\n'))- .replace(/%20/g, '+');- },- /**- * Updates the status code and status text.- */- _updateStatus: function() {- this._setStatus(this.xhr.status);- this._setStatusText((this.xhr.statusText === undefined) ? '' : this.xhr.statusText);- }- });-</script>+<script>"use strict";Polymer({is:"iron-request",hostAttributes:{hidden:!0},properties:{xhr:{type:Object,notify:!0,readOnly:!0,value:function(){return new XMLHttpRequest}},response:{type:Object,notify:!0,readOnly:!0,value:function(){return null}},status:{type:Number,notify:!0,readOnly:!0,value:0},statusText:{type:String,notify:!0,readOnly:!0,value:""},completes:{type:Object,readOnly:!0,notify:!0,value:function(){return new Promise(function(e,t){this.resolveCompletes=e,this.rejectCompletes=t}.bind(this))}},progress:{type:Object,notify:!0,readOnly:!0,value:function(){return{}}},aborted:{type:Boolean,notify:!0,readOnly:!0,value:!1},errored:{type:Boolean,notify:!0,readOnly:!0,value:!1},timedOut:{type:Boolean,notify:!0,readOnly:!0,value:!1}},get succeeded(){if(this.errored||this.aborted||this.timedOut)return!1;var e=this.xhr.status||0;return 0===e||e>=200&&e<300},send:function(e){var t=this.xhr;if(t.readyState>0)return null;t.addEventListener("progress",function(e){this._setProgress({lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total})}.bind(this)),t.addEventListener("error",function(e){this._setErrored(!0),this._updateStatus(),this.rejectCompletes(e)}.bind(this)),t.addEventListener("timeout",function(e){this._setTimedOut(!0),this._updateStatus(),this.rejectCompletes(e)}.bind(this)),t.addEventListener("abort",function(){this._updateStatus(),this.rejectCompletes(new Error("Request aborted."))}.bind(this)),t.addEventListener("loadend",function(){return this._updateStatus(),this._setResponse(this.parseResponse()),this.succeeded?void this.resolveCompletes(this):void this.rejectCompletes(new Error("The request failed with status code: "+this.xhr.status))}.bind(this)),this.url=e.url,t.open(e.method||"GET",e.url,e.async!==!1);var r={json:"application/json",text:"text/plain",html:"text/html",xml:"application/xml",arraybuffer:"application/octet-stream"}[e.handleAs],s=e.headers||Object.create(null),n=Object.create(null);for(var o in s)n[o.toLowerCase()]=s[o];if(s=n,r&&!s.accept&&(s.accept=r),Object.keys(s).forEach(function(e){/[A-Z]/.test(e)&&Polymer.Base._error("Headers must be lower case, got",e),t.setRequestHeader(e,s[e])},this),e.async!==!1){e.async&&(t.timeout=e.timeout);var i=e.handleAs;!e.jsonPrefix&&i||(i="text"),t.responseType=t._responseType=i,e.jsonPrefix&&(t._jsonPrefix=e.jsonPrefix)}t.withCredentials=!!e.withCredentials;var a=this._encodeBodyObject(e.body,s["content-type"]);return t.send(a),this.completes},parseResponse:function(){var e=this.xhr,t=e.responseType||e._responseType,r=!this.xhr.responseType,s=e._jsonPrefix&&e._jsonPrefix.length||0;try{switch(t){case"json":if(r||void 0===e.response)try{return JSON.parse(e.responseText)}catch(e){return null}return e.response;case"xml":return e.responseXML;case"blob":case"document":case"arraybuffer":return e.response;case"text":default:if(s)try{return JSON.parse(e.responseText.substring(s))}catch(e){return null}return e.responseText}}catch(e){this.rejectCompletes(new Error("Could not parse response. "+e.message))}},abort:function(){this._setAborted(!0),this.xhr.abort()},_encodeBodyObject:function(e,t){if("string"==typeof e)return e;var r=e;switch(t){case"application/json":return JSON.stringify(r);case"application/x-www-form-urlencoded":return this._wwwFormUrlEncode(r)}return e},_wwwFormUrlEncode:function(e){if(!e)return"";var t=[];return Object.keys(e).forEach(function(r){t.push(this._wwwFormUrlEncodePiece(r)+"="+this._wwwFormUrlEncodePiece(e[r]))},this),t.join("&")},_wwwFormUrlEncodePiece:function(e){return null===e?"":encodeURIComponent(e.toString().replace(/\r?\n/g,"\r\n")).replace(/%20/g,"+")},_updateStatus:function(){this._setStatus(this.xhr.status),this._setStatusText(void 0===this.xhr.statusText?"":this.xhr.statusText)}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-behaviors/iron-button-state.html b/frontend/bower_components/iron-behaviors/iron-button-state.htmlindex 8114e2dde..e3fe86003 100644--- a/frontend/bower_components/iron-behaviors/iron-button-state.html+++ b/frontend/bower_components/iron-behaviors/iron-button-state.html@@ -1,228 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="iron-control-state.html">-<script>-- /**- * @demo demo/index.html- * @polymerBehavior Polymer.IronButtonState- */- Polymer.IronButtonStateImpl = {-- properties: {-- /**- * If true, the user is currently holding down the button.- */- pressed: {- type: Boolean,- readOnly: true,- value: false,- reflectToAttribute: true,- observer: '_pressedChanged'- },-- /**- * If true, the button toggles the active state with each tap or press- * of the spacebar.- */- toggles: {- type: Boolean,- value: false,- reflectToAttribute: true- },-- /**- * If true, the button is a toggle and is currently in the active state.- */- active: {- type: Boolean,- value: false,- notify: true,- reflectToAttribute: true- },-- /**- * True if the element is currently being pressed by a "pointer," which- * is loosely defined as mouse or touch input (but specifically excluding- * keyboard input).- */- pointerDown: {- type: Boolean,- readOnly: true,- value: false- },-- /**- * True if the input device that caused the element to receive focus- * was a keyboard.- */- receivedFocusFromKeyboard: {- type: Boolean,- readOnly: true- },-- /**- * The aria attribute to be set if the button is a toggle and in the- * active state.- */- ariaActiveAttribute: {- type: String,- value: 'aria-pressed',- observer: '_ariaActiveAttributeChanged'- }- },-- listeners: {- down: '_downHandler',- up: '_upHandler',- tap: '_tapHandler'- },-- observers: [- '_detectKeyboardFocus(focused)',- '_activeChanged(active, ariaActiveAttribute)'- ],-- keyBindings: {- 'enter:keydown': '_asyncClick',- 'space:keydown': '_spaceKeyDownHandler',- 'space:keyup': '_spaceKeyUpHandler',- },-- _mouseEventRe: /^mouse/,-- _tapHandler: function() {- if (this.toggles) {- // a tap is needed to toggle the active state- this._userActivate(!this.active);- } else {- this.active = false;- }- },-- _detectKeyboardFocus: function(focused) {- this._setReceivedFocusFromKeyboard(!this.pointerDown && focused);- },-- // to emulate native checkbox, (de-)activations from a user interaction fire- // 'change' events- _userActivate: function(active) {- if (this.active !== active) {- this.active = active;- this.fire('change');- }- },-- _downHandler: function(event) {- this._setPointerDown(true);- this._setPressed(true);- this._setReceivedFocusFromKeyboard(false);- },-- _upHandler: function() {- this._setPointerDown(false);- this._setPressed(false);- },-- /**- * @param {!KeyboardEvent} event .- */- _spaceKeyDownHandler: function(event) {- var keyboardEvent = event.detail.keyboardEvent;- var target = Polymer.dom(keyboardEvent).localTarget;-- // Ignore the event if this is coming from a focused light child, since that- // element will deal with it.- if (this.isLightDescendant(/** @type {Node} */(target)))- return;-- keyboardEvent.preventDefault();- keyboardEvent.stopImmediatePropagation();- this._setPressed(true);- },-- /**- * @param {!KeyboardEvent} event .- */- _spaceKeyUpHandler: function(event) {- var keyboardEvent = event.detail.keyboardEvent;- var target = Polymer.dom(keyboardEvent).localTarget;-- // Ignore the event if this is coming from a focused light child, since that- // element will deal with it.- if (this.isLightDescendant(/** @type {Node} */(target)))- return;-- if (this.pressed) {- this._asyncClick();- }- this._setPressed(false);- },-- // trigger click asynchronously, the asynchrony is useful to allow one- // event handler to unwind before triggering another event- _asyncClick: function() {- this.async(function() {- this.click();- }, 1);- },-- // any of these changes are considered a change to button state-- _pressedChanged: function(pressed) {- this._changedButtonState();- },-- _ariaActiveAttributeChanged: function(value, oldValue) {- if (oldValue && oldValue != value && this.hasAttribute(oldValue)) {- this.removeAttribute(oldValue);- }- },-- _activeChanged: function(active, ariaActiveAttribute) {- if (this.toggles) {- this.setAttribute(this.ariaActiveAttribute,- active ? 'true' : 'false');- } else {- this.removeAttribute(this.ariaActiveAttribute);- }- this._changedButtonState();- },-- _controlStateChanged: function() {- if (this.disabled) {- this._setPressed(false);- } else {- this._changedButtonState();- }- },-- // provide hook for follow-on behaviors to react to button-state-- _changedButtonState: function() {- if (this._buttonStateChanged) {- this._buttonStateChanged(); // abstract- }- }-- };-- /** @polymerBehavior */- Polymer.IronButtonState = [- Polymer.IronA11yKeysBehavior,- Polymer.IronButtonStateImpl- ];--</script>+<script>Polymer.IronButtonStateImpl={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_detectKeyboardFocus(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,i=Polymer.dom(t).localTarget;this.isLightDescendant(i)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,i=Polymer.dom(t).localTarget;this.isLightDescendant(i)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async(function(){this.click()},1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},Polymer.IronButtonState=[Polymer.IronA11yKeysBehavior,Polymer.IronButtonStateImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-behaviors/iron-control-state.html b/frontend/bower_components/iron-behaviors/iron-control-state.htmlindex f34d05799..e96a2dc34 100644--- a/frontend/bower_components/iron-behaviors/iron-control-state.html+++ b/frontend/bower_components/iron-behaviors/iron-control-state.html@@ -1,110 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-- /**- * @demo demo/index.html- * @polymerBehavior- */- Polymer.IronControlState = {-- properties: {-- /**- * If true, the element currently has focus.- */- focused: {- type: Boolean,- value: false,- notify: true,- readOnly: true,- reflectToAttribute: true- },-- /**- * If true, the user cannot interact with this element.- */- disabled: {- type: Boolean,- value: false,- notify: true,- observer: '_disabledChanged',- reflectToAttribute: true- },-- _oldTabIndex: {- type: Number- },-- _boundFocusBlurHandler: {- type: Function,- value: function() {- return this._focusBlurHandler.bind(this);- }- }-- },-- observers: [- '_changedControlState(focused, disabled)'- ],-- ready: function() {- this.addEventListener('focus', this._boundFocusBlurHandler, true);- this.addEventListener('blur', this._boundFocusBlurHandler, true);- },-- _focusBlurHandler: function(event) {- // NOTE(cdata): if we are in ShadowDOM land, `event.target` will- // eventually become `this` due to retargeting; if we are not in- // ShadowDOM land, `event.target` will eventually become `this` due- // to the second conditional which fires a synthetic event (that is also- // handled). In either case, we can disregard `event.path`.-- if (event.target === this) {- this._setFocused(event.type === 'focus');- } else if (!this.shadowRoot) {- var target = /** @type {Node} */(Polymer.dom(event).localTarget);- if (!this.isLightDescendant(target)) {- this.fire(event.type, {sourceEvent: event}, {- node: this,- bubbles: event.bubbles,- cancelable: event.cancelable- });- }- }- },-- _disabledChanged: function(disabled, old) {- this.setAttribute('aria-disabled', disabled ? 'true' : 'false');- this.style.pointerEvents = disabled ? 'none' : '';- if (disabled) {- this._oldTabIndex = this.tabIndex;- this._setFocused(false);- this.tabIndex = -1;- this.blur();- } else if (this._oldTabIndex !== undefined) {- this.tabIndex = this._oldTabIndex;- }- },-- _changedControlState: function() {- // _controlStateChanged is abstract, follow-on behaviors may implement it- if (this._controlStateChanged) {- this._controlStateChanged();- }- }-- };--</script>+<script>Polymer.IronControlState={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:Number},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){if(e.target===this)this._setFocused("focus"===e.type);else if(!this.shadowRoot){var t=Polymer.dom(e).localTarget;this.isLightDescendant(t)||this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})}},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.tabIndex,this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(this.tabIndex=this._oldTabIndex)},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html b/frontend/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.htmlindex 3ed2ffea8..ca063d35f 100644--- a/frontend/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html+++ b/frontend/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html@@ -1,120 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior.html"><link rel="import" href="../iron-form-element-behavior/iron-form-element-behavior.html">-<script>-- /**- * Use `Polymer.IronCheckedElementBehavior` to implement a custom element- * that has a `checked` property, which can be used for validation if the- * element is also `required`. Element instances implementing this behavior- * will also be registered for use in an `iron-form` element.- *- * @demo demo/index.html- * @polymerBehavior Polymer.IronCheckedElementBehavior- */- Polymer.IronCheckedElementBehaviorImpl = {-- properties: {- /**- * Fired when the checked state changes.- *- * @event iron-change- */-- /**- * Gets or sets the state, `true` is checked and `false` is unchecked.- */- checked: {- type: Boolean,- value: false,- reflectToAttribute: true,- notify: true,- observer: '_checkedChanged'- },-- /**- * If true, the button toggles the active state with each tap or press- * of the spacebar.- */- toggles: {- type: Boolean,- value: true,- reflectToAttribute: true- },-- /* Overriden from Polymer.IronFormElementBehavior */- value: {- type: String,- value: 'on',- observer: '_valueChanged'- }- },-- observers: [- '_requiredChanged(required)'- ],-- created: function() {- // Used by `iron-form` to handle the case that an element with this behavior- // doesn't have a role of 'checkbox' or 'radio', but should still only be- // included when the form is serialized if `this.checked === true`.- this._hasIronCheckedElementBehavior = true;- },-- /**- * Returns false if the element is required and not checked, and true otherwise.- * @param {*=} _value Ignored.- * @return {boolean} true if `required` is false or if `checked` is true.- */- _getValidity: function(_value) {- return this.disabled || !this.required || this.checked;- },-- /**- * Update the aria-required label when `required` is changed.- */- _requiredChanged: function() {- if (this.required) {- this.setAttribute('aria-required', 'true');- } else {- this.removeAttribute('aria-required');- }- },-- /**- * Fire `iron-changed` when the checked state changes.- */- _checkedChanged: function() {- this.active = this.checked;- this.fire('iron-change');- },-- /**- * Reset value to 'on' if it is set to `undefined`.- */- _valueChanged: function() {- if (this.value === undefined || this.value === null) {- this.value = 'on';- }- }- };-- /** @polymerBehavior Polymer.IronCheckedElementBehavior */- Polymer.IronCheckedElementBehavior = [- Polymer.IronFormElementBehavior,- Polymer.IronValidatableBehavior,- Polymer.IronCheckedElementBehaviorImpl- ];--</script>+<script>Polymer.IronCheckedElementBehaviorImpl={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},_getValidity:function(e){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},_checkedChanged:function(){this.active=this.checked,this.fire("iron-change")},_valueChanged:function(){void 0!==this.value&&null!==this.value||(this.value="on")}},Polymer.IronCheckedElementBehavior=[Polymer.IronFormElementBehavior,Polymer.IronValidatableBehavior,Polymer.IronCheckedElementBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-collapse/iron-collapse.html b/frontend/bower_components/iron-collapse/iron-collapse.htmlindex 75a79e70f..cbf9a1544 100644--- a/frontend/bower_components/iron-collapse/iron-collapse.html+++ b/frontend/bower_components/iron-collapse/iron-collapse.html@@ -1,64 +1,9 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html">-<!---`iron-collapse` creates a collapsible block of content. By default, the content-will be collapsed. Use `opened` or `toggle()` to show/hide the content.-- <button on-click="toggle">toggle collapse</button>-- <iron-collapse id="collapse">- <div>Content goes here...</div>- </iron-collapse>-- ...-- toggle: function() {- this.$.collapse.toggle();- }--`iron-collapse` adjusts the max-height/max-width of the collapsible element to show/hide-the content. So avoid putting padding/margin/border on the collapsible directly,-and instead put a div inside and style that.-- <style>- .collapse-content {- padding: 15px;- border: 1px solid #dedede;- }- </style>-- <iron-collapse>- <div class="collapse-content">- <div>Content goes here...</div>- </div>- </iron-collapse>--### Styling--The following custom properties and mixins are available for styling:-Custom property | Description | Default-----------------|-------------|-----------`--iron-collapse-transition-duration` | Animation transition duration | `300ms`-@group Iron Elements-@hero hero.svg-@demo demo/index.html-@element iron-collapse--->--<dom-module id="iron-collapse">+</head><body><dom-module id="iron-collapse"><template>@@ -84,219 +29,5 @@ Custom property | Description | Default</dom-module>-<script>-- Polymer({-- is: 'iron-collapse',-- behaviors: [- Polymer.IronResizableBehavior- ],-- properties: {-- /**- * If true, the orientation is horizontal; otherwise is vertical.- *- * @attribute horizontal- */- horizontal: {- type: Boolean,- value: false,- observer: '_horizontalChanged'- },-- /**- * Set opened to true to show the collapse element and to false to hide it.- *- * @attribute opened- */- opened: {- type: Boolean,- value: false,- notify: true,- observer: '_openedChanged'- },-- /**- * When true, the element is transitioning its opened state. When false,- * the element has finished opening/closing.- *- * @attribute transitioning- */- transitioning: {- type: Boolean,- notify: true,- readOnly: true- },-- /**- * Set noAnimation to true to disable animations.- *- * @attribute noAnimation- */- noAnimation: {- type: Boolean- },-- /**- * Stores the desired size of the collapse body.- * @private- */- _desiredSize: {- type: String,- value: ''- }- },-- get dimension() {- return this.horizontal ? 'width' : 'height';- },-- /**- * `maxWidth` or `maxHeight`.- * @private- */- get _dimensionMax() {- return this.horizontal ? 'maxWidth' : 'maxHeight';- },-- /**- * `max-width` or `max-height`.- * @private- */- get _dimensionMaxCss() {- return this.horizontal ? 'max-width' : 'max-height';- },-- hostAttributes: {- role: 'group',- 'aria-hidden': 'true',- 'aria-expanded': 'false'- },-- listeners: {- transitionend: '_onTransitionEnd'- },-- /**- * Toggle the opened state.- *- * @method toggle- */- toggle: function() {- this.opened = !this.opened;- },-- show: function() {- this.opened = true;- },-- hide: function() {- this.opened = false;- },-- /**- * Updates the size of the element.- * @param {string} size The new value for `maxWidth`/`maxHeight` as css property value, usually `auto` or `0px`.- * @param {boolean=} animated if `true` updates the size with an animation, otherwise without.- */- updateSize: function(size, animated) {- // Consider 'auto' as '', to take full size.- size = size === 'auto' ? '' : size;-- var willAnimate = animated && !this.noAnimation &&- this.isAttached && this._desiredSize !== size;-- this._desiredSize = size;-- this._updateTransition(false);- // If we can animate, must do some prep work.- if (willAnimate) {- // Animation will start at the current size.- var startSize = this._calcSize();- // For `auto` we must calculate what is the final size for the animation.- // After the transition is done, _transitionEnd will set the size back to `auto`.- if (size === '') {- this.style[this._dimensionMax] = '';- size = this._calcSize();- }- // Go to startSize without animation.- this.style[this._dimensionMax] = startSize;- // Force layout to ensure transition will go. Set scrollTop to itself- // so that compilers won't remove it.- this.scrollTop = this.scrollTop;- // Enable animation.- this._updateTransition(true);- // If final size is the same as startSize it will not animate.- willAnimate = (size !== startSize);- }- // Set the final size.- this.style[this._dimensionMax] = size;- // If it won't animate, call transitionEnd to set correct classes.- if (!willAnimate) {- this._transitionEnd();- }- },-- /**- * enableTransition() is deprecated, but left over so it doesn't break existing code.- * Please use `noAnimation` property instead.- *- * @method enableTransition- * @deprecated since version 1.0.4- */- enableTransition: function(enabled) {- Polymer.Base._warn('`enableTransition()` is deprecated, use `noAnimation` instead.');- this.noAnimation = !enabled;- },-- _updateTransition: function(enabled) {- this.style.transitionDuration = (enabled && !this.noAnimation) ? '' : '0s';- },-- _horizontalChanged: function() {- this.style.transitionProperty = this._dimensionMaxCss;- var otherDimension = this._dimensionMax === 'maxWidth' ? 'maxHeight' : 'maxWidth';- this.style[otherDimension] = '';- this.updateSize(this.opened ? 'auto' : '0px', false);- },-- _openedChanged: function() {- this.setAttribute('aria-expanded', this.opened);- this.setAttribute('aria-hidden', !this.opened);-- this._setTransitioning(true);- this.toggleClass('iron-collapse-closed', false);- this.toggleClass('iron-collapse-opened', false);- this.updateSize(this.opened ? 'auto' : '0px', true);-- // Focus the current collapse.- if (this.opened) {- this.focus();- }- },-- _transitionEnd: function() {- this.style[this._dimensionMax] = this._desiredSize;- this.toggleClass('iron-collapse-closed', !this.opened);- this.toggleClass('iron-collapse-opened', this.opened);- this._updateTransition(false);- this.notifyResize();- this._setTransitioning(false);- },-- _onTransitionEnd: function(event) {- if (Polymer.dom(event).rootTarget === this) {- this._transitionEnd();- }- },-- _calcSize: function() {- return this.getBoundingClientRect()[this.dimension] + 'px';- }-- });--</script>+<script>Polymer({is:"iron-collapse",behaviors:[Polymer.IronResizableBehavior],properties:{horizontal:{type:Boolean,value:!1,observer:"_horizontalChanged"},opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},transitioning:{type:Boolean,notify:!0,readOnly:!0},noAnimation:{type:Boolean},_desiredSize:{type:String,value:""}},get dimension(){return this.horizontal?"width":"height"},get _dimensionMax(){return this.horizontal?"maxWidth":"maxHeight"},get _dimensionMaxCss(){return this.horizontal?"max-width":"max-height"},hostAttributes:{role:"group","aria-hidden":"true","aria-expanded":"false"},listeners:{transitionend:"_onTransitionEnd"},toggle:function(){this.opened=!this.opened},show:function(){this.opened=!0},hide:function(){this.opened=!1},updateSize:function(i,t){i="auto"===i?"":i;var e=t&&!this.noAnimation&&this.isAttached&&this._desiredSize!==i;if(this._desiredSize=i,this._updateTransition(!1),e){var n=this._calcSize();""===i&&(this.style[this._dimensionMax]="",i=this._calcSize()),this.style[this._dimensionMax]=n,this.scrollTop=this.scrollTop,this._updateTransition(!0),e=i!==n}this.style[this._dimensionMax]=i,e||this._transitionEnd()},enableTransition:function(i){Polymer.Base._warn("`enableTransition()` is deprecated, use `noAnimation` instead."),this.noAnimation=!i},_updateTransition:function(i){this.style.transitionDuration=i&&!this.noAnimation?"":"0s"},_horizontalChanged:function(){this.style.transitionProperty=this._dimensionMaxCss;var i="maxWidth"===this._dimensionMax?"maxHeight":"maxWidth";this.style[i]="",this.updateSize(this.opened?"auto":"0px",!1)},_openedChanged:function(){this.setAttribute("aria-expanded",this.opened),this.setAttribute("aria-hidden",!this.opened),this._setTransitioning(!0),this.toggleClass("iron-collapse-closed",!1),this.toggleClass("iron-collapse-opened",!1),this.updateSize(this.opened?"auto":"0px",!0),this.opened&&this.focus()},_transitionEnd:function(){this.style[this._dimensionMax]=this._desiredSize,this.toggleClass("iron-collapse-closed",!this.opened),this.toggleClass("iron-collapse-opened",this.opened),this._updateTransition(!1),this.notifyResize(),this._setTransitioning(!1)},_onTransitionEnd:function(i){Polymer.dom(i).rootTarget===this&&this._transitionEnd()},_calcSize:function(){return this.getBoundingClientRect()[this.dimension]+"px"}});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html b/frontend/bower_components/iron-dropdown/iron-dropdown-scroll-manager.htmlindex e79a3f3e0..56154a651 100644--- a/frontend/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html+++ b/frontend/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html@@ -1,353 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>- (function() {- 'use strict';- // Used to calculate the scroll direction during touch events.- var LAST_TOUCH_POSITION = {- pageX: 0,- pageY: 0- };- /**- * Used to avoid computing event.path and filter scrollable nodes (better perf).- * @type {?EventTarget}- */- var ROOT_TARGET = null;- var SCROLLABLE_NODES = [];-- /**- * The IronDropdownScrollManager is intended to provide a central source- * of authority and control over which elements in a document are currently- * allowed to scroll.- */-- Polymer.IronDropdownScrollManager = {-- /**- * The current element that defines the DOM boundaries of the- * scroll lock. This is always the most recently locking element.- */- get currentLockingElement() {- return this._lockingElements[this._lockingElements.length - 1];- },-- /**- * Returns true if the provided element is "scroll locked", which is to- * say that it cannot be scrolled via pointer or keyboard interactions.- *- * @param {HTMLElement} element An HTML element instance which may or may- * not be scroll locked.- */- elementIsScrollLocked: function(element) {- var currentLockingElement = this.currentLockingElement;-- if (currentLockingElement === undefined)- return false;-- var scrollLocked;-- if (this._hasCachedLockedElement(element)) {- return true;- }-- if (this._hasCachedUnlockedElement(element)) {- return false;- }-- scrollLocked = !!currentLockingElement &&- currentLockingElement !== element &&- !this._composedTreeContains(currentLockingElement, element);-- if (scrollLocked) {- this._lockedElementCache.push(element);- } else {- this._unlockedElementCache.push(element);- }-- return scrollLocked;- },-- /**- * Push an element onto the current scroll lock stack. The most recently- * pushed element and its children will be considered scrollable. All- * other elements will not be scrollable.- *- * Scroll locking is implemented as a stack so that cases such as- * dropdowns within dropdowns are handled well.- *- * @param {HTMLElement} element The element that should lock scroll.- */- pushScrollLock: function(element) {- // Prevent pushing the same element twice- if (this._lockingElements.indexOf(element) >= 0) {- return;- }-- if (this._lockingElements.length === 0) {- this._lockScrollInteractions();- }-- this._lockingElements.push(element);-- this._lockedElementCache = [];- this._unlockedElementCache = [];- },-- /**- * Remove an element from the scroll lock stack. The element being- * removed does not need to be the most recently pushed element. However,- * the scroll lock constraints only change when the most recently pushed- * element is removed.- *- * @param {HTMLElement} element The element to remove from the scroll- * lock stack.- */- removeScrollLock: function(element) {- var index = this._lockingElements.indexOf(element);-- if (index === -1) {- return;- }-- this._lockingElements.splice(index, 1);-- this._lockedElementCache = [];- this._unlockedElementCache = [];-- if (this._lockingElements.length === 0) {- this._unlockScrollInteractions();- }- },-- _lockingElements: [],-- _lockedElementCache: null,-- _unlockedElementCache: null,-- _hasCachedLockedElement: function(element) {- return this._lockedElementCache.indexOf(element) > -1;- },-- _hasCachedUnlockedElement: function(element) {- return this._unlockedElementCache.indexOf(element) > -1;- },-- _composedTreeContains: function(element, child) {- // NOTE(cdata): This method iterates over content elements and their- // corresponding distributed nodes to implement a contains-like method- // that pierces through the composed tree of the ShadowDOM. Results of- // this operation are cached (elsewhere) on a per-scroll-lock basis, to- // guard against potentially expensive lookups happening repeatedly as- // a user scrolls / touchmoves.- var contentElements;- var distributedNodes;- var contentIndex;- var nodeIndex;-- if (element.contains(child)) {- return true;- }-- contentElements = Polymer.dom(element).querySelectorAll('content');-- for (contentIndex = 0; contentIndex < contentElements.length; ++contentIndex) {-- distributedNodes = Polymer.dom(contentElements[contentIndex]).getDistributedNodes();-- for (nodeIndex = 0; nodeIndex < distributedNodes.length; ++nodeIndex) {-- if (this._composedTreeContains(distributedNodes[nodeIndex], child)) {- return true;- }- }- }-- return false;- },-- _scrollInteractionHandler: function(event) {- // Avoid canceling an event with cancelable=false, e.g. scrolling is in- // progress and cannot be interrupted.- if (event.cancelable && this._shouldPreventScrolling(event)) {- event.preventDefault();- }- // If event has targetTouches (touch event), update last touch position.- if (event.targetTouches) {- var touch = event.targetTouches[0];- LAST_TOUCH_POSITION.pageX = touch.pageX;- LAST_TOUCH_POSITION.pageY = touch.pageY;- }- },-- _lockScrollInteractions: function() {- this._boundScrollHandler = this._boundScrollHandler ||- this._scrollInteractionHandler.bind(this);- // Modern `wheel` event for mouse wheel scrolling:- document.addEventListener('wheel', this._boundScrollHandler, true);- // Older, non-standard `mousewheel` event for some FF:- document.addEventListener('mousewheel', this._boundScrollHandler, true);- // IE:- document.addEventListener('DOMMouseScroll', this._boundScrollHandler, true);- // Save the SCROLLABLE_NODES on touchstart, to be used on touchmove.- document.addEventListener('touchstart', this._boundScrollHandler, true);- // Mobile devices can scroll on touch move:- document.addEventListener('touchmove', this._boundScrollHandler, true);- },-- _unlockScrollInteractions: function() {- document.removeEventListener('wheel', this._boundScrollHandler, true);- document.removeEventListener('mousewheel', this._boundScrollHandler, true);- document.removeEventListener('DOMMouseScroll', this._boundScrollHandler, true);- document.removeEventListener('touchstart', this._boundScrollHandler, true);- document.removeEventListener('touchmove', this._boundScrollHandler, true);- },-- /**- * Returns true if the event causes scroll outside the current locking- * element, e.g. pointer/keyboard interactions, or scroll "leaking"- * outside the locking element when it is already at its scroll boundaries.- * @param {!Event} event- * @return {boolean}- * @private- */- _shouldPreventScrolling: function(event) {-- // Update if root target changed. For touch events, ensure we don't- // update during touchmove.- var target = Polymer.dom(event).rootTarget;- if (event.type !== 'touchmove' && ROOT_TARGET !== target) {- ROOT_TARGET = target;- SCROLLABLE_NODES = this._getScrollableNodes(Polymer.dom(event).path);- }-- // Prevent event if no scrollable nodes.- if (!SCROLLABLE_NODES.length) {- return true;- }- // Don't prevent touchstart event inside the locking element when it has- // scrollable nodes.- if (event.type === 'touchstart') {- return false;- }- // Get deltaX/Y.- var info = this._getScrollInfo(event);- // Prevent if there is no child that can scroll.- return !this._getScrollingNode(SCROLLABLE_NODES, info.deltaX, info.deltaY);- },-- /**- * Returns an array of scrollable nodes up to the current locking element,- * which is included too if scrollable.- * @param {!Array<Node>} nodes- * @return {Array<Node>} scrollables- * @private- */- _getScrollableNodes: function(nodes) {- var scrollables = [];- var lockingIndex = nodes.indexOf(this.currentLockingElement);- // Loop from root target to locking element (included).- for (var i = 0; i <= lockingIndex; i++) {- // Skip non-Element nodes.- if (nodes[i].nodeType !== Node.ELEMENT_NODE) {- continue;- }- var node = /** @type {!Element} */ (nodes[i]);- // Check inline style before checking computed style.- var style = node.style;- if (style.overflow !== 'scroll' && style.overflow !== 'auto') {- style = window.getComputedStyle(node);- }- if (style.overflow === 'scroll' || style.overflow === 'auto') {- scrollables.push(node);- }- }- return scrollables;- },-- /**- * Returns the node that is scrolling. If there is no scrolling,- * returns undefined.- * @param {!Array<Node>} nodes- * @param {number} deltaX Scroll delta on the x-axis- * @param {number} deltaY Scroll delta on the y-axis- * @return {Node|undefined}- * @private- */- _getScrollingNode: function(nodes, deltaX, deltaY) {- // No scroll.- if (!deltaX && !deltaY) {- return;- }- // Check only one axis according to where there is more scroll.- // Prefer vertical to horizontal.- var verticalScroll = Math.abs(deltaY) >= Math.abs(deltaX);- for (var i = 0; i < nodes.length; i++) {- var node = nodes[i];- var canScroll = false;- if (verticalScroll) {- // delta < 0 is scroll up, delta > 0 is scroll down.- canScroll = deltaY < 0 ? node.scrollTop > 0 :- node.scrollTop < node.scrollHeight - node.clientHeight;- } else {- // delta < 0 is scroll left, delta > 0 is scroll right.- canScroll = deltaX < 0 ? node.scrollLeft > 0 :- node.scrollLeft < node.scrollWidth - node.clientWidth;- }- if (canScroll) {- return node;- }- }- },-- /**- * Returns scroll `deltaX` and `deltaY`.- * @param {!Event} event The scroll event- * @return {{deltaX: number, deltaY: number}} Object containing the- * x-axis scroll delta (positive: scroll right, negative: scroll left,- * 0: no scroll), and the y-axis scroll delta (positive: scroll down,- * negative: scroll up, 0: no scroll).- * @private- */- _getScrollInfo: function(event) {- var info = {- deltaX: event.deltaX,- deltaY: event.deltaY- };- // Already available.- if ('deltaX' in event) {- // do nothing, values are already good.- }- // Safari has scroll info in `wheelDeltaX/Y`.- else if ('wheelDeltaX' in event) {- info.deltaX = -event.wheelDeltaX;- info.deltaY = -event.wheelDeltaY;- }- // Firefox has scroll info in `detail` and `axis`.- else if ('axis' in event) {- info.deltaX = event.axis === 1 ? event.detail : 0;- info.deltaY = event.axis === 2 ? event.detail : 0;- }- // On mobile devices, calculate scroll direction.- else if (event.targetTouches) {- var touch = event.targetTouches[0];- // Touch moves from right to left => scrolling goes right.- info.deltaX = LAST_TOUCH_POSITION.pageX - touch.pageX;- // Touch moves from down to up => scrolling goes down.- info.deltaY = LAST_TOUCH_POSITION.pageY - touch.pageY;- }- return info;- }- };- })();-</script>+<script>!function(){"use strict";var e={pageX:0,pageY:0},t=null,l=[];Polymer.IronDropdownScrollManager={get currentLockingElement(){return this._lockingElements[this._lockingElements.length-1]},elementIsScrollLocked:function(e){var t=this.currentLockingElement;if(void 0===t)return!1;var l;return!!this._hasCachedLockedElement(e)||!this._hasCachedUnlockedElement(e)&&(l=!!t&&t!==e&&!this._composedTreeContains(t,e),l?this._lockedElementCache.push(e):this._unlockedElementCache.push(e),l)},pushScrollLock:function(e){this._lockingElements.indexOf(e)>=0||(0===this._lockingElements.length&&this._lockScrollInteractions(),this._lockingElements.push(e),this._lockedElementCache=[],this._unlockedElementCache=[])},removeScrollLock:function(e){var t=this._lockingElements.indexOf(e);t!==-1&&(this._lockingElements.splice(t,1),this._lockedElementCache=[],this._unlockedElementCache=[],0===this._lockingElements.length&&this._unlockScrollInteractions())},_lockingElements:[],_lockedElementCache:null,_unlockedElementCache:null,_hasCachedLockedElement:function(e){return this._lockedElementCache.indexOf(e)>-1},_hasCachedUnlockedElement:function(e){return this._unlockedElementCache.indexOf(e)>-1},_composedTreeContains:function(e,t){var l,n,o,r;if(e.contains(t))return!0;for(l=Polymer.dom(e).querySelectorAll("content"),o=0;o<l.length;++o)for(n=Polymer.dom(l[o]).getDistributedNodes(),r=0;r<n.length;++r)if(this._composedTreeContains(n[r],t))return!0;return!1},_scrollInteractionHandler:function(t){if(t.cancelable&&this._shouldPreventScrolling(t)&&t.preventDefault(),t.targetTouches){var l=t.targetTouches[0];e.pageX=l.pageX,e.pageY=l.pageY}},_lockScrollInteractions:function(){this._boundScrollHandler=this._boundScrollHandler||this._scrollInteractionHandler.bind(this),document.addEventListener("wheel",this._boundScrollHandler,!0),document.addEventListener("mousewheel",this._boundScrollHandler,!0),document.addEventListener("DOMMouseScroll",this._boundScrollHandler,!0),document.addEventListener("touchstart",this._boundScrollHandler,!0),document.addEventListener("touchmove",this._boundScrollHandler,!0)},_unlockScrollInteractions:function(){document.removeEventListener("wheel",this._boundScrollHandler,!0),document.removeEventListener("mousewheel",this._boundScrollHandler,!0),document.removeEventListener("DOMMouseScroll",this._boundScrollHandler,!0),document.removeEventListener("touchstart",this._boundScrollHandler,!0),document.removeEventListener("touchmove",this._boundScrollHandler,!0)},_shouldPreventScrolling:function(e){var n=Polymer.dom(e).rootTarget;if("touchmove"!==e.type&&t!==n&&(t=n,l=this._getScrollableNodes(Polymer.dom(e).path)),!l.length)return!0;if("touchstart"===e.type)return!1;var o=this._getScrollInfo(e);return!this._getScrollingNode(l,o.deltaX,o.deltaY)},_getScrollableNodes:function(e){for(var t=[],l=e.indexOf(this.currentLockingElement),n=0;n<=l;n++)if(e[n].nodeType===Node.ELEMENT_NODE){var o=e[n],r=o.style;"scroll"!==r.overflow&&"auto"!==r.overflow&&(r=window.getComputedStyle(o)),"scroll"!==r.overflow&&"auto"!==r.overflow||t.push(o)}return t},_getScrollingNode:function(e,t,l){if(t||l)for(var n=Math.abs(l)>=Math.abs(t),o=0;o<e.length;o++){var r=e[o],c=!1;if(c=n?l<0?r.scrollTop>0:r.scrollTop<r.scrollHeight-r.clientHeight:t<0?r.scrollLeft>0:r.scrollLeft<r.scrollWidth-r.clientWidth)return r}},_getScrollInfo:function(t){var l={deltaX:t.deltaX,deltaY:t.deltaY};if("deltaX"in t);else if("wheelDeltaX"in t)l.deltaX=-t.wheelDeltaX,l.deltaY=-t.wheelDeltaY;else if("axis"in t)l.deltaX=1===t.axis?t.detail:0,l.deltaY=2===t.axis?t.detail:0;else if(t.targetTouches){var n=t.targetTouches[0];l.deltaX=e.pageX-n.pageX,l.deltaY=e.pageY-n.pageY}return l}}}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-dropdown/iron-dropdown.html b/frontend/bower_components/iron-dropdown/iron-dropdown.htmlindex 732762485..0bc602b65 100644--- a/frontend/bower_components/iron-dropdown/iron-dropdown.html+++ b/frontend/bower_components/iron-dropdown/iron-dropdown.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="../iron-behaviors/iron-control-state.html">@@ -17,33 +7,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN<link rel="import" href="../neon-animation/animations/opaque-animation.html"><link rel="import" href="iron-dropdown-scroll-manager.html">-<!---`<iron-dropdown>` is a generalized element that is useful when you have-hidden content (`.dropdown-content`) that is revealed due to some change in-state that should cause it to do so.--Note that this is a low-level element intended to be used as part of other-composite elements that cause dropdowns to be revealed.--Examples of elements that might be implemented using an `iron-dropdown`-include comboboxes, menubuttons, selects. The list goes on.--The `<iron-dropdown>` element exposes attributes that allow the position-of the `.dropdown-content` relative to the `.dropdown-trigger` to be-configured.-- <iron-dropdown horizontal-align="right" vertical-align="top">- <div class="dropdown-content">Hello!</div>- </iron-dropdown>-In the above example, the `<div>` with class `.dropdown-content` will be-hidden until the dropdown element has `opened` set to true, or when the `open`-method is called on the element.-@demo demo/index.html--->--<dom-module id="iron-dropdown">+</head><body><dom-module id="iron-dropdown"><template><style>:host {@@ -64,290 +30,6 @@ method is called on the element.</div></template>- <script>- (function() {- 'use strict';-- Polymer({- is: 'iron-dropdown',-- behaviors: [- Polymer.IronControlState,- Polymer.IronA11yKeysBehavior,- Polymer.IronOverlayBehavior,- Polymer.NeonAnimationRunnerBehavior- ],-- properties: {- /**- * The orientation against which to align the dropdown content- * horizontally relative to the dropdown trigger.- * Overridden from `Polymer.IronFitBehavior`.- */- horizontalAlign: {- type: String,- value: 'left',- reflectToAttribute: true- },-- /**- * The orientation against which to align the dropdown content- * vertically relative to the dropdown trigger.- * Overridden from `Polymer.IronFitBehavior`.- */- verticalAlign: {- type: String,- value: 'top',- reflectToAttribute: true- },-- /**- * An animation config. If provided, this will be used to animate the- * opening of the dropdown. Pass an Array for multiple animations.- * See `neon-animation` documentation for more animation configuration- * details.- */- openAnimationConfig: {- type: Object- },-- /**- * An animation config. If provided, this will be used to animate the- * closing of the dropdown. Pass an Array for multiple animations.- * See `neon-animation` documentation for more animation configuration- * details.- */- closeAnimationConfig: {- type: Object- },-- /**- * If provided, this will be the element that will be focused when- * the dropdown opens.- */- focusTarget: {- type: Object- },-- /**- * Set to true to disable animations when opening and closing the- * dropdown.- */- noAnimations: {- type: Boolean,- value: false- },-- /**- * By default, the dropdown will constrain scrolling on the page- * to itself when opened.- * Set to true in order to prevent scroll from being constrained- * to the dropdown when it opens.- */- allowOutsideScroll: {- type: Boolean,- value: false- },-- /**- * Callback for scroll events.- * @type {Function}- * @private- */- _boundOnCaptureScroll: {- type: Function,- value: function() {- return this._onCaptureScroll.bind(this);- }- }- },-- listeners: {- 'neon-animation-finish': '_onNeonAnimationFinish'- },-- observers: [- '_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)'- ],-- /**- * The element that is contained by the dropdown, if any.- */- get containedElement() {- return Polymer.dom(this.$.content).getDistributedNodes()[0];- },-- /**- * The element that should be focused when the dropdown opens.- * @deprecated- */- get _focusTarget() {- return this.focusTarget || this.containedElement;- },-- ready: function() {- // Memoized scrolling position, used to block scrolling outside.- this._scrollTop = 0;- this._scrollLeft = 0;- // Used to perform a non-blocking refit on scroll.- this._refitOnScrollRAF = null;- },-- attached: function () {- if (!this.sizingTarget || this.sizingTarget === this) {- this.sizingTarget = this.containedElement;- }- },-- detached: function() {- this.cancelAnimation();- document.removeEventListener('scroll', this._boundOnCaptureScroll);- Polymer.IronDropdownScrollManager.removeScrollLock(this);- },-- /**- * Called when the value of `opened` changes.- * Overridden from `IronOverlayBehavior`- */- _openedChanged: function() {- if (this.opened && this.disabled) {- this.cancel();- } else {- this.cancelAnimation();- this._updateAnimationConfig();- this._saveScrollPosition();- if (this.opened) {- document.addEventListener('scroll', this._boundOnCaptureScroll);- !this.allowOutsideScroll && Polymer.IronDropdownScrollManager.pushScrollLock(this);- } else {- document.removeEventListener('scroll', this._boundOnCaptureScroll);- Polymer.IronDropdownScrollManager.removeScrollLock(this);- }- Polymer.IronOverlayBehaviorImpl._openedChanged.apply(this, arguments);- }- },-- /**- * Overridden from `IronOverlayBehavior`.- */- _renderOpened: function() {- if (!this.noAnimations && this.animationConfig.open) {- this.$.contentWrapper.classList.add('animating');- this.playAnimation('open');- } else {- Polymer.IronOverlayBehaviorImpl._renderOpened.apply(this, arguments);- }- },-- /**- * Overridden from `IronOverlayBehavior`.- */- _renderClosed: function() {-- if (!this.noAnimations && this.animationConfig.close) {- this.$.contentWrapper.classList.add('animating');- this.playAnimation('close');- } else {- Polymer.IronOverlayBehaviorImpl._renderClosed.apply(this, arguments);- }- },-- /**- * Called when animation finishes on the dropdown (when opening or- * closing). Responsible for "completing" the process of opening or- * closing the dropdown by positioning it or setting its display to- * none.- */- _onNeonAnimationFinish: function() {- this.$.contentWrapper.classList.remove('animating');- if (this.opened) {- this._finishRenderOpened();- } else {- this._finishRenderClosed();- }- },-- _onCaptureScroll: function() {- if (!this.allowOutsideScroll) {- this._restoreScrollPosition();- } else {- this._refitOnScrollRAF && window.cancelAnimationFrame(this._refitOnScrollRAF);- this._refitOnScrollRAF = window.requestAnimationFrame(this.refit.bind(this));- }- },-- /**- * Memoizes the scroll position of the outside scrolling element.- * @private- */- _saveScrollPosition: function() {- if (document.scrollingElement) {- this._scrollTop = document.scrollingElement.scrollTop;- this._scrollLeft = document.scrollingElement.scrollLeft;- } else {- // Since we don't know if is the body or html, get max.- this._scrollTop = Math.max(document.documentElement.scrollTop, document.body.scrollTop);- this._scrollLeft = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft);- }- },-- /**- * Resets the scroll position of the outside scrolling element.- * @private- */- _restoreScrollPosition: function() {- if (document.scrollingElement) {- document.scrollingElement.scrollTop = this._scrollTop;- document.scrollingElement.scrollLeft = this._scrollLeft;- } else {- // Since we don't know if is the body or html, set both.- document.documentElement.scrollTop = this._scrollTop;- document.documentElement.scrollLeft = this._scrollLeft;- document.body.scrollTop = this._scrollTop;- document.body.scrollLeft = this._scrollLeft;- }- },-- /**- * Constructs the final animation config from different properties used- * to configure specific parts of the opening and closing animations.- */- _updateAnimationConfig: function() {- // Update the animation node to be the containedElement.- var animationNode = this.containedElement;- var animations = [].concat(this.openAnimationConfig || []).concat(this.closeAnimationConfig || []);- for (var i = 0; i < animations.length; i++) {- animations[i].node = animationNode;- }- this.animationConfig = {- open: this.openAnimationConfig,- close: this.closeAnimationConfig- };- },-- /**- * Updates the overlay position based on configured horizontal- * and vertical alignment.- */- _updateOverlayPosition: function() {- if (this.isAttached) {- // This triggers iron-resize, and iron-overlay-behavior will call refit if needed.- this.notifyResize();- }- },-- /**- * Apply focus to focusTarget or containedElement- */- _applyFocus: function () {- var focusTarget = this.focusTarget || this.containedElement;- if (focusTarget && this.opened && !this.noAutoFocus) {- focusTarget.focus();- } else {- Polymer.IronOverlayBehaviorImpl._applyFocus.apply(this, arguments);- }- }- });- })();- </script>+ <script>!function(){"use strict";Polymer({is:"iron-dropdown",behaviors:[Polymer.IronControlState,Polymer.IronA11yKeysBehavior,Polymer.IronOverlayBehavior,Polymer.NeonAnimationRunnerBehavior],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1},_boundOnCaptureScroll:{type:Function,value:function(){return this._onCaptureScroll.bind(this)}}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){return Polymer.dom(this.$.content).getDistributedNodes()[0]},get _focusTarget(){return this.focusTarget||this.containedElement},ready:function(){this._scrollTop=0,this._scrollLeft=0,this._refitOnScrollRAF=null},attached:function(){this.sizingTarget&&this.sizingTarget!==this||(this.sizingTarget=this.containedElement)},detached:function(){this.cancelAnimation(),document.removeEventListener("scroll",this._boundOnCaptureScroll),Polymer.IronDropdownScrollManager.removeScrollLock(this)},_openedChanged:function(){this.opened&&this.disabled?this.cancel():(this.cancelAnimation(),this._updateAnimationConfig(),this._saveScrollPosition(),this.opened?(document.addEventListener("scroll",this._boundOnCaptureScroll),!this.allowOutsideScroll&&Polymer.IronDropdownScrollManager.pushScrollLock(this)):(document.removeEventListener("scroll",this._boundOnCaptureScroll),Polymer.IronDropdownScrollManager.removeScrollLock(this)),Polymer.IronOverlayBehaviorImpl._openedChanged.apply(this,arguments))},_renderOpened:function(){!this.noAnimations&&this.animationConfig.open?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("open")):Polymer.IronOverlayBehaviorImpl._renderOpened.apply(this,arguments)},_renderClosed:function(){!this.noAnimations&&this.animationConfig.close?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("close")):Polymer.IronOverlayBehaviorImpl._renderClosed.apply(this,arguments)},_onNeonAnimationFinish:function(){this.$.contentWrapper.classList.remove("animating"),this.opened?this._finishRenderOpened():this._finishRenderClosed()},_onCaptureScroll:function(){this.allowOutsideScroll?(this._refitOnScrollRAF&&window.cancelAnimationFrame(this._refitOnScrollRAF),this._refitOnScrollRAF=window.requestAnimationFrame(this.refit.bind(this))):this._restoreScrollPosition()},_saveScrollPosition:function(){document.scrollingElement?(this._scrollTop=document.scrollingElement.scrollTop,this._scrollLeft=document.scrollingElement.scrollLeft):(this._scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this._scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},_restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this._scrollTop,document.scrollingElement.scrollLeft=this._scrollLeft):(document.documentElement.scrollTop=this._scrollTop,document.documentElement.scrollLeft=this._scrollLeft,document.body.scrollTop=this._scrollTop,document.body.scrollLeft=this._scrollLeft)},_updateAnimationConfig:function(){for(var o=this.containedElement,t=[].concat(this.openAnimationConfig||[]).concat(this.closeAnimationConfig||[]),n=0;n<t.length;n++)t[n].node=o;this.animationConfig={open:this.openAnimationConfig,close:this.closeAnimationConfig}},_updateOverlayPosition:function(){this.isAttached&&this.notifyResize()},_applyFocus:function(){var o=this.focusTarget||this.containedElement;o&&this.opened&&!this.noAutoFocus?o.focus():Polymer.IronOverlayBehaviorImpl._applyFocus.apply(this,arguments)}})}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-fit-behavior/iron-fit-behavior.html b/frontend/bower_components/iron-fit-behavior/iron-fit-behavior.htmlindex 0d50c71f4..2eddbfe6a 100644--- a/frontend/bower_components/iron-fit-behavior/iron-fit-behavior.html+++ b/frontend/bower_components/iron-fit-behavior/iron-fit-behavior.html@@ -1,598 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-/**-`Polymer.IronFitBehavior` fits an element in another element using `max-height` and `max-width`, and-optionally centers it in the window or another element.--The element will only be sized and/or positioned if it has not already been sized and/or positioned-by CSS.--CSS properties | Action------------------------------|--------------------------------------------`position` set | Element is not centered horizontally or vertically-`top` or `bottom` set | Element is not vertically centered-`left` or `right` set | Element is not horizontally centered-`max-height` set | Element respects `max-height`-`max-width` set | Element respects `max-width`--`Polymer.IronFitBehavior` can position an element into another element using-`verticalAlign` and `horizontalAlign`. This will override the element's css position.-- <div class="container">- <iron-fit-impl vertical-align="top" horizontal-align="auto">- Positioned into the container- </iron-fit-impl>- </div>--Use `noOverlap` to position the element around another element without overlapping it.-- <div class="container">- <iron-fit-impl no-overlap vertical-align="auto" horizontal-align="auto">- Positioned around the container- </iron-fit-impl>- </div>--@demo demo/index.html-@polymerBehavior-*/-- Polymer.IronFitBehavior = {-- properties: {-- /**- * The element that will receive a `max-height`/`width`. By default it is the same as `this`,- * but it can be set to a child element. This is useful, for example, for implementing a- * scrolling region inside the element.- * @type {!Element}- */- sizingTarget: {- type: Object,- value: function() {- return this;- }- },-- /**- * The element to fit `this` into.- */- fitInto: {- type: Object,- value: window- },-- /**- * Will position the element around the positionTarget without overlapping it.- */- noOverlap: {- type: Boolean- },-- /**- * The element that should be used to position the element. If not set, it will- * default to the parent node.- * @type {!Element}- */- positionTarget: {- type: Element- },-- /**- * The orientation against which to align the element horizontally- * relative to the `positionTarget`. Possible values are "left", "right", "auto".- */- horizontalAlign: {- type: String- },-- /**- * The orientation against which to align the element vertically- * relative to the `positionTarget`. Possible values are "top", "bottom", "auto".- */- verticalAlign: {- type: String- },-- /**- * If true, it will use `horizontalAlign` and `verticalAlign` values as preferred alignment- * and if there's not enough space, it will pick the values which minimize the cropping.- */- dynamicAlign: {- type: Boolean- },-- /**- * The same as setting margin-left and margin-right css properties.- * @deprecated- */- horizontalOffset: {- type: Number,- value: 0,- notify: true- },-- /**- * The same as setting margin-top and margin-bottom css properties.- * @deprecated- */- verticalOffset: {- type: Number,- value: 0,- notify: true- },-- /**- * Set to true to auto-fit on attach.- */- autoFitOnAttach: {- type: Boolean,- value: false- },-- /** @type {?Object} */- _fitInfo: {- type: Object- }- },-- get _fitWidth() {- var fitWidth;- if (this.fitInto === window) {- fitWidth = this.fitInto.innerWidth;- } else {- fitWidth = this.fitInto.getBoundingClientRect().width;- }- return fitWidth;- },-- get _fitHeight() {- var fitHeight;- if (this.fitInto === window) {- fitHeight = this.fitInto.innerHeight;- } else {- fitHeight = this.fitInto.getBoundingClientRect().height;- }- return fitHeight;- },-- get _fitLeft() {- var fitLeft;- if (this.fitInto === window) {- fitLeft = 0;- } else {- fitLeft = this.fitInto.getBoundingClientRect().left;- }- return fitLeft;- },-- get _fitTop() {- var fitTop;- if (this.fitInto === window) {- fitTop = 0;- } else {- fitTop = this.fitInto.getBoundingClientRect().top;- }- return fitTop;- },-- /**- * The element that should be used to position the element,- * if no position target is configured.- */- get _defaultPositionTarget() {- var parent = Polymer.dom(this).parentNode;-- if (parent && parent.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {- parent = parent.host;- }-- return parent;- },-- /**- * The horizontal align value, accounting for the RTL/LTR text direction.- */- get _localeHorizontalAlign() {- if (this._isRTL) {- // In RTL, "left" becomes "right".- if (this.horizontalAlign === 'right') {- return 'left';- }- if (this.horizontalAlign === 'left') {- return 'right';- }- }- return this.horizontalAlign;- },-- attached: function() {- // Memoize this to avoid expensive calculations & relayouts.- this._isRTL = window.getComputedStyle(this).direction == 'rtl';- this.positionTarget = this.positionTarget || this._defaultPositionTarget;- if (this.autoFitOnAttach) {- if (window.getComputedStyle(this).display === 'none') {- setTimeout(function() {- this.fit();- }.bind(this));- } else {- this.fit();- }- }- },-- /**- * Positions and fits the element into the `fitInto` element.- */- fit: function() {- this.position();- this.constrain();- this.center();- },-- /**- * Memoize information needed to position and size the target element.- * @suppress {deprecated}- */- _discoverInfo: function() {- if (this._fitInfo) {- return;- }- var target = window.getComputedStyle(this);- var sizer = window.getComputedStyle(this.sizingTarget);-- this._fitInfo = {- inlineStyle: {- top: this.style.top || '',- left: this.style.left || '',- position: this.style.position || ''- },- sizerInlineStyle: {- maxWidth: this.sizingTarget.style.maxWidth || '',- maxHeight: this.sizingTarget.style.maxHeight || '',- boxSizing: this.sizingTarget.style.boxSizing || ''- },- positionedBy: {- vertically: target.top !== 'auto' ? 'top' : (target.bottom !== 'auto' ?- 'bottom' : null),- horizontally: target.left !== 'auto' ? 'left' : (target.right !== 'auto' ?- 'right' : null)- },- sizedBy: {- height: sizer.maxHeight !== 'none',- width: sizer.maxWidth !== 'none',- minWidth: parseInt(sizer.minWidth, 10) || 0,- minHeight: parseInt(sizer.minHeight, 10) || 0- },- margin: {- top: parseInt(target.marginTop, 10) || 0,- right: parseInt(target.marginRight, 10) || 0,- bottom: parseInt(target.marginBottom, 10) || 0,- left: parseInt(target.marginLeft, 10) || 0- }- };-- // Support these properties until they are removed.- if (this.verticalOffset) {- this._fitInfo.margin.top = this._fitInfo.margin.bottom = this.verticalOffset;- this._fitInfo.inlineStyle.marginTop = this.style.marginTop || '';- this._fitInfo.inlineStyle.marginBottom = this.style.marginBottom || '';- this.style.marginTop = this.style.marginBottom = this.verticalOffset + 'px';- }- if (this.horizontalOffset) {- this._fitInfo.margin.left = this._fitInfo.margin.right = this.horizontalOffset;- this._fitInfo.inlineStyle.marginLeft = this.style.marginLeft || '';- this._fitInfo.inlineStyle.marginRight = this.style.marginRight || '';- this.style.marginLeft = this.style.marginRight = this.horizontalOffset + 'px';- }- },-- /**- * Resets the target element's position and size constraints, and clear- * the memoized data.- */- resetFit: function() {- var info = this._fitInfo || {};- for (var property in info.sizerInlineStyle) {- this.sizingTarget.style[property] = info.sizerInlineStyle[property];- }- for (var property in info.inlineStyle) {- this.style[property] = info.inlineStyle[property];- }-- this._fitInfo = null;- },-- /**- * Equivalent to calling `resetFit()` and `fit()`. Useful to call this after- * the element or the `fitInto` element has been resized, or if any of the- * positioning properties (e.g. `horizontalAlign, verticalAlign`) is updated.- * It preserves the scroll position of the sizingTarget.- */- refit: function() {- var scrollLeft = this.sizingTarget.scrollLeft;- var scrollTop = this.sizingTarget.scrollTop;- this.resetFit();- this.fit();- this.sizingTarget.scrollLeft = scrollLeft;- this.sizingTarget.scrollTop = scrollTop;- },-- /**- * Positions the element according to `horizontalAlign, verticalAlign`.- */- position: function() {- if (!this.horizontalAlign && !this.verticalAlign) {- // needs to be centered, and it is done after constrain.- return;- }- this._discoverInfo();-- this.style.position = 'fixed';- // Need border-box for margin/padding.- this.sizingTarget.style.boxSizing = 'border-box';- // Set to 0, 0 in order to discover any offset caused by parent stacking contexts.- this.style.left = '0px';- this.style.top = '0px';-- var rect = this.getBoundingClientRect();- var positionRect = this.__getNormalizedRect(this.positionTarget);- var fitRect = this.__getNormalizedRect(this.fitInto);-- var margin = this._fitInfo.margin;-- // Consider the margin as part of the size for position calculations.- var size = {- width: rect.width + margin.left + margin.right,- height: rect.height + margin.top + margin.bottom- };-- var position = this.__getPosition(this._localeHorizontalAlign, this.verticalAlign, size, positionRect, fitRect);-- var left = position.left + margin.left;- var top = position.top + margin.top;-- // Use original size (without margin).- var right = Math.min(fitRect.right - margin.right, left + rect.width);- var bottom = Math.min(fitRect.bottom - margin.bottom, top + rect.height);-- var minWidth = this._fitInfo.sizedBy.minWidth;- var minHeight = this._fitInfo.sizedBy.minHeight;- if (left < margin.left) {- left = margin.left;- if (right - left < minWidth) {- left = right - minWidth;- }- }- if (top < margin.top) {- top = margin.top;- if (bottom - top < minHeight) {- top = bottom - minHeight;- }- }-- this.sizingTarget.style.maxWidth = (right - left) + 'px';- this.sizingTarget.style.maxHeight = (bottom - top) + 'px';-- // Remove the offset caused by any stacking context.- this.style.left = (left - rect.left) + 'px';- this.style.top = (top - rect.top) + 'px';- },-- /**- * Constrains the size of the element to `fitInto` by setting `max-height`- * and/or `max-width`.- */- constrain: function() {- if (this.horizontalAlign || this.verticalAlign) {- return;- }- this._discoverInfo();-- var info = this._fitInfo;- // position at (0px, 0px) if not already positioned, so we can measure the natural size.- if (!info.positionedBy.vertically) {- this.style.position = 'fixed';- this.style.top = '0px';- }- if (!info.positionedBy.horizontally) {- this.style.position = 'fixed';- this.style.left = '0px';- }-- // need border-box for margin/padding- this.sizingTarget.style.boxSizing = 'border-box';- // constrain the width and height if not already set- var rect = this.getBoundingClientRect();- if (!info.sizedBy.height) {- this.__sizeDimension(rect, info.positionedBy.vertically, 'top', 'bottom', 'Height');- }- if (!info.sizedBy.width) {- this.__sizeDimension(rect, info.positionedBy.horizontally, 'left', 'right', 'Width');- }- },-- /**- * @protected- * @deprecated- */- _sizeDimension: function(rect, positionedBy, start, end, extent) {- this.__sizeDimension(rect, positionedBy, start, end, extent);- },-- /**- * @private- */- __sizeDimension: function(rect, positionedBy, start, end, extent) {- var info = this._fitInfo;- var fitRect = this.__getNormalizedRect(this.fitInto);- var max = extent === 'Width' ? fitRect.width : fitRect.height;- var flip = (positionedBy === end);- var offset = flip ? max - rect[end] : rect[start];- var margin = info.margin[flip ? start : end];- var offsetExtent = 'offset' + extent;- var sizingOffset = this[offsetExtent] - this.sizingTarget[offsetExtent];- this.sizingTarget.style['max' + extent] = (max - margin - offset - sizingOffset) + 'px';- },-- /**- * Centers horizontally and vertically if not already positioned. This also sets- * `position:fixed`.- */- center: function() {- if (this.horizontalAlign || this.verticalAlign) {- return;- }- this._discoverInfo();-- var positionedBy = this._fitInfo.positionedBy;- if (positionedBy.vertically && positionedBy.horizontally) {- // Already positioned.- return;- }- // Need position:fixed to center- this.style.position = 'fixed';- // Take into account the offset caused by parents that create stacking- // contexts (e.g. with transform: translate3d). Translate to 0,0 and- // measure the bounding rect.- if (!positionedBy.vertically) {- this.style.top = '0px';- }- if (!positionedBy.horizontally) {- this.style.left = '0px';- }- // It will take in consideration margins and transforms- var rect = this.getBoundingClientRect();- var fitRect = this.__getNormalizedRect(this.fitInto);- if (!positionedBy.vertically) {- var top = fitRect.top - rect.top + (fitRect.height - rect.height) / 2;- this.style.top = top + 'px';- }- if (!positionedBy.horizontally) {- var left = fitRect.left - rect.left + (fitRect.width - rect.width) / 2;- this.style.left = left + 'px';- }- },-- __getNormalizedRect: function(target) {- if (target === document.documentElement || target === window) {- return {- top: 0,- left: 0,- width: window.innerWidth,- height: window.innerHeight,- right: window.innerWidth,- bottom: window.innerHeight- };- }- return target.getBoundingClientRect();- },-- __getCroppedArea: function(position, size, fitRect) {- var verticalCrop = Math.min(0, position.top) + Math.min(0, fitRect.bottom - (position.top + size.height));- var horizontalCrop = Math.min(0, position.left) + Math.min(0, fitRect.right - (position.left + size.width));- return Math.abs(verticalCrop) * size.width + Math.abs(horizontalCrop) * size.height;- },--- __getPosition: function(hAlign, vAlign, size, positionRect, fitRect) {- // All the possible configurations.- // Ordered as top-left, top-right, bottom-left, bottom-right.- var positions = [{- verticalAlign: 'top',- horizontalAlign: 'left',- top: positionRect.top,- left: positionRect.left- }, {- verticalAlign: 'top',- horizontalAlign: 'right',- top: positionRect.top,- left: positionRect.right - size.width- }, {- verticalAlign: 'bottom',- horizontalAlign: 'left',- top: positionRect.bottom - size.height,- left: positionRect.left- }, {- verticalAlign: 'bottom',- horizontalAlign: 'right',- top: positionRect.bottom - size.height,- left: positionRect.right - size.width- }];-- if (this.noOverlap) {- // Duplicate.- for (var i = 0, l = positions.length; i < l; i++) {- var copy = {};- for (var key in positions[i]) {- copy[key] = positions[i][key];- }- positions.push(copy);- }- // Horizontal overlap only.- positions[0].top = positions[1].top += positionRect.height;- positions[2].top = positions[3].top -= positionRect.height;- // Vertical overlap only.- positions[4].left = positions[6].left += positionRect.width;- positions[5].left = positions[7].left -= positionRect.width;- }-- // Consider auto as null for coding convenience.- vAlign = vAlign === 'auto' ? null : vAlign;- hAlign = hAlign === 'auto' ? null : hAlign;-- var position;- for (var i = 0; i < positions.length; i++) {- var pos = positions[i];-- // If both vAlign and hAlign are defined, return exact match.- // For dynamicAlign and noOverlap we'll have more than one candidate, so- // we'll have to check the croppedArea to make the best choice.- if (!this.dynamicAlign && !this.noOverlap &&- pos.verticalAlign === vAlign && pos.horizontalAlign === hAlign) {- position = pos;- break;- }-- // Align is ok if alignment preferences are respected. If no preferences,- // it is considered ok.- var alignOk = (!vAlign || pos.verticalAlign === vAlign) &&- (!hAlign || pos.horizontalAlign === hAlign);-- // Filter out elements that don't match the alignment (if defined).- // With dynamicAlign, we need to consider all the positions to find the- // one that minimizes the cropped area.- if (!this.dynamicAlign && !alignOk) {- continue;- }-- position = position || pos;- pos.croppedArea = this.__getCroppedArea(pos, size, fitRect);- var diff = pos.croppedArea - position.croppedArea;- // Check which crops less. If it crops equally, check if align is ok.- if (diff < 0 || (diff === 0 && alignOk)) {- position = pos;- }- // If not cropped and respects the align requirements, keep it.- // This allows to prefer positions overlapping horizontally over the- // ones overlapping vertically.- if (position.croppedArea === 0 && alignOk) {- break;- }- }-- return position;- }-- };-</script>+<script>Polymer.IronFitBehavior={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){var t;return t=this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){var t;return t=this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){var t;return t=this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){var t;return t=this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},get _defaultPositionTarget(){var t=Polymer.dom(this).parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(t=t.host),t},get _localeHorizontalAlign(){if(this._isRTL){if("right"===this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},attached:function(){this._isRTL="rtl"==window.getComputedStyle(this).direction,this.positionTarget=this.positionTarget||this._defaultPositionTarget,this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):this.fit())},fit:function(){this.position(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var t=window.getComputedStyle(this),i=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==t.top?"top":"auto"!==t.bottom?"bottom":null,horizontally:"auto"!==t.left?"left":"auto"!==t.right?"right":null},sizedBy:{height:"none"!==i.maxHeight,width:"none"!==i.maxWidth,minWidth:parseInt(i.minWidth,10)||0,minHeight:parseInt(i.minHeight,10)||0},margin:{top:parseInt(t.marginTop,10)||0,right:parseInt(t.marginRight,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0}},this.verticalOffset&&(this._fitInfo.margin.top=this._fitInfo.margin.bottom=this.verticalOffset,this._fitInfo.inlineStyle.marginTop=this.style.marginTop||"",this._fitInfo.inlineStyle.marginBottom=this.style.marginBottom||"",this.style.marginTop=this.style.marginBottom=this.verticalOffset+"px"),this.horizontalOffset&&(this._fitInfo.margin.left=this._fitInfo.margin.right=this.horizontalOffset,this._fitInfo.inlineStyle.marginLeft=this.style.marginLeft||"",this._fitInfo.inlineStyle.marginRight=this.style.marginRight||"",this.style.marginLeft=this.style.marginRight=this.horizontalOffset+"px")}},resetFit:function(){var t=this._fitInfo||{};for(var i in t.sizerInlineStyle)this.sizingTarget.style[i]=t.sizerInlineStyle[i];for(var i in t.inlineStyle)this.style[i]=t.inlineStyle[i];this._fitInfo=null},refit:function(){var t=this.sizingTarget.scrollLeft,i=this.sizingTarget.scrollTop;this.resetFit(),this.fit(),this.sizingTarget.scrollLeft=t,this.sizingTarget.scrollTop=i},position:function(){if(this.horizontalAlign||this.verticalAlign){this._discoverInfo(),this.style.position="fixed",this.sizingTarget.style.boxSizing="border-box",this.style.left="0px",this.style.top="0px";var t=this.getBoundingClientRect(),i=this.__getNormalizedRect(this.positionTarget),e=this.__getNormalizedRect(this.fitInto),n=this._fitInfo.margin,o={width:t.width+n.left+n.right,height:t.height+n.top+n.bottom},h=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,o,i,e),s=h.left+n.left,l=h.top+n.top,r=Math.min(e.right-n.right,s+t.width),a=Math.min(e.bottom-n.bottom,l+t.height),g=this._fitInfo.sizedBy.minWidth,f=this._fitInfo.sizedBy.minHeight;s<n.left&&(s=n.left,r-s<g&&(s=r-g)),l<n.top&&(l=n.top,a-l<f&&(l=a-f)),this.sizingTarget.style.maxWidth=r-s+"px",this.sizingTarget.style.maxHeight=a-l+"px",this.style.left=s-t.left+"px",this.style.top=l-t.top+"px"}},constrain:function(){if(!this.horizontalAlign&&!this.verticalAlign){this._discoverInfo();var t=this._fitInfo;t.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px"),t.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var i=this.getBoundingClientRect();t.sizedBy.height||this.__sizeDimension(i,t.positionedBy.vertically,"top","bottom","Height"),t.sizedBy.width||this.__sizeDimension(i,t.positionedBy.horizontally,"left","right","Width")}},_sizeDimension:function(t,i,e,n,o){this.__sizeDimension(t,i,e,n,o)},__sizeDimension:function(t,i,e,n,o){var h=this._fitInfo,s=this.__getNormalizedRect(this.fitInto),l="Width"===o?s.width:s.height,r=i===n,a=r?l-t[n]:t[e],g=h.margin[r?e:n],f="offset"+o,p=this[f]-this.sizingTarget[f];this.sizingTarget.style["max"+o]=l-g-a-p+"px"},center:function(){if(!this.horizontalAlign&&!this.verticalAlign){this._discoverInfo();var t=this._fitInfo.positionedBy;if(!t.vertically||!t.horizontally){this.style.position="fixed",t.vertically||(this.style.top="0px"),t.horizontally||(this.style.left="0px");var i=this.getBoundingClientRect(),e=this.__getNormalizedRect(this.fitInto);if(!t.vertically){var n=e.top-i.top+(e.height-i.height)/2;this.style.top=n+"px"}if(!t.horizontally){var o=e.left-i.left+(e.width-i.width)/2;this.style.left=o+"px"}}}},__getNormalizedRect:function(t){return t===document.documentElement||t===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:t.getBoundingClientRect()},__getCroppedArea:function(t,i,e){var n=Math.min(0,t.top)+Math.min(0,e.bottom-(t.top+i.height)),o=Math.min(0,t.left)+Math.min(0,e.right-(t.left+i.width));return Math.abs(n)*i.width+Math.abs(o)*i.height},__getPosition:function(t,i,e,n,o){var h=[{verticalAlign:"top",horizontalAlign:"left",top:n.top,left:n.left},{verticalAlign:"top",horizontalAlign:"right",top:n.top,left:n.right-e.width},{verticalAlign:"bottom",horizontalAlign:"left",top:n.bottom-e.height,left:n.left},{verticalAlign:"bottom",horizontalAlign:"right",top:n.bottom-e.height,left:n.right-e.width}];if(this.noOverlap){for(var s=0,l=h.length;s<l;s++){var r={};for(var a in h[s])r[a]=h[s][a];h.push(r)}h[0].top=h[1].top+=n.height,h[2].top=h[3].top-=n.height,h[4].left=h[6].left+=n.width,h[5].left=h[7].left-=n.width}i="auto"===i?null:i,t="auto"===t?null:t;for(var g,s=0;s<h.length;s++){var f=h[s];if(!this.dynamicAlign&&!this.noOverlap&&f.verticalAlign===i&&f.horizontalAlign===t){g=f;break}var p=!(i&&f.verticalAlign!==i||t&&f.horizontalAlign!==t);if(this.dynamicAlign||p){g=g||f,f.croppedArea=this.__getCroppedArea(f,e,o);var d=f.croppedArea-g.croppedArea;if((d<0||0===d&&p)&&(g=f),0===g.croppedArea&&p)break}}return g}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-flex-layout/iron-flex-layout.html b/frontend/bower_components/iron-flex-layout/iron-flex-layout.htmlindex d98e9d0fd..10e20b2ca 100644--- a/frontend/bower_components/iron-flex-layout/iron-flex-layout.html+++ b/frontend/bower_components/iron-flex-layout/iron-flex-layout.html@@ -1,50 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">--<!---The `<iron-flex-layout>` component provides simple ways to use-[CSS flexible box layout](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes),-also known as flexbox. This component provides two different ways to use flexbox:--1. [Layout classes](https://github.com/PolymerElements/iron-flex-layout/tree/master/iron-flex-layout-classes.html).-The layout class stylesheet provides a simple set of class-based flexbox rules, that-let you specify layout properties directly in markup. You must include this file-in every element that needs to use them.-- Sample use:-- <link rel="import" href="../iron-flex-layout/iron-flex-layout-classes.html">- <style is="custom-style" include="iron-flex iron-flex-alignment"></style>-- <div class="layout horizontal layout-start">- <div>cross axis start alignment</div>- </div>--2. [Custom CSS mixins](https://github.com/PolymerElements/iron-flex-layout/blob/master/iron-flex-layout.html).-The mixin stylesheet includes custom CSS mixins that can be applied inside a CSS rule using the `@apply` function.--Please note that the old [/deep/ layout classes](https://github.com/PolymerElements/iron-flex-layout/tree/master/classes)-are deprecated, and should not be used. To continue using layout properties-directly in markup, please switch to using the new `dom-module`-based-[layout classes](https://github.com/PolymerElements/iron-flex-layout/tree/master/iron-flex-layout-classes.html).-Please note that the new version does not use `/deep/`, and therefore requires you-to import the `dom-modules` in every element that needs to use them.--A complete [guide](https://elements.polymer-project.org/guides/flex-layout) to `<iron-flex-layout>` is available.--@group Iron Elements-@pseudoElement iron-flex-layout-@demo demo/index.html--->+<html><head><link rel="import" href="../polymer/polymer.html">++<style>/* IE 10 support for HTML5 hidden attr */@@ -397,3 +353,4 @@ A complete [guide](https://elements.polymer-project.org/guides/flex-layout) to `}</style>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-form-element-behavior/iron-form-element-behavior.html b/frontend/bower_components/iron-form-element-behavior/iron-form-element-behavior.htmlindex cd9c6b4ab..202624785 100644--- a/frontend/bower_components/iron-form-element-behavior/iron-form-element-behavior.html+++ b/frontend/bower_components/iron-form-element-behavior/iron-form-element-behavior.html@@ -1,86 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>- /**- Polymer.IronFormElementBehavior enables a custom element to be included- in an `iron-form`.-- @demo demo/index.html- @polymerBehavior- */- Polymer.IronFormElementBehavior = {-- properties: {- /**- * Fired when the element is added to an `iron-form`.- *- * @event iron-form-element-register- */-- /**- * Fired when the element is removed from an `iron-form`.- *- * @event iron-form-element-unregister- */-- /**- * The name of this element.- */- name: {- type: String- },-- /**- * The value for this element.- */- value: {- notify: true,- type: String- },-- /**- * Set to true to mark the input as required. If used in a form, a- * custom element that uses this behavior should also use- * Polymer.IronValidatableBehavior and define a custom validation method.- * Otherwise, a `required` element will always be considered valid.- * It's also strongly recommended to provide a visual style for the element- * when its value is invalid.- */- required: {- type: Boolean,- value: false- },-- /**- * The form that the element is registered to.- */- _parentForm: {- type: Object- }- },-- attached: function() {- // Note: the iron-form that this element belongs to will set this- // element's _parentForm property when handling this event.- this.fire('iron-form-element-register');- },-- detached: function() {- if (this._parentForm) {- this._parentForm.fire('iron-form-element-unregister', {target: this});- }- }-- };--</script>+<script>Polymer.IronFormElementBehavior={properties:{name:{type:String},value:{notify:!0,type:String},required:{type:Boolean,value:!1},_parentForm:{type:Object}},attached:function(){this.fire("iron-form-element-register")},detached:function(){this._parentForm&&this._parentForm.fire("iron-form-element-unregister",{target:this})}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-form/iron-form.html b/frontend/bower_components/iron-form/iron-form.htmlindex 29de32d72..03338243c 100644--- a/frontend/bower_components/iron-form/iron-form.html+++ b/frontend/bower_components/iron-form/iron-form.html@@ -1,513 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-ajax/iron-ajax.html">-<script>-/*-`<iron-form>` is an HTML `<form>` element that can validate and submit any custom-elements that implement `Polymer.IronFormElementBehavior`, as well as any-native HTML elements. For more information on which attributes are-available on the native form element, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form--It supports both `get` and `post` methods, and uses an `iron-ajax` element to-submit the form data to the action URL.-- Example:-- <form is="iron-form" id="form" method="post" action="/form/handler">- <paper-input name="name" label="name"></paper-input>- <input name="address">- ...- </form>--By default, a native `<button>` element will submit this form. However, if you-want to submit it from a custom element's click handler, you need to explicitly-call the form's `submit` method.-- Example:-- <paper-button raised onclick="submitForm()">Submit</paper-button>-- function submitForm() {- document.getElementById('form').submit();- }--To customize the request sent to the server, you can listen to the `iron-form-presubmit`-event, and modify the form's[`iron-ajax`](https://elements.polymer-project.org/elements/iron-ajax)-object. However, If you want to not use `iron-ajax` at all, you can cancel the-event and do your own custom submission:-- Example of modifying the request, but still using the build-in form submission:-- form.addEventListener('iron-form-presubmit', function() {- this.request.method = 'put';- this.request.params = someCustomParams;- });-- Example of bypassing the build-in form submission:-- form.addEventListener('iron-form-presubmit', function(event) {- event.preventDefault();- var firebase = new Firebase(form.getAttribute('action'));- firebase.set(form.serialize());- });--@demo demo/index.html-*/- Polymer({-- is: 'iron-form',-- extends: 'form',-- properties: {- /**- * By default, the form will display the browser's native validation- * UI (i.e. popup bubbles and invalid styles on invalid fields). You can- * manually disable this; however, if you do, note that you will have to- * manually style invalid *native* HTML fields yourself, as you are- * explicitly preventing the native form from doing so.- */- disableNativeValidationUi: {- type: Boolean,- value: false- },-- /**- * Set the withCredentials flag when sending data.- */- withCredentials: {- type: Boolean,- value: false- },-- /**- * Content type to use when sending data. If the `contentType` property- * is set and a `Content-Type` header is specified in the `headers`- * property, the `headers` property value will take precedence.- * If Content-Type is set to a value listed below, then- * the `body` (typically used with POST requests) will be encoded accordingly.- *- * * `content-type="application/json"`- * * body is encoded like `{"foo":"bar baz","x":1}`- * * `content-type="application/x-www-form-urlencoded"`- * * body is encoded like `foo=bar+baz&x=1`- */- contentType: {- type: String,- value: "application/x-www-form-urlencoded"- },-- /**- * HTTP request headers to send.- *- * Note: setting a `Content-Type` header here will override the value- * specified by the `contentType` property of this element.- */- headers: {- type: Object,- value: function() {- return {};- }- },-- /**- * iron-ajax request object used to submit the form.- */- request: {- type: Object,- }- },-- /**- * Fired if the form cannot be submitted because it's invalid.- *- * @event iron-form-invalid- */-- /**- * Fired before the form is submitted.- *- * @event iron-form-presubmit- */-- /**- * Fired after the form is submitted.- *- * @event iron-form-submit- */-- /**- * Fired after the form is reset.- *- * @event iron-form-reset- */-- /**- * Fired after the form is submitted and a response is received. An- * IronRequestElement is included as the event.detail object.- *- * @event iron-form-response- */-- /**- * Fired after the form is submitted and an error is received. An- * IronRequestElement is included as the event.detail object.- *- * @event iron-form-error- */- listeners: {- 'iron-form-element-register': '_registerElement',- 'iron-form-element-unregister': '_unregisterElement',- 'submit': '_onSubmit',- 'reset': '_onReset'- },-- registered: function() {- // Dear reader: I apologize for what you're about to experience. You see,- // Safari does not respect `required` on input elements, so it never- // has any browser validation bubbles to show. And we have to feature- // detect that, since we rely on the form submission to do the right thing.- // See http://caniuse.com/#search=required.-- // Create a fake form, with an invalid input. If it gets submitted, it's Safari.- var form = document.createElement('form');- var input = document.createElement('input');- input.setAttribute('required', 'true');- form.appendChild(input);-- // If you call submit(), the form doesn't actually fire a submit event,- // so you can't intercept it and cancel it. The event is only fired- // from the magical button click submission.- // See http://wayback.archive.org/web/20090323062817/http://blogs.vertigosoftware.com/snyholm/archive/2006/09/27/3788.aspx.- var button = document.createElement('input');- button.setAttribute('type', 'submit');- form.appendChild(button);-- Polymer.clientSupportsFormValidationUI = true;- form.addEventListener('submit', function(event) {- // Oh good! We don't handle `required` correctly.- Polymer.clientSupportsFormValidationUI = false;- event.preventDefault();- });- button.click();- },-- ready: function() {- // Object that handles the ajax form submission request.- this.request = document.createElement('iron-ajax');- this.request.addEventListener('response', this._handleFormResponse.bind(this));- this.request.addEventListener('error', this._handleFormError.bind(this));-- // Holds all the custom elements registered with this form.- this._customElements = [];- // Holds the initial values of the custom elements registered with this form.- this._customElementsInitialValues = [];- },-- /**- * Submits the form.- */- submit: function() {- if (!this.noValidate && !this.validate()) {- // In order to trigger the native browser invalid-form UI, we need- // to do perform a fake form submit.- if (Polymer.clientSupportsFormValidationUI && !this.disableNativeValidationUi) {- this._doFakeSubmitForValidation();- }- this.fire('iron-form-invalid');- return;- }-- var json = this.serialize();-- // Native forms can also index elements magically by their name (can't make- // this up if I tried) so we need to get the correct attributes, not the- // elements with those names.- this.request.url = this.getAttribute('action');- this.request.method = this.getAttribute('method');- this.request.contentType = this.contentType;- this.request.withCredentials = this.withCredentials;- this.request.headers = this.headers;-- if (this.method.toUpperCase() === 'POST') {- this.request.body = json;- } else {- this.request.params = json;- }-- // Allow for a presubmit hook- var event = this.fire('iron-form-presubmit', {}, {cancelable: true});- if(!event.defaultPrevented) {- this.request.generateRequest();- this.fire('iron-form-submit', json);- }- },-- /**- * Handler that is called when the native form fires a `submit` event- *- * @param {Event} event A `submit` event.- */- _onSubmit: function(event) {- this.submit();-- // Don't perform a page refresh.- if (event) {- event.preventDefault();- }-- return false;- },-- /**- * Handler that is called when the native form fires a `reset` event- *- * @param {Event} event A `reset` event.- */- _onReset: function(event) {- this._resetCustomElements();- },-- /**- * Returns a json object containing name/value pairs for all the registered- * custom components and native elements of the form. If there are elements- * with duplicate names, then their values will get aggregated into an- * array of values.- *- * @return {!Object}- */- serialize: function() {- var json = {};-- function addSerializedElement(name, value) {- // If the name doesn't exist, add it. Otherwise, serialize it to- // an array,- if (!json[name]) {- json[name] = value;- } else {- if (!Array.isArray(json[name])) {- json[name] = [json[name]];- }- json[name].push(value);- }- }-- // Go through all of the registered custom components.- for (var el, i = 0; el = this._customElements[i], i < this._customElements.length; i++) {- // If this custom element is inside a custom element that has already- // registered to this form, skip it.- if (!this._isChildOfRegisteredParent(el, true) && this._useValue(el)) {- addSerializedElement(el.name, el.value);- }- }-- // Also go through the form's native elements.- for (var el, i = 0; el = this.elements[i], i < this.elements.length; i++) {- // If this native element is inside a custom element that has already- // registered to this form, skip it.- if (this._isChildOfRegisteredParent(el, true) || !this._useValue(el)) {- continue;- }-- // A <select multiple> has an array of values.- if (el.tagName.toLowerCase() === 'select' && el.multiple) {- for (var o = 0; o < el.options.length; o++) {- if (el.options[o].selected) {- addSerializedElement(el.name, el.options[o].value);- }- }- } else {- addSerializedElement(el.name, el.value);- }- }-- return json;- },-- _handleFormResponse: function (event) {- this.fire('iron-form-response', event.detail);- },-- _handleFormError: function (event) {- this.fire('iron-form-error', event.detail);- },-- _registerElement: function(e) {- // Get the actual element that fired the event- var element = Polymer.dom(e).rootTarget;-- element._parentForm = this;- this._customElements.push(element);-- // Save the original value of this input.- this._customElementsInitialValues.push(- this._usesCheckedInsteadOfValue(element) ? element.checked : element.value);- },-- _unregisterElement: function(e) {- var target = e.detail.target;- if (target) {- var index = this._customElements.indexOf(target);- if (index > -1) {- this._customElements.splice(index, 1);- this._customElementsInitialValues.splice(index, 1);- }- }- },-- /**- * Validates all the required elements (custom and native) in the form.- * @return {boolean} True if all the elements are valid.- */- validate: function() {- var valid = true;-- // Validate all the custom elements.- var validatable;- for (var el, i = 0; el = this._customElements[i], i < this._customElements.length; i++) {- if (!this._isChildOfRegisteredParent(el, false) && !el.disabled) {- validatable = /** @type {{validate: (function() : boolean)}} */ (el);- // Some elements may not have correctly defined a validate method.- if (validatable.validate)- valid = !!validatable.validate() && valid;- }- }-- // Validate the form's native elements.- for (var el, i = 0; el = this.elements[i], i < this.elements.length; i++) {- // If this native element is inside a custom element that has already- // registered to this form, skip it.- if (this._isChildOfRegisteredParent(el, false)) {- continue;- }-- // Custom elements that extend a native element will also appear in- // this list, but they've already been validated.- if (!el.hasAttribute('is') && el.willValidate && el.checkValidity) {- valid = el.checkValidity() && valid;- }- }-- return valid;- },-- /**- * Returns whether the given element is a radio-button or a checkbox.- * @return {boolean} True if the element has a `checked` property.- */- _usesCheckedInsteadOfValue: function(el) {- if (el.type == 'checkbox' ||- el.type == 'radio' ||- el.getAttribute('role') == 'checkbox' ||- el.getAttribute('role') == 'radio' ||- el['_hasIronCheckedElementBehavior']) {- return true;- }- return false;- },-- _useValue: function(el) {- // Skip disabled elements or elements that don't have a `name` attribute.- if (el.disabled || !el.name) {- return false;- }-- // Checkboxes and radio buttons should only use their value if they're- // checked. Custom paper-checkbox and paper-radio-button elements- // don't have a type, but they have the correct role set.- if (this._usesCheckedInsteadOfValue(el))- return el.checked;- return true;- },-- _doFakeSubmitForValidation: function() {- var fakeSubmit = document.createElement('input');- fakeSubmit.setAttribute('type', 'submit');- fakeSubmit.style.display = 'none';- this.appendChild(fakeSubmit);-- fakeSubmit.click();-- this.removeChild(fakeSubmit);- },-- /**- * Resets all non-disabled form custom elements to their initial values.- */- _resetCustomElements: function() {- // Reset all the registered custom components. We need to do this after- // the native reset, since programmatically changing the `value` of some- // native elements (iron-input in particular) does not notify its- // parent `paper-input`, which will now display the wrong value.- this.async(function() {- for (var el, i = 0; el = this._customElements[i], i < this._customElements.length; i++) {- if (el.disabled)- continue;-- if (this._usesCheckedInsteadOfValue(el)) {- el.checked = this._customElementsInitialValues[i];- } else {- // The native input/textarea displays literal "undefined" when its- // its value is set to undefined, so default to null instead.- var value = this._customElementsInitialValues[i];- if (value === undefined) {- value = null;- }- el.value = value;-- // In the shady DOM, the native form is all-seeing, and will- // reset the nested inputs inside <paper-input> and <paper-textarea>.- // In particular, it resets them to what it thinks the default value- // is (i.e. "", before the bindings have ran), and since this is- // a programmatic update, it also doesn't fire any events.- // Which means we need to manually update the native element's value.- if (el.inputElement) {- el.inputElement.value = el.value;- } else if (el.textarea) {- el.textarea.value = el.value;- }- }- el.invalid = false;- }-- this.fire('iron-form-reset');- }, 1);- },-- /**- * Returns true if `node` is in the shadow DOM of a different element,- * that has also implemented IronFormElementBehavior and is registered- * to this form. The second parameter specifies if the parent must have a- * name to be considered.- */- _isChildOfRegisteredParent: function(node, checkHasName) {- var parent = node;-- // At some point going up the tree we'll find either this form or the document.- while (parent && parent !== document && parent != this) {- // Use logical parentnode, or native ShadowRoot host.- parent = Polymer.dom(parent).parentNode || parent.host;-- // Check if the parent was registered and submittable.- if (parent &&- (!checkHasName || parent.name) &&- parent._parentForm === this) {- return true;- }- }- return false;- }-- });--</script>+<script>Polymer({is:"iron-form",extends:"form",properties:{disableNativeValidationUi:{type:Boolean,value:!1},withCredentials:{type:Boolean,value:!1},contentType:{type:String,value:"application/x-www-form-urlencoded"},headers:{type:Object,value:function(){return{}}},request:{type:Object}},listeners:{"iron-form-element-register":"_registerElement","iron-form-element-unregister":"_unregisterElement",submit:"_onSubmit",reset:"_onReset"},registered:function(){var e=document.createElement("form"),t=document.createElement("input");t.setAttribute("required","true"),e.appendChild(t);var i=document.createElement("input");i.setAttribute("type","submit"),e.appendChild(i),Polymer.clientSupportsFormValidationUI=!0,e.addEventListener("submit",function(e){Polymer.clientSupportsFormValidationUI=!1,e.preventDefault()}),i.click()},ready:function(){this.request=document.createElement("iron-ajax"),this.request.addEventListener("response",this._handleFormResponse.bind(this)),this.request.addEventListener("error",this._handleFormError.bind(this)),this._customElements=[],this._customElementsInitialValues=[]},submit:function(){if(!this.noValidate&&!this.validate())return Polymer.clientSupportsFormValidationUI&&!this.disableNativeValidationUi&&this._doFakeSubmitForValidation(),void this.fire("iron-form-invalid");var e=this.serialize();this.request.url=this.getAttribute("action"),this.request.method=this.getAttribute("method"),this.request.contentType=this.contentType,this.request.withCredentials=this.withCredentials,this.request.headers=this.headers,"POST"===this.method.toUpperCase()?this.request.body=e:this.request.params=e;var t=this.fire("iron-form-presubmit",{},{cancelable:!0});t.defaultPrevented||(this.request.generateRequest(),this.fire("iron-form-submit",e))},_onSubmit:function(e){return this.submit(),e&&e.preventDefault(),!1},_onReset:function(e){this._resetCustomElements()},serialize:function(){function e(e,t){i[e]?(Array.isArray(i[e])||(i[e]=[i[e]]),i[e].push(t)):i[e]=t}for(var t,i={},s=0;t=this._customElements[s],s<this._customElements.length;s++)!this._isChildOfRegisteredParent(t,!0)&&this._useValue(t)&&e(t.name,t.value);for(var t,s=0;t=this.elements[s],s<this.elements.length;s++)if(!this._isChildOfRegisteredParent(t,!0)&&this._useValue(t))if("select"===t.tagName.toLowerCase()&&t.multiple)for(var r=0;r<t.options.length;r++)t.options[r].selected&&e(t.name,t.options[r].value);else e(t.name,t.value);return i},_handleFormResponse:function(e){this.fire("iron-form-response",e.detail)},_handleFormError:function(e){this.fire("iron-form-error",e.detail)},_registerElement:function(e){var t=Polymer.dom(e).rootTarget;t._parentForm=this,this._customElements.push(t),this._customElementsInitialValues.push(this._usesCheckedInsteadOfValue(t)?t.checked:t.value)},_unregisterElement:function(e){var t=e.detail.target;if(t){var i=this._customElements.indexOf(t);i>-1&&(this._customElements.splice(i,1),this._customElementsInitialValues.splice(i,1))}},validate:function(){for(var e,t,i=!0,s=0;t=this._customElements[s],s<this._customElements.length;s++)this._isChildOfRegisteredParent(t,!1)||t.disabled||(e=t,e.validate&&(i=!!e.validate()&&i));for(var t,s=0;t=this.elements[s],s<this.elements.length;s++)this._isChildOfRegisteredParent(t,!1)||!t.hasAttribute("is")&&t.willValidate&&t.checkValidity&&(i=t.checkValidity()&&i);return i},_usesCheckedInsteadOfValue:function(e){return!("checkbox"!=e.type&&"radio"!=e.type&&"checkbox"!=e.getAttribute("role")&&"radio"!=e.getAttribute("role")&&!e._hasIronCheckedElementBehavior)},_useValue:function(e){return!(e.disabled||!e.name)&&(!this._usesCheckedInsteadOfValue(e)||e.checked)},_doFakeSubmitForValidation:function(){var e=document.createElement("input");e.setAttribute("type","submit"),e.style.display="none",this.appendChild(e),e.click(),this.removeChild(e)},_resetCustomElements:function(){this.async(function(){for(var e,t=0;e=this._customElements[t],t<this._customElements.length;t++)if(!e.disabled){if(this._usesCheckedInsteadOfValue(e))e.checked=this._customElementsInitialValues[t];else{var i=this._customElementsInitialValues[t];void 0===i&&(i=null),e.value=i,e.inputElement?e.inputElement.value=e.value:e.textarea&&(e.textarea.value=e.value)}e.invalid=!1}this.fire("iron-form-reset")},1)},_isChildOfRegisteredParent:function(e,t){for(var i=e;i&&i!==document&&i!=this;)if(i=Polymer.dom(i).parentNode||i.host,i&&(!t||i.name)&&i._parentForm===this)return!0;return!1}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-icon/iron-icon.html b/frontend/bower_components/iron-icon/iron-icon.htmlindex 64ee2ac1f..2cd18bed3 100644--- a/frontend/bower_components/iron-icon/iron-icon.html+++ b/frontend/bower_components/iron-icon/iron-icon.html@@ -1,88 +1,10 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-meta/iron-meta.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">-<!----The `iron-icon` element displays an icon. By default an icon renders as a 24px square.--Example using src:-- <iron-icon src="star.png"></iron-icon>--Example setting size to 32px x 32px:-- <iron-icon class="big" src="big_star.png"></iron-icon>-- <style is="custom-style">- .big {- --iron-icon-height: 32px;- --iron-icon-width: 32px;- }- </style>--The iron elements include several sets of icons.-To use the default set of icons, import `iron-icons.html` and use the `icon` attribute to specify an icon:-- <link rel="import" href="/components/iron-icons/iron-icons.html">-- <iron-icon icon="menu"></iron-icon>--To use a different built-in set of icons, import the specific `iron-icons/<iconset>-icons.html`, and-specify the icon as `<iconset>:<icon>`. For example, to use a communication icon, you would-use:-- <link rel="import" href="/components/iron-icons/communication-icons.html">-- <iron-icon icon="communication:email"></iron-icon>--You can also create custom icon sets of bitmap or SVG icons.--Example of using an icon named `cherry` from a custom iconset with the ID `fruit`:-- <iron-icon icon="fruit:cherry"></iron-icon>--See [iron-iconset](iron-iconset) and [iron-iconset-svg](iron-iconset-svg) for more information about-how to create a custom iconset.--See the [iron-icons demo](iron-icons?view=demo:demo/index.html) to see the icons available-in the various iconsets.--To load a subset of icons from one of the default `iron-icons` sets, you can-use the [poly-icon](https://poly-icon.appspot.com/) tool. It allows you-to select individual icons, and creates an iconset from them that you can-use directly in your elements.-### Styling-The following custom properties are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--iron-icon` | Mixin applied to the icon | {}-`--iron-icon-width` | Width of the icon | `24px`-`--iron-icon-height` | Height of the icon | `24px`-`--iron-icon-fill-color` | Fill color of the svg icon | `currentcolor`-`--iron-icon-stroke-color` | Stroke color of the svg icon | none--@group Iron Elements-@element iron-icon-@demo demo/index.html-@hero hero.svg-@homepage polymer.github.io--->--<dom-module id="iron-icon">+</head><body><dom-module id="iron-icon"><template><style>:host {@@ -102,109 +24,7 @@ Custom property | Description | Default</style></template>- <script>-- Polymer({-- is: 'iron-icon',-- properties: {-- /**- * The name of the icon to use. The name should be of the form:- * `iconset_name:icon_name`.- */- icon: {- type: String- },-- /**- * The name of the theme to used, if one is specified by the- * iconset.- */- theme: {- type: String- },-- /**- * If using iron-icon without an iconset, you can set the src to be- * the URL of an individual icon image file. Note that this will take- * precedence over a given icon attribute.- */- src: {- type: String- },-- /**- * @type {!Polymer.IronMeta}- */- _meta: {- value: Polymer.Base.create('iron-meta', {type: 'iconset'})- }-- },-- observers: [- '_updateIcon(_meta, isAttached)',- '_updateIcon(theme, isAttached)',- '_srcChanged(src, isAttached)',- '_iconChanged(icon, isAttached)'- ],-- _DEFAULT_ICONSET: 'icons',-- _iconChanged: function(icon) {- var parts = (icon || '').split(':');- this._iconName = parts.pop();- this._iconsetName = parts.pop() || this._DEFAULT_ICONSET;- this._updateIcon();- },-- _srcChanged: function(src) {- this._updateIcon();- },-- _usesIconset: function() {- return this.icon || !this.src;- },-- /** @suppress {visibility} */- _updateIcon: function() {- if (this._usesIconset()) {- if (this._img && this._img.parentNode) {- Polymer.dom(this.root).removeChild(this._img);- }- if (this._iconName === "") {- if (this._iconset) {- this._iconset.removeIcon(this);- }- } else if (this._iconsetName && this._meta) {- this._iconset = /** @type {?Polymer.Iconset} */ (- this._meta.byKey(this._iconsetName));- if (this._iconset) {- this._iconset.applyIcon(this, this._iconName, this.theme);- this.unlisten(window, 'iron-iconset-added', '_updateIcon');- } else {- this.listen(window, 'iron-iconset-added', '_updateIcon');- }- }- } else {- if (this._iconset) {- this._iconset.removeIcon(this);- }- if (!this._img) {- this._img = document.createElement('img');- this._img.style.width = '100%';- this._img.style.height = '100%';- this._img.draggable = false;- }- this._img.src = this.src;- Polymer.dom(this.root).appendChild(this._img);- }- }-- });-- </script>+ <script>Polymer({is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:Polymer.Base.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(t){var i=(t||"").split(":");this._iconName=i.pop(),this._iconsetName=i.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(t){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Polymer.dom(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Polymer.dom(this.root).appendChild(this._img))}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-icons/editor-icons.html b/frontend/bower_components/iron-icons/editor-icons.htmlindex bc7084db2..c8529558e 100644--- a/frontend/bower_components/iron-icons/editor-icons.html+++ b/frontend/bower_components/iron-icons/editor-icons.html@@ -1,84 +1,75 @@-<!---@license-Copyright (c) 2014 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--->--<link rel="import" href="../iron-icon/iron-icon.html">+<html><head><link rel="import" href="../iron-icon/iron-icon.html"><link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">-<iron-iconset-svg name="editor" size="24">+</head><body><iron-iconset-svg name="editor" size="24"><svg><defs>-<g id="attach-file"><path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"/></g>-<g id="attach-money"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"/></g>-<g id="border-all"><path d="M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"/></g>-<g id="border-bottom"><path d="M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"/></g>-<g id="border-clear"><path d="M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"/></g>-<g id="border-color"><path d="M17.75 7L14 3.25l-10 10V17h3.75l10-10zm2.96-2.96c.39-.39.39-1.02 0-1.41L18.37.29c-.39-.39-1.02-.39-1.41 0L15 2.25 18.75 6l1.96-1.96z"/><path fill-opacity=".36" d="M0 20h24v4H0z"/></g>-<g id="border-horizontal"><path d="M3 21h2v-2H3v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zm4 4h2v-2H7v2zM5 3H3v2h2V3zm4 0H7v2h2V3zm8 0h-2v2h2V3zm-4 4h-2v2h2V7zm0-4h-2v2h2V3zm6 14h2v-2h-2v2zm-8 4h2v-2h-2v2zm-8-8h18v-2H3v2zM19 3v2h2V3h-2zm0 6h2V7h-2v2zm-8 8h2v-2h-2v2zm4 4h2v-2h-2v2zm4 0h2v-2h-2v2z"/></g>-<g id="border-inner"><path d="M3 21h2v-2H3v2zm4 0h2v-2H7v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zM9 3H7v2h2V3zM5 3H3v2h2V3zm12 0h-2v2h2V3zm2 6h2V7h-2v2zm0-6v2h2V3h-2zm-4 18h2v-2h-2v2zM13 3h-2v8H3v2h8v8h2v-8h8v-2h-8V3zm6 18h2v-2h-2v2zm0-4h2v-2h-2v2z"/></g>-<g id="border-left"><path d="M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"/></g>-<g id="border-outer"><path d="M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"/></g>-<g id="border-right"><path d="M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"/></g>-<g id="border-style"><path d="M15 21h2v-2h-2v2zm4 0h2v-2h-2v2zM7 21h2v-2H7v2zm4 0h2v-2h-2v2zm8-4h2v-2h-2v2zm0-4h2v-2h-2v2zM3 3v18h2V5h16V3H3zm16 6h2V7h-2v2z"/></g>-<g id="border-top"><path d="M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"/></g>-<g id="border-vertical"><path d="M3 9h2V7H3v2zm0-4h2V3H3v2zm4 16h2v-2H7v2zm0-8h2v-2H7v2zm-4 0h2v-2H3v2zm0 8h2v-2H3v2zm0-4h2v-2H3v2zM7 5h2V3H7v2zm12 12h2v-2h-2v2zm-8 4h2V3h-2v18zm8 0h2v-2h-2v2zm0-8h2v-2h-2v2zm0-10v2h2V3h-2zm0 6h2V7h-2v2zm-4-4h2V3h-2v2zm0 16h2v-2h-2v2zm0-8h2v-2h-2v2z"/></g>-<g id="bubble-chart"><circle cx="7.2" cy="14.4" r="3.2"/><circle cx="14.8" cy="18" r="2"/><circle cx="15.2" cy="8.8" r="4.8"/></g>-<g id="drag-handle"><path d="M20 9H4v2h16V9zM4 15h16v-2H4v2z"/></g>-<g id="format-align-center"><path d="M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z"/></g>-<g id="format-align-justify"><path d="M3 21h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18V7H3v2zm0-6v2h18V3H3z"/></g>-<g id="format-align-left"><path d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z"/></g>-<g id="format-align-right"><path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z"/></g>-<g id="format-bold"><path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"/></g>-<g id="format-clear"><path d="M3.27 5L2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27 3.27 5zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5H6z"/></g>-<g id="format-color-fill"><path d="M16.56 8.94L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.59-.59 1.54 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12zM5.21 10L10 5.21 14.79 10H5.21zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5z"/><path fill-opacity=".36" d="M0 20h24v4H0z"/></g>-<g id="format-color-reset"><path d="M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31zm-.88 3.12L12.5 12.5 5.27 5.27 4 6.55l3.32 3.32C6.55 11.32 6 12.79 6 14c0 3.31 2.69 6 6 6 1.52 0 2.9-.57 3.96-1.5l2.63 2.63 1.27-1.27-2.74-2.74z"/></g>-<g id="format-color-text"><path fill-opacity=".36" d="M0 20h24v4H0z"/><path d="M11 3L5.5 17h2.25l1.12-3h6.25l1.12 3h2.25L13 3h-2zm-1.38 9L12 5.67 14.38 12H9.62z"/></g>-<g id="format-indent-decrease"><path d="M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/></g>-<g id="format-indent-increase"><path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/></g>-<g id="format-italic"><path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"/></g>-<g id="format-line-spacing"><path d="M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm4-2v2h12V5H10zm0 14h12v-2H10v2zm0-6h12v-2H10v2z"/></g>-<g id="format-list-bulleted"><path d="M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"/></g>-<g id="format-list-numbered"><path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"/></g>-<g id="format-paint"><path d="M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4h-3z"/></g>-<g id="format-quote"><path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"/></g>-<g id="format-shapes"><path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.41 9h-1.63l-.74-2zm-3.04-1.26h2.61L12 8.91l-1.31 3.83z"/></g>-<g id="format-size"><path d="M9 4v3h5v12h3V7h5V4H9zm-6 8h3v7h3v-7h3V9H3v3z"/></g>-<g id="format-strikethrough"><path d="M10 19h4v-3h-4v3zM5 4v3h5v3h4V7h5V4H5zM3 14h18v-2H3v2z"/></g>-<g id="format-textdirection-l-to-r"><path d="M9 10v5h2V4h2v11h2V4h2V2H9C6.79 2 5 3.79 5 6s1.79 4 4 4zm12 8l-4-4v3H5v2h12v3l4-4z"/></g>-<g id="format-textdirection-r-to-l"><path d="M10 10v5h2V4h2v11h2V4h2V2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4zm-2 7v-3l-4 4 4 4v-3h12v-2H8z"/></g>-<g id="format-underlined"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"/></g>-<g id="functions"><path d="M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"/></g>-<g id="highlight"><path d="M6 14l3 3v5h6v-5l3-3V9H6zm5-12h2v3h-2zM3.5 5.875L4.914 4.46l2.12 2.122L5.62 7.997zm13.46.71l2.123-2.12 1.414 1.414L18.375 8z"/></g>-<g id="insert-chart"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></g>-<g id="insert-comment"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></g>-<g id="insert-drive-file"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></g>-<g id="insert-emoticon"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"/></g>-<g id="insert-invitation"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/></g>-<g id="insert-link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></g>-<g id="insert-photo"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></g>-<g id="linear-scale"><path d="M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 2.5 2.5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5 1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5z"/></g>-<g id="merge-type"><path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/></g>-<g id="mode-comment"><path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18z"/></g>-<g id="mode-edit"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></g>-<g id="monetization-on"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z"/></g>-<g id="money-off"><path d="M12.5 6.9c1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-.53.12-1.03.3-1.48.54l1.47 1.47c.41-.17.91-.27 1.51-.27zM5.33 4.06L4.06 5.33 7.5 8.77c0 2.08 1.56 3.21 3.91 3.91l3.51 3.51c-.34.48-1.05.91-2.42.91-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c.96-.18 1.82-.55 2.45-1.12l2.22 2.22 1.27-1.27L5.33 4.06z"/></g>-<g id="multiline-chart"><path d="M22 6.92l-1.41-1.41-2.85 3.21C15.68 6.4 12.83 5 9.61 5 6.72 5 4.07 6.16 2 8l1.42 1.42C5.12 7.93 7.27 7 9.61 7c2.74 0 5.09 1.26 6.77 3.24l-2.88 3.24-4-4L2 16.99l1.5 1.5 6-6.01 4 4 4.05-4.55c.75 1.35 1.25 2.9 1.44 4.55H21c-.22-2.3-.95-4.39-2.04-6.14L22 6.92z"/></g>-<g id="pie-chart"><path d="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"/></g>-<g id="pie-chart-outlined"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 2.07c3.61.45 6.48 3.33 6.93 6.93H13V4.07zM4 12c0-4.06 3.07-7.44 7-7.93v15.87c-3.93-.5-7-3.88-7-7.94zm9 7.93V13h6.93c-.45 3.61-3.32 6.48-6.93 6.93z"/></g>-<g id="publish"><path d="M5 4v2h14V4H5zm0 10h4v6h6v-6h4l-7-7-7 7z"/></g>-<g id="short-text"><path d="M4 9h16v2H4zm0 4h10v2H4z"/></g>-<g id="show-chart"><path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"/></g>-<g id="space-bar"><path d="M18 9v4H6V9H4v6h16V9z"/></g>-<g id="strikethrough-s"><path d="M7.24 8.75c-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67.26-.5.63-.93 1.11-1.29.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88 1.08 1.43.25.55.38 1.15.38 1.81h-3.01c0-.31-.05-.59-.15-.85-.09-.27-.24-.49-.44-.68-.2-.19-.45-.33-.75-.44-.3-.1-.66-.16-1.06-.16-.39 0-.74.04-1.03.13-.29.09-.53.21-.72.36-.19.16-.34.34-.44.55-.1.21-.15.43-.15.66 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.05-.08-.11-.17-.15-.25zM21 12v-2H3v2h9.62c.18.07.4.14.55.2.37.17.66.34.87.51.21.17.35.36.43.57.07.2.11.43.11.69 0 .23-.05.45-.14.66-.09.2-.23.38-.42.53-.19.15-.42.26-.71.35-.29.08-.63.13-1.01.13-.43 0-.83-.04-1.18-.13s-.66-.23-.91-.42c-.25-.19-.45-.44-.59-.75-.14-.31-.25-.76-.25-1.21H6.4c0 .55.08 1.13.24 1.58.16.45.37.85.65 1.21.28.35.6.66.98.92.37.26.78.48 1.22.65.44.17.9.3 1.38.39.48.08.96.13 1.44.13.8 0 1.53-.09 2.18-.28s1.21-.45 1.67-.79c.46-.34.82-.77 1.07-1.27s.38-1.07.38-1.71c0-.6-.1-1.14-.31-1.61-.05-.11-.11-.23-.17-.33H21z"/></g>-<g id="text-fields"><path d="M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z"/></g>-<g id="title"><path d="M5 4v3h5.5v12h3V7H19V4z"/></g>-<g id="vertical-align-bottom"><path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"/></g>-<g id="vertical-align-center"><path d="M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"/></g>-<g id="vertical-align-top"><path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"/></g>-<g id="wrap-text"><path d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"/></g>+<g id="attach-file"><path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"></path></g>+<g id="attach-money"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"></path></g>+<g id="border-all"><path d="M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"></path></g>+<g id="border-bottom"><path d="M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"></path></g>+<g id="border-clear"><path d="M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"></path></g>+<g id="border-color"><path d="M17.75 7L14 3.25l-10 10V17h3.75l10-10zm2.96-2.96c.39-.39.39-1.02 0-1.41L18.37.29c-.39-.39-1.02-.39-1.41 0L15 2.25 18.75 6l1.96-1.96z"></path><path fill-opacity=".36" d="M0 20h24v4H0z"></path></g>+<g id="border-horizontal"><path d="M3 21h2v-2H3v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zm4 4h2v-2H7v2zM5 3H3v2h2V3zm4 0H7v2h2V3zm8 0h-2v2h2V3zm-4 4h-2v2h2V7zm0-4h-2v2h2V3zm6 14h2v-2h-2v2zm-8 4h2v-2h-2v2zm-8-8h18v-2H3v2zM19 3v2h2V3h-2zm0 6h2V7h-2v2zm-8 8h2v-2h-2v2zm4 4h2v-2h-2v2zm4 0h2v-2h-2v2z"></path></g>+<g id="border-inner"><path d="M3 21h2v-2H3v2zm4 0h2v-2H7v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zM9 3H7v2h2V3zM5 3H3v2h2V3zm12 0h-2v2h2V3zm2 6h2V7h-2v2zm0-6v2h2V3h-2zm-4 18h2v-2h-2v2zM13 3h-2v8H3v2h8v8h2v-8h8v-2h-8V3zm6 18h2v-2h-2v2zm0-4h2v-2h-2v2z"></path></g>+<g id="border-left"><path d="M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"></path></g>+<g id="border-outer"><path d="M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"></path></g>+<g id="border-right"><path d="M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"></path></g>+<g id="border-style"><path d="M15 21h2v-2h-2v2zm4 0h2v-2h-2v2zM7 21h2v-2H7v2zm4 0h2v-2h-2v2zm8-4h2v-2h-2v2zm0-4h2v-2h-2v2zM3 3v18h2V5h16V3H3zm16 6h2V7h-2v2z"></path></g>+<g id="border-top"><path d="M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"></path></g>+<g id="border-vertical"><path d="M3 9h2V7H3v2zm0-4h2V3H3v2zm4 16h2v-2H7v2zm0-8h2v-2H7v2zm-4 0h2v-2H3v2zm0 8h2v-2H3v2zm0-4h2v-2H3v2zM7 5h2V3H7v2zm12 12h2v-2h-2v2zm-8 4h2V3h-2v18zm8 0h2v-2h-2v2zm0-8h2v-2h-2v2zm0-10v2h2V3h-2zm0 6h2V7h-2v2zm-4-4h2V3h-2v2zm0 16h2v-2h-2v2zm0-8h2v-2h-2v2z"></path></g>+<g id="bubble-chart"><circle cx="7.2" cy="14.4" r="3.2"></circle><circle cx="14.8" cy="18" r="2"></circle><circle cx="15.2" cy="8.8" r="4.8"></circle></g>+<g id="drag-handle"><path d="M20 9H4v2h16V9zM4 15h16v-2H4v2z"></path></g>+<g id="format-align-center"><path d="M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z"></path></g>+<g id="format-align-justify"><path d="M3 21h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18V7H3v2zm0-6v2h18V3H3z"></path></g>+<g id="format-align-left"><path d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z"></path></g>+<g id="format-align-right"><path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z"></path></g>+<g id="format-bold"><path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"></path></g>+<g id="format-clear"><path d="M3.27 5L2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27 3.27 5zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5H6z"></path></g>+<g id="format-color-fill"><path d="M16.56 8.94L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.59-.59 1.54 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12zM5.21 10L10 5.21 14.79 10H5.21zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5z"></path><path fill-opacity=".36" d="M0 20h24v4H0z"></path></g>+<g id="format-color-reset"><path d="M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31zm-.88 3.12L12.5 12.5 5.27 5.27 4 6.55l3.32 3.32C6.55 11.32 6 12.79 6 14c0 3.31 2.69 6 6 6 1.52 0 2.9-.57 3.96-1.5l2.63 2.63 1.27-1.27-2.74-2.74z"></path></g>+<g id="format-color-text"><path fill-opacity=".36" d="M0 20h24v4H0z"></path><path d="M11 3L5.5 17h2.25l1.12-3h6.25l1.12 3h2.25L13 3h-2zm-1.38 9L12 5.67 14.38 12H9.62z"></path></g>+<g id="format-indent-decrease"><path d="M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"></path></g>+<g id="format-indent-increase"><path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"></path></g>+<g id="format-italic"><path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"></path></g>+<g id="format-line-spacing"><path d="M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm4-2v2h12V5H10zm0 14h12v-2H10v2zm0-6h12v-2H10v2z"></path></g>+<g id="format-list-bulleted"><path d="M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"></path></g>+<g id="format-list-numbered"><path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"></path></g>+<g id="format-paint"><path d="M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4h-3z"></path></g>+<g id="format-quote"><path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"></path></g>+<g id="format-shapes"><path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.41 9h-1.63l-.74-2zm-3.04-1.26h2.61L12 8.91l-1.31 3.83z"></path></g>+<g id="format-size"><path d="M9 4v3h5v12h3V7h5V4H9zm-6 8h3v7h3v-7h3V9H3v3z"></path></g>+<g id="format-strikethrough"><path d="M10 19h4v-3h-4v3zM5 4v3h5v3h4V7h5V4H5zM3 14h18v-2H3v2z"></path></g>+<g id="format-textdirection-l-to-r"><path d="M9 10v5h2V4h2v11h2V4h2V2H9C6.79 2 5 3.79 5 6s1.79 4 4 4zm12 8l-4-4v3H5v2h12v3l4-4z"></path></g>+<g id="format-textdirection-r-to-l"><path d="M10 10v5h2V4h2v11h2V4h2V2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4zm-2 7v-3l-4 4 4 4v-3h12v-2H8z"></path></g>+<g id="format-underlined"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"></path></g>+<g id="functions"><path d="M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"></path></g>+<g id="highlight"><path d="M6 14l3 3v5h6v-5l3-3V9H6zm5-12h2v3h-2zM3.5 5.875L4.914 4.46l2.12 2.122L5.62 7.997zm13.46.71l2.123-2.12 1.414 1.414L18.375 8z"></path></g>+<g id="insert-chart"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g>+<g id="insert-comment"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path></g>+<g id="insert-drive-file"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"></path></g>+<g id="insert-emoticon"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path></g>+<g id="insert-invitation"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g>+<g id="insert-link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g>+<g id="insert-photo"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></g>+<g id="linear-scale"><path d="M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 2.5 2.5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5 1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5z"></path></g>+<g id="merge-type"><path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"></path></g>+<g id="mode-comment"><path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18z"></path></g>+<g id="mode-edit"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g>+<g id="monetization-on"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z"></path></g>+<g id="money-off"><path d="M12.5 6.9c1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-.53.12-1.03.3-1.48.54l1.47 1.47c.41-.17.91-.27 1.51-.27zM5.33 4.06L4.06 5.33 7.5 8.77c0 2.08 1.56 3.21 3.91 3.91l3.51 3.51c-.34.48-1.05.91-2.42.91-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c.96-.18 1.82-.55 2.45-1.12l2.22 2.22 1.27-1.27L5.33 4.06z"></path></g>+<g id="multiline-chart"><path d="M22 6.92l-1.41-1.41-2.85 3.21C15.68 6.4 12.83 5 9.61 5 6.72 5 4.07 6.16 2 8l1.42 1.42C5.12 7.93 7.27 7 9.61 7c2.74 0 5.09 1.26 6.77 3.24l-2.88 3.24-4-4L2 16.99l1.5 1.5 6-6.01 4 4 4.05-4.55c.75 1.35 1.25 2.9 1.44 4.55H21c-.22-2.3-.95-4.39-2.04-6.14L22 6.92z"></path></g>+<g id="pie-chart"><path d="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"></path></g>+<g id="pie-chart-outlined"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 2.07c3.61.45 6.48 3.33 6.93 6.93H13V4.07zM4 12c0-4.06 3.07-7.44 7-7.93v15.87c-3.93-.5-7-3.88-7-7.94zm9 7.93V13h6.93c-.45 3.61-3.32 6.48-6.93 6.93z"></path></g>+<g id="publish"><path d="M5 4v2h14V4H5zm0 10h4v6h6v-6h4l-7-7-7 7z"></path></g>+<g id="short-text"><path d="M4 9h16v2H4zm0 4h10v2H4z"></path></g>+<g id="show-chart"><path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"></path></g>+<g id="space-bar"><path d="M18 9v4H6V9H4v6h16V9z"></path></g>+<g id="strikethrough-s"><path d="M7.24 8.75c-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67.26-.5.63-.93 1.11-1.29.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88 1.08 1.43.25.55.38 1.15.38 1.81h-3.01c0-.31-.05-.59-.15-.85-.09-.27-.24-.49-.44-.68-.2-.19-.45-.33-.75-.44-.3-.1-.66-.16-1.06-.16-.39 0-.74.04-1.03.13-.29.09-.53.21-.72.36-.19.16-.34.34-.44.55-.1.21-.15.43-.15.66 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.05-.08-.11-.17-.15-.25zM21 12v-2H3v2h9.62c.18.07.4.14.55.2.37.17.66.34.87.51.21.17.35.36.43.57.07.2.11.43.11.69 0 .23-.05.45-.14.66-.09.2-.23.38-.42.53-.19.15-.42.26-.71.35-.29.08-.63.13-1.01.13-.43 0-.83-.04-1.18-.13s-.66-.23-.91-.42c-.25-.19-.45-.44-.59-.75-.14-.31-.25-.76-.25-1.21H6.4c0 .55.08 1.13.24 1.58.16.45.37.85.65 1.21.28.35.6.66.98.92.37.26.78.48 1.22.65.44.17.9.3 1.38.39.48.08.96.13 1.44.13.8 0 1.53-.09 2.18-.28s1.21-.45 1.67-.79c.46-.34.82-.77 1.07-1.27s.38-1.07.38-1.71c0-.6-.1-1.14-.31-1.61-.05-.11-.11-.23-.17-.33H21z"></path></g>+<g id="text-fields"><path d="M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z"></path></g>+<g id="title"><path d="M5 4v3h5.5v12h3V7H19V4z"></path></g>+<g id="vertical-align-bottom"><path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"></path></g>+<g id="vertical-align-center"><path d="M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"></path></g>+<g id="vertical-align-top"><path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"></path></g>+<g id="wrap-text"><path d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"></path></g></defs></svg></iron-iconset-svg>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-icons/iron-icons.html b/frontend/bower_components/iron-icons/iron-icons.htmlindex 739131cc9..2fc3be801 100644--- a/frontend/bower_components/iron-icons/iron-icons.html+++ b/frontend/bower_components/iron-icons/iron-icons.html@@ -1,353 +1,316 @@-<!---@license-Copyright (c) 2014 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--->-<!----`iron-icons` is a utility import that includes the definition for the `iron-icon` element, `iron-iconset-svg` element, as well as an import for the default icon set.--The `iron-icons` directory also includes imports for additional icon sets that can be loaded into your project.--Example loading icon set:-- <link rel="import" href="../iron-icons/maps-icons.html">--To use an icon from one of these sets, first prefix your `iron-icon` with the icon set name, followed by a colon, ":", and then the icon id.--Example using the directions-bus icon from the maps icon set:-- <iron-icon icon="maps:directions-bus"></iron-icon>-- To load a subset of icons from one of the default `iron-icons` sets, you can- use the [poly-icon](https://poly-icon.appspot.com/) tool. It allows you- to select individual icons, and creates an iconset from them that you can- use directly in your elements.--See [iron-icon](#iron-icon) for more information about working with icons.--See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about how to create a custom iconset.--@group Iron Elements-@pseudoElement iron-icons-@demo demo/index.html--->-<link rel="import" href="../iron-icon/iron-icon.html">+<html><head><link rel="import" href="../iron-icon/iron-icon.html"><link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">-<iron-iconset-svg name="icons" size="24">+</head><body><iron-iconset-svg name="icons" size="24"><svg><defs>-<g id="3d-rotation"><path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"/></g>-<g id="accessibility"><path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"/></g>-<g id="accessible"><circle cx="12" cy="4" r="2"/><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"/></g>-<g id="account-balance"><path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"/></g>-<g id="account-balance-wallet"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></g>-<g id="account-box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"/></g>-<g id="account-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></g>-<g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></g>-<g id="add-alert"><path d="M10.01 21.01c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zm8.87-4.19V11c0-3.25-2.25-5.97-5.29-6.69v-.72C13.59 2.71 12.88 2 12 2s-1.59.71-1.59 1.59v.72C7.37 5.03 5.12 7.75 5.12 11v5.82L3 18.94V20h18v-1.06l-2.12-2.12zM16 13.01h-3v3h-2v-3H8V11h3V8h2v3h3v2.01z"/></g>-<g id="add-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"/></g>-<g id="add-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"/></g>-<g id="add-circle-outline"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></g>-<g id="add-shopping-cart"><path d="M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25z"/></g>-<g id="alarm"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/></g>-<g id="alarm-add"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V9z"/></g>-<g id="alarm-off"><path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6 12 6zm10-.28l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM2.92 2.29L1.65 3.57 2.98 4.9l-1.11.93 1.42 1.42 1.11-.94.8.8C3.83 8.69 3 10.75 3 13c0 4.97 4.02 9 9 9 2.25 0 4.31-.83 5.89-2.2l2.2 2.2 1.27-1.27L3.89 3.27l-.97-.98zm13.55 16.1C15.26 19.39 13.7 20 12 20c-3.87 0-7-3.13-7-7 0-1.7.61-3.26 1.61-4.47l9.86 9.86zM8.02 3.28L6.6 1.86l-.86.71 1.42 1.42.86-.71z"/></g>-<g id="alarm-on"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06-4.93 4.95z"/></g>-<g id="all-out"><path d="M16.21 4.16l4 4v-4zm4 12l-4 4h4zm-12 4l-4-4v4zm-4-12l4-4h-4zm12.95-.95c-2.73-2.73-7.17-2.73-9.9 0s-2.73 7.17 0 9.9 7.17 2.73 9.9 0 2.73-7.16 0-9.9zm-1.1 8.8c-2.13 2.13-5.57 2.13-7.7 0s-2.13-5.57 0-7.7 5.57-2.13 7.7 0 2.13 5.57 0 7.7z"/></g>-<g id="android"><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z"/></g>-<g id="announcement"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"/></g>-<g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/></g>-<g id="archive"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"/></g>-<g id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></g>-<g id="arrow-downward"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"/></g>-<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"/></g>-<g id="arrow-drop-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"/></g>-<g id="arrow-drop-up"><path d="M7 14l5-5 5 5z"/></g>-<g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></g>-<g id="arrow-upward"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></g>-<g id="aspect-ratio"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/></g>-<g id="assessment"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></g>-<g id="assignment"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></g>-<g id="assignment-ind"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"/></g>-<g id="assignment-late"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0-4h-2V8h2v6zm-1-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"/></g>-<g id="assignment-return"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 12h-4v3l-5-5 5-5v3h4v4z"/></g>-<g id="assignment-returned"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z"/></g>-<g id="assignment-turned-in"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"/></g>-<g id="attachment"><path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z"/></g>-<g id="autorenew"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></g>-<g id="backspace"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"/></g>-<g id="backup"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"/></g>-<g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></g>-<g id="book"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"/></g>-<g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"/></g>-<g id="bookmark-border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"/></g>-<g id="bug-report"><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"/></g>-<g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></g>-<g id="cached"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"/></g>-<g id="camera-enhance"><path d="M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-1l1.25-2.75L16 13l-2.75-1.25L12 9l-1.25 2.75L8 13l2.75 1.25z"/></g>-<g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></g>-<g id="card-giftcard"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"/></g>-<g id="card-membership"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"/></g>-<g id="card-travel"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z"/></g>-<g id="change-history"><path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"/></g>-<g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></g>-<g id="check-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></g>-<g id="check-box-outline-blank"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/></g>-<g id="check-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></g>-<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></g>-<g id="chevron-right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></g>-<g id="chrome-reader-mode"><path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"/></g>-<g id="class"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"/></g>-<g id="clear"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></g>-<g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></g>-<g id="cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"/></g>-<g id="cloud-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01C8.58 8.28 10.13 7 12 7c2.21 0 4 1.79 4 4h.5c1.38 0 2.5 1.12 2.5 2.5S17.88 16 16.5 16z"/></g>-<g id="cloud-done"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"/></g>-<g id="cloud-download"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"/></g>-<g id="cloud-off"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"/></g>-<g id="cloud-queue"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3z"/></g>-<g id="cloud-upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"/></g>-<g id="code"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></g>-<g id="compare-arrows"><path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"/></g>-<g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></g>-<g id="content-cut"><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"/></g>-<g id="content-paste"><path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"/></g>-<g id="copyright"><path d="M10.08 10.86c.05-.33.16-.62.3-.87s.34-.46.59-.62c.24-.15.54-.22.91-.23.23.01.44.05.63.13.2.09.38.21.52.36s.25.33.34.53.13.42.14.64h1.79c-.02-.47-.11-.9-.28-1.29s-.4-.73-.7-1.01-.66-.5-1.08-.66-.88-.23-1.39-.23c-.65 0-1.22.11-1.7.34s-.88.53-1.2.92-.56.84-.71 1.36S8 11.29 8 11.87v.27c0 .58.08 1.12.23 1.64s.39.97.71 1.35.72.69 1.2.91 1.05.34 1.7.34c.47 0 .91-.08 1.32-.23s.77-.36 1.08-.63.56-.58.74-.94.29-.74.3-1.15h-1.79c-.01.21-.06.4-.15.58s-.21.33-.36.46-.32.23-.52.3c-.19.07-.39.09-.6.1-.36-.01-.66-.08-.89-.23-.25-.16-.45-.37-.59-.62s-.25-.55-.3-.88-.08-.67-.08-1v-.27c0-.35.03-.68.08-1.01zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></g>-<g id="create"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></g>-<g id="create-new-folder"><path d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"/></g>-<g id="credit-card"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/></g>-<g id="dashboard"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/></g>-<g id="date-range"><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"/></g>-<g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></g>-<g id="delete-forever"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"/></g>-<g id="delete-sweep"><path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"/></g>-<g id="description"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></g>-<g id="dns"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></g>-<g id="done"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></g>-<g id="done-all"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></g>-<g id="donut-large"><path d="M11 5.08V2c-5 .5-9 4.81-9 10s4 9.5 9 10v-3.08c-3-.48-6-3.4-6-6.92s3-6.44 6-6.92zM18.97 11H22c-.47-5-4-8.53-9-9v3.08C16 5.51 18.54 8 18.97 11zM13 18.92V22c5-.47 8.53-4 9-9h-3.03c-.43 3-2.97 5.49-5.97 5.92z"/></g>-<g id="donut-small"><path d="M11 9.16V2c-5 .5-9 4.79-9 10s4 9.5 9 10v-7.16c-1-.41-2-1.52-2-2.84s1-2.43 2-2.84zM14.86 11H22c-.48-4.75-4-8.53-9-9v7.16c1 .3 1.52.98 1.86 1.84zM13 14.84V22c5-.47 8.52-4.25 9-9h-7.14c-.34.86-.86 1.54-1.86 1.84z"/></g>-<g id="drafts"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z"/></g>-<g id="eject"><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"/></g>-<g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></g>-<g id="error-outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></g>-<g id="euro-symbol"><path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1 0 .34.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z"/></g>-<g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/></g>-<g id="event-seat"><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"/></g>-<g id="exit-to-app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/></g>-<g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></g>-<g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></g>-<g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></g>-<g id="extension"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"/></g>-<g id="face"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"/></g>-<g id="favorite"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></g>-<g id="favorite-border"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"/></g>-<g id="feedback"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"/></g>-<g id="file-download"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></g>-<g id="file-upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"/></g>-<g id="filter-list"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/></g>-<g id="find-in-page"><path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"/></g>-<g id="find-replace"><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"/></g>-<g id="fingerprint"><path d="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"/></g>-<g id="first-page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"/></g>-<g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/></g>-<g id="flight-land"><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z"/></g>-<g id="flight-takeoff"><path d="M2.5 19h19v2h-19zm19.57-9.36c-.21-.8-1.04-1.28-1.84-1.06L14.92 10l-6.9-6.43-1.93.51 4.14 7.17-4.97 1.33-1.97-1.54-1.45.39 1.82 3.16.77 1.33 1.6-.43 5.31-1.42 4.35-1.16L21 11.49c.81-.23 1.28-1.05 1.07-1.85z"/></g>-<g id="flip-to-back"><path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM5 7H3v12c0 1.1.89 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"/></g>-<g id="flip-to-front"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"/></g>-<g id="folder"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></g>-<g id="folder-open"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"/></g>-<g id="folder-shared"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"/></g>-<g id="font-download"><path d="M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"/></g>-<g id="forward"><path d="M12 8V4l8 8-8 8v-4H4V8z"/></g>-<g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></g>-<g id="fullscreen-exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/></g>-<g id="g-translate"><path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4.09c1.04 0 1.99.37 2.74 1.07l.07.06-1.23 1.18-.06-.05c-.29-.27-.78-.59-1.52-.59-1.31 0-2.38 1.09-2.38 2.42s1.07 2.42 2.38 2.42c1.37 0 1.96-.87 2.12-1.46H7.08V9.91h3.95l.01.07c.04.21.05.4.05.61 0 2.35-1.61 4-3.92 4zm6.03-1.71c.33.6.74 1.18 1.19 1.7l-.54.53-.65-2.23zm.77-.76h-.99l-.31-1.04h3.99s-.34 1.31-1.56 2.74c-.52-.62-.89-1.23-1.13-1.7zM21 20c0 .55-.45 1-1 1h-7l2-2-.81-2.77.92-.92L17.79 18l.73-.73-2.71-2.68c.9-1.03 1.6-2.25 1.92-3.51H19v-1.04h-3.64V9h-1.04v1.04h-1.96L11.18 6H20c.55 0 1 .45 1 1v13z"/></g>-<g id="gavel"><path d="M1 21h12v2H1zM5.245 8.07l2.83-2.827 14.14 14.142-2.828 2.828zM12.317 1l5.657 5.656-2.83 2.83-5.654-5.66zM3.825 9.485l5.657 5.657-2.828 2.828-5.657-5.657z"/></g>-<g id="gesture"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></g>-<g id="get-app"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></g>-<g id="gif"><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"/></g>-<g id="grade"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></g>-<g id="group-work"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></g>-<g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/></g>-<g id="help-outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"/></g>-<g id="highlight-off"><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></g>-<g id="history"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/></g>-<g id="home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></g>-<g id="hourglass-empty"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"/></g>-<g id="hourglass-full"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"/></g>-<g id="http"><path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5zm0 2.5h-2v-1h2v1z"/></g>-<g id="https"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></g>-<g id="important-devices"><path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1.89 2 2 2h7v2H7v2h8v-2h-2v-2h2v-2H2V4h18v5h2V4c0-1.11-.9-2-2-2zm-8.03 7L11 6l-.97 3H7l2.47 1.76-.94 2.91 2.47-1.8 2.47 1.8-.94-2.91L15 9h-3.03z"/></g>-<g id="inbox"><path d="M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10z"/></g>-<g id="indeterminate-check-box"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"/></g>-<g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></g>-<g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/></g>-<g id="input"><path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"/></g>-<g id="invert-colors"><path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1v14.49z"/></g>-<g id="label"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/></g>-<g id="label-outline"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"/></g>-<g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"/></g>-<g id="last-page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"/></g>-<g id="launch"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></g>-<g id="lightbulb-outline"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></g>-<g id="line-style"><path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h-8v2zM3 4v4h18V4H3z"/></g>-<g id="line-weight"><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"/></g>-<g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></g>-<g id="list"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></g>-<g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></g>-<g id="lock-open"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"/></g>-<g id="lock-outline"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"/></g>-<g id="low-priority"><path d="M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"/></g>-<g id="loyalty"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7zm11.77 8.27L13 19.54l-4.27-4.27C8.28 14.81 8 14.19 8 13.5c0-1.38 1.12-2.5 2.5-2.5.69 0 1.32.28 1.77.74l.73.72.73-.73c.45-.45 1.08-.73 1.77-.73 1.38 0 2.5 1.12 2.5 2.5 0 .69-.28 1.32-.73 1.77z"/></g>-<g id="mail"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></g>-<g id="markunread"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></g>-<g id="markunread-mailbox"><path d="M20 6H10v6H8V4h6V0H6v6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"/></g>-<g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></g>-<g id="more-horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></g>-<g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></g>-<g id="motorcycle"><path d="M19.44 9.03L15.41 5H11v2h3.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h1.65l2.77-2.77c-.21.54-.32 1.14-.32 1.77 0 2.8 2.2 5 5 5s5-2.2 5-5c0-2.65-1.97-4.77-4.56-4.97zM7.82 15C7.4 16.15 6.28 17 5 17c-1.63 0-3-1.37-3-3s1.37-3 3-3c1.28 0 2.4.85 2.82 2H5v2h2.82zM19 17c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"/></g>-<g id="move-to-inbox"><path d="M19 3H4.99c-1.11 0-1.98.9-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10zm-3-5h-2V7h-4v3H8l4 4 4-4z"/></g>-<g id="next-week"><path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm1 13.5l-1-1 3-3-3-3 1-1 4 4-4 4z"/></g>-<g id="note-add"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"/></g>-<g id="offline-pin"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"/></g>-<g id="opacity"><path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"/></g>-<g id="open-in-browser"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z"/></g>-<g id="open-in-new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></g>-<g id="open-with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"/></g>-<g id="pageview"><path d="M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3.21 14.21l-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9-1.42 1.42z"/></g>-<g id="pan-tool"><path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/></g>-<g id="payment"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/></g>-<g id="perm-camera-mic"><path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 5.91V21h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-6 8c0 1.1-.9 2-2 2s-2-.9-2-2V9c0-1.1.9-2 2-2s2 .9 2 2v4z"/></g>-<g id="perm-contact-calendar"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z"/></g>-<g id="perm-data-setting"><path d="M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></g>-<g id="perm-device-information"><path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/></g>-<g id="perm-identity"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"/></g>-<g id="perm-media"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6 3.5 4.51 2.5-3.01L21 15H7z"/></g>-<g id="perm-phone-msg"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z"/></g>-<g id="perm-scan-wifi"><path d="M12 3C6.95 3 3.15 4.85 0 7.23L12 22 24 7.25C20.85 4.87 17.05 3 12 3zm1 13h-2v-6h2v6zm-2-8V6h2v2h-2z"/></g>-<g id="pets"><circle cx="4.5" cy="9.5" r="2.5"/><circle cx="9" cy="5.5" r="2.5"/><circle cx="15" cy="5.5" r="2.5"/><circle cx="19.5" cy="9.5" r="2.5"/><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"/></g>-<g id="picture-in-picture"><path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"/></g>-<g id="picture-in-picture-alt"><path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"/></g>-<g id="play-for-work"><path d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"/></g>-<g id="polymer"><path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"/></g>-<g id="power-settings-new"><path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"/></g>-<g id="pregnant-woman"><path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"/></g>-<g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"/></g>-<g id="query-builder"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></g>-<g id="question-answer"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/></g>-<g id="radio-button-checked"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></g>-<g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></g>-<g id="receipt"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"/></g>-<g id="record-voice-over"><circle cx="9" cy="9" r="4"/><path d="M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"/></g>-<g id="redeem"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"/></g>-<g id="redo"><path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></g>-<g id="refresh"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></g>-<g id="remove"><path d="M19 13H5v-2h14v2z"/></g>-<g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/></g>-<g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></g>-<g id="remove-shopping-cart"><path d="M22.73 22.73L2.77 2.77 2 2l-.73-.73L0 2.54l4.39 4.39 2.21 4.66-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h7.46l1.38 1.38c-.5.36-.83.95-.83 1.62 0 1.1.89 2 1.99 2 .67 0 1.26-.33 1.62-.84L21.46 24l1.27-1.27zM7.42 15c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h2.36l2 2H7.42zm8.13-2c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H6.54l9.01 9zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2z"/></g>-<g id="reorder"><path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"/></g>-<g id="reply"><path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></g>-<g id="reply-all"><path d="M7 8V5l-7 7 7 7v-3l-4-4 4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></g>-<g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"/></g>-<g id="report-problem"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></g>-<g id="restore"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/></g>-<g id="restore-page"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm-2 16c-2.05 0-3.81-1.24-4.58-3h1.71c.63.9 1.68 1.5 2.87 1.5 1.93 0 3.5-1.57 3.5-3.5S13.93 9.5 12 9.5c-1.35 0-2.52.78-3.1 1.9l1.6 1.6h-4V9l1.3 1.3C8.69 8.92 10.23 8 12 8c2.76 0 5 2.24 5 5s-2.24 5-5 5z"/></g>-<g id="room"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></g>-<g id="rounded-corner"><path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm-8 0h2v-2H7v2zm-4 0h2v-2H3v2zM21 8c0-2.76-2.24-5-5-5h-5v2h5c1.65 0 3 1.35 3 3v5h2V8z"/></g>-<g id="rowing"><path d="M8.5 14.5L4 19l1.5 1.5L9 17h2l-2.5-2.5zM15 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 20.01L18 24l-2.99-3.01V19.5l-7.1-7.09c-.31.05-.61.07-.91.07v-2.16c1.66.03 3.61-.87 4.67-2.04l1.4-1.55c.19-.21.43-.38.69-.5.29-.14.62-.23.96-.23h.03C15.99 6.01 17 7.02 17 8.26v5.75c0 .84-.35 1.61-.92 2.16l-3.58-3.58v-2.27c-.63.52-1.43 1.02-2.29 1.39L16.5 18H18l3 3.01z"/></g>-<g id="save"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"/></g>-<g id="schedule"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></g>-<g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></g>-<g id="select-all"><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z"/></g>-<g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></g>-<g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"/></g>-<g id="settings-applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"/></g>-<g id="settings-backup-restore"><path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"/></g>-<g id="settings-bluetooth"><path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 3.83l1.88 1.88L13 7.59V3.83zm1.88 10.46L13 16.17v-3.76l1.88 1.88z"/></g>-<g id="settings-brightness"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5V16zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3V9z"/></g>-<g id="settings-cell"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"/></g>-<g id="settings-ethernet"><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z"/></g>-<g id="settings-input-antenna"><path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59v-3.3zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11z"/></g>-<g id="settings-input-component"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"/></g>-<g id="settings-input-composite"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"/></g>-<g id="settings-input-hdmi"><path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"/></g>-<g id="settings-input-svideo"><path d="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83 0 1.5-.67 1.5-1.5zM8.5 15c-.83 0-1.5.67-1.5 1.5S7.67 18 8.5 18s1.5-.67 1.5-1.5S9.33 15 8.5 15zM12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9zm5.5-11c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-2 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"/></g>-<g id="settings-overscan"><path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/></g>-<g id="settings-phone"><path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 9v2h2V9h-2z"/></g>-<g id="settings-power"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm2-22h-2v10h2V2zm3.56 2.44l-1.45 1.45C16.84 6.94 18 8.83 18 11c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 4.44C5.36 5.88 4 8.28 4 11c0 4.42 3.58 8 8 8s8-3.58 8-8c0-2.72-1.36-5.12-3.44-6.56zM15 24h2v-2h-2v2z"/></g>-<g id="settings-remote"><path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41 1.41C9.37 6.56 10.62 6 12 6s2.63.56 3.54 1.46l1.41-1.41C15.68 4.78 13.93 4 12 4s-3.68.78-4.95 2.05zM12 0C8.96 0 6.21 1.23 4.22 3.22l1.41 1.41C7.26 3.01 9.51 2 12 2s4.74 1.01 6.36 2.64l1.41-1.41C17.79 1.23 15.04 0 12 0z"/></g>-<g id="settings-voice"><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72z"/></g>-<g id="shop"><path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"/></g>-<g id="shop-two"><path d="M3 9H1v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2H3V9zm15-4V3c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H5v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5h-5zm-6-2h4v2h-4V3zm0 12V8l5.5 3-5.5 4z"/></g>-<g id="shopping-basket"><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></g>-<g id="shopping-cart"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"/></g>-<g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/></g>-<g id="speaker-notes"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-3h-8V6h8v2z"/></g>-<g id="speaker-notes-off"><path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H18v2h-4.92l6.99 6.99C21.14 17.95 22 17.08 22 16V4c0-1.1-.9-2-2-2z"/></g>-<g id="spellcheck"><path d="M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64l1.14 3zm-6.02-5L8.5 5.48 10.57 11H6.43zm15.16.59l-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13l-1.41-1.41z"/></g>-<g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></g>-<g id="star-border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></g>-<g id="star-half"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></g>-<g id="stars"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"/></g>-<g id="store"><path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"/></g>-<g id="subdirectory-arrow-left"><path d="M11 9l1.42 1.42L8.83 14H18V4h2v12H8.83l3.59 3.58L11 21l-6-6 6-6z"/></g>-<g id="subdirectory-arrow-right"><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"/></g>-<g id="subject"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"/></g>-<g id="supervisor-account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"/></g>-<g id="swap-horiz"><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"/></g>-<g id="swap-vert"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"/></g>-<g id="swap-vertical-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"/></g>-<g id="system-update-alt"><path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"/></g>-<g id="tab"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"/></g>-<g id="tab-unselected"><path d="M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"/></g>-<g id="text-format"><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"/></g>-<g id="theaters"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"/></g>-<g id="thumb-down"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"/></g>-<g id="thumb-up"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"/></g>-<g id="thumbs-up-down"><path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.91l2.26-5.29c.07-.17.11-.36.11-.55V6zm10.5 4h-6.75c-.62 0-1.15.38-1.38.91l-2.26 5.29c-.07.17-.11.36-.11.55V18c0 .55.45 1 1 1h5.18l-.66 3.18-.02.24c0 .31.13.59.33.8l.79.78 4.94-4.94c.27-.27.44-.65.44-1.06v-6.5c0-.83-.67-1.5-1.5-1.5z"/></g>-<g id="timeline"><path d="M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2z"/></g>-<g id="toc"><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"/></g>-<g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></g>-<g id="toll"><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12c0-2.61 1.67-4.83 4-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09c-2.33-.82-4-3.04-4-5.65z"/></g>-<g id="touch-app"><path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74l-3.43-.72c-.08-.01-.15-.03-.24-.03-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38z"/></g>-<g id="track-changes"><path d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"/></g>-<g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"/></g>-<g id="trending-down"><path d="M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"/></g>-<g id="trending-flat"><path d="M22 12l-4-4v3H3v2h15v3z"/></g>-<g id="trending-up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"/></g>-<g id="turned-in"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"/></g>-<g id="turned-in-not"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"/></g>-<g id="unarchive"><path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.49-.17-.93-.45-1.28zM12 9.5l5.5 5.5H14v2h-4v-2H6.5L12 9.5zM5.12 5l.82-1h12l.93 1H5.12z"/></g>-<g id="undo"><path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></g>-<g id="unfold-less"><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"/></g>-<g id="unfold-more"><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"/></g>-<g id="update"><path d="M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79 2.73 2.71 7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58 3.51-3.47 9.14-3.47 12.65 0L21 3v7.12zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8h1.5z"/></g>-<g id="verified-user"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"/></g>-<g id="view-agenda"><path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"/></g>-<g id="view-array"><path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"/></g>-<g id="view-carousel"><path d="M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z"/></g>-<g id="view-column"><path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"/></g>-<g id="view-day"><path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"/></g>-<g id="view-headline"><path d="M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"/></g>-<g id="view-list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"/></g>-<g id="view-module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"/></g>-<g id="view-quilt"><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"/></g>-<g id="view-stream"><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"/></g>-<g id="view-week"><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"/></g>-<g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></g>-<g id="visibility-off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></g>-<g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></g>-<g id="watch-later"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"/></g>-<g id="weekend"><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z"/></g>-<g id="work"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"/></g>-<g id="youtube-searched-for"><path d="M17.01 14h-.8l-.27-.27c.98-1.14 1.57-2.61 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 3-6.5 6.5H2l3.84 4 4.16-4H6.51C6.51 7 8.53 5 11.01 5s4.5 2.01 4.5 4.5c0 2.48-2.02 4.5-4.5 4.5-.65 0-1.26-.14-1.82-.38L7.71 15.1c.97.57 2.09.9 3.3.9 1.61 0 3.08-.59 4.22-1.57l.27.27v.79l5.01 4.99L22 19l-4.99-5z"/></g>-<g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></g>-<g id="zoom-out"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"/></g>+<g id="3d-rotation"><path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path></g>+<g id="accessibility"><path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"></path></g>+<g id="accessible"><circle cx="12" cy="4" r="2"></circle><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"></path></g>+<g id="account-balance"><path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"></path></g>+<g id="account-balance-wallet"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>+<g id="account-box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"></path></g>+<g id="account-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"></path></g>+<g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g>+<g id="add-alert"><path d="M10.01 21.01c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zm8.87-4.19V11c0-3.25-2.25-5.97-5.29-6.69v-.72C13.59 2.71 12.88 2 12 2s-1.59.71-1.59 1.59v.72C7.37 5.03 5.12 7.75 5.12 11v5.82L3 18.94V20h18v-1.06l-2.12-2.12zM16 13.01h-3v3h-2v-3H8V11h3V8h2v3h3v2.01z"></path></g>+<g id="add-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>+<g id="add-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>+<g id="add-circle-outline"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>+<g id="add-shopping-cart"><path d="M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25z"></path></g>+<g id="alarm"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></g>+<g id="alarm-add"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V9z"></path></g>+<g id="alarm-off"><path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6 12 6zm10-.28l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM2.92 2.29L1.65 3.57 2.98 4.9l-1.11.93 1.42 1.42 1.11-.94.8.8C3.83 8.69 3 10.75 3 13c0 4.97 4.02 9 9 9 2.25 0 4.31-.83 5.89-2.2l2.2 2.2 1.27-1.27L3.89 3.27l-.97-.98zm13.55 16.1C15.26 19.39 13.7 20 12 20c-3.87 0-7-3.13-7-7 0-1.7.61-3.26 1.61-4.47l9.86 9.86zM8.02 3.28L6.6 1.86l-.86.71 1.42 1.42.86-.71z"></path></g>+<g id="alarm-on"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06-4.93 4.95z"></path></g>+<g id="all-out"><path d="M16.21 4.16l4 4v-4zm4 12l-4 4h4zm-12 4l-4-4v4zm-4-12l4-4h-4zm12.95-.95c-2.73-2.73-7.17-2.73-9.9 0s-2.73 7.17 0 9.9 7.17 2.73 9.9 0 2.73-7.16 0-9.9zm-1.1 8.8c-2.13 2.13-5.57 2.13-7.7 0s-2.13-5.57 0-7.7 5.57-2.13 7.7 0 2.13 5.57 0 7.7z"></path></g>+<g id="android"><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z"></path></g>+<g id="announcement"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"></path></g>+<g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"></path></g>+<g id="archive"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"></path></g>+<g id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g>+<g id="arrow-downward"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"></path></g>+<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g>+<g id="arrow-drop-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"></path></g>+<g id="arrow-drop-up"><path d="M7 14l5-5 5 5z"></path></g>+<g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g>+<g id="arrow-upward"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"></path></g>+<g id="aspect-ratio"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>+<g id="assessment"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g>+<g id="assignment"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></g>+<g id="assignment-ind"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></g>+<g id="assignment-late"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0-4h-2V8h2v6zm-1-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g>+<g id="assignment-return"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 12h-4v3l-5-5 5-5v3h4v4z"></path></g>+<g id="assignment-returned"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z"></path></g>+<g id="assignment-turned-in"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>+<g id="attachment"><path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z"></path></g>+<g id="autorenew"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"></path></g>+<g id="backspace"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"></path></g>+<g id="backup"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>+<g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"></path></g>+<g id="book"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>+<g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>+<g id="bookmark-border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>+<g id="bug-report"><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"></path></g>+<g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></g>+<g id="cached"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"></path></g>+<g id="camera-enhance"><path d="M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-1l1.25-2.75L16 13l-2.75-1.25L12 9l-1.25 2.75L8 13l2.75 1.25z"></path></g>+<g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"></path></g>+<g id="card-giftcard"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>+<g id="card-membership"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"></path></g>+<g id="card-travel"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z"></path></g>+<g id="change-history"><path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"></path></g>+<g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></g>+<g id="check-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>+<g id="check-box-outline-blank"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>+<g id="check-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>+<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-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>+<g id="chrome-reader-mode"><path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"></path></g>+<g id="class"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>+<g id="clear"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>+<g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>+<g id="cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"></path></g>+<g id="cloud-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01C8.58 8.28 10.13 7 12 7c2.21 0 4 1.79 4 4h.5c1.38 0 2.5 1.12 2.5 2.5S17.88 16 16.5 16z"></path></g>+<g id="cloud-done"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"></path></g>+<g id="cloud-download"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"></path></g>+<g id="cloud-off"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"></path></g>+<g id="cloud-queue"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3z"></path></g>+<g id="cloud-upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>+<g id="code"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path></g>+<g id="compare-arrows"><path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"></path></g>+<g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></g>+<g id="content-cut"><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"></path></g>+<g id="content-paste"><path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"></path></g>+<g id="copyright"><path d="M10.08 10.86c.05-.33.16-.62.3-.87s.34-.46.59-.62c.24-.15.54-.22.91-.23.23.01.44.05.63.13.2.09.38.21.52.36s.25.33.34.53.13.42.14.64h1.79c-.02-.47-.11-.9-.28-1.29s-.4-.73-.7-1.01-.66-.5-1.08-.66-.88-.23-1.39-.23c-.65 0-1.22.11-1.7.34s-.88.53-1.2.92-.56.84-.71 1.36S8 11.29 8 11.87v.27c0 .58.08 1.12.23 1.64s.39.97.71 1.35.72.69 1.2.91 1.05.34 1.7.34c.47 0 .91-.08 1.32-.23s.77-.36 1.08-.63.56-.58.74-.94.29-.74.3-1.15h-1.79c-.01.21-.06.4-.15.58s-.21.33-.36.46-.32.23-.52.3c-.19.07-.39.09-.6.1-.36-.01-.66-.08-.89-.23-.25-.16-.45-.37-.59-.62s-.25-.55-.3-.88-.08-.67-.08-1v-.27c0-.35.03-.68.08-1.01zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>+<g id="create"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g>+<g id="create-new-folder"><path d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"></path></g>+<g id="credit-card"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>+<g id="dashboard"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"></path></g>+<g id="date-range"><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"></path></g>+<g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></g>+<g id="delete-forever"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"></path></g>+<g id="delete-sweep"><path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"></path></g>+<g id="description"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"></path></g>+<g id="dns"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>+<g id="done"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g>+<g id="done-all"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"></path></g>+<g id="donut-large"><path d="M11 5.08V2c-5 .5-9 4.81-9 10s4 9.5 9 10v-3.08c-3-.48-6-3.4-6-6.92s3-6.44 6-6.92zM18.97 11H22c-.47-5-4-8.53-9-9v3.08C16 5.51 18.54 8 18.97 11zM13 18.92V22c5-.47 8.53-4 9-9h-3.03c-.43 3-2.97 5.49-5.97 5.92z"></path></g>+<g id="donut-small"><path d="M11 9.16V2c-5 .5-9 4.79-9 10s4 9.5 9 10v-7.16c-1-.41-2-1.52-2-2.84s1-2.43 2-2.84zM14.86 11H22c-.48-4.75-4-8.53-9-9v7.16c1 .3 1.52.98 1.86 1.84zM13 14.84V22c5-.47 8.52-4.25 9-9h-7.14c-.34.86-.86 1.54-1.86 1.84z"></path></g>+<g id="drafts"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z"></path></g>+<g id="eject"><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"></path></g>+<g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g>+<g id="error-outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>+<g id="euro-symbol"><path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1 0 .34.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z"></path></g>+<g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g>+<g id="event-seat"><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"></path></g>+<g id="exit-to-app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>+<g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g>+<g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g>+<g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path></g>+<g id="extension"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"></path></g>+<g id="face"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></g>+<g id="favorite"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></g>+<g id="favorite-border"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"></path></g>+<g id="feedback"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g>+<g id="file-download"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>+<g id="file-upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"></path></g>+<g id="filter-list"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></g>+<g id="find-in-page"><path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"></path></g>+<g id="find-replace"><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"></path></g>+<g id="fingerprint"><path d="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"></path></g>+<g id="first-page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"></path></g>+<g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g>+<g id="flight-land"><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z"></path></g>+<g id="flight-takeoff"><path d="M2.5 19h19v2h-19zm19.57-9.36c-.21-.8-1.04-1.28-1.84-1.06L14.92 10l-6.9-6.43-1.93.51 4.14 7.17-4.97 1.33-1.97-1.54-1.45.39 1.82 3.16.77 1.33 1.6-.43 5.31-1.42 4.35-1.16L21 11.49c.81-.23 1.28-1.05 1.07-1.85z"></path></g>+<g id="flip-to-back"><path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM5 7H3v12c0 1.1.89 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"></path></g>+<g id="flip-to-front"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"></path></g>+<g id="folder"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"></path></g>+<g id="folder-open"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"></path></g>+<g id="folder-shared"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"></path></g>+<g id="font-download"><path d="M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"></path></g>+<g id="forward"><path d="M12 8V4l8 8-8 8v-4H4V8z"></path></g>+<g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></g>+<g id="fullscreen-exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></g>+<g id="g-translate"><path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4.09c1.04 0 1.99.37 2.74 1.07l.07.06-1.23 1.18-.06-.05c-.29-.27-.78-.59-1.52-.59-1.31 0-2.38 1.09-2.38 2.42s1.07 2.42 2.38 2.42c1.37 0 1.96-.87 2.12-1.46H7.08V9.91h3.95l.01.07c.04.21.05.4.05.61 0 2.35-1.61 4-3.92 4zm6.03-1.71c.33.6.74 1.18 1.19 1.7l-.54.53-.65-2.23zm.77-.76h-.99l-.31-1.04h3.99s-.34 1.31-1.56 2.74c-.52-.62-.89-1.23-1.13-1.7zM21 20c0 .55-.45 1-1 1h-7l2-2-.81-2.77.92-.92L17.79 18l.73-.73-2.71-2.68c.9-1.03 1.6-2.25 1.92-3.51H19v-1.04h-3.64V9h-1.04v1.04h-1.96L11.18 6H20c.55 0 1 .45 1 1v13z"></path></g>+<g id="gavel"><path d="M1 21h12v2H1zM5.245 8.07l2.83-2.827 14.14 14.142-2.828 2.828zM12.317 1l5.657 5.656-2.83 2.83-5.654-5.66zM3.825 9.485l5.657 5.657-2.828 2.828-5.657-5.657z"></path></g>+<g id="gesture"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"></path></g>+<g id="get-app"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>+<g id="gif"><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"></path></g>+<g id="grade"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>+<g id="group-work"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>+<g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></g>+<g id="help-outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g>+<g id="highlight-off"><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>+<g id="history"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>+<g id="home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path></g>+<g id="hourglass-empty"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"></path></g>+<g id="hourglass-full"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"></path></g>+<g id="http"><path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5zm0 2.5h-2v-1h2v1z"></path></g>+<g id="https"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>+<g id="important-devices"><path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1.89 2 2 2h7v2H7v2h8v-2h-2v-2h2v-2H2V4h18v5h2V4c0-1.11-.9-2-2-2zm-8.03 7L11 6l-.97 3H7l2.47 1.76-.94 2.91 2.47-1.8 2.47 1.8-.94-2.91L15 9h-3.03z"></path></g>+<g id="inbox"><path d="M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10z"></path></g>+<g id="indeterminate-check-box"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"></path></g>+<g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></g>+<g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g>+<g id="input"><path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"></path></g>+<g id="invert-colors"><path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1v14.49z"></path></g>+<g id="label"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"></path></g>+<g id="label-outline"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"></path></g>+<g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path></g>+<g id="last-page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"></path></g>+<g id="launch"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>+<g id="lightbulb-outline"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path></g>+<g id="line-style"><path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h-8v2zM3 4v4h18V4H3z"></path></g>+<g id="line-weight"><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"></path></g>+<g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g>+<g id="list"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"></path></g>+<g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>+<g id="lock-open"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"></path></g>+<g id="lock-outline"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"></path></g>+<g id="low-priority"><path d="M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"></path></g>+<g id="loyalty"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7zm11.77 8.27L13 19.54l-4.27-4.27C8.28 14.81 8 14.19 8 13.5c0-1.38 1.12-2.5 2.5-2.5.69 0 1.32.28 1.77.74l.73.72.73-.73c.45-.45 1.08-.73 1.77-.73 1.38 0 2.5 1.12 2.5 2.5 0 .69-.28 1.32-.73 1.77z"></path></g>+<g id="mail"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>+<g id="markunread"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>+<g id="markunread-mailbox"><path d="M20 6H10v6H8V4h6V0H6v6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"></path></g>+<g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></g>+<g id="more-horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>+<g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>+<g id="motorcycle"><path d="M19.44 9.03L15.41 5H11v2h3.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h1.65l2.77-2.77c-.21.54-.32 1.14-.32 1.77 0 2.8 2.2 5 5 5s5-2.2 5-5c0-2.65-1.97-4.77-4.56-4.97zM7.82 15C7.4 16.15 6.28 17 5 17c-1.63 0-3-1.37-3-3s1.37-3 3-3c1.28 0 2.4.85 2.82 2H5v2h2.82zM19 17c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"></path></g>+<g id="move-to-inbox"><path d="M19 3H4.99c-1.11 0-1.98.9-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10zm-3-5h-2V7h-4v3H8l4 4 4-4z"></path></g>+<g id="next-week"><path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm1 13.5l-1-1 3-3-3-3 1-1 4 4-4 4z"></path></g>+<g id="note-add"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"></path></g>+<g id="offline-pin"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"></path></g>+<g id="opacity"><path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"></path></g>+<g id="open-in-browser"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z"></path></g>+<g id="open-in-new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>+<g id="open-with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"></path></g>+<g id="pageview"><path d="M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3.21 14.21l-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9-1.42 1.42z"></path></g>+<g id="pan-tool"><path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"></path></g>+<g id="payment"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>+<g id="perm-camera-mic"><path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 5.91V21h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-6 8c0 1.1-.9 2-2 2s-2-.9-2-2V9c0-1.1.9-2 2-2s2 .9 2 2v4z"></path></g>+<g id="perm-contact-calendar"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z"></path></g>+<g id="perm-data-setting"><path d="M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>+<g id="perm-device-information"><path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g>+<g id="perm-identity"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path></g>+<g id="perm-media"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6 3.5 4.51 2.5-3.01L21 15H7z"></path></g>+<g id="perm-phone-msg"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z"></path></g>+<g id="perm-scan-wifi"><path d="M12 3C6.95 3 3.15 4.85 0 7.23L12 22 24 7.25C20.85 4.87 17.05 3 12 3zm1 13h-2v-6h2v6zm-2-8V6h2v2h-2z"></path></g>+<g id="pets"><circle cx="4.5" cy="9.5" r="2.5"></circle><circle cx="9" cy="5.5" r="2.5"></circle><circle cx="15" cy="5.5" r="2.5"></circle><circle cx="19.5" cy="9.5" r="2.5"></circle><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"></path></g>+<g id="picture-in-picture"><path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"></path></g>+<g id="picture-in-picture-alt"><path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"></path></g>+<g id="play-for-work"><path d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"></path></g>+<g id="polymer"><path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"></path></g>+<g id="power-settings-new"><path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"></path></g>+<g id="pregnant-woman"><path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"></path></g>+<g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"></path></g>+<g id="query-builder"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>+<g id="question-answer"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></g>+<g id="radio-button-checked"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>+<g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>+<g id="receipt"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"></path></g>+<g id="record-voice-over"><circle cx="9" cy="9" r="4"></circle><path d="M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"></path></g>+<g id="redeem"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>+<g id="redo"><path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"></path></g>+<g id="refresh"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"></path></g>+<g id="remove"><path d="M19 13H5v-2h14v2z"></path></g>+<g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g>+<g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>+<g id="remove-shopping-cart"><path d="M22.73 22.73L2.77 2.77 2 2l-.73-.73L0 2.54l4.39 4.39 2.21 4.66-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h7.46l1.38 1.38c-.5.36-.83.95-.83 1.62 0 1.1.89 2 1.99 2 .67 0 1.26-.33 1.62-.84L21.46 24l1.27-1.27zM7.42 15c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h2.36l2 2H7.42zm8.13-2c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H6.54l9.01 9zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2z"></path></g>+<g id="reorder"><path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"></path></g>+<g id="reply"><path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>+<g id="reply-all"><path d="M7 8V5l-7 7 7 7v-3l-4-4 4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>+<g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></g>+<g id="report-problem"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>+<g id="restore"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>+<g id="restore-page"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm-2 16c-2.05 0-3.81-1.24-4.58-3h1.71c.63.9 1.68 1.5 2.87 1.5 1.93 0 3.5-1.57 3.5-3.5S13.93 9.5 12 9.5c-1.35 0-2.52.78-3.1 1.9l1.6 1.6h-4V9l1.3 1.3C8.69 8.92 10.23 8 12 8c2.76 0 5 2.24 5 5s-2.24 5-5 5z"></path></g>+<g id="room"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>+<g id="rounded-corner"><path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm-8 0h2v-2H7v2zm-4 0h2v-2H3v2zM21 8c0-2.76-2.24-5-5-5h-5v2h5c1.65 0 3 1.35 3 3v5h2V8z"></path></g>+<g id="rowing"><path d="M8.5 14.5L4 19l1.5 1.5L9 17h2l-2.5-2.5zM15 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 20.01L18 24l-2.99-3.01V19.5l-7.1-7.09c-.31.05-.61.07-.91.07v-2.16c1.66.03 3.61-.87 4.67-2.04l1.4-1.55c.19-.21.43-.38.69-.5.29-.14.62-.23.96-.23h.03C15.99 6.01 17 7.02 17 8.26v5.75c0 .84-.35 1.61-.92 2.16l-3.58-3.58v-2.27c-.63.52-1.43 1.02-2.29 1.39L16.5 18H18l3 3.01z"></path></g>+<g id="save"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"></path></g>+<g id="schedule"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>+<g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g>+<g id="select-all"><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z"></path></g>+<g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path></g>+<g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g>+<g id="settings-applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"></path></g>+<g id="settings-backup-restore"><path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"></path></g>+<g id="settings-bluetooth"><path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 3.83l1.88 1.88L13 7.59V3.83zm1.88 10.46L13 16.17v-3.76l1.88 1.88z"></path></g>+<g id="settings-brightness"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5V16zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3V9z"></path></g>+<g id="settings-cell"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"></path></g>+<g id="settings-ethernet"><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z"></path></g>+<g id="settings-input-antenna"><path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59v-3.3zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11z"></path></g>+<g id="settings-input-component"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>+<g id="settings-input-composite"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>+<g id="settings-input-hdmi"><path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"></path></g>+<g id="settings-input-svideo"><path d="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83 0 1.5-.67 1.5-1.5zM8.5 15c-.83 0-1.5.67-1.5 1.5S7.67 18 8.5 18s1.5-.67 1.5-1.5S9.33 15 8.5 15zM12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9zm5.5-11c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-2 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path></g>+<g id="settings-overscan"><path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>+<g id="settings-phone"><path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 9v2h2V9h-2z"></path></g>+<g id="settings-power"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm2-22h-2v10h2V2zm3.56 2.44l-1.45 1.45C16.84 6.94 18 8.83 18 11c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 4.44C5.36 5.88 4 8.28 4 11c0 4.42 3.58 8 8 8s8-3.58 8-8c0-2.72-1.36-5.12-3.44-6.56zM15 24h2v-2h-2v2z"></path></g>+<g id="settings-remote"><path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41 1.41C9.37 6.56 10.62 6 12 6s2.63.56 3.54 1.46l1.41-1.41C15.68 4.78 13.93 4 12 4s-3.68.78-4.95 2.05zM12 0C8.96 0 6.21 1.23 4.22 3.22l1.41 1.41C7.26 3.01 9.51 2 12 2s4.74 1.01 6.36 2.64l1.41-1.41C17.79 1.23 15.04 0 12 0z"></path></g>+<g id="settings-voice"><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72z"></path></g>+<g id="shop"><path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"></path></g>+<g id="shop-two"><path d="M3 9H1v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2H3V9zm15-4V3c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H5v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5h-5zm-6-2h4v2h-4V3zm0 12V8l5.5 3-5.5 4z"></path></g>+<g id="shopping-basket"><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>+<g id="shopping-cart"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"></path></g>+<g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path></g>+<g id="speaker-notes"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-3h-8V6h8v2z"></path></g>+<g id="speaker-notes-off"><path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H18v2h-4.92l6.99 6.99C21.14 17.95 22 17.08 22 16V4c0-1.1-.9-2-2-2z"></path></g>+<g id="spellcheck"><path d="M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64l1.14 3zm-6.02-5L8.5 5.48 10.57 11H6.43zm15.16.59l-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13l-1.41-1.41z"></path></g>+<g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>+<g id="star-border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>+<g id="star-half"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>+<g id="stars"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g>+<g id="store"><path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"></path></g>+<g id="subdirectory-arrow-left"><path d="M11 9l1.42 1.42L8.83 14H18V4h2v12H8.83l3.59 3.58L11 21l-6-6 6-6z"></path></g>+<g id="subdirectory-arrow-right"><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"></path></g>+<g id="subject"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"></path></g>+<g id="supervisor-account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"></path></g>+<g id="swap-horiz"><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"></path></g>+<g id="swap-vert"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"></path></g>+<g id="swap-vertical-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"></path></g>+<g id="system-update-alt"><path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"></path></g>+<g id="tab"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"></path></g>+<g id="tab-unselected"><path d="M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"></path></g>+<g id="text-format"><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"></path></g>+<g id="theaters"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"></path></g>+<g id="thumb-down"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"></path></g>+<g id="thumb-up"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></g>+<g id="thumbs-up-down"><path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.91l2.26-5.29c.07-.17.11-.36.11-.55V6zm10.5 4h-6.75c-.62 0-1.15.38-1.38.91l-2.26 5.29c-.07.17-.11.36-.11.55V18c0 .55.45 1 1 1h5.18l-.66 3.18-.02.24c0 .31.13.59.33.8l.79.78 4.94-4.94c.27-.27.44-.65.44-1.06v-6.5c0-.83-.67-1.5-1.5-1.5z"></path></g>+<g id="timeline"><path d="M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2z"></path></g>+<g id="toc"><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"></path></g>+<g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"></path></g>+<g id="toll"><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12c0-2.61 1.67-4.83 4-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09c-2.33-.82-4-3.04-4-5.65z"></path></g>+<g id="touch-app"><path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74l-3.43-.72c-.08-.01-.15-.03-.24-.03-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38z"></path></g>+<g id="track-changes"><path d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"></path></g>+<g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></g>+<g id="trending-down"><path d="M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"></path></g>+<g id="trending-flat"><path d="M22 12l-4-4v3H3v2h15v3z"></path></g>+<g id="trending-up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"></path></g>+<g id="turned-in"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>+<g id="turned-in-not"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>+<g id="unarchive"><path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.49-.17-.93-.45-1.28zM12 9.5l5.5 5.5H14v2h-4v-2H6.5L12 9.5zM5.12 5l.82-1h12l.93 1H5.12z"></path></g>+<g id="undo"><path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"></path></g>+<g id="unfold-less"><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"></path></g>+<g id="unfold-more"><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"></path></g>+<g id="update"><path d="M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79 2.73 2.71 7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58 3.51-3.47 9.14-3.47 12.65 0L21 3v7.12zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8h1.5z"></path></g>+<g id="verified-user"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>+<g id="view-agenda"><path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"></path></g>+<g id="view-array"><path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"></path></g>+<g id="view-carousel"><path d="M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z"></path></g>+<g id="view-column"><path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"></path></g>+<g id="view-day"><path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"></path></g>+<g id="view-headline"><path d="M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"></path></g>+<g id="view-list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"></path></g>+<g id="view-module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"></path></g>+<g id="view-quilt"><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"></path></g>+<g id="view-stream"><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"></path></g>+<g id="view-week"><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"></path></g>+<g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g>+<g id="visibility-off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></g>+<g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>+<g id="watch-later"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"></path></g>+<g id="weekend"><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z"></path></g>+<g id="work"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"></path></g>+<g id="youtube-searched-for"><path d="M17.01 14h-.8l-.27-.27c.98-1.14 1.57-2.61 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 3-6.5 6.5H2l3.84 4 4.16-4H6.51C6.51 7 8.53 5 11.01 5s4.5 2.01 4.5 4.5c0 2.48-2.02 4.5-4.5 4.5-.65 0-1.26-.14-1.82-.38L7.71 15.1c.97.57 2.09.9 3.3.9 1.61 0 3.08-.59 4.22-1.57l.27.27v.79l5.01 4.99L22 19l-4.99-5z"></path></g>+<g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g>+<g id="zoom-out"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g></defs></svg></iron-iconset-svg>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-iconset-svg/iron-iconset-svg.html b/frontend/bower_components/iron-iconset-svg/iron-iconset-svg.htmlindex f2a79454c..993521dcc 100644--- a/frontend/bower_components/iron-iconset-svg/iron-iconset-svg.html+++ b/frontend/bower_components/iron-iconset-svg/iron-iconset-svg.html@@ -1,241 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-meta/iron-meta.html">-<script>- /**- * The `iron-iconset-svg` element allows users to define their own icon sets- * that contain svg icons. The svg icon elements should be children of the- * `iron-iconset-svg` element. Multiple icons should be given distinct id's.- *- * Using svg elements to create icons has a few advantages over traditional- * bitmap graphics like jpg or png. Icons that use svg are vector based so- * they are resolution independent and should look good on any device. They- * are stylable via css. Icons can be themed, colorized, and even animated.- *- * Example:- *- * <iron-iconset-svg name="my-svg-icons" size="24">- * <svg>- * <defs>- * <g id="shape">- * <rect x="12" y="0" width="12" height="24" />- * <circle cx="12" cy="12" r="12" />- * </g>- * </defs>- * </svg>- * </iron-iconset-svg>- *- * This will automatically register the icon set "my-svg-icons" to the iconset- * database. To use these icons from within another element, make a- * `iron-iconset` element and call the `byId` method- * to retrieve a given iconset. To apply a particular icon inside an- * element use the `applyIcon` method. For example:- *- * iconset.applyIcon(iconNode, 'car');- *- * @element iron-iconset-svg- * @demo demo/index.html- * @implements {Polymer.Iconset}- */- Polymer({- is: 'iron-iconset-svg',-- properties: {-- /**- * The name of the iconset.- */- name: {- type: String,- observer: '_nameChanged'- },-- /**- * The size of an individual icon. Note that icons must be square.- */- size: {- type: Number,- value: 24- },-- /**- * Set to true to enable mirroring of icons where specified when they are- * stamped. Icons that should be mirrored should be decorated with a- * `mirror-in-rtl` attribute.- *- * NOTE: For performance reasons, direction will be resolved once per- * document per iconset, so moving icons in and out of RTL subtrees will- * not cause their mirrored state to change.- */- rtlMirroring: {- type: Boolean,- value: false- }- },-- attached: function() {- this.style.display = 'none';- },-- /**- * Construct an array of all icon names in this iconset.- *- * @return {!Array} Array of icon names.- */- getIconNames: function() {- this._icons = this._createIconMap();- return Object.keys(this._icons).map(function(n) {- return this.name + ':' + n;- }, this);- },-- /**- * Applies an icon to the given element.- *- * An svg icon is prepended to the element's shadowRoot if it exists,- * otherwise to the element itself.- *- * If RTL mirroring is enabled, and the icon is marked to be mirrored in- * RTL, the element will be tested (once and only once ever for each- * iconset) to determine the direction of the subtree the element is in.- * This direction will apply to all future icon applications, although only- * icons marked to be mirrored will be affected.- *- * @method applyIcon- * @param {Element} element Element to which the icon is applied.- * @param {string} iconName Name of the icon to apply.- * @return {?Element} The svg element which renders the icon.- */- applyIcon: function(element, iconName) {- // insert svg element into shadow root, if it exists- element = element.root || element;- // Remove old svg element- this.removeIcon(element);- // install new svg element- var svg = this._cloneIcon(iconName,- this.rtlMirroring && this._targetIsRTL(element));- if (svg) {- var pde = Polymer.dom(element);- pde.insertBefore(svg, pde.childNodes[0]);- return element._svgIcon = svg;- }- return null;- },-- /**- * Remove an icon from the given element by undoing the changes effected- * by `applyIcon`.- *- * @param {Element} element The element from which the icon is removed.- */- removeIcon: function(element) {- // Remove old svg element- element = element.root || element;- if (element._svgIcon) {- Polymer.dom(element).removeChild(element._svgIcon);- element._svgIcon = null;- }- },-- /**- * Measures and memoizes the direction of the element. Note that this- * measurement is only done once and the result is memoized for future- * invocations.- */- _targetIsRTL: function(target) {- if (this.__targetIsRTL == null) {- if (target && target.nodeType !== Node.ELEMENT_NODE) {- target = target.host;- }-- this.__targetIsRTL = target &&- window.getComputedStyle(target)['direction'] === 'rtl';- }-- return this.__targetIsRTL;- },-- /**- *- * When name is changed, register iconset metadata- *- */- _nameChanged: function() {- new Polymer.IronMeta({type: 'iconset', key: this.name, value: this});- this.async(function() {- this.fire('iron-iconset-added', this, {node: window});- });- },-- /**- * Create a map of child SVG elements by id.- *- * @return {!Object} Map of id's to SVG elements.- */- _createIconMap: function() {- // Objects chained to Object.prototype (`{}`) have members. Specifically,- // on FF there is a `watch` method that confuses the icon map, so we- // need to use a null-based object here.- var icons = Object.create(null);- Polymer.dom(this).querySelectorAll('[id]')- .forEach(function(icon) {- icons[icon.id] = icon;- });- return icons;- },-- /**- * Produce installable clone of the SVG element matching `id` in this- * iconset, or `undefined` if there is no matching element.- *- * @return {Element} Returns an installable clone of the SVG element- * matching `id`.- */- _cloneIcon: function(id, mirrorAllowed) {- // create the icon map on-demand, since the iconset itself has no discrete- // signal to know when it's children are fully parsed- this._icons = this._icons || this._createIconMap();- return this._prepareSvgClone(this._icons[id], this.size, mirrorAllowed);- },-- /**- * @param {Element} sourceSvg- * @param {number} size- * @param {Boolean} mirrorAllowed- * @return {Element}- */- _prepareSvgClone: function(sourceSvg, size, mirrorAllowed) {- if (sourceSvg) {- var content = sourceSvg.cloneNode(true),- svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'),- viewBox = content.getAttribute('viewBox') || '0 0 ' + size + ' ' + size,- cssText = 'pointer-events: none; display: block; width: 100%; height: 100%;';-- if (mirrorAllowed && content.hasAttribute('mirror-in-rtl')) {- cssText += '-webkit-transform:scale(-1,1);transform:scale(-1,1);';- }-- svg.setAttribute('viewBox', viewBox);- svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');- // TODO(dfreedm): `pointer-events: none` works around https://crbug.com/370136- // TODO(sjmiles): inline style may not be ideal, but avoids requiring a shadow-root- svg.style.cssText = cssText;- svg.appendChild(content).removeAttribute('id');- return svg;- }- return null;- }-- });--</script>+<script>Polymer({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1}},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map(function(e){return this.name+":"+e},this)},applyIcon:function(e,t){e=e.root||e,this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Polymer.dom(e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e=e.root||e,e._svgIcon&&(Polymer.dom(e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){return null==this.__targetIsRTL&&(e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction),this.__targetIsRTL},_nameChanged:function(){new Polymer.IronMeta({type:"iconset",key:this.name,value:this}),this.async(function(){this.fire("iron-iconset-added",this,{node:window})})},_createIconMap:function(){var e=Object.create(null);return Polymer.dom(this).querySelectorAll("[id]").forEach(function(t){e[t.id]=t}),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,s="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(s+="-webkit-transform:scale(-1,1);transform:scale(-1,1);"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.style.cssText=s,i.appendChild(r).removeAttribute("id"),i}return null}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-input/iron-input.html b/frontend/bower_components/iron-input/iron-input.htmlindex 3424b64a3..4ab1eacbd 100644--- a/frontend/bower_components/iron-input/iron-input.html+++ b/frontend/bower_components/iron-input/iron-input.html@@ -1,306 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-announcer/iron-a11y-announcer.html"><link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior.html">-<script>--/*-`<iron-input>` adds two-way binding and custom validators using `Polymer.IronValidatorBehavior`-to `<input>`.--### Two-way binding--By default you can only get notified of changes to an `input`'s `value` due to user input:-- <input value="{{myValue::input}}">--`iron-input` adds the `bind-value` property that mirrors the `value` property, and can be used-for two-way data binding. `bind-value` will notify if it is changed either by user input or by script.-- <input is="iron-input" bind-value="{{myValue}}">--### Custom validators--You can use custom validators that implement `Polymer.IronValidatorBehavior` with `<iron-input>`.-- <input is="iron-input" validator="my-custom-validator">--### Stopping invalid input--It may be desirable to only allow users to enter certain characters. You can use the-`prevent-invalid-input` and `allowed-pattern` attributes together to accomplish this. This feature-is separate from validation, and `allowed-pattern` does not affect how the input is validated.-- <!-- only allow characters that match [0-9] -->- <input is="iron-input" prevent-invalid-input allowed-pattern="[0-9]">--@hero hero.svg-@demo demo/index.html-*/-- Polymer({-- is: 'iron-input',-- extends: 'input',-- behaviors: [- Polymer.IronValidatableBehavior- ],-- properties: {-- /**- * Use this property instead of `value` for two-way data binding.- */- bindValue: {- observer: '_bindValueChanged',- type: String- },-- /**- * Set to true to prevent the user from entering invalid input. If `allowedPattern` is set,- * any character typed by the user will be matched against that pattern, and rejected if it's not a match.- * Pasted input will have each character checked individually; if any character- * doesn't match `allowedPattern`, the entire pasted string will be rejected.- * If `allowedPattern` is not set, it will use the `type` attribute (only supported for `type=number`).- */- preventInvalidInput: {- type: Boolean- },-- /**- * Regular expression that list the characters allowed as input.- * This pattern represents the allowed characters for the field; as the user inputs text,- * each individual character will be checked against the pattern (rather than checking- * the entire value as a whole). The recommended format should be a list of allowed characters;- * for example, `[a-zA-Z0-9.+-!;:]`- */- allowedPattern: {- type: String,- observer: "_allowedPatternChanged"- },-- _previousValidInput: {- type: String,- value: ''- },-- _patternAlreadyChecked: {- type: Boolean,- value: false- }-- },-- listeners: {- 'input': '_onInput',- 'keypress': '_onKeypress'- },-- /** @suppress {checkTypes} */- registered: function() {- // Feature detect whether we need to patch dispatchEvent (i.e. on FF and IE).- if (!this._canDispatchEventOnDisabled()) {- this._origDispatchEvent = this.dispatchEvent;- this.dispatchEvent = this._dispatchEventFirefoxIE;- }- },-- created: function() {- Polymer.IronA11yAnnouncer.requestAvailability();- },-- _canDispatchEventOnDisabled: function() {- var input = document.createElement('input');- var canDispatch = false;- input.disabled = true;-- input.addEventListener('feature-check-dispatch-event', function() {- canDispatch = true;- });-- try {- input.dispatchEvent(new Event('feature-check-dispatch-event'));- } catch(e) {}-- return canDispatch;- },-- _dispatchEventFirefoxIE: function() {- // Due to Firefox bug, events fired on disabled form controls can throw- // errors; furthermore, neither IE nor Firefox will actually dispatch- // events from disabled form controls; as such, we toggle disable around- // the dispatch to allow notifying properties to notify- // See issue #47 for details- var disabled = this.disabled;- this.disabled = false;- this._origDispatchEvent.apply(this, arguments);- this.disabled = disabled;- },-- get _patternRegExp() {- var pattern;- if (this.allowedPattern) {- pattern = new RegExp(this.allowedPattern);- } else {- switch (this.type) {- case 'number':- pattern = /[0-9.,e-]/;- break;- }- }- return pattern;- },-- ready: function() {- this.bindValue = this.value;- },-- /**- * @suppress {checkTypes}- */- _bindValueChanged: function() {- if (this.value !== this.bindValue) {- this.value = !(this.bindValue || this.bindValue === 0 || this.bindValue === false) ? '' : this.bindValue;- }- // manually notify because we don't want to notify until after setting value- this.fire('bind-value-changed', {value: this.bindValue});- },-- _allowedPatternChanged: function() {- // Force to prevent invalid input when an `allowed-pattern` is set- this.preventInvalidInput = this.allowedPattern ? true : false;- },-- _onInput: function() {- // Need to validate each of the characters pasted if they haven't- // been validated inside `_onKeypress` already.- if (this.preventInvalidInput && !this._patternAlreadyChecked) {- var valid = this._checkPatternValidity();- if (!valid) {- this._announceInvalidCharacter('Invalid string of characters not entered.');- this.value = this._previousValidInput;- }- }-- this.bindValue = this.value;- this._previousValidInput = this.value;- this._patternAlreadyChecked = false;- },-- _isPrintable: function(event) {- // What a control/printable character is varies wildly based on the browser.- // - most control characters (arrows, backspace) do not send a `keypress` event- // in Chrome, but the *do* on Firefox- // - in Firefox, when they do send a `keypress` event, control chars have- // a charCode = 0, keyCode = xx (for ex. 40 for down arrow)- // - printable characters always send a keypress event.- // - in Firefox, printable chars always have a keyCode = 0. In Chrome, the keyCode- // always matches the charCode.- // None of this makes any sense.-- // For these keys, ASCII code == browser keycode.- var anyNonPrintable =- (event.keyCode == 8) || // backspace- (event.keyCode == 9) || // tab- (event.keyCode == 13) || // enter- (event.keyCode == 27); // escape-- // For these keys, make sure it's a browser keycode and not an ASCII code.- var mozNonPrintable =- (event.keyCode == 19) || // pause- (event.keyCode == 20) || // caps lock- (event.keyCode == 45) || // insert- (event.keyCode == 46) || // delete- (event.keyCode == 144) || // num lock- (event.keyCode == 145) || // scroll lock- (event.keyCode > 32 && event.keyCode < 41) || // page up/down, end, home, arrows- (event.keyCode > 111 && event.keyCode < 124); // fn keys-- return !anyNonPrintable && !(event.charCode == 0 && mozNonPrintable);- },-- _onKeypress: function(event) {- if (!this.preventInvalidInput && this.type !== 'number') {- return;- }- var regexp = this._patternRegExp;- if (!regexp) {- return;- }-- // Handle special keys and backspace- if (event.metaKey || event.ctrlKey || event.altKey)- return;-- // Check the pattern either here or in `_onInput`, but not in both.- this._patternAlreadyChecked = true;-- var thisChar = String.fromCharCode(event.charCode);- if (this._isPrintable(event) && !regexp.test(thisChar)) {- event.preventDefault();- this._announceInvalidCharacter('Invalid character ' + thisChar + ' not entered.');- }- },-- _checkPatternValidity: function() {- var regexp = this._patternRegExp;- if (!regexp) {- return true;- }- for (var i = 0; i < this.value.length; i++) {- if (!regexp.test(this.value[i])) {- return false;- }- }- return true;- },-- /**- * Returns true if `value` is valid. The validator provided in `validator` will be used first,- * then any constraints.- * @return {boolean} True if the value is valid.- */- validate: function() {- // First, check what the browser thinks. Some inputs (like type=number)- // behave weirdly and will set the value to "" if something invalid is- // entered, but will set the validity correctly.- var valid = this.checkValidity();-- // Only do extra checking if the browser thought this was valid.- if (valid) {- // Empty, required input is invalid- if (this.required && this.value === '') {- valid = false;- } else if (this.hasValidator()) {- valid = Polymer.IronValidatableBehavior.validate.call(this, this.value);- }- }-- this.invalid = !valid;- this.fire('iron-input-validate');- return valid;- },-- _announceInvalidCharacter: function(message) {- this.fire('iron-announce', { text: message });- }- });-- /*- The `iron-input-validate` event is fired whenever `validate()` is called.- @event iron-input-validate- */--</script>+<script>Polymer({is:"iron-input",extends:"input",behaviors:[Polymer.IronValidatableBehavior],properties:{bindValue:{observer:"_bindValueChanged",type:String},preventInvalidInput:{type:Boolean},allowedPattern:{type:String,observer:"_allowedPatternChanged"},_previousValidInput:{type:String,value:""},_patternAlreadyChecked:{type:Boolean,value:!1}},listeners:{input:"_onInput",keypress:"_onKeypress"},registered:function(){this._canDispatchEventOnDisabled()||(this._origDispatchEvent=this.dispatchEvent,this.dispatchEvent=this._dispatchEventFirefoxIE)},created:function(){Polymer.IronA11yAnnouncer.requestAvailability()},_canDispatchEventOnDisabled:function(){var e=document.createElement("input"),t=!1;e.disabled=!0,e.addEventListener("feature-check-dispatch-event",function(){t=!0});try{e.dispatchEvent(new Event("feature-check-dispatch-event"))}catch(e){}return t},_dispatchEventFirefoxIE:function(){var e=this.disabled;this.disabled=!1,this._origDispatchEvent.apply(this,arguments),this.disabled=e},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.type){case"number":e=/[0-9.,e-]/}return e},ready:function(){this.bindValue=this.value},_bindValueChanged:function(){this.value!==this.bindValue&&(this.value=this.bindValue||0===this.bindValue||this.bindValue===!1?this.bindValue:""),this.fire("bind-value-changed",{value:this.bindValue})},_allowedPatternChanged:function(){this.preventInvalidInput=!!this.allowedPattern},_onInput:function(){if(this.preventInvalidInput&&!this._patternAlreadyChecked){var e=this._checkPatternValidity();e||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.value=this._previousValidInput)}this.bindValue=this.value,this._previousValidInput=this.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,i=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&i)},_onKeypress:function(e){if(this.preventInvalidInput||"number"===this.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var i=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(i)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+i+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t<this.value.length;t++)if(!e.test(this.value[t]))return!1;return!0},validate:function(){var e=this.checkValidity();return e&&(this.required&&""===this.value?e=!1:this.hasValidator()&&(e=Polymer.IronValidatableBehavior.validate.call(this,this.value))),this.invalid=!e,this.fire("iron-input-validate"),e},_announceInvalidCharacter:function(e){this.fire("iron-announce",{text:e})}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-media-query/iron-media-query.html b/frontend/bower_components/iron-media-query/iron-media-query.htmlindex 60cb84b89..847932339 100644--- a/frontend/bower_components/iron-media-query/iron-media-query.html+++ b/frontend/bower_components/iron-media-query/iron-media-query.html@@ -1,121 +1,6 @@-<!---Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">-<!---`iron-media-query` can be used to data bind to a CSS media query.-The `query` property is a bare CSS media query.-The `query-matches` property is a boolean representing whether the page matches that media query.-Example:-- <iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>--@group Iron Elements-@demo demo/index.html-@hero hero.svg-@element iron-media-query--->--<script>-- Polymer({-- is: 'iron-media-query',-- properties: {-- /**- * The Boolean return value of the media query.- */- queryMatches: {- type: Boolean,- value: false,- readOnly: true,- notify: true- },-- /**- * The CSS media query to evaluate.- */- query: {- type: String,- observer: 'queryChanged'- },-- /**- * If true, the query attribute is assumed to be a complete media query- * string rather than a single media feature.- */- full: {- type: Boolean,- value: false- },-- /**- * @type {function(MediaQueryList)}- */- _boundMQHandler: {- value: function() {- return this.queryHandler.bind(this);- }- },-- /**- * @type {MediaQueryList}- */- _mq: {- value: null- }- },-- attached: function() {- this.style.display = 'none';- this.queryChanged();- },-- detached: function() {- this._remove();- },-- _add: function() {- if (this._mq) {- this._mq.addListener(this._boundMQHandler);- }- },-- _remove: function() {- if (this._mq) {- this._mq.removeListener(this._boundMQHandler);- }- this._mq = null;- },-- queryChanged: function() {- this._remove();- var query = this.query;- if (!query) {- return;- }- if (!this.full && query[0] !== '(') {- query = '(' + query + ')';- }- this._mq = window.matchMedia(query);- this._add();- this.queryHandler(this._mq);- },-- queryHandler: function(mq) {- this._setQueryMatches(mq.matches);- }-- });--</script>+<script>Polymer({is:"iron-media-query",properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"},full:{type:Boolean,value:!1},_boundMQHandler:{value:function(){return this.queryHandler.bind(this)}},_mq:{value:null}},attached:function(){this.style.display="none",this.queryChanged()},detached:function(){this._remove()},_add:function(){this._mq&&this._mq.addListener(this._boundMQHandler)},_remove:function(){this._mq&&this._mq.removeListener(this._boundMQHandler),this._mq=null},queryChanged:function(){this._remove();var e=this.query;e&&(this.full||"("===e[0]||(e="("+e+")"),this._mq=window.matchMedia(e),this._add(),this.queryHandler(this._mq))},queryHandler:function(e){this._setQueryMatches(e.matches)}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-menu-behavior/iron-menu-behavior.html b/frontend/bower_components/iron-menu-behavior/iron-menu-behavior.htmlindex ac5469962..c49d3ed37 100644--- a/frontend/bower_components/iron-menu-behavior/iron-menu-behavior.html+++ b/frontend/bower_components/iron-menu-behavior/iron-menu-behavior.html@@ -1,376 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-selector/iron-multi-selectable.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">-<script>-- /**- * `Polymer.IronMenuBehavior` implements accessible menu behavior.- *- * @demo demo/index.html- * @polymerBehavior Polymer.IronMenuBehavior- */- Polymer.IronMenuBehaviorImpl = {-- properties: {-- /**- * Returns the currently focused item.- * @type {?Object}- */- focusedItem: {- observer: '_focusedItemChanged',- readOnly: true,- type: Object- },-- /**- * The attribute to use on menu items to look up the item title. Typing the first- * letter of an item when the menu is open focuses that item. If unset, `textContent`- * will be used.- */- attrForItemTitle: {- type: String- }- },-- _SEARCH_RESET_TIMEOUT_MS: 1000,-- hostAttributes: {- 'role': 'menu',- 'tabindex': '0'- },-- observers: [- '_updateMultiselectable(multi)'- ],-- listeners: {- 'focus': '_onFocus',- 'keydown': '_onKeydown',- 'iron-items-changed': '_onIronItemsChanged'- },-- keyBindings: {- 'up': '_onUpKey',- 'down': '_onDownKey',- 'esc': '_onEscKey',- 'shift+tab:keydown': '_onShiftTabDown'- },-- attached: function() {- this._resetTabindices();- },-- /**- * Selects the given value. If the `multi` property is true, then the selected state of the- * `value` will be toggled; otherwise the `value` will be selected.- *- * @param {string|number} value the value to select.- */- select: function(value) {- // Cancel automatically focusing a default item if the menu received focus- // through a user action selecting a particular item.- if (this._defaultFocusAsync) {- this.cancelAsync(this._defaultFocusAsync);- this._defaultFocusAsync = null;- }- var item = this._valueToItem(value);- if (item && item.hasAttribute('disabled')) return;- this._setFocusedItem(item);- Polymer.IronMultiSelectableBehaviorImpl.select.apply(this, arguments);- },-- /**- * Resets all tabindex attributes to the appropriate value based on the- * current selection state. The appropriate value is `0` (focusable) for- * the default selected item, and `-1` (not keyboard focusable) for all- * other items.- */- _resetTabindices: function() {- var selectedItem = this.multi ? (this.selectedItems && this.selectedItems[0]) : this.selectedItem;-- this.items.forEach(function(item) {- item.setAttribute('tabindex', item === selectedItem ? '0' : '-1');- }, this);- },-- /**- * Sets appropriate ARIA based on whether or not the menu is meant to be- * multi-selectable.- *- * @param {boolean} multi True if the menu should be multi-selectable.- */- _updateMultiselectable: function(multi) {- if (multi) {- this.setAttribute('aria-multiselectable', 'true');- } else {- this.removeAttribute('aria-multiselectable');- }- },-- /**- * Given a KeyboardEvent, this method will focus the appropriate item in the- * menu (if there is a relevant item, and it is possible to focus it).- *- * @param {KeyboardEvent} event A KeyboardEvent.- */- _focusWithKeyboardEvent: function(event) {- this.cancelDebouncer('_clearSearchText');-- var searchText = this._searchText || '';- var key = event.key && event.key.length == 1 ? event.key :- String.fromCharCode(event.keyCode);- searchText += key.toLocaleLowerCase();-- var searchLength = searchText.length;-- for (var i = 0, item; item = this.items[i]; i++) {- if (item.hasAttribute('disabled')) {- continue;- }-- var attr = this.attrForItemTitle || 'textContent';- var title = (item[attr] || item.getAttribute(attr) || '').trim();-- if (title.length < searchLength) {- continue;- }-- if (title.slice(0, searchLength).toLocaleLowerCase() == searchText) {- this._setFocusedItem(item);- break;- }- }-- this._searchText = searchText;- this.debounce('_clearSearchText', this._clearSearchText,- this._SEARCH_RESET_TIMEOUT_MS);- },-- _clearSearchText: function() {- this._searchText = '';- },-- /**- * Focuses the previous item (relative to the currently focused item) in the- * menu, disabled items will be skipped.- * Loop until length + 1 to handle case of single item in menu.- */- _focusPrevious: function() {- var length = this.items.length;- var curFocusIndex = Number(this.indexOf(this.focusedItem));-- for (var i = 1; i < length + 1; i++) {- var item = this.items[(curFocusIndex - i + length) % length];- if (!item.hasAttribute('disabled')) {- var owner = Polymer.dom(item).getOwnerRoot() || document;- this._setFocusedItem(item);-- // Focus might not have worked, if the element was hidden or not- // focusable. In that case, try again.- if (Polymer.dom(owner).activeElement == item) {- return;- }- }- }- },-- /**- * Focuses the next item (relative to the currently focused item) in the- * menu, disabled items will be skipped.- * Loop until length + 1 to handle case of single item in menu.- */- _focusNext: function() {- var length = this.items.length;- var curFocusIndex = Number(this.indexOf(this.focusedItem));-- for (var i = 1; i < length + 1; i++) {- var item = this.items[(curFocusIndex + i) % length];- if (!item.hasAttribute('disabled')) {- var owner = Polymer.dom(item).getOwnerRoot() || document;- this._setFocusedItem(item);-- // Focus might not have worked, if the element was hidden or not- // focusable. In that case, try again.- if (Polymer.dom(owner).activeElement == item) {- return;- }- }- }- },-- /**- * Mutates items in the menu based on provided selection details, so that- * all items correctly reflect selection state.- *- * @param {Element} item An item in the menu.- * @param {boolean} isSelected True if the item should be shown in a- * selected state, otherwise false.- */- _applySelection: function(item, isSelected) {- if (isSelected) {- item.setAttribute('aria-selected', 'true');- } else {- item.removeAttribute('aria-selected');- }- Polymer.IronSelectableBehavior._applySelection.apply(this, arguments);- },-- /**- * Discretely updates tabindex values among menu items as the focused item- * changes.- *- * @param {Element} focusedItem The element that is currently focused.- * @param {?Element} old The last element that was considered focused, if- * applicable.- */- _focusedItemChanged: function(focusedItem, old) {- old && old.setAttribute('tabindex', '-1');- if (focusedItem) {- focusedItem.setAttribute('tabindex', '0');- focusedItem.focus();- }- },-- /**- * A handler that responds to mutation changes related to the list of items- * in the menu.- *- * @param {CustomEvent} event An event containing mutation records as its- * detail.- */- _onIronItemsChanged: function(event) {- if (event.detail.addedNodes.length) {- this._resetTabindices();- }- },-- /**- * Handler that is called when a shift+tab keypress is detected by the menu.- *- * @param {CustomEvent} event A key combination event.- */- _onShiftTabDown: function(event) {- var oldTabIndex = this.getAttribute('tabindex');-- Polymer.IronMenuBehaviorImpl._shiftTabPressed = true;-- this._setFocusedItem(null);-- this.setAttribute('tabindex', '-1');-- this.async(function() {- this.setAttribute('tabindex', oldTabIndex);- Polymer.IronMenuBehaviorImpl._shiftTabPressed = false;- // NOTE(cdata): polymer/polymer#1305- }, 1);- },-- /**- * Handler that is called when the menu receives focus.- *- * @param {FocusEvent} event A focus event.- */- _onFocus: function(event) {- if (Polymer.IronMenuBehaviorImpl._shiftTabPressed) {- // do not focus the menu itself- return;- }-- // Do not focus the selected tab if the deepest target is part of the- // menu element's local DOM and is focusable.- var rootTarget = /** @type {?HTMLElement} */(- Polymer.dom(event).rootTarget);- if (rootTarget !== this && typeof rootTarget.tabIndex !== "undefined" && !this.isLightDescendant(rootTarget)) {- return;- }-- // clear the cached focus item- this._defaultFocusAsync = this.async(function() {- // focus the selected item when the menu receives focus, or the first item- // if no item is selected- var selectedItem = this.multi ? (this.selectedItems && this.selectedItems[0]) : this.selectedItem;-- this._setFocusedItem(null);-- if (selectedItem) {- this._setFocusedItem(selectedItem);- } else if (this.items[0]) {- // We find the first none-disabled item (if one exists)- this._focusNext();- }- });- },-- /**- * Handler that is called when the up key is pressed.- *- * @param {CustomEvent} event A key combination event.- */- _onUpKey: function(event) {- // up and down arrows moves the focus- this._focusPrevious();- event.detail.keyboardEvent.preventDefault();- },-- /**- * Handler that is called when the down key is pressed.- *- * @param {CustomEvent} event A key combination event.- */- _onDownKey: function(event) {- this._focusNext();- event.detail.keyboardEvent.preventDefault();- },-- /**- * Handler that is called when the esc key is pressed.- *- * @param {CustomEvent} event A key combination event.- */- _onEscKey: function(event) {- // esc blurs the control- this.focusedItem.blur();- },-- /**- * Handler that is called when a keydown event is detected.- *- * @param {KeyboardEvent} event A keyboard event.- */- _onKeydown: function(event) {- if (!this.keyboardEventMatchesKeys(event, 'up down esc')) {- // all other keys focus the menu item starting with that character- this._focusWithKeyboardEvent(event);- }- event.stopPropagation();- },-- // override _activateHandler- _activateHandler: function(event) {- Polymer.IronSelectableBehavior._activateHandler.call(this, event);- event.stopPropagation();- }- };-- Polymer.IronMenuBehaviorImpl._shiftTabPressed = false;-- /** @polymerBehavior Polymer.IronMenuBehavior */- Polymer.IronMenuBehavior = [- Polymer.IronMultiSelectableBehavior,- Polymer.IronA11yKeysBehavior,- Polymer.IronMenuBehaviorImpl- ];--</script>+<script>Polymer.IronMenuBehaviorImpl={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String}},_SEARCH_RESET_TIMEOUT_MS:1e3,hostAttributes:{role:"menu",tabindex:"0"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown","iron-items-changed":"_onIronItemsChanged"},keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey","shift+tab:keydown":"_onShiftTabDown"},attached:function(){this._resetTabindices()},select:function(e){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var t=this._valueToItem(e);t&&t.hasAttribute("disabled")||(this._setFocusedItem(t),Polymer.IronMultiSelectableBehaviorImpl.select.apply(this,arguments))},_resetTabindices:function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach(function(t){t.setAttribute("tabindex",t===e?"0":"-1")},this)},_updateMultiselectable:function(e){e?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},_focusWithKeyboardEvent:function(e){this.cancelDebouncer("_clearSearchText");var t=this._searchText||"",s=e.key&&1==e.key.length?e.key:String.fromCharCode(e.keyCode);t+=s.toLocaleLowerCase();for(var i,o=t.length,n=0;i=this.items[n];n++)if(!i.hasAttribute("disabled")){var r=this.attrForItemTitle||"textContent",a=(i[r]||i.getAttribute(r)||"").trim();if(!(a.length<o)&&a.slice(0,o).toLocaleLowerCase()==t){this._setFocusedItem(i);break}}this._searchText=t,this.debounce("_clearSearchText",this._clearSearchText,this._SEARCH_RESET_TIMEOUT_MS)},_clearSearchText:function(){this._searchText=""},_focusPrevious:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),s=1;s<e+1;s++){var i=this.items[(t-s+e)%e];if(!i.hasAttribute("disabled")){var o=Polymer.dom(i).getOwnerRoot()||document;if(this._setFocusedItem(i),Polymer.dom(o).activeElement==i)return}}},_focusNext:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),s=1;s<e+1;s++){var i=this.items[(t+s)%e];if(!i.hasAttribute("disabled")){var o=Polymer.dom(i).getOwnerRoot()||document;if(this._setFocusedItem(i),Polymer.dom(o).activeElement==i)return}}},_applySelection:function(e,t){t?e.setAttribute("aria-selected","true"):e.removeAttribute("aria-selected"),Polymer.IronSelectableBehavior._applySelection.apply(this,arguments)},_focusedItemChanged:function(e,t){t&&t.setAttribute("tabindex","-1"),e&&(e.setAttribute("tabindex","0"),e.focus())},_onIronItemsChanged:function(e){e.detail.addedNodes.length&&this._resetTabindices()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");Polymer.IronMenuBehaviorImpl._shiftTabPressed=!0,this._setFocusedItem(null),this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),Polymer.IronMenuBehaviorImpl._shiftTabPressed=!1},1)},_onFocus:function(e){if(!Polymer.IronMenuBehaviorImpl._shiftTabPressed){var t=Polymer.dom(e).rootTarget;(t===this||"undefined"==typeof t.tabIndex||this.isLightDescendant(t))&&(this._defaultFocusAsync=this.async(function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this._setFocusedItem(null),e?this._setFocusedItem(e):this.items[0]&&this._focusNext()}))}},_onUpKey:function(e){this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onEscKey:function(e){this.focusedItem.blur()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down esc")||this._focusWithKeyboardEvent(e),e.stopPropagation()},_activateHandler:function(e){Polymer.IronSelectableBehavior._activateHandler.call(this,e),e.stopPropagation()}},Polymer.IronMenuBehaviorImpl._shiftTabPressed=!1,Polymer.IronMenuBehavior=[Polymer.IronMultiSelectableBehavior,Polymer.IronA11yKeysBehavior,Polymer.IronMenuBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-menu-behavior/iron-menubar-behavior.html b/frontend/bower_components/iron-menu-behavior/iron-menubar-behavior.htmlindex f3b651861..5eae3954c 100644--- a/frontend/bower_components/iron-menu-behavior/iron-menubar-behavior.html+++ b/frontend/bower_components/iron-menu-behavior/iron-menubar-behavior.html@@ -1,81 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="iron-menu-behavior.html">-<script>-- /**- * `Polymer.IronMenubarBehavior` implements accessible menubar behavior.- *- * @polymerBehavior Polymer.IronMenubarBehavior- */- Polymer.IronMenubarBehaviorImpl = {-- hostAttributes: {- 'role': 'menubar'- },-- keyBindings: {- 'left': '_onLeftKey',- 'right': '_onRightKey'- },-- _onUpKey: function(event) {- this.focusedItem.click();- event.detail.keyboardEvent.preventDefault();- },-- _onDownKey: function(event) {- this.focusedItem.click();- event.detail.keyboardEvent.preventDefault();- },-- get _isRTL() {- return window.getComputedStyle(this)['direction'] === 'rtl';- },-- _onLeftKey: function(event) {- if (this._isRTL) {- this._focusNext();- } else {- this._focusPrevious();- }- event.detail.keyboardEvent.preventDefault();- },-- _onRightKey: function(event) {- if (this._isRTL) {- this._focusPrevious();- } else {- this._focusNext();- }- event.detail.keyboardEvent.preventDefault();- },-- _onKeydown: function(event) {- if (this.keyboardEventMatchesKeys(event, 'up down left right esc')) {- return;- }-- // all other keys focus the menu item starting with that character- this._focusWithKeyboardEvent(event);- }-- };-- /** @polymerBehavior Polymer.IronMenubarBehavior */- Polymer.IronMenubarBehavior = [- Polymer.IronMenuBehavior,- Polymer.IronMenubarBehaviorImpl- ];--</script>+<script>Polymer.IronMenubarBehaviorImpl={hostAttributes:{role:"menubar"},keyBindings:{left:"_onLeftKey",right:"_onRightKey"},_onUpKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},get _isRTL(){return"rtl"===window.getComputedStyle(this).direction},_onLeftKey:function(e){this._isRTL?this._focusNext():this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onRightKey:function(e){this._isRTL?this._focusPrevious():this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down left right esc")||this._focusWithKeyboardEvent(e)}},Polymer.IronMenubarBehavior=[Polymer.IronMenuBehavior,Polymer.IronMenubarBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-meta/iron-meta.html b/frontend/bower_components/iron-meta/iron-meta.htmlindex 73d66ccc6..6176bf409 100644--- a/frontend/bower_components/iron-meta/iron-meta.html+++ b/frontend/bower_components/iron-meta/iron-meta.html@@ -1,333 +1,6 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">-<!---`iron-meta` is a generic element you can use for sharing information across the DOM tree.-It uses [monostate pattern](http://c2.com/cgi/wiki?MonostatePattern) such that any-instance of iron-meta has access to the shared-information. You can use `iron-meta` to share whatever you want (or create an extension-[like x-meta] for enhancements).-The `iron-meta` instances containing your actual data can be loaded in an import,-or constructed in any way you see fit. The only requirement is that you create them-before you try to access them.--Examples:--If I create an instance like this:-- <iron-meta key="info" value="foo/bar"></iron-meta>--Note that value="foo/bar" is the metadata I've defined. I could define more-attributes or use child nodes to define additional metadata.--Now I can access that element (and it's metadata) from any iron-meta instance-via the byKey method, e.g.-- meta.byKey('info');--Pure imperative form would be like:-- document.createElement('iron-meta').byKey('info');--Or, in a Polymer element, you can include a meta in your template:-- <iron-meta id="meta"></iron-meta>- ...- this.$.meta.byKey('info');--@group Iron Elements-@demo demo/index.html-@hero hero.svg-@element iron-meta--->--<script>-- (function() {-- // monostate data- var metaDatas = {};- var metaArrays = {};- var singleton = null;-- Polymer.IronMeta = Polymer({-- is: 'iron-meta',-- properties: {-- /**- * The type of meta-data. All meta-data of the same type is stored- * together.- */- type: {- type: String,- value: 'default',- observer: '_typeChanged'- },-- /**- * The key used to store `value` under the `type` namespace.- */- key: {- type: String,- observer: '_keyChanged'- },-- /**- * The meta-data to store or retrieve.- */- value: {- type: Object,- notify: true,- observer: '_valueChanged'- },-- /**- * If true, `value` is set to the iron-meta instance itself.- */- self: {- type: Boolean,- observer: '_selfChanged'- },-- /**- * Array of all meta-data values for the given type.- */- list: {- type: Array,- notify: true- }-- },-- hostAttributes: {- hidden: true- },-- /**- * Only runs if someone invokes the factory/constructor directly- * e.g. `new Polymer.IronMeta()`- *- * @param {{type: (string|undefined), key: (string|undefined), value}=} config- */- factoryImpl: function(config) {- if (config) {- for (var n in config) {- switch(n) {- case 'type':- case 'key':- case 'value':- this[n] = config[n];- break;- }- }- }- },-- created: function() {- // TODO(sjmiles): good for debugging?- this._metaDatas = metaDatas;- this._metaArrays = metaArrays;- },-- _keyChanged: function(key, old) {- this._resetRegistration(old);- },-- _valueChanged: function(value) {- this._resetRegistration(this.key);- },-- _selfChanged: function(self) {- if (self) {- this.value = this;- }- },-- _typeChanged: function(type) {- this._unregisterKey(this.key);- if (!metaDatas[type]) {- metaDatas[type] = {};- }- this._metaData = metaDatas[type];- if (!metaArrays[type]) {- metaArrays[type] = [];- }- this.list = metaArrays[type];- this._registerKeyValue(this.key, this.value);- },-- /**- * Retrieves meta data value by key.- *- * @method byKey- * @param {string} key The key of the meta-data to be returned.- * @return {*}- */- byKey: function(key) {- return this._metaData && this._metaData[key];- },-- _resetRegistration: function(oldKey) {- this._unregisterKey(oldKey);- this._registerKeyValue(this.key, this.value);- },-- _unregisterKey: function(key) {- this._unregister(key, this._metaData, this.list);- },-- _registerKeyValue: function(key, value) {- this._register(key, value, this._metaData, this.list);- },-- _register: function(key, value, data, list) {- if (key && data && value !== undefined) {- data[key] = value;- list.push(value);- }- },-- _unregister: function(key, data, list) {- if (key && data) {- if (key in data) {- var value = data[key];- delete data[key];- this.arrayDelete(list, value);- }- }- }-- });-- Polymer.IronMeta.getIronMeta = function getIronMeta() {- if (singleton === null) {- singleton = new Polymer.IronMeta();- }- return singleton;- };-- /**- `iron-meta-query` can be used to access infomation stored in `iron-meta`.-- Examples:-- If I create an instance like this:-- <iron-meta key="info" value="foo/bar"></iron-meta>-- Note that value="foo/bar" is the metadata I've defined. I could define more- attributes or use child nodes to define additional metadata.-- Now I can access that element (and it's metadata) from any `iron-meta-query` instance:-- var value = new Polymer.IronMetaQuery({key: 'info'}).value;-- @group Polymer Iron Elements- @element iron-meta-query- */- Polymer.IronMetaQuery = Polymer({-- is: 'iron-meta-query',-- properties: {-- /**- * The type of meta-data. All meta-data of the same type is stored- * together.- */- type: {- type: String,- value: 'default',- observer: '_typeChanged'- },-- /**- * Specifies a key to use for retrieving `value` from the `type`- * namespace.- */- key: {- type: String,- observer: '_keyChanged'- },-- /**- * The meta-data to store or retrieve.- */- value: {- type: Object,- notify: true,- readOnly: true- },-- /**- * Array of all meta-data values for the given type.- */- list: {- type: Array,- notify: true- }-- },-- /**- * Actually a factory method, not a true constructor. Only runs if- * someone invokes it directly (via `new Polymer.IronMeta()`);- *- * @param {{type: (string|undefined), key: (string|undefined)}=} config- */- factoryImpl: function(config) {- if (config) {- for (var n in config) {- switch(n) {- case 'type':- case 'key':- this[n] = config[n];- break;- }- }- }- },-- created: function() {- // TODO(sjmiles): good for debugging?- this._metaDatas = metaDatas;- this._metaArrays = metaArrays;- },-- _keyChanged: function(key) {- this._setValue(this._metaData && this._metaData[key]);- },-- _typeChanged: function(type) {- this._metaData = metaDatas[type];- this.list = metaArrays[type];- if (this.key) {- this._keyChanged(this.key);- }- },-- /**- * Retrieves meta data value by key.- * @param {string} key The key of the meta-data to be returned.- * @return {*}- */- byKey: function(key) {- return this._metaData && this._metaData[key];- }-- });-- })();-</script>+<script>!function(){var e={},t={},i=null;Polymer.IronMeta=Polymer({is:"iron-meta",properties:{type:{type:String,value:"default",observer:"_typeChanged"},key:{type:String,observer:"_keyChanged"},value:{type:Object,notify:!0,observer:"_valueChanged"},self:{type:Boolean,observer:"_selfChanged"},list:{type:Array,notify:!0}},hostAttributes:{hidden:!0},factoryImpl:function(e){if(e)for(var t in e)switch(t){case"type":case"key":case"value":this[t]=e[t]}},created:function(){this._metaDatas=e,this._metaArrays=t},_keyChanged:function(e,t){this._resetRegistration(t)},_valueChanged:function(e){this._resetRegistration(this.key)},_selfChanged:function(e){e&&(this.value=this)},_typeChanged:function(i){this._unregisterKey(this.key),e[i]||(e[i]={}),this._metaData=e[i],t[i]||(t[i]=[]),this.list=t[i],this._registerKeyValue(this.key,this.value)},byKey:function(e){return this._metaData&&this._metaData[e]},_resetRegistration:function(e){this._unregisterKey(e),this._registerKeyValue(this.key,this.value)},_unregisterKey:function(e){this._unregister(e,this._metaData,this.list)},_registerKeyValue:function(e,t){this._register(e,t,this._metaData,this.list)},_register:function(e,t,i,a){e&&i&&void 0!==t&&(i[e]=t,a.push(t))},_unregister:function(e,t,i){if(e&&t&&e in t){var a=t[e];delete t[e],this.arrayDelete(i,a)}}}),Polymer.IronMeta.getIronMeta=function(){return null===i&&(i=new Polymer.IronMeta),i},Polymer.IronMetaQuery=Polymer({is:"iron-meta-query",properties:{type:{type:String,value:"default",observer:"_typeChanged"},key:{type:String,observer:"_keyChanged"},value:{type:Object,notify:!0,readOnly:!0},list:{type:Array,notify:!0}},factoryImpl:function(e){if(e)for(var t in e)switch(t){case"type":case"key":this[t]=e[t]}},created:function(){this._metaDatas=e,this._metaArrays=t},_keyChanged:function(e){this._setValue(this._metaData&&this._metaData[e])},_typeChanged:function(i){this._metaData=e[i],this.list=t[i],this.key&&this._keyChanged(this.key)},byKey:function(e){return this._metaData&&this._metaData[e]}})}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-overlay-behavior/iron-focusables-helper.html b/frontend/bower_components/iron-overlay-behavior/iron-focusables-helper.htmlindex 084ad7d2b..5c8a663f4 100644--- a/frontend/bower_components/iron-overlay-behavior/iron-focusables-helper.html+++ b/frontend/bower_components/iron-overlay-behavior/iron-focusables-helper.html@@ -1,220 +1,4 @@-<!doctype html>-<!---@license-Copyright (c) 2016 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--->-<link rel="import" href="../polymer/polymer.html">+<!DOCTYPE html><html><head><link rel="import" href="../polymer/polymer.html">-<script>- (function() {- 'use strict';-- var p = Element.prototype;- var matches = p.matches || p.matchesSelector || p.mozMatchesSelector ||- p.msMatchesSelector || p.oMatchesSelector || p.webkitMatchesSelector;-- Polymer.IronFocusablesHelper = {-- /**- * Returns a sorted array of tabbable nodes, including the root node.- * It searches the tabbable nodes in the light and shadow dom of the chidren,- * sorting the result by tabindex.- * @param {!Node} node- * @return {Array<HTMLElement>}- */- getTabbableNodes: function(node) {- var result = [];- // If there is at least one element with tabindex > 0, we need to sort- // the final array by tabindex.- var needsSortByTabIndex = this._collectTabbableNodes(node, result);- if (needsSortByTabIndex) {- return this._sortByTabIndex(result);- }- return result;- },-- /**- * Returns if a element is focusable.- * @param {!HTMLElement} element- * @return {boolean}- */- isFocusable: function(element) {- // From http://stackoverflow.com/a/1600194/4228703:- // There isn't a definite list, it's up to the browser. The only- // standard we have is DOM Level 2 HTML https://www.w3.org/TR/DOM-Level-2-HTML/html.html,- // according to which the only elements that have a focus() method are- // HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement and- // HTMLAnchorElement. This notably omits HTMLButtonElement and- // HTMLAreaElement.- // Referring to these tests with tabbables in different browsers- // http://allyjs.io/data-tables/focusable.html-- // Elements that cannot be focused if they have [disabled] attribute.- if (matches.call(element, 'input, select, textarea, button, object')) {- return matches.call(element, ':not([disabled])');- }- // Elements that can be focused even if they have [disabled] attribute.- return matches.call(element,- 'a[href], area[href], iframe, [tabindex], [contentEditable]');- },-- /**- * Returns if a element is tabbable. To be tabbable, a element must be- * focusable, visible, and with a tabindex !== -1.- * @param {!HTMLElement} element- * @return {boolean}- */- isTabbable: function(element) {- return this.isFocusable(element) &&- matches.call(element, ':not([tabindex="-1"])') &&- this._isVisible(element);- },-- /**- * Returns the normalized element tabindex. If not focusable, returns -1.- * It checks for the attribute "tabindex" instead of the element property- * `tabIndex` since browsers assign different values to it.- * e.g. in Firefox `<div contenteditable>` has `tabIndex = -1`- * @param {!HTMLElement} element- * @return {!number}- * @private- */- _normalizedTabIndex: function(element) {- if (this.isFocusable(element)) {- var tabIndex = element.getAttribute('tabindex') || 0;- return Number(tabIndex);- }- return -1;- },-- /**- * Searches for nodes that are tabbable and adds them to the `result` array.- * Returns if the `result` array needs to be sorted by tabindex.- * @param {!Node} node The starting point for the search; added to `result`- * if tabbable.- * @param {!Array<HTMLElement>} result- * @return {boolean}- * @private- */- _collectTabbableNodes: function(node, result) {- // If not an element or not visible, no need to explore children.- if (node.nodeType !== Node.ELEMENT_NODE || !this._isVisible(node)) {- return false;- }- var element = /** @type {HTMLElement} */ (node);- var tabIndex = this._normalizedTabIndex(element);- var needsSortByTabIndex = tabIndex > 0;- if (tabIndex >= 0) {- result.push(element);- }-- // In ShadowDOM v1, tab order is affected by the order of distrubution.- // E.g. getTabbableNodes(#root) in ShadowDOM v1 should return [#A, #B];- // in ShadowDOM v0 tab order is not affected by the distrubution order,- // in fact getTabbableNodes(#root) returns [#B, #A].- // <div id="root">- // <!-- shadow -->- // <slot name="a">- // <slot name="b">- // <!-- /shadow -->- // <input id="A" slot="a">- // <input id="B" slot="b" tabindex="1">- // </div>- // TODO(valdrin) support ShadowDOM v1 when upgrading to Polymer v2.0.- var children;- if (element.localName === 'content') {- children = Polymer.dom(element).getDistributedNodes();- } else {- // Use shadow root if possible, will check for distributed nodes.- children = Polymer.dom(element.root || element).children;- }- for (var i = 0; i < children.length; i++) {- // Ensure method is always invoked to collect tabbable children.- var needsSort = this._collectTabbableNodes(children[i], result);- needsSortByTabIndex = needsSortByTabIndex || needsSort;- }- return needsSortByTabIndex;- },-- /**- * Returns false if the element has `visibility: hidden` or `display: none`- * @param {!HTMLElement} element- * @return {boolean}- * @private- */- _isVisible: function(element) {- // Check inline style first to save a re-flow. If looks good, check also- // computed style.- var style = element.style;- if (style.visibility !== 'hidden' && style.display !== 'none') {- style = window.getComputedStyle(element);- return (style.visibility !== 'hidden' && style.display !== 'none');- }- return false;- },-- /**- * Sorts an array of tabbable elements by tabindex. Returns a new array.- * @param {!Array<HTMLElement>} tabbables- * @return {Array<HTMLElement>}- * @private- */- _sortByTabIndex: function(tabbables) {- // Implement a merge sort as Array.prototype.sort does a non-stable sort- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort- var len = tabbables.length;- if (len < 2) {- return tabbables;- }- var pivot = Math.ceil(len / 2);- var left = this._sortByTabIndex(tabbables.slice(0, pivot));- var right = this._sortByTabIndex(tabbables.slice(pivot));- return this._mergeSortByTabIndex(left, right);- },-- /**- * Merge sort iterator, merges the two arrays into one, sorted by tab index.- * @param {!Array<HTMLElement>} left- * @param {!Array<HTMLElement>} right- * @return {Array<HTMLElement>}- * @private- */- _mergeSortByTabIndex: function(left, right) {- var result = [];- while ((left.length > 0) && (right.length > 0)) {- if (this._hasLowerTabOrder(left[0], right[0])) {- result.push(right.shift());- } else {- result.push(left.shift());- }- }-- return result.concat(left, right);- },-- /**- * Returns if element `a` has lower tab order compared to element `b`- * (both elements are assumed to be focusable and tabbable).- * Elements with tabindex = 0 have lower tab order compared to elements- * with tabindex > 0.- * If both have same tabindex, it returns false.- * @param {!HTMLElement} a- * @param {!HTMLElement} b- * @return {boolean}- * @private- */- _hasLowerTabOrder: function(a, b) {- // Normalize tabIndexes- // e.g. in Firefox `<div contenteditable>` has `tabIndex = -1`- var ati = Math.max(a.tabIndex, 0);- var bti = Math.max(b.tabIndex, 0);- return (ati === 0 || bti === 0) ? bti > ati : ati > bti;- }- };- })();-</script>+<script>!function(){"use strict";var e=Element.prototype,t=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;Polymer.IronFocusablesHelper={getTabbableNodes:function(e){var t=[],r=this._collectTabbableNodes(e,t);return r?this._sortByTabIndex(t):t},isFocusable:function(e){return t.call(e,"input, select, textarea, button, object")?t.call(e,":not([disabled])"):t.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&t.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var r=e,a=this._normalizedTabIndex(r),i=a>0;a>=0&&t.push(r);var n;n="content"===r.localName?Polymer.dom(r).getDistributedNodes():Polymer.dom(r.root||r).children;for(var o=0;o<n.length;o++){var s=this._collectTabbableNodes(n[o],t);i=i||s}return i},_isVisible:function(e){var t=e.style;return"hidden"!==t.visibility&&"none"!==t.display&&(t=window.getComputedStyle(e),"hidden"!==t.visibility&&"none"!==t.display)},_sortByTabIndex:function(e){var t=e.length;if(t<2)return e;var r=Math.ceil(t/2),a=this._sortByTabIndex(e.slice(0,r)),i=this._sortByTabIndex(e.slice(r));return this._mergeSortByTabIndex(a,i)},_mergeSortByTabIndex:function(e,t){for(var r=[];e.length>0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?r.push(t.shift()):r.push(e.shift());return r.concat(e,t)},_hasLowerTabOrder:function(e,t){var r=Math.max(e.tabIndex,0),a=Math.max(t.tabIndex,0);return 0===r||0===a?a>r:r>a}}}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html b/frontend/bower_components/iron-overlay-behavior/iron-overlay-backdrop.htmlindex 432a57e11..3e0f74514 100644--- a/frontend/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html+++ b/frontend/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html@@ -1,32 +1,8 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">-<!---`iron-overlay-backdrop` is a backdrop used by `Polymer.IronOverlayBehavior`. It should be a-singleton.-### Styling--The following custom properties and mixins are available for styling.--Custom property | Description | Default--------------------------------------------|------------------------|----------`--iron-overlay-backdrop-background-color` | Backdrop background color | #000-`--iron-overlay-backdrop-opacity` | Backdrop opacity | 0.6-`--iron-overlay-backdrop` | Mixin applied to `iron-overlay-backdrop`. | {}-`--iron-overlay-backdrop-opened` | Mixin applied to `iron-overlay-backdrop` when it is displayed | {}--->--<dom-module id="iron-overlay-backdrop">+</head><body><dom-module id="iron-overlay-backdrop"><template><style>@@ -55,114 +31,5 @@ Custom property | Description | Default</dom-module>-<script>-(function() {-'use strict';-- Polymer({-- is: 'iron-overlay-backdrop',-- properties: {-- /**- * Returns true if the backdrop is opened.- */- opened: {- reflectToAttribute: true,- type: Boolean,- value: false,- observer: '_openedChanged'- }-- },-- listeners: {- 'transitionend': '_onTransitionend'- },-- created: function() {- // Used to cancel previous requestAnimationFrame calls when opened changes.- this.__openedRaf = null;- },-- attached: function() {- this.opened && this._openedChanged(this.opened);- },-- /**- * Appends the backdrop to document body if needed.- */- prepare: function() {- if (this.opened && !this.parentNode) {- Polymer.dom(document.body).appendChild(this);- }- },-- /**- * Shows the backdrop.- */- open: function() {- this.opened = true;- },-- /**- * Hides the backdrop.- */- close: function() {- this.opened = false;- },-- /**- * Removes the backdrop from document body if needed.- */- complete: function() {- if (!this.opened && this.parentNode === document.body) {- Polymer.dom(this.parentNode).removeChild(this);- }- },-- _onTransitionend: function(event) {- if (event && event.target === this) {- this.complete();- }- },-- /**- * @param {boolean} opened- * @private- */- _openedChanged: function(opened) {- if (opened) {- // Auto-attach.- this.prepare();- } else {- // Animation might be disabled via the mixin or opacity custom property.- // If it is disabled in other ways, it's up to the user to call complete.- var cs = window.getComputedStyle(this);- if (cs.transitionDuration === '0s' || cs.opacity == 0) {- this.complete();- }- }-- if (!this.isAttached) {- return;- }-- // Always cancel previous requestAnimationFrame.- if (this.__openedRaf) {- window.cancelAnimationFrame(this.__openedRaf);- this.__openedRaf = null;- }- // Force relayout to ensure proper transitions.- this.scrollTop = this.scrollTop;- this.__openedRaf = window.requestAnimationFrame(function() {- this.__openedRaf = null;- this.toggleClass('opened', this.opened);- }.bind(this));- }- });--})();--</script>+<script>!function(){"use strict";Polymer({is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Polymer.dom(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Polymer.dom(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}})}();</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-overlay-behavior/iron-overlay-behavior.html b/frontend/bower_components/iron-overlay-behavior/iron-overlay-behavior.htmlindex af3be8e82..58a0ab06d 100644--- a/frontend/bower_components/iron-overlay-behavior/iron-overlay-behavior.html+++ b/frontend/bower_components/iron-overlay-behavior/iron-overlay-behavior.html@@ -1,638 +1,8 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-fit-behavior/iron-fit-behavior.html"><link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="iron-overlay-manager.html"><link rel="import" href="iron-focusables-helper.html">-<script>-(function() {-'use strict';--/**-Use `Polymer.IronOverlayBehavior` to implement an element that can be hidden or shown, and displays-on top of other content. It includes an optional backdrop, and can be used to implement a variety-of UI controls including dialogs and drop downs. Multiple overlays may be displayed at once.--See the [demo source code](https://github.com/PolymerElements/iron-overlay-behavior/blob/master/demo/simple-overlay.html)-for an example.--### Closing and canceling--An overlay may be hidden by closing or canceling. The difference between close and cancel is user-intent. Closing generally implies that the user acknowledged the content on the overlay. By default,-it will cancel whenever the user taps outside it or presses the escape key. This behavior is-configurable with the `no-cancel-on-esc-key` and the `no-cancel-on-outside-click` properties.-`close()` should be called explicitly by the implementer when the user interacts with a control-in the overlay element. When the dialog is canceled, the overlay fires an 'iron-overlay-canceled'-event. Call `preventDefault` on this event to prevent the overlay from closing.--### Positioning--By default the element is sized and positioned to fit and centered inside the window. You can-position and size it manually using CSS. See `Polymer.IronFitBehavior`.--### Backdrop--Set the `with-backdrop` attribute to display a backdrop behind the overlay. The backdrop is-appended to `<body>` and is of type `<iron-overlay-backdrop>`. See its doc page for styling-options.--In addition, `with-backdrop` will wrap the focus within the content in the light DOM.-Override the [`_focusableNodes` getter](#Polymer.IronOverlayBehavior:property-_focusableNodes)-to achieve a different behavior.--### Limitations--The element is styled to appear on top of other content by setting its `z-index` property. You-must ensure no element has a stacking context with a higher `z-index` than its parent stacking-context. You should place this element as a child of `<body>` whenever possible.--@demo demo/index.html-@polymerBehavior Polymer.IronOverlayBehavior-*/-- Polymer.IronOverlayBehaviorImpl = {-- properties: {-- /**- * True if the overlay is currently displayed.- */- opened: {- observer: '_openedChanged',- type: Boolean,- value: false,- notify: true- },-- /**- * True if the overlay was canceled when it was last closed.- */- canceled: {- observer: '_canceledChanged',- readOnly: true,- type: Boolean,- value: false- },-- /**- * Set to true to display a backdrop behind the overlay. It traps the focus- * within the light DOM of the overlay.- */- withBackdrop: {- observer: '_withBackdropChanged',- type: Boolean- },-- /**- * Set to true to disable auto-focusing the overlay or child nodes with- * the `autofocus` attribute` when the overlay is opened.- */- noAutoFocus: {- type: Boolean,- value: false- },-- /**- * Set to true to disable canceling the overlay with the ESC key.- */- noCancelOnEscKey: {- type: Boolean,- value: false- },-- /**- * Set to true to disable canceling the overlay by clicking outside it.- */- noCancelOnOutsideClick: {- type: Boolean,- value: false- },-- /**- * Contains the reason(s) this overlay was last closed (see `iron-overlay-closed`).- * `IronOverlayBehavior` provides the `canceled` reason; implementers of the- * behavior can provide other reasons in addition to `canceled`.- */- closingReason: {- // was a getter before, but needs to be a property so other- // behaviors can override this.- type: Object- },-- /**- * Set to true to enable restoring of focus when overlay is closed.- */- restoreFocusOnClose: {- type: Boolean,- value: false- },-- /**- * Set to true to keep overlay always on top.- */- alwaysOnTop: {- type: Boolean- },-- /**- * Shortcut to access to the overlay manager.- * @private- * @type {Polymer.IronOverlayManagerClass}- */- _manager: {- type: Object,- value: Polymer.IronOverlayManager- },-- /**- * The node being focused.- * @type {?Node}- */- _focusedChild: {- type: Object- }-- },-- listeners: {- 'iron-resize': '_onIronResize'- },-- /**- * The backdrop element.- * @type {Element}- */- get backdropElement() {- return this._manager.backdropElement;- },-- /**- * Returns the node to give focus to.- * @type {Node}- */- get _focusNode() {- return this._focusedChild || Polymer.dom(this).querySelector('[autofocus]') || this;- },-- /**- * Array of nodes that can receive focus (overlay included), ordered by `tabindex`.- * This is used to retrieve which is the first and last focusable nodes in order- * to wrap the focus for overlays `with-backdrop`.- *- * If you know what is your content (specifically the first and last focusable children),- * you can override this method to return only `[firstFocusable, lastFocusable];`- * @type {Array<Node>}- * @protected- */- get _focusableNodes() {- return Polymer.IronFocusablesHelper.getTabbableNodes(this);- },-- ready: function() {- // Used to skip calls to notifyResize and refit while the overlay is animating.- this.__isAnimating = false;- // with-backdrop needs tabindex to be set in order to trap the focus.- // If it is not set, IronOverlayBehavior will set it, and remove it if with-backdrop = false.- this.__shouldRemoveTabIndex = false;- // Used for wrapping the focus on TAB / Shift+TAB.- this.__firstFocusableNode = this.__lastFocusableNode = null;- // Used by __onNextAnimationFrame to cancel any previous callback.- this.__raf = null;- // Focused node before overlay gets opened. Can be restored on close.- this.__restoreFocusNode = null;- this._ensureSetup();- },-- attached: function() {- // Call _openedChanged here so that position can be computed correctly.- if (this.opened) {- this._openedChanged(this.opened);- }- this._observer = Polymer.dom(this).observeNodes(this._onNodesChange);- },-- detached: function() {- Polymer.dom(this).unobserveNodes(this._observer);- this._observer = null;- if (this.__raf) {- window.cancelAnimationFrame(this.__raf);- this.__raf = null;- }- this._manager.removeOverlay(this);- },-- /**- * Toggle the opened state of the overlay.- */- toggle: function() {- this._setCanceled(false);- this.opened = !this.opened;- },-- /**- * Open the overlay.- */- open: function() {- this._setCanceled(false);- this.opened = true;- },-- /**- * Close the overlay.- */- close: function() {- this._setCanceled(false);- this.opened = false;- },-- /**- * Cancels the overlay.- * @param {Event=} event The original event- */- cancel: function(event) {- var cancelEvent = this.fire('iron-overlay-canceled', event, {cancelable: true});- if (cancelEvent.defaultPrevented) {- return;- }-- this._setCanceled(true);- this.opened = false;- },-- /**- * Invalidates the cached tabbable nodes. To be called when any of the focusable- * content changes (e.g. a button is disabled).- */- invalidateTabbables: function() {- this.__firstFocusableNode = this.__lastFocusableNode = null;- },-- _ensureSetup: function() {- if (this._overlaySetup) {- return;- }- this._overlaySetup = true;- this.style.outline = 'none';- this.style.display = 'none';- },-- /**- * Called when `opened` changes.- * @param {boolean=} opened- * @protected- */- _openedChanged: function(opened) {- if (opened) {- this.removeAttribute('aria-hidden');- } else {- this.setAttribute('aria-hidden', 'true');- }-- // Defer any animation-related code on attached- // (_openedChanged gets called again on attached).- if (!this.isAttached) {- return;- }-- this.__isAnimating = true;-- // Use requestAnimationFrame for non-blocking rendering.- this.__onNextAnimationFrame(this.__openedChanged);- },-- _canceledChanged: function() {- this.closingReason = this.closingReason || {};- this.closingReason.canceled = this.canceled;- },-- _withBackdropChanged: function() {- // If tabindex is already set, no need to override it.- if (this.withBackdrop && !this.hasAttribute('tabindex')) {- this.setAttribute('tabindex', '-1');- this.__shouldRemoveTabIndex = true;- } else if (this.__shouldRemoveTabIndex) {- this.removeAttribute('tabindex');- this.__shouldRemoveTabIndex = false;- }- if (this.opened && this.isAttached) {- this._manager.trackBackdrop();- }- },-- /**- * tasks which must occur before opening; e.g. making the element visible.- * @protected- */- _prepareRenderOpened: function() {- // Store focused node.- this.__restoreFocusNode = this._manager.deepActiveElement;-- // Needed to calculate the size of the overlay so that transitions on its size- // will have the correct starting points.- this._preparePositioning();- this.refit();- this._finishPositioning();-- // Safari will apply the focus to the autofocus element when displayed- // for the first time, so we make sure to return the focus where it was.- if (this.noAutoFocus && document.activeElement === this._focusNode) {- this._focusNode.blur();- this.__restoreFocusNode.focus();- }- },-- /**- * Tasks which cause the overlay to actually open; typically play an animation.- * @protected- */- _renderOpened: function() {- this._finishRenderOpened();- },-- /**- * Tasks which cause the overlay to actually close; typically play an animation.- * @protected- */- _renderClosed: function() {- this._finishRenderClosed();- },-- /**- * Tasks to be performed at the end of open action. Will fire `iron-overlay-opened`.- * @protected- */- _finishRenderOpened: function() {- this.notifyResize();- this.__isAnimating = false;-- this.fire('iron-overlay-opened');- },-- /**- * Tasks to be performed at the end of close action. Will fire `iron-overlay-closed`.- * @protected- */- _finishRenderClosed: function() {- // Hide the overlay.- this.style.display = 'none';- // Reset z-index only at the end of the animation.- this.style.zIndex = '';- this.notifyResize();- this.__isAnimating = false;- this.fire('iron-overlay-closed', this.closingReason);- },-- _preparePositioning: function() {- this.style.transition = this.style.webkitTransition = 'none';- this.style.transform = this.style.webkitTransform = 'none';- this.style.display = '';- },-- _finishPositioning: function() {- // First, make it invisible & reactivate animations.- this.style.display = 'none';- // Force reflow before re-enabling animations so that they don't start.- // Set scrollTop to itself so that Closure Compiler doesn't remove this.- this.scrollTop = this.scrollTop;- this.style.transition = this.style.webkitTransition = '';- this.style.transform = this.style.webkitTransform = '';- // Now that animations are enabled, make it visible again- this.style.display = '';- // Force reflow, so that following animations are properly started.- // Set scrollTop to itself so that Closure Compiler doesn't remove this.- this.scrollTop = this.scrollTop;- },-- /**- * Applies focus according to the opened state.- * @protected- */- _applyFocus: function() {- if (this.opened) {- if (!this.noAutoFocus) {- this._focusNode.focus();- }- }- else {- this._focusNode.blur();- this._focusedChild = null;- // Restore focus.- if (this.restoreFocusOnClose && this.__restoreFocusNode) {- this.__restoreFocusNode.focus();- }- this.__restoreFocusNode = null;- // If many overlays get closed at the same time, one of them would still- // be the currentOverlay even if already closed, and would call _applyFocus- // infinitely, so we check for this not to be the current overlay.- var currentOverlay = this._manager.currentOverlay();- if (currentOverlay && this !== currentOverlay) {- currentOverlay._applyFocus();- }- }- },-- /**- * Cancels (closes) the overlay. Call when click happens outside the overlay.- * @param {!Event} event- * @protected- */- _onCaptureClick: function(event) {- if (!this.noCancelOnOutsideClick) {- this.cancel(event);- }- },-- /**- * Keeps track of the focused child. If withBackdrop, traps focus within overlay.- * @param {!Event} event- * @protected- */- _onCaptureFocus: function (event) {- if (!this.withBackdrop) {- return;- }- var path = Polymer.dom(event).path;- if (path.indexOf(this) === -1) {- event.stopPropagation();- this._applyFocus();- } else {- this._focusedChild = path[0];- }- },-- /**- * Handles the ESC key event and cancels (closes) the overlay.- * @param {!Event} event- * @protected- */- _onCaptureEsc: function(event) {- if (!this.noCancelOnEscKey) {- this.cancel(event);- }- },-- /**- * Handles TAB key events to track focus changes.- * Will wrap focus for overlays withBackdrop.- * @param {!Event} event- * @protected- */- _onCaptureTab: function(event) {- if (!this.withBackdrop) {- return;- }- this.__ensureFirstLastFocusables();- // TAB wraps from last to first focusable.- // Shift + TAB wraps from first to last focusable.- var shift = event.shiftKey;- var nodeToCheck = shift ? this.__firstFocusableNode : this.__lastFocusableNode;- var nodeToSet = shift ? this.__lastFocusableNode : this.__firstFocusableNode;- var shouldWrap = false;- if (nodeToCheck === nodeToSet) {- // If nodeToCheck is the same as nodeToSet, it means we have an overlay- // with 0 or 1 focusables; in either case we still need to trap the- // focus within the overlay.- shouldWrap = true;- } else {- // In dom=shadow, the manager will receive focus changes on the main- // root but not the ones within other shadow roots, so we can't rely on- // _focusedChild, but we should check the deepest active element.- var focusedNode = this._manager.deepActiveElement;- // If the active element is not the nodeToCheck but the overlay itself,- // it means the focus is about to go outside the overlay, hence we- // should prevent that (e.g. user opens the overlay and hit Shift+TAB).- shouldWrap = (focusedNode === nodeToCheck || focusedNode === this);- }-- if (shouldWrap) {- // When the overlay contains the last focusable element of the document- // and it's already focused, pressing TAB would move the focus outside- // the document (e.g. to the browser search bar). Similarly, when the- // overlay contains the first focusable element of the document and it's- // already focused, pressing Shift+TAB would move the focus outside the- // document (e.g. to the browser search bar).- // In both cases, we would not receive a focus event, but only a blur.- // In order to achieve focus wrapping, we prevent this TAB event and- // force the focus. This will also prevent the focus to temporarily move- // outside the overlay, which might cause scrolling.- event.preventDefault();- this._focusedChild = nodeToSet;- this._applyFocus();- }- },-- /**- * Refits if the overlay is opened and not animating.- * @protected- */- _onIronResize: function() {- if (this.opened && !this.__isAnimating) {- this.__onNextAnimationFrame(this.refit);- }- },-- /**- * Will call notifyResize if overlay is opened.- * Can be overridden in order to avoid multiple observers on the same node.- * @protected- */- _onNodesChange: function() {- if (this.opened && !this.__isAnimating) {- // It might have added focusable nodes, so invalidate cached values.- this.invalidateTabbables();- this.notifyResize();- }- },-- /**- * Will set first and last focusable nodes if any of them is not set.- * @private- */- __ensureFirstLastFocusables: function() {- if (!this.__firstFocusableNode || !this.__lastFocusableNode) {- var focusableNodes = this._focusableNodes;- this.__firstFocusableNode = focusableNodes[0];- this.__lastFocusableNode = focusableNodes[focusableNodes.length - 1];- }- },-- /**- * Tasks executed when opened changes: prepare for the opening, move the- * focus, update the manager, render opened/closed.- * @private- */- __openedChanged: function() {- if (this.opened) {- // Make overlay visible, then add it to the manager.- this._prepareRenderOpened();- this._manager.addOverlay(this);- // Move the focus to the child node with [autofocus].- this._applyFocus();-- this._renderOpened();- } else {- // Remove overlay, then restore the focus before actually closing.- this._manager.removeOverlay(this);- this._applyFocus();-- this._renderClosed();- }- },-- /**- * Executes a callback on the next animation frame, overriding any previous- * callback awaiting for the next animation frame. e.g.- * `__onNextAnimationFrame(callback1) && __onNextAnimationFrame(callback2)`;- * `callback1` will never be invoked.- * @param {!Function} callback Its `this` parameter is the overlay itself.- * @private- */- __onNextAnimationFrame: function(callback) {- if (this.__raf) {- window.cancelAnimationFrame(this.__raf);- }- var self = this;- this.__raf = window.requestAnimationFrame(function nextAnimationFrame() {- self.__raf = null;- callback.call(self);- });- }-- };-- /** @polymerBehavior */- Polymer.IronOverlayBehavior = [Polymer.IronFitBehavior, Polymer.IronResizableBehavior, Polymer.IronOverlayBehaviorImpl];-- /**- * Fired after the overlay opens.- * @event iron-overlay-opened- */-- /**- * Fired when the overlay is canceled, but before it is closed.- * @event iron-overlay-canceled- * @param {Event} event The closing of the overlay can be prevented- * by calling `event.preventDefault()`. The `event.detail` is the original event that- * originated the canceling (e.g. ESC keyboard event or click event outside the overlay).- */-- /**- * Fired after the overlay closes.- * @event iron-overlay-closed- * @param {Event} event The `event.detail` is the `closingReason` property- * (contains `canceled`, whether the overlay was canceled).- */--})();-</script>+<script>!function(){"use strict";Polymer.IronOverlayBehaviorImpl={properties:{opened:{observer:"_openedChanged",type:Boolean,value:!1,notify:!0},canceled:{observer:"_canceledChanged",readOnly:!0,type:Boolean,value:!1},withBackdrop:{observer:"_withBackdropChanged",type:Boolean},noAutoFocus:{type:Boolean,value:!1},noCancelOnEscKey:{type:Boolean,value:!1},noCancelOnOutsideClick:{type:Boolean,value:!1},closingReason:{type:Object},restoreFocusOnClose:{type:Boolean,value:!1},alwaysOnTop:{type:Boolean},_manager:{type:Object,value:Polymer.IronOverlayManager},_focusedChild:{type:Object}},listeners:{"iron-resize":"_onIronResize"},get backdropElement(){return this._manager.backdropElement},get _focusNode(){return this._focusedChild||Polymer.dom(this).querySelector("[autofocus]")||this},get _focusableNodes(){return Polymer.IronFocusablesHelper.getTabbableNodes(this)},ready:function(){this.__isAnimating=!1,this.__shouldRemoveTabIndex=!1,this.__firstFocusableNode=this.__lastFocusableNode=null,this.__raf=null,this.__restoreFocusNode=null,this._ensureSetup()},attached:function(){this.opened&&this._openedChanged(this.opened),this._observer=Polymer.dom(this).observeNodes(this._onNodesChange)},detached:function(){Polymer.dom(this).unobserveNodes(this._observer),this._observer=null,this.__raf&&(window.cancelAnimationFrame(this.__raf),this.__raf=null),this._manager.removeOverlay(this)},toggle:function(){this._setCanceled(!1),this.opened=!this.opened},open:function(){this._setCanceled(!1),this.opened=!0},close:function(){this._setCanceled(!1),this.opened=!1},cancel:function(e){var t=this.fire("iron-overlay-canceled",e,{cancelable:!0});t.defaultPrevented||(this._setCanceled(!0),this.opened=!1)},invalidateTabbables:function(){this.__firstFocusableNode=this.__lastFocusableNode=null},_ensureSetup:function(){this._overlaySetup||(this._overlaySetup=!0,this.style.outline="none",this.style.display="none")},_openedChanged:function(e){e?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true"),this.isAttached&&(this.__isAnimating=!0,this.__onNextAnimationFrame(this.__openedChanged))},_canceledChanged:function(){this.closingReason=this.closingReason||{},this.closingReason.canceled=this.canceled},_withBackdropChanged:function(){this.withBackdrop&&!this.hasAttribute("tabindex")?(this.setAttribute("tabindex","-1"),this.__shouldRemoveTabIndex=!0):this.__shouldRemoveTabIndex&&(this.removeAttribute("tabindex"),this.__shouldRemoveTabIndex=!1),this.opened&&this.isAttached&&this._manager.trackBackdrop()},_prepareRenderOpened:function(){this.__restoreFocusNode=this._manager.deepActiveElement,this._preparePositioning(),this.refit(),this._finishPositioning(),this.noAutoFocus&&document.activeElement===this._focusNode&&(this._focusNode.blur(),this.__restoreFocusNode.focus())},_renderOpened:function(){this._finishRenderOpened()},_renderClosed:function(){this._finishRenderClosed()},_finishRenderOpened:function(){this.notifyResize(),this.__isAnimating=!1,this.fire("iron-overlay-opened")},_finishRenderClosed:function(){this.style.display="none",this.style.zIndex="",this.notifyResize(),this.__isAnimating=!1,this.fire("iron-overlay-closed",this.closingReason)},_preparePositioning:function(){this.style.transition=this.style.webkitTransition="none",this.style.transform=this.style.webkitTransform="none",this.style.display=""},_finishPositioning:function(){this.style.display="none",this.scrollTop=this.scrollTop,this.style.transition=this.style.webkitTransition="",this.style.transform=this.style.webkitTransform="",this.style.display="",this.scrollTop=this.scrollTop},_applyFocus:function(){if(this.opened)this.noAutoFocus||this._focusNode.focus();else{this._focusNode.blur(),this._focusedChild=null,this.restoreFocusOnClose&&this.__restoreFocusNode&&this.__restoreFocusNode.focus(),this.__restoreFocusNode=null;var e=this._manager.currentOverlay();e&&this!==e&&e._applyFocus()}},_onCaptureClick:function(e){this.noCancelOnOutsideClick||this.cancel(e)},_onCaptureFocus:function(e){if(this.withBackdrop){var t=Polymer.dom(e).path;t.indexOf(this)===-1?(e.stopPropagation(),this._applyFocus()):this._focusedChild=t[0]}},_onCaptureEsc:function(e){this.noCancelOnEscKey||this.cancel(e)},_onCaptureTab:function(e){if(this.withBackdrop){this.__ensureFirstLastFocusables();var t=e.shiftKey,i=t?this.__firstFocusableNode:this.__lastFocusableNode,s=t?this.__lastFocusableNode:this.__firstFocusableNode,o=!1;if(i===s)o=!0;else{var n=this._manager.deepActiveElement;o=n===i||n===this}o&&(e.preventDefault(),this._focusedChild=s,this._applyFocus())}},_onIronResize:function(){this.opened&&!this.__isAnimating&&this.__onNextAnimationFrame(this.refit)},_onNodesChange:function(){this.opened&&!this.__isAnimating&&(this.invalidateTabbables(),this.notifyResize())},__ensureFirstLastFocusables:function(){if(!this.__firstFocusableNode||!this.__lastFocusableNode){var e=this._focusableNodes;this.__firstFocusableNode=e[0],this.__lastFocusableNode=e[e.length-1]}},__openedChanged:function(){this.opened?(this._prepareRenderOpened(),this._manager.addOverlay(this),this._applyFocus(),this._renderOpened()):(this._manager.removeOverlay(this),this._applyFocus(),this._renderClosed())},__onNextAnimationFrame:function(e){this.__raf&&window.cancelAnimationFrame(this.__raf);var t=this;this.__raf=window.requestAnimationFrame(function(){t.__raf=null,e.call(t)})}},Polymer.IronOverlayBehavior=[Polymer.IronFitBehavior,Polymer.IronResizableBehavior,Polymer.IronOverlayBehaviorImpl]}();</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-overlay-behavior/iron-overlay-manager.html b/frontend/bower_components/iron-overlay-behavior/iron-overlay-manager.htmlindex 9309c3b5a..2d8656051 100644--- a/frontend/bower_components/iron-overlay-behavior/iron-overlay-manager.html+++ b/frontend/bower_components/iron-overlay-behavior/iron-overlay-manager.html@@ -1,362 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="iron-overlay-backdrop.html">-<script>-- /**- * @struct- * @constructor- * @private- */- Polymer.IronOverlayManagerClass = function() {- /**- * Used to keep track of the opened overlays.- * @private {Array<Element>}- */- this._overlays = [];-- /**- * iframes have a default z-index of 100,- * so this default should be at least that.- * @private {number}- */- this._minimumZ = 101;-- /**- * Memoized backdrop element.- * @private {Element|null}- */- this._backdropElement = null;-- // Enable document-wide tap recognizer.- Polymer.Gestures.add(document, 'tap', this._onCaptureClick.bind(this));-- document.addEventListener('focus', this._onCaptureFocus.bind(this), true);- document.addEventListener('keydown', this._onCaptureKeyDown.bind(this), true);- };-- Polymer.IronOverlayManagerClass.prototype = {-- constructor: Polymer.IronOverlayManagerClass,-- /**- * The shared backdrop element.- * @type {!Element} backdropElement- */- get backdropElement() {- if (!this._backdropElement) {- this._backdropElement = document.createElement('iron-overlay-backdrop');- }- return this._backdropElement;- },-- /**- * The deepest active element.- * @type {!Element} activeElement the active element- */- get deepActiveElement() {- // document.activeElement can be null- // https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement- // In case of null, default it to document.body.- var active = document.activeElement || document.body;- while (active.root && Polymer.dom(active.root).activeElement) {- active = Polymer.dom(active.root).activeElement;- }- return active;- },-- /**- * Brings the overlay at the specified index to the front.- * @param {number} i- * @private- */- _bringOverlayAtIndexToFront: function(i) {- var overlay = this._overlays[i];- if (!overlay) {- return;- }- var lastI = this._overlays.length - 1;- var currentOverlay = this._overlays[lastI];- // Ensure always-on-top overlay stays on top.- if (currentOverlay && this._shouldBeBehindOverlay(overlay, currentOverlay)) {- lastI--;- }- // If already the top element, return.- if (i >= lastI) {- return;- }- // Update z-index to be on top.- var minimumZ = Math.max(this.currentOverlayZ(), this._minimumZ);- if (this._getZ(overlay) <= minimumZ) {- this._applyOverlayZ(overlay, minimumZ);- }-- // Shift other overlays behind the new on top.- while (i < lastI) {- this._overlays[i] = this._overlays[i + 1];- i++;- }- this._overlays[lastI] = overlay;- },-- /**- * Adds the overlay and updates its z-index if it's opened, or removes it if it's closed.- * Also updates the backdrop z-index.- * @param {!Element} overlay- */- addOrRemoveOverlay: function(overlay) {- if (overlay.opened) {- this.addOverlay(overlay);- } else {- this.removeOverlay(overlay);- }- },-- /**- * Tracks overlays for z-index and focus management.- * Ensures the last added overlay with always-on-top remains on top.- * @param {!Element} overlay- */- addOverlay: function(overlay) {- var i = this._overlays.indexOf(overlay);- if (i >= 0) {- this._bringOverlayAtIndexToFront(i);- this.trackBackdrop();- return;- }- var insertionIndex = this._overlays.length;- var currentOverlay = this._overlays[insertionIndex - 1];- var minimumZ = Math.max(this._getZ(currentOverlay), this._minimumZ);- var newZ = this._getZ(overlay);-- // Ensure always-on-top overlay stays on top.- if (currentOverlay && this._shouldBeBehindOverlay(overlay, currentOverlay)) {- // This bumps the z-index of +2.- this._applyOverlayZ(currentOverlay, minimumZ);- insertionIndex--;- // Update minimumZ to match previous overlay's z-index.- var previousOverlay = this._overlays[insertionIndex - 1];- minimumZ = Math.max(this._getZ(previousOverlay), this._minimumZ);- }-- // Update z-index and insert overlay.- if (newZ <= minimumZ) {- this._applyOverlayZ(overlay, minimumZ);- }- this._overlays.splice(insertionIndex, 0, overlay);-- this.trackBackdrop();- },-- /**- * @param {!Element} overlay- */- removeOverlay: function(overlay) {- var i = this._overlays.indexOf(overlay);- if (i === -1) {- return;- }- this._overlays.splice(i, 1);-- this.trackBackdrop();- },-- /**- * Returns the current overlay.- * @return {Element|undefined}- */- currentOverlay: function() {- var i = this._overlays.length - 1;- return this._overlays[i];- },-- /**- * Returns the current overlay z-index.- * @return {number}- */- currentOverlayZ: function() {- return this._getZ(this.currentOverlay());- },-- /**- * Ensures that the minimum z-index of new overlays is at least `minimumZ`.- * This does not effect the z-index of any existing overlays.- * @param {number} minimumZ- */- ensureMinimumZ: function(minimumZ) {- this._minimumZ = Math.max(this._minimumZ, minimumZ);- },-- focusOverlay: function() {- var current = /** @type {?} */ (this.currentOverlay());- if (current) {- current._applyFocus();- }- },-- /**- * Updates the backdrop z-index.- */- trackBackdrop: function() {- var overlay = this._overlayWithBackdrop();- // Avoid creating the backdrop if there is no overlay with backdrop.- if (!overlay && !this._backdropElement) {- return;- }- this.backdropElement.style.zIndex = this._getZ(overlay) - 1;- this.backdropElement.opened = !!overlay;- },-- /**- * @return {Array<Element>}- */- getBackdrops: function() {- var backdrops = [];- for (var i = 0; i < this._overlays.length; i++) {- if (this._overlays[i].withBackdrop) {- backdrops.push(this._overlays[i]);- }- }- return backdrops;- },-- /**- * Returns the z-index for the backdrop.- * @return {number}- */- backdropZ: function() {- return this._getZ(this._overlayWithBackdrop()) - 1;- },-- /**- * Returns the first opened overlay that has a backdrop.- * @return {Element|undefined}- * @private- */- _overlayWithBackdrop: function() {- for (var i = 0; i < this._overlays.length; i++) {- if (this._overlays[i].withBackdrop) {- return this._overlays[i];- }- }- },-- /**- * Calculates the minimum z-index for the overlay.- * @param {Element=} overlay- * @private- */- _getZ: function(overlay) {- var z = this._minimumZ;- if (overlay) {- var z1 = Number(overlay.style.zIndex || window.getComputedStyle(overlay).zIndex);- // Check if is a number- // Number.isNaN not supported in IE 10+- if (z1 === z1) {- z = z1;- }- }- return z;- },-- /**- * @param {!Element} element- * @param {number|string} z- * @private- */- _setZ: function(element, z) {- element.style.zIndex = z;- },-- /**- * @param {!Element} overlay- * @param {number} aboveZ- * @private- */- _applyOverlayZ: function(overlay, aboveZ) {- this._setZ(overlay, aboveZ + 2);- },-- /**- * Returns the deepest overlay in the path.- * @param {Array<Element>=} path- * @return {Element|undefined}- * @suppress {missingProperties}- * @private- */- _overlayInPath: function(path) {- path = path || [];- for (var i = 0; i < path.length; i++) {- if (path[i]._manager === this) {- return path[i];- }- }- },-- /**- * Ensures the click event is delegated to the right overlay.- * @param {!Event} event- * @private- */- _onCaptureClick: function(event) {- var overlay = /** @type {?} */ (this.currentOverlay());- // Check if clicked outside of top overlay.- if (overlay && this._overlayInPath(Polymer.dom(event).path) !== overlay) {- overlay._onCaptureClick(event);- }- },-- /**- * Ensures the focus event is delegated to the right overlay.- * @param {!Event} event- * @private- */- _onCaptureFocus: function(event) {- var overlay = /** @type {?} */ (this.currentOverlay());- if (overlay) {- overlay._onCaptureFocus(event);- }- },-- /**- * Ensures TAB and ESC keyboard events are delegated to the right overlay.- * @param {!Event} event- * @private- */- _onCaptureKeyDown: function(event) {- var overlay = /** @type {?} */ (this.currentOverlay());- if (overlay) {- if (Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(event, 'esc')) {- overlay._onCaptureEsc(event);- } else if (Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(event, 'tab')) {- overlay._onCaptureTab(event);- }- }- },-- /**- * Returns if the overlay1 should be behind overlay2.- * @param {!Element} overlay1- * @param {!Element} overlay2- * @return {boolean}- * @suppress {missingProperties}- * @private- */- _shouldBeBehindOverlay: function(overlay1, overlay2) {- return !overlay1.alwaysOnTop && overlay2.alwaysOnTop;- }- };-- Polymer.IronOverlayManager = new Polymer.IronOverlayManagerClass();-</script>+<script>Polymer.IronOverlayManagerClass=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,Polymer.Gestures.add(document,"tap",this._onCaptureClick.bind(this)),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)},Polymer.IronOverlayManagerClass.prototype={constructor:Polymer.IronOverlayManagerClass,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){for(var e=document.activeElement||document.body;e.root&&Polymer.dom(e.root).activeElement;)e=Polymer.dom(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var r=this._overlays.length-1,a=this._overlays[r];if(a&&this._shouldBeBehindOverlay(t,a)&&r--,!(e>=r)){var n=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=n&&this._applyOverlayZ(t,n);e<r;)this._overlays[e]=this._overlays[e+1],e++;this._overlays[r]=t}}},addOrRemoveOverlay:function(e){e.opened?this.addOverlay(e):this.removeOverlay(e)},addOverlay:function(e){var t=this._overlays.indexOf(e);if(t>=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var r=this._overlays.length,a=this._overlays[r-1],n=Math.max(this._getZ(a),this._minimumZ),o=this._getZ(e);if(a&&this._shouldBeBehindOverlay(e,a)){this._applyOverlayZ(a,n),r--;var i=this._overlays[r-1];n=Math.max(this._getZ(i),this._minimumZ)}o<=n&&this._applyOverlayZ(e,n),this._overlays.splice(r,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);t!==-1&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e)},getBackdrops:function(){for(var e=[],t=0;t<this._overlays.length;t++)this._overlays[t].withBackdrop&&e.push(this._overlays[t]);return e},backdropZ:function(){return this._getZ(this._overlayWithBackdrop())-1},_overlayWithBackdrop:function(){for(var e=0;e<this._overlays.length;e++)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var r=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);r===r&&(t=r)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t<e.length;t++)if(e[t]._manager===this)return e[t]},_onCaptureClick:function(e){var t=this.currentOverlay();t&&this._overlayInPath(Polymer.dom(e).path)!==t&&t._onCaptureClick(e)},_onCaptureFocus:function(e){var t=this.currentOverlay();t&&t._onCaptureFocus(e)},_onCaptureKeyDown:function(e){var t=this.currentOverlay();t&&(Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(e,"esc")?t._onCaptureEsc(e):Polymer.IronA11yKeysBehavior.keyboardEventMatchesKeys(e,"tab")&&t._onCaptureTab(e))},_shouldBeBehindOverlay:function(e,t){return!e.alwaysOnTop&&t.alwaysOnTop}},Polymer.IronOverlayManager=new Polymer.IronOverlayManagerClass;</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-pages/iron-pages.html b/frontend/bower_components/iron-pages/iron-pages.htmlindex 932577977..0c19a80be 100644--- a/frontend/bower_components/iron-pages/iron-pages.html+++ b/frontend/bower_components/iron-pages/iron-pages.html@@ -1,42 +1,10 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="../iron-selector/iron-selectable.html">-<!---`iron-pages` is used to select one of its children to show. One use is to cycle through a list of-children "pages".--Example:-- <iron-pages selected="0">- <div>One</div>- <div>Two</div>- <div>Three</div>- </iron-pages>-- <script>- document.addEventListener('click', function(e) {- var pages = document.querySelector('iron-pages');- pages.selectNext();- });- </script>-@group Iron Elements-@hero hero.svg-@demo demo/index.html--->-<dom-module id="iron-pages">+</head><body><dom-module id="iron-pages"><template><style>@@ -52,37 +20,6 @@ Example:<content></content></template>- <script>- Polymer({-- is: 'iron-pages',-- behaviors: [- Polymer.IronResizableBehavior,- Polymer.IronSelectableBehavior- ],-- properties: {-- // as the selected page is the only one visible, activateEvent- // is both non-sensical and problematic; e.g. in cases where a user- // handler attempts to change the page and the activateEvent- // handler immediately changes it back- activateEvent: {- type: String,- value: null- }-- },-- observers: [- '_selectedPageChanged(selected)'- ],-- _selectedPageChanged: function(selected, old) {- this.async(this.notifyResize);- }- });-- </script>+ <script>Polymer({is:"iron-pages",behaviors:[Polymer.IronResizableBehavior,Polymer.IronSelectableBehavior],properties:{activateEvent:{type:String,value:null}},observers:["_selectedPageChanged(selected)"],_selectedPageChanged:function(e,a){this.async(this.notifyResize)}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-resizable-behavior/iron-resizable-behavior.html b/frontend/bower_components/iron-resizable-behavior/iron-resizable-behavior.htmlindex b6a0dc29c..f044d991e 100644--- a/frontend/bower_components/iron-resizable-behavior/iron-resizable-behavior.html+++ b/frontend/bower_components/iron-resizable-behavior/iron-resizable-behavior.html@@ -1,195 +1,5 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>- /**- * `IronResizableBehavior` is a behavior that can be used in Polymer elements to- * coordinate the flow of resize events between "resizers" (elements that control the- * size or hidden state of their children) and "resizables" (elements that need to be- * notified when they are resized or un-hidden by their parents in order to take- * action on their new measurements).- *- * Elements that perform measurement should add the `IronResizableBehavior` behavior to- * their element definition and listen for the `iron-resize` event on themselves.- * This event will be fired when they become showing after having been hidden,- * when they are resized explicitly by another resizable, or when the window has been- * resized.- *- * Note, the `iron-resize` event is non-bubbling.- *- * @polymerBehavior Polymer.IronResizableBehavior- * @demo demo/index.html- **/- Polymer.IronResizableBehavior = {- properties: {- /**- * The closest ancestor element that implements `IronResizableBehavior`.- */- _parentResizable: {- type: Object,- observer: '_parentResizableChanged'- },-- /**- * True if this element is currently notifying its descedant elements of- * resize.- */- _notifyingDescendant: {- type: Boolean,- value: false- }- },-- listeners: {- 'iron-request-resize-notifications': '_onIronRequestResizeNotifications'- },-- created: function() {- // We don't really need property effects on these, and also we want them- // to be created before the `_parentResizable` observer fires:- this._interestedResizables = [];- this._boundNotifyResize = this.notifyResize.bind(this);- },-- attached: function() {- this.fire('iron-request-resize-notifications', null, {- node: this,- bubbles: true,- cancelable: true- });-- if (!this._parentResizable) {- window.addEventListener('resize', this._boundNotifyResize);- this.notifyResize();- }- },-- detached: function() {- if (this._parentResizable) {- this._parentResizable.stopResizeNotificationsFor(this);- } else {- window.removeEventListener('resize', this._boundNotifyResize);- }-- this._parentResizable = null;- },-- /**- * Can be called to manually notify a resizable and its descendant- * resizables of a resize change.- */- notifyResize: function() {- if (!this.isAttached) {- return;- }-- this._interestedResizables.forEach(function(resizable) {- if (this.resizerShouldNotify(resizable)) {- this._notifyDescendant(resizable);- }- }, this);-- this._fireResize();- },-- /**- * Used to assign the closest resizable ancestor to this resizable- * if the ancestor detects a request for notifications.- */- assignParentResizable: function(parentResizable) {- this._parentResizable = parentResizable;- },-- /**- * Used to remove a resizable descendant from the list of descendants- * that should be notified of a resize change.- */- stopResizeNotificationsFor: function(target) {- var index = this._interestedResizables.indexOf(target);-- if (index > -1) {- this._interestedResizables.splice(index, 1);- this.unlisten(target, 'iron-resize', '_onDescendantIronResize');- }- },-- /**- * This method can be overridden to filter nested elements that should or- * should not be notified by the current element. Return true if an element- * should be notified, or false if it should not be notified.- *- * @param {HTMLElement} element A candidate descendant element that- * implements `IronResizableBehavior`.- * @return {boolean} True if the `element` should be notified of resize.- */- resizerShouldNotify: function(element) { return true; },-- _onDescendantIronResize: function(event) {- if (this._notifyingDescendant) {- event.stopPropagation();- return;- }-- // NOTE(cdata): In ShadowDOM, event retargetting makes echoing of the- // otherwise non-bubbling event "just work." We do it manually here for- // the case where Polymer is not using shadow roots for whatever reason:- if (!Polymer.Settings.useShadow) {- this._fireResize();- }- },-- _fireResize: function() {- this.fire('iron-resize', null, {- node: this,- bubbles: false- });- },-- _onIronRequestResizeNotifications: function(event) {- var target = event.path ? event.path[0] : event.target;-- if (target === this) {- return;- }-- if (this._interestedResizables.indexOf(target) === -1) {- this._interestedResizables.push(target);- this.listen(target, 'iron-resize', '_onDescendantIronResize');- }-- target.assignParentResizable(this);- this._notifyDescendant(target);-- event.stopPropagation();- },-- _parentResizableChanged: function(parentResizable) {- if (parentResizable) {- window.removeEventListener('resize', this._boundNotifyResize);- }- },-- _notifyDescendant: function(descendant) {- // NOTE(cdata): In IE10, attached is fired on children first, so it's- // important not to notify them if the parent is not attached yet (or- // else they will get redundantly notified when the parent attaches).- if (!this.isAttached) {- return;- }-- this._notifyingDescendant = true;- descendant.notifyResize();- this._notifyingDescendant = false;- }- };-</script>+<script>Polymer.IronResizableBehavior={properties:{_parentResizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant:{type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIronRequestResizeNotifications"},created:function(){this._interestedResizables=[],this._boundNotifyResize=this.notifyResize.bind(this)},attached:function(){this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable||(window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},detached:function(){this._parentResizable?this._parentResizable.stopResizeNotificationsFor(this):window.removeEventListener("resize",this._boundNotifyResize),this._parentResizable=null},notifyResize:function(){this.isAttached&&(this._interestedResizables.forEach(function(e){this.resizerShouldNotify(e)&&this._notifyDescendant(e)},this),this._fireResize())},assignParentResizable:function(e){this._parentResizable=e},stopResizeNotificationsFor:function(e){var i=this._interestedResizables.indexOf(e);i>-1&&(this._interestedResizables.splice(i,1),this.unlisten(e,"iron-resize","_onDescendantIronResize"))},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){return this._notifyingDescendant?void e.stopPropagation():void(Polymer.Settings.useShadow||this._fireResize())},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var i=e.path?e.path[0]:e.target;i!==this&&(this._interestedResizables.indexOf(i)===-1&&(this._interestedResizables.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._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html b/frontend/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.htmlindex ced1af1f5..08043ad29 100644--- a/frontend/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html+++ b/frontend/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html@@ -1,260 +1,4 @@-<!---@license-Copyright (c) 2016 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-- /**- * `Polymer.IronScrollTargetBehavior` allows an element to respond to scroll events from a- * designated scroll target.- *- * Elements that consume this behavior can override the `_scrollHandler`- * method to add logic on the scroll event.- *- * @demo demo/scrolling-region.html Scrolling Region- * @demo demo/document.html Document Element- * @polymerBehavior- */- Polymer.IronScrollTargetBehavior = {-- properties: {-- /**- * Specifies the element that will handle the scroll event- * on the behalf of the current element. This is typically a reference to an element,- * but there are a few more posibilities:- *- * ### Elements id- *- *```html- * <div id="scrollable-element" style="overflow: auto;">- * <x-element scroll-target="scrollable-element">- * <!-- Content-->- * </x-element>- * </div>- *```- * In this case, the `scrollTarget` will point to the outer div element.- *- * ### Document scrolling- *- * For document scrolling, you can use the reserved word `document`:- *- *```html- * <x-element scroll-target="document">- * <!-- Content -->- * </x-element>- *```- *- * ### Elements reference- *- *```js- * appHeader.scrollTarget = document.querySelector('#scrollable-element');- *```- *- * @type {Element}- */- scrollTarget: {- type: Object,- value: function() {- return this._defaultScrollTarget;- }- }- },-- observers: [- '_scrollTargetChanged(scrollTarget, isAttached)'- ],-- /**- * True if the event listener should be installed.- */- _shouldHaveListener: true,-- _scrollTargetChanged: function(scrollTarget, isAttached) {- var eventTarget;-- if (this._oldScrollTarget) {- this._toggleScrollListener(false, this._oldScrollTarget);- this._oldScrollTarget = null;- }- if (!isAttached) {- return;- }- // Support element id references- if (scrollTarget === 'document') {-- this.scrollTarget = this._doc;-- } else if (typeof scrollTarget === 'string') {-- this.scrollTarget = this.domHost ? this.domHost.$[scrollTarget] :- Polymer.dom(this.ownerDocument).querySelector('#' + scrollTarget);-- } else if (this._isValidScrollTarget()) {-- this._boundScrollHandler = this._boundScrollHandler || this._scrollHandler.bind(this);- this._oldScrollTarget = scrollTarget;- this._toggleScrollListener(this._shouldHaveListener, scrollTarget);-- }- },-- /**- * Runs on every scroll event. Consumer of this behavior may override this method.- *- * @protected- */- _scrollHandler: function scrollHandler() {},-- /**- * The default scroll target. Consumers of this behavior may want to customize- * the default scroll target.- *- * @type {Element}- */- get _defaultScrollTarget() {- return this._doc;- },-- /**- * Shortcut for the document element- *- * @type {Element}- */- get _doc() {- return this.ownerDocument.documentElement;- },-- /**- * Gets the number of pixels that the content of an element is scrolled upward.- *- * @type {number}- */- get _scrollTop() {- if (this._isValidScrollTarget()) {- return this.scrollTarget === this._doc ? window.pageYOffset : this.scrollTarget.scrollTop;- }- return 0;- },-- /**- * Gets the number of pixels that the content of an element is scrolled to the left.- *- * @type {number}- */- get _scrollLeft() {- if (this._isValidScrollTarget()) {- return this.scrollTarget === this._doc ? window.pageXOffset : this.scrollTarget.scrollLeft;- }- return 0;- },-- /**- * Sets the number of pixels that the content of an element is scrolled upward.- *- * @type {number}- */- set _scrollTop(top) {- if (this.scrollTarget === this._doc) {- window.scrollTo(window.pageXOffset, top);- } else if (this._isValidScrollTarget()) {- this.scrollTarget.scrollTop = top;- }- },-- /**- * Sets the number of pixels that the content of an element is scrolled to the left.- *- * @type {number}- */- set _scrollLeft(left) {- if (this.scrollTarget === this._doc) {- window.scrollTo(left, window.pageYOffset);- } else if (this._isValidScrollTarget()) {- this.scrollTarget.scrollLeft = left;- }- },-- /**- * Scrolls the content to a particular place.- *- * @method scroll- * @param {number} left The left position- * @param {number} top The top position- */- scroll: function(left, top) {- if (this.scrollTarget === this._doc) {- window.scrollTo(left, top);- } else if (this._isValidScrollTarget()) {- this.scrollTarget.scrollLeft = left;- this.scrollTarget.scrollTop = top;- }- },-- /**- * Gets the width of the scroll target.- *- * @type {number}- */- get _scrollTargetWidth() {- if (this._isValidScrollTarget()) {- return this.scrollTarget === this._doc ? window.innerWidth : this.scrollTarget.offsetWidth;- }- return 0;- },-- /**- * Gets the height of the scroll target.- *- * @type {number}- */- get _scrollTargetHeight() {- if (this._isValidScrollTarget()) {- return this.scrollTarget === this._doc ? window.innerHeight : this.scrollTarget.offsetHeight;- }- return 0;- },-- /**- * Returns true if the scroll target is a valid HTMLElement.- *- * @return {boolean}- */- _isValidScrollTarget: function() {- return this.scrollTarget instanceof HTMLElement;- },-- _toggleScrollListener: function(yes, scrollTarget) {- if (!this._boundScrollHandler) {- return;- }- var eventTarget = scrollTarget === this._doc ? window : scrollTarget;-- if (yes) {- eventTarget.addEventListener('scroll', this._boundScrollHandler);- } else {- eventTarget.removeEventListener('scroll', this._boundScrollHandler);- }- },-- /**- * Enables or disables the scroll event listener.- *- * @param {boolean} yes True to add the event, False to remove it.- */- toggleScrollListener: function(yes) {- this._shouldHaveListener = yes;- this._toggleScrollListener(yes, this.scrollTarget);- }-- };--</script>+<script>Polymer.IronScrollTargetBehavior={properties:{scrollTarget:{type:Object,value:function(){return this._defaultScrollTarget}}},observers:["_scrollTargetChanged(scrollTarget, isAttached)"],_shouldHaveListener:!0,_scrollTargetChanged:function(t,l){this._oldScrollTarget&&(this._toggleScrollListener(!1,this._oldScrollTarget),this._oldScrollTarget=null),l&&("document"===t?this.scrollTarget=this._doc:"string"==typeof t?this.scrollTarget=this.domHost?this.domHost.$[t]:Polymer.dom(this.ownerDocument).querySelector("#"+t):this._isValidScrollTarget()&&(this._boundScrollHandler=this._boundScrollHandler||this._scrollHandler.bind(this),this._oldScrollTarget=t,this._toggleScrollListener(this._shouldHaveListener,t)))},_scrollHandler:function(){},get _defaultScrollTarget(){return this._doc},get _doc(){return this.ownerDocument.documentElement},get _scrollTop(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageYOffset:this.scrollTarget.scrollTop:0},get _scrollLeft(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageXOffset:this.scrollTarget.scrollLeft:0},set _scrollTop(t){this.scrollTarget===this._doc?window.scrollTo(window.pageXOffset,t):this._isValidScrollTarget()&&(this.scrollTarget.scrollTop=t)},set _scrollLeft(t){this.scrollTarget===this._doc?window.scrollTo(t,window.pageYOffset):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=t)},scroll:function(t,l){this.scrollTarget===this._doc?window.scrollTo(t,l):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=t,this.scrollTarget.scrollTop=l)},get _scrollTargetWidth(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerWidth:this.scrollTarget.offsetWidth:0},get _scrollTargetHeight(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerHeight:this.scrollTarget.offsetHeight:0},_isValidScrollTarget:function(){return this.scrollTarget instanceof HTMLElement},_toggleScrollListener:function(t,l){if(this._boundScrollHandler){var e=l===this._doc?window:l;t?e.addEventListener("scroll",this._boundScrollHandler):e.removeEventListener("scroll",this._boundScrollHandler)}},toggleScrollListener:function(t){this._shouldHaveListener=t,this._toggleScrollListener(t,this.scrollTarget)}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-selector/iron-multi-selectable.html b/frontend/bower_components/iron-selector/iron-multi-selectable.htmlindex 9993151da..ceaa11af8 100644--- a/frontend/bower_components/iron-selector/iron-multi-selectable.html+++ b/frontend/bower_components/iron-selector/iron-multi-selectable.html@@ -1,154 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="iron-selectable.html">-<script>- /** @polymerBehavior Polymer.IronMultiSelectableBehavior */- Polymer.IronMultiSelectableBehaviorImpl = {- properties: {-- /**- * If true, multiple selections are allowed.- */- multi: {- type: Boolean,- value: false,- observer: 'multiChanged'- },-- /**- * Gets or sets the selected elements. This is used instead of `selected` when `multi`- * is true.- */- selectedValues: {- type: Array,- notify: true- },-- /**- * Returns an array of currently selected items.- */- selectedItems: {- type: Array,- readOnly: true,- notify: true- },-- },-- observers: [- '_updateSelected(selectedValues.splices)'- ],-- /**- * Selects the given value. If the `multi` property is true, then the selected state of the- * `value` will be toggled; otherwise the `value` will be selected.- *- * @method select- * @param {string|number} value the value to select.- */- select: function(value) {- if (this.multi) {- if (this.selectedValues) {- this._toggleSelected(value);- } else {- this.selectedValues = [value];- }- } else {- this.selected = value;- }- },-- multiChanged: function(multi) {- this._selection.multi = multi;- },-- get _shouldUpdateSelection() {- return this.selected != null ||- (this.selectedValues != null && this.selectedValues.length);- },-- _updateAttrForSelected: function() {- if (!this.multi) {- Polymer.IronSelectableBehavior._updateAttrForSelected.apply(this);- } else if (this._shouldUpdateSelection) {- this.selectedValues = this.selectedItems.map(function(selectedItem) {- return this._indexToValue(this.indexOf(selectedItem));- }, this).filter(function(unfilteredValue) {- return unfilteredValue != null;- }, this);- }- },-- _updateSelected: function() {- if (this.multi) {- this._selectMulti(this.selectedValues);- } else {- this._selectSelected(this.selected);- }- },-- _selectMulti: function(values) {- if (values) {- var selectedItems = this._valuesToItems(values);- // clear all but the current selected items- this._selection.clear(selectedItems);- // select only those not selected yet- for (var i = 0; i < selectedItems.length; i++) {- this._selection.setItemSelected(selectedItems[i], true);- }- // Check for items, since this array is populated only when attached- if (this.fallbackSelection && this.items.length && !this._selection.get().length) {- var fallback = this._valueToItem(this.fallbackSelection);- if (fallback) {- this.selectedValues = [this.fallbackSelection];- }- }- } else {- this._selection.clear();- }- },-- _selectionChange: function() {- var s = this._selection.get();- if (this.multi) {- this._setSelectedItems(s);- } else {- this._setSelectedItems([s]);- this._setSelectedItem(s);- }- },-- _toggleSelected: function(value) {- var i = this.selectedValues.indexOf(value);- var unselected = i < 0;- if (unselected) {- this.push('selectedValues',value);- } else {- this.splice('selectedValues',i,1);- }- },-- _valuesToItems: function(values) {- return (values == null) ? null : values.map(function(value) {- return this._valueToItem(value);- }, this);- }- };-- /** @polymerBehavior */- Polymer.IronMultiSelectableBehavior = [- Polymer.IronSelectableBehavior,- Polymer.IronMultiSelectableBehaviorImpl- ];--</script>+<script>Polymer.IronMultiSelectableBehaviorImpl={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0},selectedItems:{type:Array,readOnly:!0,notify:!0}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this.selectedValues?this._toggleSelected(e):this.selectedValues=[e]:this.selected=e},multiChanged:function(e){this._selection.multi=e},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this._shouldUpdateSelection&&(this.selectedValues=this.selectedItems.map(function(e){return this._indexToValue(this.indexOf(e))},this).filter(function(e){return null!=e},this)):Polymer.IronSelectableBehavior._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){if(e){var t=this._valuesToItems(e);this._selection.clear(t);for(var l=0;l<t.length;l++)this._selection.setItemSelected(t[l],!0);if(this.fallbackSelection&&this.items.length&&!this._selection.get().length){var s=this._valueToItem(this.fallbackSelection);s&&(this.selectedValues=[this.fallbackSelection])}}else this._selection.clear()},_selectionChange:function(){var e=this._selection.get();this.multi?this._setSelectedItems(e):(this._setSelectedItems([e]),this._setSelectedItem(e))},_toggleSelected:function(e){var t=this.selectedValues.indexOf(e),l=t<0;l?this.push("selectedValues",e):this.splice("selectedValues",t,1)},_valuesToItems:function(e){return null==e?null:e.map(function(e){return this._valueToItem(e)},this)}},Polymer.IronMultiSelectableBehavior=[Polymer.IronSelectableBehavior,Polymer.IronMultiSelectableBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-selector/iron-selectable.html b/frontend/bower_components/iron-selector/iron-selectable.htmlindex 25cfe91e3..83bf96f88 100644--- a/frontend/bower_components/iron-selector/iron-selectable.html+++ b/frontend/bower_components/iron-selector/iron-selectable.html@@ -1,388 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="iron-selection.html">-<script>-- /** @polymerBehavior */- Polymer.IronSelectableBehavior = {-- /**- * Fired when iron-selector is activated (selected or deselected).- * It is fired before the selected items are changed.- * Cancel the event to abort selection.- *- * @event iron-activate- */-- /**- * Fired when an item is selected- *- * @event iron-select- */-- /**- * Fired when an item is deselected- *- * @event iron-deselect- */-- /**- * Fired when the list of selectable items changes (e.g., items are- * added or removed). The detail of the event is a mutation record that- * describes what changed.- *- * @event iron-items-changed- */-- properties: {-- /**- * If you want to use an attribute value or property of an element for- * `selected` instead of the index, set this to the name of the attribute- * or property. Hyphenated values are converted to camel case when used to- * look up the property of a selectable element. Camel cased values are- * *not* converted to hyphenated values for attribute lookup. It's- * recommended that you provide the hyphenated form of the name so that- * selection works in both cases. (Use `attr-or-property-name` instead of- * `attrOrPropertyName`.)- */- attrForSelected: {- type: String,- value: null- },-- /**- * Gets or sets the selected element. The default is to use the index of the item.- * @type {string|number}- */- selected: {- type: String,- notify: true- },-- /**- * Returns the currently selected item.- *- * @type {?Object}- */- selectedItem: {- type: Object,- readOnly: true,- notify: true- },-- /**- * The event that fires from items when they are selected. Selectable- * will listen for this event from items and update the selection state.- * Set to empty string to listen to no events.- */- activateEvent: {- type: String,- value: 'tap',- observer: '_activateEventChanged'- },-- /**- * This is a CSS selector string. If this is set, only items that match the CSS selector- * are selectable.- */- selectable: String,-- /**- * The class to set on elements when selected.- */- selectedClass: {- type: String,- value: 'iron-selected'- },-- /**- * The attribute to set on elements when selected.- */- selectedAttribute: {- type: String,- value: null- },-- /**- * Default fallback if the selection based on selected with `attrForSelected`- * is not found.- */- fallbackSelection: {- type: String,- value: null- },-- /**- * The list of items from which a selection can be made.- */- items: {- type: Array,- readOnly: true,- notify: true,- value: function() {- return [];- }- },-- /**- * The set of excluded elements where the key is the `localName`- * of the element that will be ignored from the item list.- *- * @default {template: 1}- */- _excludedLocalNames: {- type: Object,- value: function() {- return {- 'template': 1- };- }- }- },-- observers: [- '_updateAttrForSelected(attrForSelected)',- '_updateSelected(selected)',- '_checkFallback(fallbackSelection)'- ],-- created: function() {- this._bindFilterItem = this._filterItem.bind(this);- this._selection = new Polymer.IronSelection(this._applySelection.bind(this));- },-- attached: function() {- this._observer = this._observeItems(this);- this._updateItems();- if (!this._shouldUpdateSelection) {- this._updateSelected();- }- this._addListener(this.activateEvent);- },-- detached: function() {- if (this._observer) {- Polymer.dom(this).unobserveNodes(this._observer);- }- this._removeListener(this.activateEvent);- },-- /**- * Returns the index of the given item.- *- * @method indexOf- * @param {Object} item- * @returns Returns the index of the item- */- indexOf: function(item) {- return this.items.indexOf(item);- },-- /**- * Selects the given value.- *- * @method select- * @param {string|number} value the value to select.- */- select: function(value) {- this.selected = value;- },-- /**- * Selects the previous item.- *- * @method selectPrevious- */- selectPrevious: function() {- var length = this.items.length;- var index = (Number(this._valueToIndex(this.selected)) - 1 + length) % length;- this.selected = this._indexToValue(index);- },-- /**- * Selects the next item.- *- * @method selectNext- */- selectNext: function() {- var index = (Number(this._valueToIndex(this.selected)) + 1) % this.items.length;- this.selected = this._indexToValue(index);- },-- /**- * Selects the item at the given index.- *- * @method selectIndex- */- selectIndex: function(index) {- this.select(this._indexToValue(index));- },-- /**- * Force a synchronous update of the `items` property.- *- * NOTE: Consider listening for the `iron-items-changed` event to respond to- * updates to the set of selectable items after updates to the DOM list and- * selection state have been made.- *- * WARNING: If you are using this method, you should probably consider an- * alternate approach. Synchronously querying for items is potentially- * slow for many use cases. The `items` property will update asynchronously- * on its own to reflect selectable items in the DOM.- */- forceSynchronousItemUpdate: function() {- this._updateItems();- },-- get _shouldUpdateSelection() {- return this.selected != null;- },-- _checkFallback: function() {- if (this._shouldUpdateSelection) {- this._updateSelected();- }- },-- _addListener: function(eventName) {- this.listen(this, eventName, '_activateHandler');- },-- _removeListener: function(eventName) {- this.unlisten(this, eventName, '_activateHandler');- },-- _activateEventChanged: function(eventName, old) {- this._removeListener(old);- this._addListener(eventName);- },-- _updateItems: function() {- var nodes = Polymer.dom(this).queryDistributedElements(this.selectable || '*');- nodes = Array.prototype.filter.call(nodes, this._bindFilterItem);- this._setItems(nodes);- },-- _updateAttrForSelected: function() {- if (this._shouldUpdateSelection) {- this.selected = this._indexToValue(this.indexOf(this.selectedItem));- }- },-- _updateSelected: function() {- this._selectSelected(this.selected);- },-- _selectSelected: function(selected) {- this._selection.select(this._valueToItem(this.selected));- // Check for items, since this array is populated only when attached- // Since Number(0) is falsy, explicitly check for undefined- if (this.fallbackSelection && this.items.length && (this._selection.get() === undefined)) {- this.selected = this.fallbackSelection;- }- },-- _filterItem: function(node) {- return !this._excludedLocalNames[node.localName];- },-- _valueToItem: function(value) {- return (value == null) ? null : this.items[this._valueToIndex(value)];- },-- _valueToIndex: function(value) {- if (this.attrForSelected) {- for (var i = 0, item; item = this.items[i]; i++) {- if (this._valueForItem(item) == value) {- return i;- }- }- } else {- return Number(value);- }- },-- _indexToValue: function(index) {- if (this.attrForSelected) {- var item = this.items[index];- if (item) {- return this._valueForItem(item);- }- } else {- return index;- }- },-- _valueForItem: function(item) {- var propValue = item[Polymer.CaseMap.dashToCamelCase(this.attrForSelected)];- return propValue != undefined ? propValue : item.getAttribute(this.attrForSelected);- },-- _applySelection: function(item, isSelected) {- if (this.selectedClass) {- this.toggleClass(this.selectedClass, isSelected, item);- }- if (this.selectedAttribute) {- this.toggleAttribute(this.selectedAttribute, isSelected, item);- }- this._selectionChange();- this.fire('iron-' + (isSelected ? 'select' : 'deselect'), {item: item});- },-- _selectionChange: function() {- this._setSelectedItem(this._selection.get());- },-- // observe items change under the given node.- _observeItems: function(node) {- return Polymer.dom(node).observeNodes(function(mutation) {- this._updateItems();-- if (this._shouldUpdateSelection) {- this._updateSelected();- }-- // Let other interested parties know about the change so that- // we don't have to recreate mutation observers everywhere.- this.fire('iron-items-changed', mutation, {- bubbles: false,- cancelable: false- });- });- },-- _activateHandler: function(e) {- var t = e.target;- var items = this.items;- while (t && t != this) {- var i = items.indexOf(t);- if (i >= 0) {- var value = this._indexToValue(i);- this._itemActivate(value, t);- return;- }- t = t.parentNode;- }- },-- _itemActivate: function(value, item) {- if (!this.fire('iron-activate',- {selected: value, item: item}, {cancelable: true}).defaultPrevented) {- this.select(value);- }- }-- };--</script>+<script>Polymer.IronSelectableBehavior={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new Polymer.IronSelection(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._updateItems(),this._shouldUpdateSelection||this._updateSelected(),this._addListener(this.activateEvent)},detached:function(){this._observer&&Polymer.dom(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items.indexOf(e)},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=(Number(this._valueToIndex(this.selected))-1+e)%e;this.selected=this._indexToValue(t)},selectNext:function(){var e=(Number(this._valueToIndex(this.selected))+1)%this.items.length;this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._shouldUpdateSelection&&this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=Polymer.dom(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this._shouldUpdateSelection&&(this.selected=this._indexToValue(this.indexOf(this.selectedItem)))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){this._selection.select(this._valueToItem(this.selected)),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,i=0;t=this.items[i];i++)if(this._valueForItem(t)==e)return i},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){var t=e[Polymer.CaseMap.dashToCamelCase(this.attrForSelected)];return void 0!=t?t:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return Polymer.dom(e).observeNodes(function(e){this._updateItems(),this._shouldUpdateSelection&&this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})})},_activateHandler:function(e){for(var t=e.target,i=this.items;t&&t!=this;){var s=i.indexOf(t);if(s>=0){var n=this._indexToValue(s);return void this._itemActivate(n,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-selector/iron-selection.html b/frontend/bower_components/iron-selector/iron-selection.htmlindex 408ccae9d..255f8506d 100644--- a/frontend/bower_components/iron-selector/iron-selection.html+++ b/frontend/bower_components/iron-selector/iron-selection.html@@ -1,119 +1,4 @@+<html><head><link rel="import" href="../polymer/polymer.html">-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">--<script>-- /**- * @param {!Function} selectCallback- * @constructor- */- Polymer.IronSelection = function(selectCallback) {- this.selection = [];- this.selectCallback = selectCallback;- };-- Polymer.IronSelection.prototype = {-- /**- * Retrieves the selected item(s).- *- * @method get- * @returns Returns the selected item(s). If the multi property is true,- * `get` will return an array, otherwise it will return- * the selected item or undefined if there is no selection.- */- get: function() {- return this.multi ? this.selection.slice() : this.selection[0];- },-- /**- * Clears all the selection except the ones indicated.- *- * @method clear- * @param {Array} excludes items to be excluded.- */- clear: function(excludes) {- this.selection.slice().forEach(function(item) {- if (!excludes || excludes.indexOf(item) < 0) {- this.setItemSelected(item, false);- }- }, this);- },-- /**- * Indicates if a given item is selected.- *- * @method isSelected- * @param {*} item The item whose selection state should be checked.- * @returns Returns true if `item` is selected.- */- isSelected: function(item) {- return this.selection.indexOf(item) >= 0;- },-- /**- * Sets the selection state for a given item to either selected or deselected.- *- * @method setItemSelected- * @param {*} item The item to select.- * @param {boolean} isSelected True for selected, false for deselected.- */- setItemSelected: function(item, isSelected) {- if (item != null) {- if (isSelected !== this.isSelected(item)) {- // proceed to update selection only if requested state differs from current- if (isSelected) {- this.selection.push(item);- } else {- var i = this.selection.indexOf(item);- if (i >= 0) {- this.selection.splice(i, 1);- }- }- if (this.selectCallback) {- this.selectCallback(item, isSelected);- }- }- }- },-- /**- * Sets the selection state for a given item. If the `multi` property- * is true, then the selected state of `item` will be toggled; otherwise- * the `item` will be selected.- *- * @method select- * @param {*} item The item to select.- */- select: function(item) {- if (this.multi) {- this.toggle(item);- } else if (this.get() !== item) {- this.setItemSelected(this.get(), false);- this.setItemSelected(item, true);- }- },-- /**- * Toggles the selection state for `item`.- *- * @method toggle- * @param {*} item The item to toggle.- */- toggle: function(item) {- this.setItemSelected(item, !this.isSelected(item));- }-- };--</script>+<script>Polymer.IronSelection=function(e){this.selection=[],this.selectCallback=e},Polymer.IronSelection.prototype={get:function(){return this.multi?this.selection.slice():this.selection[0]},clear:function(e){this.selection.slice().forEach(function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)},this)},isSelected:function(e){return this.selection.indexOf(e)>=0},setItemSelected:function(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var i=this.selection.indexOf(e);i>=0&&this.selection.splice(i,1)}this.selectCallback&&this.selectCallback(e,t)}},select:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))},toggle:function(e){this.setItemSelected(e,!this.isSelected(e))}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/iron-validatable-behavior/iron-validatable-behavior.html b/frontend/bower_components/iron-validatable-behavior/iron-validatable-behavior.htmlindex 803731be9..7a7390694 100644--- a/frontend/bower_components/iron-validatable-behavior/iron-validatable-behavior.html+++ b/frontend/bower_components/iron-validatable-behavior/iron-validatable-behavior.html@@ -1,149 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-meta/iron-meta.html">-<script>- /**- * Singleton IronMeta instance.- */- Polymer.IronValidatableBehaviorMeta = null;-- /**- * `Use Polymer.IronValidatableBehavior` to implement an element that validates user input.- * Use the related `Polymer.IronValidatorBehavior` to add custom validation logic to an iron-input.- *- * By default, an `<iron-form>` element validates its fields when the user presses the submit button.- * To validate a form imperatively, call the form's `validate()` method, which in turn will- * call `validate()` on all its children. By using `Polymer.IronValidatableBehavior`, your- * custom element will get a public `validate()`, which- * will return the validity of the element, and a corresponding `invalid` attribute,- * which can be used for styling.- *- * To implement the custom validation logic of your element, you must override- * the protected `_getValidity()` method of this behaviour, rather than `validate()`.- * See [this](https://github.com/PolymerElements/iron-form/blob/master/demo/simple-element.html)- * for an example.- *- * ### Accessibility- *- * Changing the `invalid` property, either manually or by calling `validate()` will update the- * `aria-invalid` attribute.- *- * @demo demo/index.html- * @polymerBehavior- */- Polymer.IronValidatableBehavior = {-- properties: {-- /**- * Name of the validator to use.- */- validator: {- type: String- },-- /**- * True if the last call to `validate` is invalid.- */- invalid: {- notify: true,- reflectToAttribute: true,- type: Boolean,- value: false- },-- /**- * This property is deprecated and should not be used. Use the global- * validator meta singleton, `Polymer.IronValidatableBehaviorMeta` instead.- */- _validatorMeta: {- type: Object- },-- /**- * Namespace for this validator. This property is deprecated and should- * not be used. For all intents and purposes, please consider it a- * read-only, config-time property.- */- validatorType: {- type: String,- value: 'validator'- },-- _validator: {- type: Object,- computed: '__computeValidator(validator)'- }- },-- observers: [- '_invalidChanged(invalid)'- ],-- registered: function() {- Polymer.IronValidatableBehaviorMeta = new Polymer.IronMeta({type: 'validator'});- },-- _invalidChanged: function() {- if (this.invalid) {- this.setAttribute('aria-invalid', 'true');- } else {- this.removeAttribute('aria-invalid');- }- },-- /**- * @return {boolean} True if the validator `validator` exists.- */- hasValidator: function() {- return this._validator != null;- },-- /**- * Returns true if the `value` is valid, and updates `invalid`. If you want- * your element to have custom validation logic, do not override this method;- * override `_getValidity(value)` instead.-- * @param {Object} value The value to be validated. By default, it is passed- * to the validator's `validate()` function, if a validator is set.- * @return {boolean} True if `value` is valid.- */- validate: function(value) {- this.invalid = !this._getValidity(value);- return !this.invalid;- },-- /**- * Returns true if `value` is valid. By default, it is passed- * to the validator's `validate()` function, if a validator is set. You- * should override this method if you want to implement custom validity- * logic for your element.- *- * @param {Object} value The value to be validated.- * @return {boolean} True if `value` is valid.- */-- _getValidity: function(value) {- if (this.hasValidator()) {- return this._validator.validate(value);- }- return true;- },-- __computeValidator: function() {- return Polymer.IronValidatableBehaviorMeta &&- Polymer.IronValidatableBehaviorMeta.byKey(this.validator);- }- };--</script>+<script>Polymer.IronValidatableBehaviorMeta=null,Polymer.IronValidatableBehavior={properties:{validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1},_validatorMeta:{type:Object},validatorType:{type:String,value:"validator"},_validator:{type:Object,computed:"__computeValidator(validator)"}},observers:["_invalidChanged(invalid)"],registered:function(){Polymer.IronValidatableBehaviorMeta=new Polymer.IronMeta({type:"validator"})},_invalidChanged:function(){this.invalid?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")},hasValidator:function(){return null!=this._validator},validate:function(a){return this.invalid=!this._getValidity(a),!this.invalid},_getValidity:function(a){return!this.hasValidator()||this._validator.validate(a)},__computeValidator:function(){return Polymer.IronValidatableBehaviorMeta&&Polymer.IronValidatableBehaviorMeta.byKey(this.validator)}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/animations/fade-in-animation.html b/frontend/bower_components/neon-animation/animations/fade-in-animation.htmlindex cdb74e309..ce1d2c0f8 100644--- a/frontend/bower_components/neon-animation/animations/fade-in-animation.html+++ b/frontend/bower_components/neon-animation/animations/fade-in-animation.html@@ -1,49 +1,8 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../neon-animation-behavior.html"><link rel="import" href="../web-animations.html">-<!---`<fade-in-animation>` animates the opacity of an element from 0 to 1.--Configuration:-```-{- name: 'fade-in-animation',- node: <node>- timing: <animation-timing>-}-```--->--<script>-- Polymer({-- is: 'fade-in-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- this._effect = new KeyframeEffect(node, [- {'opacity': '0'},- {'opacity': '1'}- ], this.timingFromConfig(config));- return this._effect;- }- });-</script>+<script>Polymer({is:"fade-in-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(i){var e=i.node;return this._effect=new KeyframeEffect(e,[{opacity:"0"},{opacity:"1"}],this.timingFromConfig(i)),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/animations/fade-out-animation.html b/frontend/bower_components/neon-animation/animations/fade-out-animation.htmlindex 82cc3997c..59c11870d 100644--- a/frontend/bower_components/neon-animation/animations/fade-out-animation.html+++ b/frontend/bower_components/neon-animation/animations/fade-out-animation.html@@ -1,49 +1,8 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../neon-animation-behavior.html"><link rel="import" href="../web-animations.html">-<!---`<fade-out-animation>` animates the opacity of an element from 1 to 0.--Configuration:-```-{- name: 'fade-out-animation',- node: <node>- timing: <animation-timing>-}-```--->--<script>-- Polymer({-- is: 'fade-out-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- this._effect = new KeyframeEffect(node, [- {'opacity': '1'},- {'opacity': '0'}- ], this.timingFromConfig(config));- return this._effect;- }- });-</script>+<script>Polymer({is:"fade-out-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node;return this._effect=new KeyframeEffect(i,[{opacity:"1"},{opacity:"0"}],this.timingFromConfig(e)),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/animations/opaque-animation.html b/frontend/bower_components/neon-animation/animations/opaque-animation.htmlindex e3a007258..b02e8321d 100644--- a/frontend/bower_components/neon-animation/animations/opaque-animation.html+++ b/frontend/bower_components/neon-animation/animations/opaque-animation.html@@ -1,46 +1,8 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../../polymer/polymer.html">+<html><head><link rel="import" href="../../polymer/polymer.html"><link rel="import" href="../neon-animation-behavior.html"><link rel="import" href="../web-animations.html">-<!---`<opaque-animation>` makes an element `opacity:1` for the duration of the animation. Used to prevent-webkit/safari from drawing a frame before an animation for elements that animate from display:none.--->--<script>-- Polymer({-- is: 'opaque-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- this._effect = new KeyframeEffect(node, [- {'opacity': '1'},- {'opacity': '1'}- ], this.timingFromConfig(config));- node.style.opacity = '0';- return this._effect;- },-- complete: function(config) {- config.node.style.opacity = '';- }- });-</script>+<script>Polymer({is:"opaque-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node;return this._effect=new KeyframeEffect(i,[{opacity:"1"},{opacity:"1"}],this.timingFromConfig(e)),i.style.opacity="0",this._effect},complete:function(e){e.node.style.opacity=""}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/neon-animatable-behavior.html b/frontend/bower_components/neon-animation/neon-animatable-behavior.htmlindex dd58a6cfb..d107f6adb 100644--- a/frontend/bower_components/neon-animation/neon-animatable-behavior.html+++ b/frontend/bower_components/neon-animation/neon-animatable-behavior.html@@ -1,150 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-- /**- * `Polymer.NeonAnimatableBehavior` is implemented by elements containing animations for use with- * elements implementing `Polymer.NeonAnimationRunnerBehavior`.- * @polymerBehavior- */- Polymer.NeonAnimatableBehavior = {-- properties: {-- /**- * Animation configuration. See README for more info.- */- animationConfig: {- type: Object- },-- /**- * Convenience property for setting an 'entry' animation. Do not set `animationConfig.entry`- * manually if using this. The animated node is set to `this` if using this property.- */- entryAnimation: {- observer: '_entryAnimationChanged',- type: String- },-- /**- * Convenience property for setting an 'exit' animation. Do not set `animationConfig.exit`- * manually if using this. The animated node is set to `this` if using this property.- */- exitAnimation: {- observer: '_exitAnimationChanged',- type: String- }-- },-- _entryAnimationChanged: function() {- this.animationConfig = this.animationConfig || {};- this.animationConfig['entry'] = [{- name: this.entryAnimation,- node: this- }];- },-- _exitAnimationChanged: function() {- this.animationConfig = this.animationConfig || {};- this.animationConfig['exit'] = [{- name: this.exitAnimation,- node: this- }];- },-- _copyProperties: function(config1, config2) {- // shallowly copy properties from config2 to config1- for (var property in config2) {- config1[property] = config2[property];- }- },-- _cloneConfig: function(config) {- var clone = {- isClone: true- };- this._copyProperties(clone, config);- return clone;- },-- _getAnimationConfigRecursive: function(type, map, allConfigs) {- if (!this.animationConfig) {- return;- }-- if(this.animationConfig.value && typeof this.animationConfig.value === 'function') {- this._warn(this._logf('playAnimation', "Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));- return;- }-- // type is optional- var thisConfig;- if (type) {- thisConfig = this.animationConfig[type];- } else {- thisConfig = this.animationConfig;- }-- if (!Array.isArray(thisConfig)) {- thisConfig = [thisConfig];- }-- // iterate animations and recurse to process configurations from child nodes- if (thisConfig) {- for (var config, index = 0; config = thisConfig[index]; index++) {- if (config.animatable) {- config.animatable._getAnimationConfigRecursive(config.type || type, map, allConfigs);- } else {- if (config.id) {- var cachedConfig = map[config.id];- if (cachedConfig) {- // merge configurations with the same id, making a clone lazily- if (!cachedConfig.isClone) {- map[config.id] = this._cloneConfig(cachedConfig)- cachedConfig = map[config.id];- }- this._copyProperties(cachedConfig, config);- } else {- // put any configs with an id into a map- map[config.id] = config;- }- } else {- allConfigs.push(config);- }- }- }- }- },-- /**- * An element implementing `Polymer.NeonAnimationRunnerBehavior` calls this method to configure- * an animation with an optional type. Elements implementing `Polymer.NeonAnimatableBehavior`- * should define the property `animationConfig`, which is either a configuration object- * or a map of animation type to array of configuration objects.- */- getAnimationConfig: function(type) {- var map = {};- var allConfigs = [];- this._getAnimationConfigRecursive(type, map, allConfigs);- // append the configurations saved in the map to the array- for (var key in map) {- allConfigs.push(map[key]);- }- return allConfigs;- }-- };--</script>+<script>Polymer.NeonAnimatableBehavior={properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(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,Array.isArray(o)||(o=[o]),o)for(var e,a=0;e=o[a];a++)if(e.animatable)e.animatable._getAnimationConfigRecursive(e.type||i,n,t);else if(e.id){var r=n[e.id];r?(r.isClone||(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._getAnimationConfigRecursive(i,n,t);for(var o in n)t.push(n[o]);return t}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/neon-animation-behavior.html b/frontend/bower_components/neon-animation/neon-animation-behavior.htmlindex 6939d3428..2ed4ea193 100644--- a/frontend/bower_components/neon-animation/neon-animation-behavior.html+++ b/frontend/bower_components/neon-animation/neon-animation-behavior.html@@ -1,86 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-meta/iron-meta.html">-<script>-- /**- * Use `Polymer.NeonAnimationBehavior` to implement an animation.- * @polymerBehavior- */- Polymer.NeonAnimationBehavior = {-- properties: {-- /**- * Defines the animation timing.- */- animationTiming: {- type: Object,- value: function() {- return {- duration: 500,- easing: 'cubic-bezier(0.4, 0, 0.2, 1)',- fill: 'both'- }- }- }-- },-- /**- * Can be used to determine that elements implement this behavior.- */- isNeonAnimation: true,-- /**- * Do any animation configuration here.- */- // configure: function(config) {- // },-- /**- * Returns the animation timing by mixing in properties from `config` to the defaults defined- * by the animation.- */- timingFromConfig: function(config) {- if (config.timing) {- for (var property in config.timing) {- this.animationTiming[property] = config.timing[property];- }- }- return this.animationTiming;- },-- /**- * Sets `transform` and `transformOrigin` properties along with the prefixed versions.- */- setPrefixedProperty: function(node, property, value) {- var map = {- 'transform': ['webkitTransform'],- 'transformOrigin': ['mozTransformOrigin', 'webkitTransformOrigin']- };- var prefixes = map[property];- for (var prefix, index = 0; prefix = prefixes[index]; index++) {- node.style[prefix] = value;- }- node.style[property] = value;- },-- /**- * Called when the animation finishes.- */- complete: function() {}-- };--</script>+<script>Polymer.NeonAnimationBehavior={properties:{animationTiming:{type: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.animationTiming},setPrefixedProperty:function(i,n,r){for(var t,o={transform:["webkitTransform"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]},e=o[n],m=0;t=e[m];m++)i.style[t]=r;i.style[n]=r},complete:function(){}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/neon-animation-runner-behavior.html b/frontend/bower_components/neon-animation/neon-animation-runner-behavior.htmlindex 67c11b685..5e98170d2 100644--- a/frontend/bower_components/neon-animation/neon-animation-runner-behavior.html+++ b/frontend/bower_components/neon-animation/neon-animation-runner-behavior.html@@ -1,129 +1,6 @@-<!---@license-Copyright (c) 2015 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--->-<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-meta/iron-meta.html"><link rel="import" href="neon-animatable-behavior.html">-<script>-- /**- * `Polymer.NeonAnimationRunnerBehavior` adds a method to run animations.- *- * @polymerBehavior Polymer.NeonAnimationRunnerBehavior- */- Polymer.NeonAnimationRunnerBehaviorImpl = {-- _configureAnimations: function(configs) {- var results = [];- if (configs.length > 0) {- for (var config, index = 0; config = configs[index]; index++) {- var neonAnimation = document.createElement(config.name);- // is this element actually a neon animation?- if (neonAnimation.isNeonAnimation) {- var result = null;- // configuration or play could fail if polyfills aren't loaded- try {- result = neonAnimation.configure(config);- // Check if we have an Effect rather than an Animation- if (typeof result.cancel != 'function') {- result = document.timeline.play(result);- }- } catch (e) {- result = null;- console.warn('Couldnt play', '(', config.name, ').', e);- }- if (result) {- results.push({- neonAnimation: neonAnimation,- config: config,- animation: result,- });- }- } else {- console.warn(this.is + ':', config.name, 'not found!');- }- }- }- return results;- },-- _shouldComplete: function(activeEntries) {- var finished = true;- for (var i = 0; i < activeEntries.length; i++) {- if (activeEntries[i].animation.playState != 'finished') {- finished = false;- break;- }- }- return finished;- },-- _complete: function(activeEntries) {- for (var i = 0; i < activeEntries.length; i++) {- activeEntries[i].neonAnimation.complete(activeEntries[i].config);- }- for (var i = 0; i < activeEntries.length; i++) {- activeEntries[i].animation.cancel();- }- },-- /**- * Plays an animation with an optional `type`.- * @param {string=} type- * @param {!Object=} cookie- */- playAnimation: function(type, cookie) {- var configs = this.getAnimationConfig(type);- if (!configs) {- return;- }- this._active = this._active || {};- if (this._active[type]) {- this._complete(this._active[type]);- delete this._active[type];- }-- var activeEntries = this._configureAnimations(configs);-- if (activeEntries.length == 0) {- this.fire('neon-animation-finish', cookie, {bubbles: false});- return;- }-- this._active[type] = activeEntries;-- for (var i = 0; i < activeEntries.length; i++) {- activeEntries[i].animation.onfinish = function() {- if (this._shouldComplete(activeEntries)) {- this._complete(activeEntries);- delete this._active[type];- this.fire('neon-animation-finish', cookie, {bubbles: false});- }- }.bind(this);- }- },-- /**- * Cancels the currently running animations.- */- cancelAnimation: function() {- for (var k in this._animations) {- this._animations[k].cancel();- }- this._animations = {};- }- };-- /** @polymerBehavior Polymer.NeonAnimationRunnerBehavior */- Polymer.NeonAnimationRunnerBehavior = [- Polymer.NeonAnimatableBehavior,- Polymer.NeonAnimationRunnerBehaviorImpl- ];-</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.cancel&&(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.complete(n[i].config);for(var i=0;i<n.length;i++)n[i].animation.cancel()},playAnimation:function(n,i){var e=this.getAnimationConfig(n);if(e){this._active=this._active||{},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),delete this._active[n],this.fire("neon-animation-finish",i,{bubbles:!1}))}.bind(this)}},cancelAnimation:function(){for(var n in this._animations)this._animations[n].cancel();this._animations={}}},Polymer.NeonAnimationRunnerBehavior=[Polymer.NeonAnimatableBehavior,Polymer.NeonAnimationRunnerBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/neon-animation/web-animations.html b/frontend/bower_components/neon-animation/web-animations.htmlindex c87185401..d091fca33 100644--- a/frontend/bower_components/neon-animation/web-animations.html+++ b/frontend/bower_components/neon-animation/web-animations.html@@ -1,11 +1,2 @@-<!---@license-Copyright (c) 2015 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--->--<script src="../web-animations-js/web-animations-next-lite.min.js"></script>+<html><head><script src="../web-animations-js/web-animations-next-lite.min.js"></script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-behaviors/paper-button-behavior.html b/frontend/bower_components/paper-behaviors/paper-button-behavior.htmlindex c4d133022..b7523a40f 100644--- a/frontend/bower_components/paper-behaviors/paper-button-behavior.html+++ b/frontend/bower_components/paper-behaviors/paper-button-behavior.html@@ -1,97 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-behaviors/iron-button-state.html"><link rel="import" href="paper-ripple-behavior.html">-<script>- /** @polymerBehavior Polymer.PaperButtonBehavior */- Polymer.PaperButtonBehaviorImpl = {- properties: {- /**- * The z-depth of this element, from 0-5. Setting to 0 will remove the- * shadow, and each increasing number greater than 0 will be "deeper"- * than the last.- *- * @attribute elevation- * @type number- * @default 1- */- elevation: {- type: Number,- reflectToAttribute: true,- readOnly: true- }- },-- observers: [- '_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)',- '_computeKeyboardClass(receivedFocusFromKeyboard)'- ],-- hostAttributes: {- role: 'button',- tabindex: '0',- animated: true- },-- _calculateElevation: function() {- var e = 1;- if (this.disabled) {- e = 0;- } else if (this.active || this.pressed) {- e = 4;- } else if (this.receivedFocusFromKeyboard) {- e = 3;- }- this._setElevation(e);- },-- _computeKeyboardClass: function(receivedFocusFromKeyboard) {- this.toggleClass('keyboard-focus', receivedFocusFromKeyboard);- },-- /**- * In addition to `IronButtonState` behavior, when space key goes down,- * create a ripple down effect.- *- * @param {!KeyboardEvent} event .- */- _spaceKeyDownHandler: function(event) {- Polymer.IronButtonStateImpl._spaceKeyDownHandler.call(this, event);- // Ensure that there is at most one ripple when the space key is held down.- if (this.hasRipple() && this.getRipple().ripples.length < 1) {- this._ripple.uiDownAction();- }- },-- /**- * In addition to `IronButtonState` behavior, when space key goes up,- * create a ripple up effect.- *- * @param {!KeyboardEvent} event .- */- _spaceKeyUpHandler: function(event) {- Polymer.IronButtonStateImpl._spaceKeyUpHandler.call(this, event);- if (this.hasRipple()) {- this._ripple.uiUpAction();- }- }- };-- /** @polymerBehavior */- Polymer.PaperButtonBehavior = [- Polymer.IronButtonState,- Polymer.IronControlState,- Polymer.PaperRippleBehavior,- Polymer.PaperButtonBehaviorImpl- ];-</script>+<script>Polymer.PaperButtonBehaviorImpl={properties:{elevation:{type:Number,reflectToAttribute:!0,readOnly:!0}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)","_computeKeyboardClass(receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0",animated:!0},_calculateElevation:function(){var e=1;this.disabled?e=0:this.active||this.pressed?e=4:this.receivedFocusFromKeyboard&&(e=3),this._setElevation(e)},_computeKeyboardClass:function(e){this.toggleClass("keyboard-focus",e)},_spaceKeyDownHandler:function(e){Polymer.IronButtonStateImpl._spaceKeyDownHandler.call(this,e),this.hasRipple()&&this.getRipple().ripples.length<1&&this._ripple.uiDownAction()},_spaceKeyUpHandler:function(e){Polymer.IronButtonStateImpl._spaceKeyUpHandler.call(this,e),this.hasRipple()&&this._ripple.uiUpAction()}},Polymer.PaperButtonBehavior=[Polymer.IronButtonState,Polymer.IronControlState,Polymer.PaperRippleBehavior,Polymer.PaperButtonBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-behaviors/paper-checked-element-behavior.html b/frontend/bower_components/paper-behaviors/paper-checked-element-behavior.htmlindex 79812a66f..dbb2af914 100644--- a/frontend/bower_components/paper-behaviors/paper-checked-element-behavior.html+++ b/frontend/bower_components/paper-behaviors/paper-checked-element-behavior.html@@ -1,57 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-checked-element-behavior/iron-checked-element-behavior.html"><link rel="import" href="paper-inky-focus-behavior.html">-<script>- /**- * Use `Polymer.PaperCheckedElementBehavior` to implement a custom element- * that has a `checked` property similar to `Polymer.IronCheckedElementBehavior`- * and is compatible with having a ripple effect.- * @polymerBehavior Polymer.PaperCheckedElementBehavior- */- Polymer.PaperCheckedElementBehaviorImpl = {- /**- * Synchronizes the element's checked state with its ripple effect.- */- _checkedChanged: function() {- Polymer.IronCheckedElementBehaviorImpl._checkedChanged.call(this);- if (this.hasRipple()) {- if (this.checked) {- this._ripple.setAttribute('checked', '');- } else {- this._ripple.removeAttribute('checked');- }- }- },-- /**- * Synchronizes the element's `active` and `checked` state.- */- _buttonStateChanged: function() {- Polymer.PaperRippleBehavior._buttonStateChanged.call(this);- if (this.disabled) {- return;- }- if (this.isAttached) {- this.checked = this.active;- }- }- };-- /** @polymerBehavior Polymer.PaperCheckedElementBehavior */- Polymer.PaperCheckedElementBehavior = [- Polymer.PaperInkyFocusBehavior,- Polymer.IronCheckedElementBehavior,- Polymer.PaperCheckedElementBehaviorImpl- ];-</script>+<script>Polymer.PaperCheckedElementBehaviorImpl={_checkedChanged:function(){Polymer.IronCheckedElementBehaviorImpl._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){Polymer.PaperRippleBehavior._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}},Polymer.PaperCheckedElementBehavior=[Polymer.PaperInkyFocusBehavior,Polymer.IronCheckedElementBehavior,Polymer.PaperCheckedElementBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-behaviors/paper-inky-focus-behavior.html b/frontend/bower_components/paper-behaviors/paper-inky-focus-behavior.htmlindex 3ecb9ac1b..d357aef23 100644--- a/frontend/bower_components/paper-behaviors/paper-inky-focus-behavior.html+++ b/frontend/bower_components/paper-behaviors/paper-inky-focus-behavior.html@@ -1,51 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-behaviors/iron-button-state.html"><link rel="import" href="paper-ripple-behavior.html">-<script>- /**- * `Polymer.PaperInkyFocusBehavior` implements a ripple when the element has keyboard focus.- *- * @polymerBehavior Polymer.PaperInkyFocusBehavior- */- Polymer.PaperInkyFocusBehaviorImpl = {- observers: [- '_focusedChanged(receivedFocusFromKeyboard)'- ],-- _focusedChanged: function(receivedFocusFromKeyboard) {- if (receivedFocusFromKeyboard) {- this.ensureRipple();- }- if (this.hasRipple()) {- this._ripple.holdDown = receivedFocusFromKeyboard;- }- },-- _createRipple: function() {- var ripple = Polymer.PaperRippleBehavior._createRipple();- ripple.id = 'ink';- ripple.setAttribute('center', '');- ripple.classList.add('circle');- return ripple;- }- };-- /** @polymerBehavior Polymer.PaperInkyFocusBehavior */- Polymer.PaperInkyFocusBehavior = [- Polymer.IronButtonState,- Polymer.IronControlState,- Polymer.PaperRippleBehavior,- Polymer.PaperInkyFocusBehaviorImpl- ];-</script>+<script>Polymer.PaperInkyFocusBehaviorImpl={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=Polymer.PaperRippleBehavior._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},Polymer.PaperInkyFocusBehavior=[Polymer.IronButtonState,Polymer.IronControlState,Polymer.PaperRippleBehavior,Polymer.PaperInkyFocusBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-behaviors/paper-ripple-behavior.html b/frontend/bower_components/paper-behaviors/paper-ripple-behavior.htmlindex aaacf34f6..2bbe0c192 100644--- a/frontend/bower_components/paper-behaviors/paper-ripple-behavior.html+++ b/frontend/bower_components/paper-behaviors/paper-ripple-behavior.html@@ -1,126 +1,5 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../paper-ripple/paper-ripple.html">-<script>- /**- * `Polymer.PaperRippleBehavior` dynamically implements a ripple- * when the element has focus via pointer or keyboard.- *- * NOTE: This behavior is intended to be used in conjunction with and after- * `Polymer.IronButtonState` and `Polymer.IronControlState`.- *- * @polymerBehavior Polymer.PaperRippleBehavior- */- Polymer.PaperRippleBehavior = {- properties: {- /**- * If true, the element will not produce a ripple effect when interacted- * with via the pointer.- */- noink: {- type: Boolean,- observer: '_noinkChanged'- },-- /**- * @type {Element|undefined}- */- _rippleContainer: {- type: Object,- }- },-- /**- * Ensures a `<paper-ripple>` element is available when the element is- * focused.- */- _buttonStateChanged: function() {- if (this.focused) {- this.ensureRipple();- }- },-- /**- * In addition to the functionality provided in `IronButtonState`, ensures- * a ripple effect is created when the element is in a `pressed` state.- */- _downHandler: function(event) {- Polymer.IronButtonStateImpl._downHandler.call(this, event);- if (this.pressed) {- this.ensureRipple(event);- }- },-- /**- * Ensures this element contains a ripple effect. For startup efficiency- * the ripple effect is dynamically on demand when needed.- * @param {!Event=} optTriggeringEvent (optional) event that triggered the- * ripple.- */- ensureRipple: function(optTriggeringEvent) {- if (!this.hasRipple()) {- this._ripple = this._createRipple();- this._ripple.noink = this.noink;- var rippleContainer = this._rippleContainer || this.root;- if (rippleContainer) {- Polymer.dom(rippleContainer).appendChild(this._ripple);- }- if (optTriggeringEvent) {- // Check if the event happened inside of the ripple container- // Fall back to host instead of the root because distributed text- // nodes are not valid event targets- var domContainer = Polymer.dom(this._rippleContainer || this);- var target = Polymer.dom(optTriggeringEvent).rootTarget;- if (domContainer.deepContains( /** @type {Node} */(target))) {- this._ripple.uiDownAction(optTriggeringEvent);- }- }- }- },-- /**- * Returns the `<paper-ripple>` element used by this element to create- * ripple effects. The element's ripple is created on demand, when- * necessary, and calling this method will force the- * ripple to be created.- */- getRipple: function() {- this.ensureRipple();- return this._ripple;- },-- /**- * Returns true if this element currently contains a ripple effect.- * @return {boolean}- */- hasRipple: function() {- return Boolean(this._ripple);- },-- /**- * Create the element's ripple effect via creating a `<paper-ripple>`.- * Override this method to customize the ripple element.- * @return {!PaperRippleElement} Returns a `<paper-ripple>` element.- */- _createRipple: function() {- return /** @type {!PaperRippleElement} */ (- document.createElement('paper-ripple'));- },-- _noinkChanged: function(noink) {- if (this.hasRipple()) {- this._ripple.noink = noink;- }- }- };-</script>+<script>Polymer.PaperRippleBehavior={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){Polymer.IronButtonStateImpl._downHandler.call(this,e),this.pressed&&this.ensureRipple(e)},ensureRipple:function(e){if(!this.hasRipple()){this._ripple=this._createRipple(),this._ripple.noink=this.noink;var i=this._rippleContainer||this.root;if(i&&Polymer.dom(i).appendChild(this._ripple),e){var n=Polymer.dom(this._rippleContainer||this),t=Polymer.dom(e).rootTarget;n.deepContains(t)&&this._ripple.uiDownAction(e)}}},getRipple:function(){return this.ensureRipple(),this._ripple},hasRipple:function(){return Boolean(this._ripple)},_createRipple:function(){return document.createElement("paper-ripple")},_noinkChanged:function(e){this.hasRipple()&&(this._ripple.noink=e)}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-button/paper-button.html b/frontend/bower_components/paper-button/paper-button.htmlindex dd74dc660..c8d743709 100644--- a/frontend/bower_components/paper-button/paper-button.html+++ b/frontend/bower_components/paper-button/paper-button.html@@ -1,88 +1,12 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-behaviors/paper-button-behavior.html"><link rel="import" href="../paper-material/paper-material-shared-styles.html">-<!---Material design: [Buttons](https://www.google.com/design/spec/components/buttons.html)--`paper-button` is a button. When the user touches the button, a ripple effect emanates-from the point of contact. It may be flat or raised. A raised button is styled with a-shadow.--Example:-- <paper-button>Flat button</paper-button>- <paper-button raised>Raised button</paper-button>- <paper-button noink>No ripple effect</paper-button>- <paper-button toggles>Toggle-able button</paper-button>--A button that has `toggles` true will remain `active` after being clicked (and-will have an `active` attribute set). For more information, see the `Polymer.IronButtonState`-behavior.--You may use custom DOM in the button body to create a variety of buttons. For example, to-create a button with an icon and some text:-- <paper-button>- <iron-icon icon="favorite"></iron-icon>- custom button content- </paper-button>--To use `paper-button` as a link, wrap it in an anchor tag. Since `paper-button` will already-receive focus, you may want to prevent the anchor tag from receiving focus as well by setting-its tabindex to -1.-- <a href="https://www.polymer-project.org/" tabindex="-1">- <paper-button raised>Polymer Project</paper-button>- </a>--### Styling--Style the button with CSS as you would a normal DOM element.-- paper-button.fancy {- background: green;- color: yellow;- }- paper-button.fancy:hover {- background: lime;- }- paper-button[disabled],- paper-button[toggles][active] {- background: red;- }--By default, the ripple is the same color as the foreground at 25% opacity. You may-customize the color using the `--paper-button-ink-color` custom property.--The following custom properties and mixins are also available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-button-ink-color` | Background color of the ripple | `Based on the button's color`-`--paper-button` | Mixin applied to the button | `{}`-`--paper-button-disabled` | Mixin applied to the disabled button. Note that you can also use the `paper-button[disabled]` selector | `{}`-`--paper-button-flat-keyboard-focus` | Mixin applied to a flat button after it's been focused using the keyboard | `{}`-`--paper-button-raised-keyboard-focus` | Mixin applied to a raised button after it's been focused using the keyboard | `{}`--@demo demo/index.html--->--<dom-module id="paper-button">- <template strip-whitespace>+</head><body><dom-module id="paper-button">+ <template strip-whitespace=""><style include="paper-material-shared-styles">:host {@apply(--layout-inline);@@ -145,42 +69,6 @@ Custom property | Description | Default<content></content></template>- <script>- Polymer({- is: 'paper-button',-- behaviors: [- Polymer.PaperButtonBehavior- ],-- properties: {- /**- * If true, the button should be styled with a shadow.- */- raised: {- type: Boolean,- reflectToAttribute: true,- value: false,- observer: '_calculateElevation'- }- },-- _calculateElevation: function() {- if (!this.raised) {- this._setElevation(0);- } else {- Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this);- }- }-- /**- Fired when the animation finishes.- This is useful if you want to wait until- the ripple animation finishes to perform some action.-- @event transitionend- Event param: {{node: Object}} detail Contains the animated node.- */- });- </script>+ <script>Polymer({is:"paper-button",behaviors:[Polymer.PaperButtonBehavior],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this):this._setElevation(0)}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-checkbox/paper-checkbox.html b/frontend/bower_components/paper-checkbox/paper-checkbox.htmlindex 9184ded78..c30e55199 100644--- a/frontend/bower_components/paper-checkbox/paper-checkbox.html+++ b/frontend/bower_components/paper-checkbox/paper-checkbox.html@@ -1,63 +1,11 @@-<!---@license-Copyright (c) 2016 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-behaviors/paper-checked-element-behavior.html">-<!---Material design: [Checkbox](https://www.google.com/design/spec/components/selection-controls.html#selection-controls-checkbox)--`paper-checkbox` is a button that can be either checked or unchecked. User-can tap the checkbox to check or uncheck it. Usually you use checkboxes-to allow user to select multiple options from a set. If you have a single-ON/OFF option, avoid using a single checkbox and use `paper-toggle-button`-instead.--Example:-- <paper-checkbox>label</paper-checkbox>-- <paper-checkbox checked> label</paper-checkbox>--### Styling--The following custom properties and mixins are available for styling:-Custom property | Description | Default-----------------|-------------|-----------`--paper-checkbox-unchecked-background-color` | Checkbox background color when the input is not checked | `transparent`-`--paper-checkbox-unchecked-color` | Checkbox border color when the input is not checked | `--primary-text-color`-`--paper-checkbox-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--primary-text-color`-`--paper-checkbox-checked-color` | Checkbox color when the input is checked | `--primary-color`-`--paper-checkbox-checked-ink-color` | Selected/focus ripple color when the input is checked | `--primary-color`-`--paper-checkbox-checkmark-color` | Checkmark color | `white`-`--paper-checkbox-label-color` | Label color | `--primary-text-color`-`--paper-checkbox-label-checked-color` | Label color when the input is checked | `--paper-checkbox-label-color`-`--paper-checkbox-label-spacing` | Spacing between the label and the checkbox | `8px`-`--paper-checkbox-label` | Mixin applied to the label | `{}`-`--paper-checkbox-label-checked` | Mixin applied to the label when the input is checked | `{}`-`--paper-checkbox-error-color` | Checkbox color when invalid | `--error-color`-`--paper-checkbox-size` | Size of the checkbox | `18px`-`--paper-checkbox-ink-size` | Size of the ripple | `48px`-`--paper-checkbox-margin` | Margin around the checkbox container | `initial`-`--paper-checkbox-vertical-align` | Vertical alignment of the checkbox container | `middle`-This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`.-In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`.--@demo demo/index.html--->--<dom-module id="paper-checkbox">- <template strip-whitespace>+</head><body><dom-module id="paper-checkbox">+ <template strip-whitespace=""><style>:host {display: inline-block;@@ -235,77 +183,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported `<div id="checkboxLabel"><content></content></div></template>- <script>- Polymer({- is: 'paper-checkbox',-- behaviors: [- Polymer.PaperCheckedElementBehavior- ],-- hostAttributes: {- role: 'checkbox',- 'aria-checked': false,- tabindex: 0- },-- properties: {- /**- * Fired when the checked state changes due to user interaction.- *- * @event change- */-- /**- * Fired when the checked state changes.- *- * @event iron-change- */- ariaActiveAttribute: {- type: String,- value: 'aria-checked'- }- },-- attached: function() {- var inkSize = this.getComputedStyleValue('--calculated-paper-checkbox-ink-size').trim();- // If unset, compute and set the default `--paper-checkbox-ink-size`.- if (inkSize === '-1px') {- var checkboxSize = parseFloat(this.getComputedStyleValue('--calculated-paper-checkbox-size').trim());- var defaultInkSize = Math.floor((8 / 3) * checkboxSize);-- // The checkbox and ripple need to have the same parity so that their- // centers align.- if (defaultInkSize % 2 !== checkboxSize % 2) {- defaultInkSize++;- }-- this.customStyle['--paper-checkbox-ink-size'] = defaultInkSize + 'px';- this.updateStyles();- }- },-- _computeCheckboxClass: function(checked, invalid) {- var className = '';- if (checked) {- className += 'checked ';- }- if (invalid) {- className += 'invalid';- }- return className;- },-- _computeCheckmarkClass: function(checked) {- return checked ? '' : 'hidden';- },-- // create ripple inside the checkboxContainer- _createRipple: function() {- this._rippleContainer = this.$.checkboxContainer;- return Polymer.PaperInkyFocusBehaviorImpl._createRipple.call(this);- }-- });- </script>+ <script>Polymer({is:"paper-checkbox",behaviors:[Polymer.PaperCheckedElementBehavior],hostAttributes:{role:"checkbox","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},attached:function(){var e=this.getComputedStyleValue("--calculated-paper-checkbox-ink-size").trim();if("-1px"===e){var t=parseFloat(this.getComputedStyleValue("--calculated-paper-checkbox-size").trim()),a=Math.floor(8/3*t);a%2!==t%2&&a++,this.customStyle["--paper-checkbox-ink-size"]=a+"px",this.updateStyles()}},_computeCheckboxClass:function(e,t){var a="";return e&&(a+="checked "),t&&(a+="invalid"),a},_computeCheckmarkClass:function(e){return e?"":"hidden"},_createRipple:function(){return this._rippleContainer=this.$.checkboxContainer,Polymer.PaperInkyFocusBehaviorImpl._createRipple.call(this)}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.htmlindex d8ca87c0a..f17b8c0d5 100644--- a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html+++ b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html@@ -1,17 +1,8 @@-<!---@license-Copyright (c) 2016 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--->+<html><head><link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">-<link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">--<iron-iconset-svg name="paper-dropdown-menu" size="24">+</head><body><iron-iconset-svg name="paper-dropdown-menu" size="24"><svg><defs><g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g></defs></svg></iron-iconset-svg>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.htmlindex 1130805d9..ca01f58dc 100644--- a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html+++ b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html@@ -1,16 +1,6 @@-<!---@license-Copyright (c) 2016 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--->+<html><head><link rel="import" href="../paper-styles/default-theme.html">-<link rel="import" href="../paper-styles/default-theme.html">--<dom-module id="paper-dropdown-menu-shared-styles">+</head><body><dom-module id="paper-dropdown-menu-shared-styles"><template><style>:host {@@ -76,3 +66,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN</style></template></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu.html b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu.htmlindex 06f4ab816..f04666a19 100644--- a/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu.html+++ b/frontend/bower_components/paper-dropdown-menu/paper-dropdown-menu.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="../iron-behaviors/iron-button-state.html"><link rel="import" href="../iron-behaviors/iron-control-state.html">@@ -23,384 +13,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN<link rel="import" href="paper-dropdown-menu-icons.html"><link rel="import" href="paper-dropdown-menu-shared-styles.html">-<!---Material design: [Dropdown menus](https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons)--`paper-dropdown-menu` is similar to a native browser select element.-`paper-dropdown-menu` works with selectable content. The currently selected-item is displayed in the control. If no item is selected, the `label` is-displayed instead.--Example:-- <paper-dropdown-menu label="Your favourite pastry">- <paper-listbox class="dropdown-content">- <paper-item>Croissant</paper-item>- <paper-item>Donut</paper-item>- <paper-item>Financier</paper-item>- <paper-item>Madeleine</paper-item>- </paper-listbox>- </paper-dropdown-menu>--This example renders a dropdown menu with 4 options.--The child element with the class `dropdown-content` is used as the dropdown-menu. This can be a [`paper-listbox`](paper-listbox), or any other or-element that acts like an [`iron-selector`](iron-selector).--Specifically, the menu child must fire an-[`iron-select`](iron-selector#event-iron-select) event when one of its-children is selected, and an [`iron-deselect`](iron-selector#event-iron-deselect)-event when a child is deselected. The selected or deselected item must-be passed as the event's `detail.item` property.--Applications can listen for the `iron-select` and `iron-deselect` events-to react when options are selected and deselected.--### Styling--The following custom properties and mixins are also available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-dropdown-menu` | A mixin that is applied to the element host | `{}`-`--paper-dropdown-menu-disabled` | A mixin that is applied to the element host when disabled | `{}`-`--paper-dropdown-menu-ripple` | A mixin that is applied to the internal ripple | `{}`-`--paper-dropdown-menu-button` | A mixin that is applied to the internal menu button | `{}`-`--paper-dropdown-menu-input` | A mixin that is applied to the internal paper input | `{}`-`--paper-dropdown-menu-icon` | A mixin that is applied to the internal icon | `{}`-You can also use any of the `paper-input-container` and `paper-menu-button`-style mixins and custom properties to style the internal input and menu button-respectively.-@group Paper Elements-@element paper-dropdown-menu-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-dropdown-menu">+</head><body><dom-module id="paper-dropdown-menu"><template><style include="paper-dropdown-menu-shared-styles"></style>- <!-- this div fulfills an a11y requirement for combobox, do not remove -->+<span role="button"></span>- <paper-menu-button- id="menuButton"- vertical-align="[[verticalAlign]]"- horizontal-align="[[horizontalAlign]]"- dynamic-align="[[dynamicAlign]]"- vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat)]]"- disabled="[[disabled]]"- no-animations="[[noAnimations]]"- on-iron-select="_onIronSelect"- on-iron-deselect="_onIronDeselect"- opened="{{opened}}"- close-on-activate- allow-outside-scroll="[[allowOutsideScroll]]">+ <paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate="" allow-outside-scroll="[[allowOutsideScroll]]"><div class="dropdown-trigger"><paper-ripple></paper-ripple>- <!-- paper-input has type="text" for a11y, do not remove -->- <paper-input- type="text"- invalid="[[invalid]]"- readonly- disabled="[[disabled]]"- value="[[selectedItemLabel]]"- placeholder="[[placeholder]]"- error-message="[[errorMessage]]"- always-float-label="[[alwaysFloatLabel]]"- no-label-float="[[noLabelFloat]]"- label="[[label]]">- <iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix></iron-icon>++ <paper-input type="text" invalid="[[invalid]]" readonly="" disabled="[[disabled]]" value="[[selectedItemLabel]]" placeholder="[[placeholder]]" error-message="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float="[[noLabelFloat]]" label="[[label]]">+ <iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix=""></iron-icon></paper-input></div><content id="content" select=".dropdown-content"></content></paper-menu-button></template>- <script>- (function() {- 'use strict';-- Polymer({- is: 'paper-dropdown-menu',-- behaviors: [- Polymer.IronButtonState,- Polymer.IronControlState,- Polymer.IronFormElementBehavior,- Polymer.IronValidatableBehavior- ],-- properties: {- /**- * The derived "label" of the currently selected item. This value- * is the `label` property on the selected item if set, or else the- * trimmed text content of the selected item.- */- selectedItemLabel: {- type: String,- notify: true,- readOnly: true- },-- /**- * The last selected item. An item is selected if the dropdown menu has- * a child with class `dropdown-content`, and that child triggers an- * `iron-select` event with the selected `item` in the `detail`.- *- * @type {?Object}- */- selectedItem: {- type: Object,- notify: true,- readOnly: true- },-- /**- * The value for this element that will be used when submitting in- * a form. It is read only, and will always have the same value- * as `selectedItemLabel`.- */- value: {- type: String,- notify: true,- readOnly: true- },-- /**- * The label for the dropdown.- */- label: {- type: String- },-- /**- * The placeholder for the dropdown.- */- placeholder: {- type: String- },-- /**- * The error message to display when invalid.- */- errorMessage: {- type: String- },-- /**- * True if the dropdown is open. Otherwise, false.- */- opened: {- type: Boolean,- notify: true,- value: false,- observer: '_openedChanged'- },-- /**- * By default, the dropdown will constrain scrolling on the page- * to itself when opened.- * Set to true in order to prevent scroll from being constrained- * to the dropdown when it opens.- */- allowOutsideScroll: {- type: Boolean,- value: false- },-- /**- * Set to true to disable the floating label. Bind this to the- * `<paper-input-container>`'s `noLabelFloat` property.- */- noLabelFloat: {- type: Boolean,- value: false,- reflectToAttribute: true- },-- /**- * Set to true to always float the label. Bind this to the- * `<paper-input-container>`'s `alwaysFloatLabel` property.- */- alwaysFloatLabel: {- type: Boolean,- value: false- },-- /**- * Set to true to disable animations when opening and closing the- * dropdown.- */- noAnimations: {- type: Boolean,- value: false- },-- /**- * The orientation against which to align the menu dropdown- * horizontally relative to the dropdown trigger.- */- horizontalAlign: {- type: String,- value: 'right'- },-- /**- * The orientation against which to align the menu dropdown- * vertically relative to the dropdown trigger.- */- verticalAlign: {- type: String,- value: 'top'- },-- /**- * If true, the `horizontalAlign` and `verticalAlign` properties will- * be considered preferences instead of strict requirements when- * positioning the dropdown and may be changed if doing so reduces- * the area of the dropdown falling outside of `fitInto`.- */- dynamicAlign: {- type: Boolean- },- },-- listeners: {- 'tap': '_onTap'- },-- keyBindings: {- 'up down': 'open',- 'esc': 'close'- },-- hostAttributes: {- role: 'combobox',- 'aria-autocomplete': 'none',- 'aria-haspopup': 'true'- },-- observers: [- '_selectedItemChanged(selectedItem)'- ],-- attached: function() {- // NOTE(cdata): Due to timing, a preselected value in a `IronSelectable`- // child will cause an `iron-select` event to fire while the element is- // still in a `DocumentFragment`. This has the effect of causing- // handlers not to fire. So, we double check this value on attached:- var contentElement = this.contentElement;- if (contentElement && contentElement.selectedItem) {- this._setSelectedItem(contentElement.selectedItem);- }- },-- /**- * The content element that is contained by the dropdown menu, if any.- */- get contentElement() {- return Polymer.dom(this.$.content).getDistributedNodes()[0];- },-- /**- * Show the dropdown content.- */- open: function() {- this.$.menuButton.open();- },-- /**- * Hide the dropdown content.- */- close: function() {- this.$.menuButton.close();- },-- /**- * A handler that is called when `iron-select` is fired.- *- * @param {CustomEvent} event An `iron-select` event.- */- _onIronSelect: function(event) {- this._setSelectedItem(event.detail.item);- },-- /**- * A handler that is called when `iron-deselect` is fired.- *- * @param {CustomEvent} event An `iron-deselect` event.- */- _onIronDeselect: function(event) {- this._setSelectedItem(null);- },-- /**- * A handler that is called when the dropdown is tapped.- *- * @param {CustomEvent} event A tap event.- */- _onTap: function(event) {- if (Polymer.Gestures.findOriginalTarget(event) === this) {- this.open();- }- },-- /**- * Compute the label for the dropdown given a selected item.- *- * @param {Element} selectedItem A selected Element item, with an- * optional `label` property.- */- _selectedItemChanged: function(selectedItem) {- var value = '';- if (!selectedItem) {- value = '';- } else {- value = selectedItem.label || selectedItem.getAttribute('label') || selectedItem.textContent.trim();- }-- this._setValue(value);- this._setSelectedItemLabel(value);- },-- /**- * Compute the vertical offset of the menu based on the value of- * `noLabelFloat`.- *- * @param {boolean} noLabelFloat True if the label should not float- * above the input, otherwise false.- */- _computeMenuVerticalOffset: function(noLabelFloat) {- // NOTE(cdata): These numbers are somewhat magical because they are- // derived from the metrics of elements internal to `paper-input`'s- // template. The metrics will change depending on whether or not the- // input has a floating label.- return noLabelFloat ? -4 : 8;- },-- /**- * Returns false if the element is required and does not have a selection,- * and true otherwise.- * @param {*=} _value Ignored.- * @return {boolean} true if `required` is false, or if `required` is true- * and the element has a valid selection.- */- _getValidity: function(_value) {- return this.disabled || !this.required || (this.required && !!this.value);- },-- _openedChanged: function() {- var openState = this.opened ? 'true' : 'false';- var e = this.contentElement;- if (e) {- e.setAttribute('aria-expanded', openState);- }- }- });- })();- </script>+ <script>!function(){"use strict";Polymer({is:"paper-dropdown-menu",behaviors:[Polymer.IronButtonState,Polymer.IronControlState,Polymer.IronFormElementBehavior,Polymer.IronValidatableBehavior],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0,readOnly:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},dynamicAlign:{type:Boolean}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){return Polymer.dom(this.$.content).getDistributedNodes()[0]},open:function(){this.$.menuButton.open()},close:function(){this.$.menuButton.close()},_onIronSelect:function(e){this._setSelectedItem(e.detail.item)},_onIronDeselect:function(e){this._setSelectedItem(null)},_onTap:function(e){Polymer.Gestures.findOriginalTarget(e)===this&&this.open()},_selectedItemChanged:function(e){var t="";t=e?e.label||e.getAttribute("label")||e.textContent.trim():"",this._setValue(t),this._setSelectedItemLabel(t)},_computeMenuVerticalOffset:function(e){return e?-4:8},_getValidity:function(e){return this.disabled||!this.required||this.required&&!!this.value},_openedChanged:function(){var e=this.opened?"true":"false",t=this.contentElement;t&&t.setAttribute("aria-expanded",e)}})}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-icon-button/paper-icon-button.html b/frontend/bower_components/paper-icon-button/paper-icon-button.htmlindex b69330fbb..149239f1f 100644--- a/frontend/bower_components/paper-icon-button/paper-icon-button.html+++ b/frontend/bower_components/paper-icon-button/paper-icon-button.html@@ -1,75 +1,12 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-icon/iron-icon.html"><link rel="import" href="../paper-behaviors/paper-inky-focus-behavior.html"><link rel="import" href="../paper-styles/default-theme.html">-<!---Material design: [Icon toggles](https://www.google.com/design/spec/components/buttons.html#buttons-toggle-buttons)--`paper-icon-button` is a button with an image placed at the center. When the user touches-the button, a ripple effect emanates from the center of the button.--`paper-icon-button` includes a default icon set. Use `icon` to specify which icon-from the icon set to use.-- <paper-icon-button icon="menu"></paper-icon-button>--See [`iron-iconset`](iron-iconset) for more information about-how to use a custom icon set.--Example:-- <link href="path/to/iron-icons/iron-icons.html" rel="import">-- <paper-icon-button icon="favorite"></paper-icon-button>- <paper-icon-button src="star.png"></paper-icon-button>--To use `paper-icon-button` as a link, wrap it in an anchor tag. Since `paper-icon-button`-will already receive focus, you may want to prevent the anchor tag from receiving focus-as well by setting its tabindex to -1.-- <a href="https://www.polymer-project.org" tabindex="-1">- <paper-icon-button icon="polymer"></paper-icon-button>- </a>--### Styling--Style the button with CSS as you would a normal DOM element. If you are using the icons-provided by `iron-icons`, they will inherit the foreground color of the button.- /* make a red "favorite" button */- <paper-icon-button icon="favorite" style="color: red;"></paper-icon-button>-By default, the ripple is the same color as the foreground at 25% opacity. You may-customize the color using the `--paper-icon-button-ink-color` custom property.--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-icon-button-disabled-text` | The color of the disabled button | `--disabled-text-color`-`--paper-icon-button-ink-color` | Selected/focus ripple color | `--primary-text-color`-`--paper-icon-button` | Mixin for a button | `{}`-`--paper-icon-button-disabled` | Mixin for a disabled button | `{}`-`--paper-icon-button-hover` | Mixin for button on hover | `{}`--@group Paper Elements-@element paper-icon-button-@demo demo/index.html--->--<dom-module id="paper-icon-button">- <template strip-whitespace>+</head><body><dom-module id="paper-icon-button">+ <template strip-whitespace=""><style>:host {display: inline-block;@@ -123,54 +60,6 @@ Custom property | Description | Default<iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-icon></template>- <script>- Polymer({- is: 'paper-icon-button',-- hostAttributes: {- role: 'button',- tabindex: '0'- },-- behaviors: [- Polymer.PaperInkyFocusBehavior- ],-- properties: {- /**- * The URL of an image for the icon. If the src property is specified,- * the icon property should not be.- */- src: {- type: String- },-- /**- * Specifies the icon name or index in the set of icons available in- * the icon's icon set. If the icon property is specified,- * the src property should not be.- */- icon: {- type: String- },-- /**- * Specifies the alternate text for the button, for accessibility.- */- alt: {- type: String,- observer: "_altChanged"- }- },-- _altChanged: function(newValue, oldValue) {- var label = this.getAttribute('aria-label');-- // Don't stomp over a user-set aria-label.- if (!label || oldValue == label) {- this.setAttribute('aria-label', newValue);- }- }- });- </script>+ <script>Polymer({is:"paper-icon-button",hostAttributes:{role:"button",tabindex:"0"},behaviors:[Polymer.PaperInkyFocusBehavior],properties:{src:{type:String},icon:{type:String},alt:{type:String,observer:"_altChanged"}},_altChanged:function(t,e){var r=this.getAttribute("aria-label");r&&e!=r||this.setAttribute("aria-label",t)}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input-addon-behavior.html b/frontend/bower_components/paper-input/paper-input-addon-behavior.htmlindex 41081c713..fd57fb906 100644--- a/frontend/bower_components/paper-input/paper-input-addon-behavior.html+++ b/frontend/bower_components/paper-input/paper-input-addon-behavior.html@@ -1,47 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-- /**- * Use `Polymer.PaperInputAddonBehavior` to implement an add-on for `<paper-input-container>`. A- * add-on appears below the input, and may display information based on the input value and- * validity such as a character counter or an error message.- * @polymerBehavior- */- Polymer.PaperInputAddonBehavior = {-- hostAttributes: {- 'add-on': ''- },-- attached: function() {- this.fire('addon-attached');- },-- /**- * The function called by `<paper-input-container>` when the input value or validity changes.- * @param {{- * inputElement: (Element|undefined),- * value: (string|undefined),- * invalid: boolean- * }} state -- * inputElement: The input element.- * value: The input value.- * invalid: True if the input value is invalid.- */- update: function(state) {- }-- };--</script>+<script>Polymer.PaperInputAddonBehavior={hostAttributes:{"add-on":""},attached:function(){this.fire("addon-attached")},update:function(t){}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input-behavior.html b/frontend/bower_components/paper-input/paper-input-behavior.htmlindex 40d9d2180..c4937e39f 100644--- a/frontend/bower_components/paper-input/paper-input-behavior.html+++ b/frontend/bower_components/paper-input/paper-input-behavior.html@@ -1,569 +1,6 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="../iron-behaviors/iron-control-state.html">-<script>-- // Generate unique, monotonically increasing IDs for labels (needed by- // aria-labelledby) and add-ons.- Polymer.PaperInputHelper = {};- Polymer.PaperInputHelper.NextLabelID = 1;- Polymer.PaperInputHelper.NextAddonID = 1;-- /**- * Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-container>`. This- * behavior is implemented by `<paper-input>`. It exposes a number of properties from- * `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your- * template.- *- * The input element can be accessed by the `inputElement` property if you need to access- * properties or methods that are not exposed.- * @polymerBehavior Polymer.PaperInputBehavior- */- Polymer.PaperInputBehaviorImpl = {-- properties: {- /**- * Fired when the input changes due to user interaction.- *- * @event change- */-- /**- * The label for this input. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * `<label>`'s content and `hidden` property, e.g.- * `<label hidden$="[[!label]]">[[label]]</label>` in your `template`- */- label: {- type: String- },-- /**- * The value for this input. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<input is="iron-input">`'s `bindValue`- * property, or the value property of your input that is `notify:true`.- */- value: {- notify: true,- type: String- },-- /**- * Set to true to disable this input. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * both the `<paper-input-container>`'s and the input's `disabled` property.- */- disabled: {- type: Boolean,- value: false- },-- /**- * Returns true if the value is invalid. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to both the- * `<paper-input-container>`'s and the input's `invalid` property.- *- * If `autoValidate` is true, the `invalid` attribute is managed automatically,- * which can clobber attempts to manage it manually.- */- invalid: {- type: Boolean,- value: false,- notify: true- },-- /**- * Set to true to prevent the user from entering invalid input. If you're- * using PaperInputBehavior to implement your own paper-input-like element,- * bind this to `<input is="iron-input">`'s `preventInvalidInput` property.- */- preventInvalidInput: {- type: Boolean- },-- /**- * Set this to specify the pattern allowed by `preventInvalidInput`. If- * you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `allowedPattern`- * property.- */- allowedPattern: {- type: String- },-- /**- * The type of the input. The supported types are `text`, `number` and `password`.- * If you're using PaperInputBehavior to implement your own paper-input-like element,- * bind this to the `<input is="iron-input">`'s `type` property.- */- type: {- type: String- },-- /**- * The datalist of the input (if any). This should match the id of an existing `<datalist>`.- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `list` property.- */- list: {- type: String- },-- /**- * A pattern to validate the `input` with. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<input is="iron-input">`'s `pattern` property.- */- pattern: {- type: String- },-- /**- * Set to true to mark the input as required. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<input is="iron-input">`'s `required` property.- */- required: {- type: Boolean,- value: false- },-- /**- * The error message to display when the input is invalid. If you're using- * PaperInputBehavior to implement your own paper-input-like element,- * bind this to the `<paper-input-error>`'s content, if using.- */- errorMessage: {- type: String- },-- /**- * Set to true to show a character counter.- */- charCounter: {- type: Boolean,- value: false- },-- /**- * Set to true to disable the floating label. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<paper-input-container>`'s `noLabelFloat` property.- */- noLabelFloat: {- type: Boolean,- value: false- },-- /**- * Set to true to always float the label. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<paper-input-container>`'s `alwaysFloatLabel` property.- */- alwaysFloatLabel: {- type: Boolean,- value: false- },-- /**- * Set to true to auto-validate the input value. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<paper-input-container>`'s `autoValidate` property.- */- autoValidate: {- type: Boolean,- value: false- },-- /**- * Name of the validator to use. If you're using PaperInputBehavior to- * implement your own paper-input-like element, bind this to- * the `<input is="iron-input">`'s `validator` property.- */- validator: {- type: String- },-- // HTMLInputElement attributes for binding if needed-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `autocomplete` property.- */- autocomplete: {- type: String,- value: 'off'- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `autofocus` property.- */- autofocus: {- type: Boolean,- observer: '_autofocusChanged'- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `inputmode` property.- */- inputmode: {- type: String- },-- /**- * The minimum length of the input value.- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `minlength` property.- */- minlength: {- type: Number- },-- /**- * The maximum length of the input value.- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `maxlength` property.- */- maxlength: {- type: Number- },-- /**- * The minimum (numeric or date-time) input value.- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `min` property.- */- min: {- type: String- },-- /**- * The maximum (numeric or date-time) input value.- * Can be a String (e.g. `"2000-01-01"`) or a Number (e.g. `2`).- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `max` property.- */- max: {- type: String- },-- /**- * Limits the numeric or date-time increments.- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `step` property.- */- step: {- type: String- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `name` property.- */- name: {- type: String- },-- /**- * A placeholder string in addition to the label. If this is set, the label will always float.- */- placeholder: {- type: String,- // need to set a default so _computeAlwaysFloatLabel is run- value: ''- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `readonly` property.- */- readonly: {- type: Boolean,- value: false- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `size` property.- */- size: {- type: Number- },-- // Nonstandard attributes for binding if needed-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `autocapitalize` property.- */- autocapitalize: {- type: String,- value: 'none'- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `autocorrect` property.- */- autocorrect: {- type: String,- value: 'off'- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `autosave` property,- * used with type=search.- */- autosave: {- type: String- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `results` property,- * used with type=search.- */- results: {- type: Number- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the `<input is="iron-input">`'s `accept` property,- * used with type=file.- */- accept: {- type: String- },-- /**- * If you're using PaperInputBehavior to implement your own paper-input-like- * element, bind this to the`<input is="iron-input">`'s `multiple` property,- * used with type=file.- */- multiple: {- type: Boolean- },-- _ariaDescribedBy: {- type: String,- value: ''- },-- _ariaLabelledBy: {- type: String,- value: ''- }-- },-- listeners: {- 'addon-attached': '_onAddonAttached',- },-- keyBindings: {- 'shift+tab:keydown': '_onShiftTabDown'- },-- hostAttributes: {- tabindex: 0- },-- /**- * Returns a reference to the input element.- */- get inputElement() {- return this.$.input;- },-- /**- * Returns a reference to the focusable element.- */- get _focusableElement() {- return this.inputElement;- },-- registered: function() {- // These types have some default placeholder text; overlapping- // the label on top of it looks terrible. Auto-float the label in this case.- this._typesThatHaveText = ["date", "datetime", "datetime-local", "month",- "time", "week", "file"];- },-- attached: function() {- this._updateAriaLabelledBy();-- if (this.inputElement &&- this._typesThatHaveText.indexOf(this.inputElement.type) !== -1) {- this.alwaysFloatLabel = true;- }- },-- _appendStringWithSpace: function(str, more) {- if (str) {- str = str + ' ' + more;- } else {- str = more;- }- return str;- },-- _onAddonAttached: function(event) {- var target = event.path ? event.path[0] : event.target;- if (target.id) {- this._ariaDescribedBy = this._appendStringWithSpace(this._ariaDescribedBy, target.id);- } else {- var id = 'paper-input-add-on-' + Polymer.PaperInputHelper.NextAddonID++;- target.id = id;- this._ariaDescribedBy = this._appendStringWithSpace(this._ariaDescribedBy, id);- }- },-- /**- * Validates the input element and sets an error style if needed.- *- * @return {boolean}- */- validate: function() {- return this.inputElement.validate();- },-- /**- * Forward focus to inputElement. Overriden from IronControlState.- */- _focusBlurHandler: function(event) {- Polymer.IronControlState._focusBlurHandler.call(this, event);-- // Forward the focus to the nested input.- if (this.focused && !this._shiftTabPressed)- this._focusableElement.focus();- },-- /**- * Handler that is called when a shift+tab keypress is detected by the menu.- *- * @param {CustomEvent} event A key combination event.- */- _onShiftTabDown: function(event) {- var oldTabIndex = this.getAttribute('tabindex');- this._shiftTabPressed = true;- this.setAttribute('tabindex', '-1');- this.async(function() {- this.setAttribute('tabindex', oldTabIndex);- this._shiftTabPressed = false;- }, 1);- },-- /**- * If `autoValidate` is true, then validates the element.- */- _handleAutoValidate: function() {- if (this.autoValidate)- this.validate();- },-- /**- * Restores the cursor to its original position after updating the value.- * @param {string} newValue The value that should be saved.- */- updateValueAndPreserveCaret: function(newValue) {- // Not all elements might have selection, and even if they have the- // right properties, accessing them might throw an exception (like for- // <input type=number>)- try {- var start = this.inputElement.selectionStart;- this.value = newValue;-- // The cursor automatically jumps to the end after re-setting the value,- // so restore it to its original position.- this.inputElement.selectionStart = start;- this.inputElement.selectionEnd = start;- } catch (e) {- // Just set the value and give up on the caret.- this.value = newValue;- }- },-- _computeAlwaysFloatLabel: function(alwaysFloatLabel, placeholder) {- return placeholder || alwaysFloatLabel;- },-- _updateAriaLabelledBy: function() {- var label = Polymer.dom(this.root).querySelector('label');- if (!label) {- this._ariaLabelledBy = '';- return;- }- var labelledBy;- if (label.id) {- labelledBy = label.id;- } else {- labelledBy = 'paper-input-label-' + Polymer.PaperInputHelper.NextLabelID++;- label.id = labelledBy;- }- this._ariaLabelledBy = labelledBy;- },-- _onChange:function(event) {- // In the Shadow DOM, the `change` event is not leaked into the- // ancestor tree, so we must do this manually.- // See https://w3c.github.io/webcomponents/spec/shadow/#events-that-are-not-leaked-into-ancestor-trees.- if (this.shadowRoot) {- this.fire(event.type, {sourceEvent: event}, {- node: this,- bubbles: event.bubbles,- cancelable: event.cancelable- });- }- },-- _autofocusChanged: function() {- // Firefox doesn't respect the autofocus attribute if it's applied after- // the page is loaded (Chrome/WebKit do respect it), preventing an- // autofocus attribute specified in markup from taking effect when the- // element is upgraded. As a workaround, if the autofocus property is set,- // and the focus hasn't already been moved elsewhere, we take focus.- if (this.autofocus && this._focusableElement) {-- // In IE 11, the default document.activeElement can be the page's- // outermost html element, but there are also cases (under the- // polyfill?) in which the activeElement is not a real HTMLElement, but- // just a plain object. We identify the latter case as having no valid- // activeElement.- var activeElement = document.activeElement;- var isActiveElementValid = activeElement instanceof HTMLElement;-- // Has some other element has already taken the focus?- var isSomeElementActive = isActiveElementValid &&- activeElement !== document.body &&- activeElement !== document.documentElement; /* IE 11 */- if (!isSomeElementActive) {- // No specific element has taken the focus yet, so we can take it.- this._focusableElement.focus();- }- }- }- }-- /** @polymerBehavior */- Polymer.PaperInputBehavior = [- Polymer.IronControlState,- Polymer.IronA11yKeysBehavior,- Polymer.PaperInputBehaviorImpl- ];-</script>+<script>Polymer.PaperInputHelper={},Polymer.PaperInputHelper.NextLabelID=1,Polymer.PaperInputHelper.NextAddonID=1,Polymer.PaperInputBehaviorImpl={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},preventInvalidInput:{type:Boolean},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$.input},get _focusableElement(){return this.inputElement},registered:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),this.inputElement&&this._typesThatHaveText.indexOf(this.inputElement.type)!==-1&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=e.path?e.path[0]:e.target;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var a="paper-input-add-on-"+Polymer.PaperInputHelper.NextAddonID++;t.id=a,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,a)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){Polymer.IronControlState._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1},1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(t){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e=Polymer.dom(this.root).querySelector("label");if(!e)return void(this._ariaLabelledBy="");var t;e.id?t=e.id:(t="paper-input-label-"+Polymer.PaperInputHelper.NextLabelID++,e.id=t),this._ariaLabelledBy=t},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement,t=e instanceof HTMLElement,a=t&&e!==document.body&&e!==document.documentElement;a||this._focusableElement.focus()}}},Polymer.PaperInputBehavior=[Polymer.IronControlState,Polymer.IronA11yKeysBehavior,Polymer.PaperInputBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input-char-counter.html b/frontend/bower_components/paper-input/paper-input-char-counter.htmlindex 1a09a06d0..6155203f6 100644--- a/frontend/bower_components/paper-input/paper-input-char-counter.html+++ b/frontend/bower_components/paper-input/paper-input-char-counter.html@@ -1,36 +1,10 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../paper-styles/typography.html"><link rel="import" href="paper-input-addon-behavior.html">-<!---`<paper-input-char-counter>` is a character counter for use with `<paper-input-container>`. It-shows the number of characters entered in the input and the max length if it is specified.-- <paper-input-container>- <input is="iron-input" maxlength="20">- <paper-input-char-counter></paper-input-char-counter>- </paper-input-container>--### Styling--The following mixin is available for styling:-Custom property | Description | Default-----------------|-------------|-----------`--paper-input-char-counter` | Mixin applied to the element | `{}`--->-<dom-module id="paper-input-char-counter">+</head><body><dom-module id="paper-input-char-counter"><template><style>:host {@@ -54,46 +28,5 @@ Custom property | Description | Default</template></dom-module>-<script>- Polymer({- is: 'paper-input-char-counter',-- behaviors: [- Polymer.PaperInputAddonBehavior- ],-- properties: {- _charCounterStr: {- type: String,- value: '0'- }- },-- /**- * This overrides the update function in PaperInputAddonBehavior.- * @param {{- * inputElement: (Element|undefined),- * value: (string|undefined),- * invalid: boolean- * }} state -- * inputElement: The input element.- * value: The input value.- * invalid: True if the input value is invalid.- */- update: function(state) {- if (!state.inputElement) {- return;- }-- state.value = state.value || '';-- var counter = state.value.toString().length.toString();-- if (state.inputElement.hasAttribute('maxlength')) {- counter += '/' + state.inputElement.getAttribute('maxlength');- }-- this._charCounterStr = counter;- }- });-</script>+<script>Polymer({is:"paper-input-char-counter",behaviors:[Polymer.PaperInputAddonBehavior],properties:{_charCounterStr:{type:String,value:"0"}},update:function(t){if(t.inputElement){t.value=t.value||"";var e=t.value.toString().length.toString();t.inputElement.hasAttribute("maxlength")&&(e+="/"+t.inputElement.getAttribute("maxlength")),this._charCounterStr=e}}});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input-container.html b/frontend/bower_components/paper-input/paper-input-container.htmlindex 1c6e00712..9c62f87b4 100644--- a/frontend/bower_components/paper-input/paper-input-container.html+++ b/frontend/bower_components/paper-input/paper-input-container.html@@ -1,107 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-styles/typography.html">-<!---`<paper-input-container>` is a container for a `<label>`, an `<input is="iron-input">` or-`<textarea>` and optional add-on elements such as an error message or character-counter, used to implement Material Design text fields.-For example:- <paper-input-container>- <label>Your name</label>- <input is="iron-input">- </paper-input-container>--Do not wrap `<paper-input-container>` around elements that already include it, such as `<paper-input>`.-Doing so may cause events to bounce infintely between the container and its contained element.--### Listening for input changes--By default, it listens for changes on the `bind-value` attribute on its children nodes and perform-tasks such as auto-validating and label styling when the `bind-value` changes. You can configure-the attribute it listens to with the `attr-for-value` attribute.--### Using a custom input element--You can use a custom input element in a `<paper-input-container>`, for example to implement a-compound input field like a social security number input. The custom input element should have the-`paper-input-input` class, have a `notify:true` value property and optionally implements-`Polymer.IronValidatableBehavior` if it is validatable.-- <paper-input-container attr-for-value="ssn-value">- <label>Social security number</label>- <ssn-input class="paper-input-input"></ssn-input>- </paper-input-container>---If you're using a `<paper-input-container>` imperatively, it's important to make sure-that you attach its children (the `iron-input` and the optional `label`) before you-attach the `<paper-input-container>` itself, so that it can be set up correctly.--### Validation--If the `auto-validate` attribute is set, the input container will validate the input and update-the container styling when the input value changes.--### Add-ons--Add-ons are child elements of a `<paper-input-container>` with the `add-on` attribute and-implements the `Polymer.PaperInputAddonBehavior` behavior. They are notified when the input value-or validity changes, and may implement functionality such as error messages or character counters.-They appear at the bottom of the input.--### Prefixes and suffixes-These are child elements of a `<paper-input-container>` with the `prefix`-or `suffix` attribute, and are displayed inline with the input, before or after.-- <paper-input-container>- <div prefix>$</div>- <label>Total</label>- <input is="iron-input">- <paper-icon-button suffix icon="clear"></paper-icon-button>- </paper-input-container>--### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-input-container-color` | Label and underline color when the input is not focused | `--secondary-text-color`-`--paper-input-container-focus-color` | Label and underline color when the input is focused | `--primary-color`-`--paper-input-container-invalid-color` | Label and underline color when the input is is invalid | `--error-color`-`--paper-input-container-input-color` | Input foreground color | `--primary-text-color`-`--paper-input-container` | Mixin applied to the container | `{}`-`--paper-input-container-disabled` | Mixin applied to the container when it's disabled | `{}`-`--paper-input-container-label` | Mixin applied to the label | `{}`-`--paper-input-container-label-focus` | Mixin applied to the label when the input is focused | `{}`-`--paper-input-container-label-floating` | Mixin applied to the label when floating | `{}`-`--paper-input-container-input` | Mixin applied to the input | `{}`-`--paper-input-container-input-webkit-spinner` | Mixin applied to the webkit spinner | `{}`-`--paper-input-container-underline` | Mixin applied to the underline | `{}`-`--paper-input-container-underline-focus` | Mixin applied to the underline when the input is focused | `{}`-`--paper-input-container-underline-disabled` | Mixin applied to the underline when the input is disabled | `{}`-`--paper-input-prefix` | Mixin applied to the input prefix | `{}`-`--paper-input-suffix` | Mixin applied to the input suffix | `{}`--This element is `display:block` by default, but you can set the `inline` attribute to make it-`display:inline-block`.--->--<dom-module id="paper-input-container">+</head><body><dom-module id="paper-input-container"><template><style>:host {@@ -343,284 +247,5 @@ This element is `display:block` by default, but you can set the `inline` attribu</template></dom-module>-<script>- Polymer({- is: 'paper-input-container',-- properties: {- /**- * Set to true to disable the floating label. The label disappears when the input value is- * not null.- */- noLabelFloat: {- type: Boolean,- value: false- },-- /**- * Set to true to always float the floating label.- */- alwaysFloatLabel: {- type: Boolean,- value: false- },-- /**- * The attribute to listen for value changes on.- */- attrForValue: {- type: String,- value: 'bind-value'- },-- /**- * Set to true to auto-validate the input value when it changes.- */- autoValidate: {- type: Boolean,- value: false- },-- /**- * True if the input is invalid. This property is set automatically when the input value- * changes if auto-validating, or when the `iron-input-validate` event is heard from a child.- */- invalid: {- observer: '_invalidChanged',- type: Boolean,- value: false- },-- /**- * True if the input has focus.- */- focused: {- readOnly: true,- type: Boolean,- value: false,- notify: true- },-- _addons: {- type: Array- // do not set a default value here intentionally - it will be initialized lazily when a- // distributed child is attached, which may occur before configuration for this element- // in polyfill.- },-- _inputHasContent: {- type: Boolean,- value: false- },-- _inputSelector: {- type: String,- value: 'input,textarea,.paper-input-input'- },-- _boundOnFocus: {- type: Function,- value: function() {- return this._onFocus.bind(this);- }- },-- _boundOnBlur: {- type: Function,- value: function() {- return this._onBlur.bind(this);- }- },-- _boundOnInput: {- type: Function,- value: function() {- return this._onInput.bind(this);- }- },-- _boundValueChanged: {- type: Function,- value: function() {- return this._onValueChanged.bind(this);- }- }- },-- listeners: {- 'addon-attached': '_onAddonAttached',- 'iron-input-validate': '_onIronInputValidate'- },-- get _valueChangedEvent() {- return this.attrForValue + '-changed';- },-- get _propertyForValue() {- return Polymer.CaseMap.dashToCamelCase(this.attrForValue);- },-- get _inputElement() {- return Polymer.dom(this).querySelector(this._inputSelector);- },-- get _inputElementValue() {- return this._inputElement[this._propertyForValue] || this._inputElement.value;- },-- ready: function() {- if (!this._addons) {- this._addons = [];- }- this.addEventListener('focus', this._boundOnFocus, true);- this.addEventListener('blur', this._boundOnBlur, true);- },-- attached: function() {- if (this.attrForValue) {- this._inputElement.addEventListener(this._valueChangedEvent, this._boundValueChanged);- } else {- this.addEventListener('input', this._onInput);- }-- // Only validate when attached if the input already has a value.- if (this._inputElementValue != '') {- this._handleValueAndAutoValidate(this._inputElement);- } else {- this._handleValue(this._inputElement);- }- },-- _onAddonAttached: function(event) {- if (!this._addons) {- this._addons = [];- }- var target = event.target;- if (this._addons.indexOf(target) === -1) {- this._addons.push(target);- if (this.isAttached) {- this._handleValue(this._inputElement);- }- }- },-- _onFocus: function() {- this._setFocused(true);- },-- _onBlur: function() {- this._setFocused(false);- this._handleValueAndAutoValidate(this._inputElement);- },-- _onInput: function(event) {- this._handleValueAndAutoValidate(event.target);- },-- _onValueChanged: function(event) {- this._handleValueAndAutoValidate(event.target);- },-- _handleValue: function(inputElement) {- var value = this._inputElementValue;-- // type="number" hack needed because this.value is empty until it's valid- if (value || value === 0 || (inputElement.type === 'number' && !inputElement.checkValidity())) {- this._inputHasContent = true;- } else {- this._inputHasContent = false;- }-- this.updateAddons({- inputElement: inputElement,- value: value,- invalid: this.invalid- });- },-- _handleValueAndAutoValidate: function(inputElement) {- if (this.autoValidate) {- var valid;- if (inputElement.validate) {- valid = inputElement.validate(this._inputElementValue);- } else {- valid = inputElement.checkValidity();- }- this.invalid = !valid;- }-- // Call this last to notify the add-ons.- this._handleValue(inputElement);- },-- _onIronInputValidate: function(event) {- this.invalid = this._inputElement.invalid;- },-- _invalidChanged: function() {- if (this._addons) {- this.updateAddons({invalid: this.invalid});- }- },-- /**- * Call this to update the state of add-ons.- * @param {Object} state Add-on state.- */- updateAddons: function(state) {- for (var addon, index = 0; addon = this._addons[index]; index++) {- addon.update(state);- }- },-- _computeInputContentClass: function(noLabelFloat, alwaysFloatLabel, focused, invalid, _inputHasContent) {- var cls = 'input-content';- if (!noLabelFloat) {- var label = this.querySelector('label');-- if (alwaysFloatLabel || _inputHasContent) {- cls += ' label-is-floating';- // If the label is floating, ignore any offsets that may have been- // applied from a prefix element.- this.$.labelAndInputContainer.style.position = 'static';-- if (invalid) {- cls += ' is-invalid';- } else if (focused) {- cls += " label-is-highlighted";- }- } else {- // When the label is not floating, it should overlap the input element.- if (label) {- this.$.labelAndInputContainer.style.position = 'relative';- }- }- } else {- if (_inputHasContent) {- cls += ' label-is-hidden';- }- }- return cls;- },-- _computeUnderlineClass: function(focused, invalid) {- var cls = 'underline';- if (invalid) {- cls += ' is-invalid';- } else if (focused) {- cls += ' is-highlighted'- }- return cls;- },-- _computeAddOnContentClass: function(focused, invalid) {- var cls = 'add-on-content';- if (invalid) {- cls += ' is-invalid';- } else if (focused) {- cls += ' is-highlighted'- }- return cls;- }- });-</script>+<script>Polymer({is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Polymer.CaseMap.dashToCamelCase(this.attrForValue)},get _inputElement(){return Polymer.dom(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(t){this._addons||(this._addons=[]);var n=t.target;this._addons.indexOf(n)===-1&&(this._addons.push(n),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(t){this._handleValueAndAutoValidate(t.target)},_onValueChanged:function(t){this._handleValueAndAutoValidate(t.target)},_handleValue:function(t){var n=this._inputElementValue;n||0===n||"number"===t.type&&!t.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:t,value:n,invalid:this.invalid})},_handleValueAndAutoValidate:function(t){if(this.autoValidate){var n;n=t.validate?t.validate(this._inputElementValue):t.checkValidity(),this.invalid=!n}this._handleValue(t)},_onIronInputValidate:function(t){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(t){for(var n,e=0;n=this._addons[e];e++)n.update(t)},_computeInputContentClass:function(t,n,e,i,a){var u="input-content";if(t)a&&(u+=" label-is-hidden");else{var o=this.querySelector("label");n||a?(u+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",i?u+=" is-invalid":e&&(u+=" label-is-highlighted")):o&&(this.$.labelAndInputContainer.style.position="relative")}return u},_computeUnderlineClass:function(t,n){var e="underline";return n?e+=" is-invalid":t&&(e+=" is-highlighted"),e},_computeAddOnContentClass:function(t,n){var e="add-on-content";return n?e+=" is-invalid":t&&(e+=" is-highlighted"),e}});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input-error.html b/frontend/bower_components/paper-input/paper-input-error.htmlindex 645f1e722..891b0173f 100644--- a/frontend/bower_components/paper-input/paper-input-error.html+++ b/frontend/bower_components/paper-input/paper-input-error.html@@ -1,38 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-styles/typography.html"><link rel="import" href="paper-input-addon-behavior.html">-<!---`<paper-input-error>` is an error message for use with `<paper-input-container>`. The error is-displayed when the `<paper-input-container>` is `invalid`.-- <paper-input-container>- <input is="iron-input" pattern="[0-9]*">- <paper-input-error>Only numbers are allowed!</paper-input-error>- </paper-input-container>--### Styling--The following custom properties and mixins are available for styling:-Custom property | Description | Default-----------------|-------------|-----------`--paper-input-container-invalid-color` | The foreground color of the error | `--error-color`-`--paper-input-error` | Mixin applied to the error | `{}`--->-<dom-module id="paper-input-error">+</head><body><dom-module id="paper-input-error"><template><style>:host {@@ -57,38 +30,5 @@ Custom property | Description | Default</template></dom-module>-<script>- Polymer({- is: 'paper-input-error',-- behaviors: [- Polymer.PaperInputAddonBehavior- ],-- properties: {- /**- * True if the error is showing.- */- invalid: {- readOnly: true,- reflectToAttribute: true,- type: Boolean- }- },-- /**- * This overrides the update function in PaperInputAddonBehavior.- * @param {{- * inputElement: (Element|undefined),- * value: (string|undefined),- * invalid: boolean- * }} state -- * inputElement: The input element.- * value: The input value.- * invalid: True if the input value is invalid.- */- update: function(state) {- this._setInvalid(state.invalid);- }- });-</script>+<script>Polymer({is:"paper-input-error",behaviors:[Polymer.PaperInputAddonBehavior],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-input/paper-input.html b/frontend/bower_components/paper-input/paper-input.htmlindex 2b795a018..ffa600baf 100644--- a/frontend/bower_components/paper-input/paper-input.html+++ b/frontend/bower_components/paper-input/paper-input.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-form-element-behavior/iron-form-element-behavior.html"><link rel="import" href="../iron-input/iron-input.html"><link rel="import" href="paper-input-behavior.html">@@ -16,58 +6,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN<link rel="import" href="paper-input-container.html"><link rel="import" href="paper-input-error.html">-<!---Material design: [Text fields](https://www.google.com/design/spec/components/text-fields.html)-`<paper-input>` is a single-line text field with Material Design styling.- <paper-input label="Input label"></paper-input>--It may include an optional error message or character counter.-- <paper-input error-message="Invalid input!" label="Input label"></paper-input>- <paper-input char-counter label="Input label"></paper-input>--It can also include custom prefix or suffix elements, which are displayed-before or after the text input itself. In order for an element to be-considered as a prefix, it must have the `prefix` attribute (and similarly-for `suffix`).-- <paper-input label="total">- <div prefix>$</div>- <paper-icon-button suffix icon="clear"></paper-icon-button>- </paper-input>--A `paper-input` can use the native `type=search` or `type=file` features.-However, since we can't control the native styling of the input (search icon,-file button, date placeholder, etc.), in these cases the label will be-automatically floated. The `placeholder` attribute can still be used for-additional informational text.-- <paper-input label="search!" type="search"- placeholder="search for cats" autosave="test" results="5">- </paper-input>--See `Polymer.PaperInputBehavior` for more API docs.--### Focus--To focus a paper-input, you can call the native `focus()` method as long as the-paper input has a tab index.--### Styling--See `Polymer.PaperInputContainer` for a list of custom properties used to-style this element.---@group Paper Elements-@element paper-input-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-input">+</head><body><dom-module id="paper-input"><template><style>:host {@@ -109,40 +50,7 @@ style this element.<label hidden$="[[!label]]" aria-hidden="true" for="input">[[label]]</label>- <input is="iron-input" id="input"- aria-labelledby$="[[_ariaLabelledBy]]"- aria-describedby$="[[_ariaDescribedBy]]"- disabled$="[[disabled]]"- title$="[[title]]"- bind-value="{{value}}"- invalid="{{invalid}}"- prevent-invalid-input="[[preventInvalidInput]]"- allowed-pattern="[[allowedPattern]]"- validator="[[validator]]"- type$="[[type]]"- pattern$="[[pattern]]"- required$="[[required]]"- autocomplete$="[[autocomplete]]"- autofocus$="[[autofocus]]"- inputmode$="[[inputmode]]"- minlength$="[[minlength]]"- maxlength$="[[maxlength]]"- min$="[[min]]"- max$="[[max]]"- step$="[[step]]"- name$="[[name]]"- placeholder$="[[placeholder]]"- readonly$="[[readonly]]"- list$="[[list]]"- size$="[[size]]"- autocapitalize$="[[autocapitalize]]"- autocorrect$="[[autocorrect]]"- on-change="_onChange"- tabindex$="[[tabindex]]"- autosave$="[[autosave]]"- results$="[[results]]"- accept$="[[accept]]"- multiple$="[[multiple]]">+ <input is="iron-input" id="input" aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title]]" bind-value="{{value}}" invalid="{{invalid}}" prevent-invalid-input="[[preventInvalidInput]]" allowed-pattern="[[allowedPattern]]" validator="[[validator]]" type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" autocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabindex]]" autosave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[multiple]]"><content select="[suffix]"></content>@@ -158,13 +66,5 @@ style this element.</template></dom-module>-<script>- Polymer({- is: 'paper-input',-- behaviors: [- Polymer.IronFormElementBehavior,- Polymer.PaperInputBehavior- ]- });-</script>+<script>Polymer({is:"paper-input",behaviors:[Polymer.IronFormElementBehavior,Polymer.PaperInputBehavior]});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-item/paper-item-behavior.html b/frontend/bower_components/paper-item/paper-item-behavior.htmlindex f97b262b7..0fc3a5214 100644--- a/frontend/bower_components/paper-item/paper-item-behavior.html+++ b/frontend/bower_components/paper-item/paper-item-behavior.html@@ -1,36 +1,8 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-behaviors/iron-button-state.html"><link rel="import" href="../iron-behaviors/iron-control-state.html">-<!---`PaperItemBehavior` is a convenience behavior shared by <paper-item> and-<paper-icon-item> that manages the shared control states and attributes of-the items.--->-<script>- /** @polymerBehavior Polymer.PaperItemBehavior */- Polymer.PaperItemBehaviorImpl = {- hostAttributes: {- role: 'option',- tabindex: '0'- }- };- /** @polymerBehavior */- Polymer.PaperItemBehavior = [- Polymer.IronButtonState,- Polymer.IronControlState,- Polymer.PaperItemBehaviorImpl- ];-</script>+<script>Polymer.PaperItemBehaviorImpl={hostAttributes:{role:"option",tabindex:"0"}},Polymer.PaperItemBehavior=[Polymer.IronButtonState,Polymer.IronControlState,Polymer.PaperItemBehaviorImpl];</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-item/paper-item-shared-styles.html b/frontend/bower_components/paper-item/paper-item-shared-styles.htmlindex 868d41535..2a89cd3f7 100644--- a/frontend/bower_components/paper-item/paper-item-shared-styles.html+++ b/frontend/bower_components/paper-item/paper-item-shared-styles.html@@ -1,19 +1,9 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">+<html><head><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-styles/color.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-styles/typography.html">-<dom-module id="paper-item-shared-styles">+</head><body><dom-module id="paper-item-shared-styles"><template><style>:host, .paper-item {@@ -68,3 +58,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN</style></template></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-item/paper-item.html b/frontend/bower_components/paper-item/paper-item.htmlindex 60b4692d7..a3ab52c64 100644--- a/frontend/bower_components/paper-item/paper-item.html+++ b/frontend/bower_components/paper-item/paper-item.html@@ -1,89 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="paper-item-behavior.html"><link rel="import" href="paper-item-shared-styles.html">-<!---Material design: [Lists](https://www.google.com/design/spec/components/lists.html)--`<paper-item>` is an interactive list item. By default, it is a horizontal flexbox.-- <paper-item>Item</paper-item>--Use this element with `<paper-item-body>` to make Material Design styled two-line and three-line-items.-- <paper-item>- <paper-item-body two-line>- <div>Show your status</div>- <div secondary>Your status is visible to everyone</div>- </paper-item-body>- <iron-icon icon="warning"></iron-icon>- </paper-item>--To use `paper-item` as a link, wrap it in an anchor tag. Since `paper-item` will-already receive focus, you may want to prevent the anchor tag from receiving-focus as well by setting its tabindex to -1.-- <a href="https://www.polymer-project.org/" tabindex="-1">- <paper-item raised>Polymer Project</paper-item>- </a>--If you are concerned about performance and want to use `paper-item` in a `paper-listbox`-with many items, you can just use a native `button` with the `paper-item` class-applied (provided you have correctly included the shared styles):-- <style is="custom-style" include="paper-item-shared-styles"></style>- <paper-listbox>- <button class="paper-item" role="option">Inbox</button>- <button class="paper-item" role="option">Starred</button>- <button class="paper-item" role="option">Sent mail</button>- </paper-listbox>-### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-------------------------------|----------------------------------------------|-----------`--paper-item-min-height` | Minimum height of the item | `48px`-`--paper-item` | Mixin applied to the item | `{}`-`--paper-item-selected-weight`| The font weight of a selected item | `bold`-`--paper-item-selected` | Mixin applied to selected paper-items | `{}`-`--paper-item-disabled-color` | The color for disabled paper-items | `--disabled-text-color`-`--paper-item-disabled` | Mixin applied to disabled paper-items | `{}`-`--paper-item-focused` | Mixin applied to focused paper-items | `{}`-`--paper-item-focused-before` | Mixin applied to :before focused paper-items | `{}`--### Accessibility--This element has `role="listitem"` by default. Depending on usage, it may be more appropriate to set-`role="menuitem"`, `role="menuitemcheckbox"` or `role="menuitemradio"`.-- <paper-item role="menuitemcheckbox">- <paper-item-body>- Show your status- </paper-item-body>- <paper-checkbox></paper-checkbox>- </paper-item>--@group Paper Elements-@element paper-item-@demo demo/index.html--->--<dom-module id="paper-item">+</head><body><dom-module id="paper-item"><template><style include="paper-item-shared-styles"></style><style>@@ -99,13 +21,6 @@ This element has `role="listitem"` by default. Depending on usage, it may be mor<content></content></template>- <script>- Polymer({- is: 'paper-item',-- behaviors: [- Polymer.PaperItemBehavior- ]- });- </script>+ <script>Polymer({is:"paper-item",behaviors:[Polymer.PaperItemBehavior]});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-listbox/paper-listbox.html b/frontend/bower_components/paper-listbox/paper-listbox.htmlindex 15d6cf0ea..1d6f4c4fd 100644--- a/frontend/bower_components/paper-listbox/paper-listbox.html+++ b/frontend/bower_components/paper-listbox/paper-listbox.html@@ -1,67 +1,10 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"><link rel="import" href="../paper-styles/default-theme.html">-<!---Material design: [Menus](https://www.google.com/design/spec/components/menus.html)--`<paper-listbox>` implements an accessible listbox control with Material Design styling. The focused item-is highlighted, and the selected item has bolded text.-- <paper-listbox>- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-listbox>--An initial selection can be specified with the `selected` attribute.-- <paper-listbox selected="0">- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-listbox>--Make a multi-select listbox with the `multi` attribute. Items in a multi-select listbox can be deselected,-and multiple item can be selected.-- <paper-listbox multi>- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-listbox>-### Styling-The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-listbox-background-color` | Menu background color | `--primary-background-color`-`--paper-listbox-color` | Menu foreground color | `--primary-text-color`-`--paper-listbox` | Mixin applied to the listbox | `{}`--### Accessibility--`<paper-listbox>` has `role="listbox"` by default. A multi-select listbox will also have-`aria-multiselectable` set. It implements key bindings to navigate through the listbox with the up and-down arrow keys, esc to exit the listbox, and enter to activate a listbox item. Typing the first letter-of a listbox item will also focus it.--@group Paper Elements-@element paper-listbox-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-listbox">+</head><body><dom-module id="paper-listbox"><template><style>:host {@@ -78,19 +21,6 @@ of a listbox item will also focus it.<content></content></template>- <script>- (function() {- Polymer({- is: 'paper-listbox',-- behaviors: [- Polymer.IronMenuBehavior- ],-- hostAttributes: {- role: 'listbox'- }- });- })();- </script>+ <script>!function(){Polymer({is:"paper-listbox",behaviors:[Polymer.IronMenuBehavior],hostAttributes:{role:"listbox"}})}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-material/paper-material-shared-styles.html b/frontend/bower_components/paper-material/paper-material-shared-styles.htmlindex b795f4f47..c77708be9 100644--- a/frontend/bower_components/paper-material/paper-material-shared-styles.html+++ b/frontend/bower_components/paper-material/paper-material-shared-styles.html@@ -1,16 +1,6 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../paper-styles/shadow.html">-<link rel="import" href="../paper-styles/shadow.html">--<dom-module id="paper-material-shared-styles">+</head><body><dom-module id="paper-material-shared-styles"><template><style>:host {@@ -40,3 +30,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN</style></template></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-menu-button/paper-menu-button-animations.html b/frontend/bower_components/paper-menu-button/paper-menu-button-animations.htmlindex b1339f293..93a5a4cb2 100644--- a/frontend/bower_components/paper-menu-button/paper-menu-button-animations.html+++ b/frontend/bower_components/paper-menu-button/paper-menu-button-animations.html@@ -1,109 +1,7 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../neon-animation/web-animations.html"><link rel="import" href="../neon-animation/neon-animation-behavior.html">-<script>- Polymer({- is: 'paper-menu-grow-height-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- var rect = node.getBoundingClientRect();- var height = rect.height;-- this._effect = new KeyframeEffect(node, [{- height: (height / 2) + 'px'- }, {- height: height + 'px'- }], this.timingFromConfig(config));-- return this._effect;- }- });-- Polymer({- is: 'paper-menu-grow-width-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- var rect = node.getBoundingClientRect();- var width = rect.width;-- this._effect = new KeyframeEffect(node, [{- width: (width / 2) + 'px'- }, {- width: width + 'px'- }], this.timingFromConfig(config));-- return this._effect;- }- });-- Polymer({- is: 'paper-menu-shrink-width-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- var rect = node.getBoundingClientRect();- var width = rect.width;-- this._effect = new KeyframeEffect(node, [{- width: width + 'px'- }, {- width: width - (width / 20) + 'px'- }], this.timingFromConfig(config));-- return this._effect;- }- });-- Polymer({- is: 'paper-menu-shrink-height-animation',-- behaviors: [- Polymer.NeonAnimationBehavior- ],-- configure: function(config) {- var node = config.node;- var rect = node.getBoundingClientRect();- var height = rect.height;- var top = rect.top;-- this.setPrefixedProperty(node, 'transformOrigin', '0 0');-- this._effect = new KeyframeEffect(node, [{- height: height + 'px',- transform: 'translateY(0)'- }, {- height: height / 2 + 'px',- transform: 'translateY(-20px)'- }], this.timingFromConfig(config));-- return this._effect;- }- });-</script>+<script>Polymer({is:"paper-menu-grow-height-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node,t=i.getBoundingClientRect(),n=t.height;return this._effect=new KeyframeEffect(i,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Polymer({is:"paper-menu-grow-width-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node,t=i.getBoundingClientRect(),n=t.width;return this._effect=new KeyframeEffect(i,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Polymer({is:"paper-menu-shrink-width-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node,t=i.getBoundingClientRect(),n=t.width;return this._effect=new KeyframeEffect(i,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Polymer({is:"paper-menu-shrink-height-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node,t=i.getBoundingClientRect(),n=t.height;t.top;return this.setPrefixedProperty(i,"transformOrigin","0 0"),this._effect=new KeyframeEffect(i,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-menu-button/paper-menu-button.html b/frontend/bower_components/paper-menu-button/paper-menu-button.htmlindex 7bb4c7442..2571f6798 100644--- a/frontend/bower_components/paper-menu-button/paper-menu-button.html+++ b/frontend/bower_components/paper-menu-button/paper-menu-button.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="../iron-behaviors/iron-control-state.html"><link rel="import" href="../iron-dropdown/iron-dropdown.html">@@ -18,49 +8,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN<link rel="import" href="../paper-styles/shadow.html"><link rel="import" href="paper-menu-button-animations.html">-<!---Material design: [Dropdown buttons](https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons)--`paper-menu-button` allows one to compose a designated "trigger" element with-another element that represents "content", to create a dropdown menu that-displays the "content" when the "trigger" is clicked.--The child element with the class `dropdown-trigger` will be used as the-"trigger" element. The child element with the class `dropdown-content` will be-used as the "content" element.--The `paper-menu-button` is sensitive to its content's `iron-select` events. If-the "content" element triggers an `iron-select` event, the `paper-menu-button`-will close automatically.--Example:-- <paper-menu-button>- <paper-icon-button icon="menu" class="dropdown-trigger"></paper-icon-button>- <paper-menu class="dropdown-content">- <paper-item>Share</paper-item>- <paper-item>Settings</paper-item>- <paper-item>Help</paper-item>- </paper-menu>- </paper-menu-button>-### Styling-The following custom properties and mixins are also available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-menu-button-dropdown-background` | Background color of the paper-menu-button dropdown | `--primary-background-color`-`--paper-menu-button` | Mixin applied to the paper-menu-button | `{}`-`--paper-menu-button-disabled` | Mixin applied to the paper-menu-button when disabled | `{}`-`--paper-menu-button-dropdown` | Mixin applied to the paper-menu-button dropdown | `{}`-`--paper-menu-button-content` | Mixin applied to the paper-menu-button content | `{}`--@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-menu-button">+</head><body><dom-module id="paper-menu-button"><template><style>:host {@@ -114,366 +64,13 @@ Custom property | Description | Default<content select=".dropdown-trigger"></content></div>- <iron-dropdown- id="dropdown"- opened="{{opened}}"- horizontal-align="[[horizontalAlign]]"- vertical-align="[[verticalAlign]]"- dynamic-align="[[dynamicAlign]]"- horizontal-offset="[[horizontalOffset]]"- vertical-offset="[[verticalOffset]]"- no-overlap="[[noOverlap]]"- open-animation-config="[[openAnimationConfig]]"- close-animation-config="[[closeAnimationConfig]]"- no-animations="[[noAnimations]]"- focus-target="[[_dropdownContent]]"- allow-outside-scroll="[[allowOutsideScroll]]"- restore-focus-on-close="[[restoreFocusOnClose]]"- on-iron-overlay-canceled="__onIronOverlayCanceled">+ <iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled"><div class="dropdown-content"><content id="content" select=".dropdown-content"></content></div></iron-dropdown></template>- <script>- (function() {- 'use strict';-- var config = {- ANIMATION_CUBIC_BEZIER: 'cubic-bezier(.3,.95,.5,1)',- MAX_ANIMATION_TIME_MS: 400- };-- var PaperMenuButton = Polymer({- is: 'paper-menu-button',-- /**- * Fired when the dropdown opens.- *- * @event paper-dropdown-open- */-- /**- * Fired when the dropdown closes.- *- * @event paper-dropdown-close- */-- behaviors: [- Polymer.IronA11yKeysBehavior,- Polymer.IronControlState- ],-- properties: {- /**- * True if the content is currently displayed.- */- opened: {- type: Boolean,- value: false,- notify: true,- observer: '_openedChanged'- },-- /**- * The orientation against which to align the menu dropdown- * horizontally relative to the dropdown trigger.- */- horizontalAlign: {- type: String,- value: 'left',- reflectToAttribute: true- },-- /**- * The orientation against which to align the menu dropdown- * vertically relative to the dropdown trigger.- */- verticalAlign: {- type: String,- value: 'top',- reflectToAttribute: true- },-- /**- * If true, the `horizontalAlign` and `verticalAlign` properties will- * be considered preferences instead of strict requirements when- * positioning the dropdown and may be changed if doing so reduces- * the area of the dropdown falling outside of `fitInto`.- */- dynamicAlign: {- type: Boolean- },-- /**- * A pixel value that will be added to the position calculated for the- * given `horizontalAlign`. Use a negative value to offset to the- * left, or a positive value to offset to the right.- */- horizontalOffset: {- type: Number,- value: 0,- notify: true- },-- /**- * A pixel value that will be added to the position calculated for the- * given `verticalAlign`. Use a negative value to offset towards the- * top, or a positive value to offset towards the bottom.- */- verticalOffset: {- type: Number,- value: 0,- notify: true- },-- /**- * If true, the dropdown will be positioned so that it doesn't overlap- * the button.- */- noOverlap: {- type: Boolean- },-- /**- * Set to true to disable animations when opening and closing the- * dropdown.- */- noAnimations: {- type: Boolean,- value: false- },-- /**- * Set to true to disable automatically closing the dropdown after- * a selection has been made.- */- ignoreSelect: {- type: Boolean,- value: false- },-- /**- * Set to true to enable automatically closing the dropdown after an- * item has been activated, even if the selection did not change.- */- closeOnActivate: {- type: Boolean,- value: false- },-- /**- * An animation config. If provided, this will be used to animate the- * opening of the dropdown.- */- openAnimationConfig: {- type: Object,- value: function() {- return [{- name: 'fade-in-animation',- timing: {- delay: 100,- duration: 200- }- }, {- name: 'paper-menu-grow-width-animation',- timing: {- delay: 100,- duration: 150,- easing: config.ANIMATION_CUBIC_BEZIER- }- }, {- name: 'paper-menu-grow-height-animation',- timing: {- delay: 100,- duration: 275,- easing: config.ANIMATION_CUBIC_BEZIER- }- }];- }- },-- /**- * An animation config. If provided, this will be used to animate the- * closing of the dropdown.- */- closeAnimationConfig: {- type: Object,- value: function() {- return [{- name: 'fade-out-animation',- timing: {- duration: 150- }- }, {- name: 'paper-menu-shrink-width-animation',- timing: {- delay: 100,- duration: 50,- easing: config.ANIMATION_CUBIC_BEZIER- }- }, {- name: 'paper-menu-shrink-height-animation',- timing: {- duration: 200,- easing: 'ease-in'- }- }];- }- },-- /**- * By default, the dropdown will constrain scrolling on the page- * to itself when opened.- * Set to true in order to prevent scroll from being constrained- * to the dropdown when it opens.- */- allowOutsideScroll: {- type: Boolean,- value: false- },-- /**- * Whether focus should be restored to the button when the menu closes.- */- restoreFocusOnClose: {- type: Boolean,- value: true- },-- /**- * This is the element intended to be bound as the focus target- * for the `iron-dropdown` contained by `paper-menu-button`.- */- _dropdownContent: {- type: Object- }- },-- hostAttributes: {- role: 'group',- 'aria-haspopup': 'true'- },-- listeners: {- 'iron-activate': '_onIronActivate',- 'iron-select': '_onIronSelect'- },-- /**- * The content element that is contained by the menu button, if any.- */- get contentElement() {- return Polymer.dom(this.$.content).getDistributedNodes()[0];- },-- /**- * Toggles the drowpdown content between opened and closed.- */- toggle: function() {- if (this.opened) {- this.close();- } else {- this.open();- }- },-- /**- * Make the dropdown content appear as an overlay positioned relative- * to the dropdown trigger.- */- open: function() {- if (this.disabled) {- return;- }-- this.$.dropdown.open();- },-- /**- * Hide the dropdown content.- */- close: function() {- this.$.dropdown.close();- },-- /**- * When an `iron-select` event is received, the dropdown should- * automatically close on the assumption that a value has been chosen.- *- * @param {CustomEvent} event A CustomEvent instance with type- * set to `"iron-select"`.- */- _onIronSelect: function(event) {- if (!this.ignoreSelect) {- this.close();- }- },-- /**- * Closes the dropdown when an `iron-activate` event is received if- * `closeOnActivate` is true.- *- * @param {CustomEvent} event A CustomEvent of type 'iron-activate'.- */- _onIronActivate: function(event) {- if (this.closeOnActivate) {- this.close();- }- },-- /**- * When the dropdown opens, the `paper-menu-button` fires `paper-open`.- * When the dropdown closes, the `paper-menu-button` fires `paper-close`.- *- * @param {boolean} opened True if the dropdown is opened, otherwise false.- * @param {boolean} oldOpened The previous value of `opened`.- */- _openedChanged: function(opened, oldOpened) {- if (opened) {- // TODO(cdata): Update this when we can measure changes in distributed- // children in an idiomatic way.- // We poke this property in case the element has changed. This will- // cause the focus target for the `iron-dropdown` to be updated as- // necessary:- this._dropdownContent = this.contentElement;- this.fire('paper-dropdown-open');- } else if (oldOpened != null) {- this.fire('paper-dropdown-close');- }- },-- /**- * If the dropdown is open when disabled becomes true, close the- * dropdown.- *- * @param {boolean} disabled True if disabled, otherwise false.- */- _disabledChanged: function(disabled) {- Polymer.IronControlState._disabledChanged.apply(this, arguments);- if (disabled && this.opened) {- this.close();- }- },-- __onIronOverlayCanceled: function(event) {- var uiEvent = event.detail;- var target = Polymer.dom(uiEvent).rootTarget;- var trigger = this.$.trigger;- var path = Polymer.dom(uiEvent).path;-- if (path.indexOf(trigger) > -1) {- event.preventDefault();- }- }- });-- Object.keys(config).forEach(function (key) {- PaperMenuButton[key] = config[key];- });-- Polymer.PaperMenuButton = PaperMenuButton;- })();- </script>+ <script>!function(){"use strict";var e={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},n=Polymer({is:"paper-menu-button",behaviors:[Polymer.IronA11yKeysBehavior,Polymer.IronControlState],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:e.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:e.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:e.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){return Polymer.dom(this.$.content).getDistributedNodes()[0]},toggle:function(){this.opened?this.close():this.open()},open:function(){this.disabled||this.$.dropdown.open()},close:function(){this.$.dropdown.close()},_onIronSelect:function(e){this.ignoreSelect||this.close()},_onIronActivate:function(e){this.closeOnActivate&&this.close()},_openedChanged:function(e,n){e?(this._dropdownContent=this.contentElement,this.fire("paper-dropdown-open")):null!=n&&this.fire("paper-dropdown-close")},_disabledChanged:function(e){Polymer.IronControlState._disabledChanged.apply(this,arguments),e&&this.opened&&this.close()},__onIronOverlayCanceled:function(e){var n=e.detail,t=(Polymer.dom(n).rootTarget,this.$.trigger),o=Polymer.dom(n).path;o.indexOf(t)>-1&&e.preventDefault()}});Object.keys(e).forEach(function(t){n[t]=e[t]}),Polymer.PaperMenuButton=n}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-menu/paper-menu-shared-styles.html b/frontend/bower_components/paper-menu/paper-menu-shared-styles.htmlindex 9b8788b93..396af4b2a 100644--- a/frontend/bower_components/paper-menu/paper-menu-shared-styles.html+++ b/frontend/bower_components/paper-menu/paper-menu-shared-styles.html@@ -1,47 +1,38 @@-<!---@license-Copyright (c) 2015 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--->--<dom-module id="paper-menu-shared-styles">- <template>- <style>- /* need a wrapper element to make this higher specificity than the :host rule in paper-item */- .selectable-content > ::content > .iron-selected {- font-weight: bold;-- @apply(--paper-menu-selected-item);- }-- .selectable-content > ::content > [disabled] {- color: var(--paper-menu-disabled-color, --disabled-text-color);- }-- .selectable-content > ::content > *:focus {- position: relative;- outline: 0;-- @apply(--paper-menu-focused-item);- }-- .selectable-content > ::content > *:focus:after {- @apply(--layout-fit);- background: currentColor;- opacity: var(--dark-divider-opacity);- content: '';- pointer-events: none;-- @apply(--paper-menu-focused-item-after);- }-- .selectable-content > ::content > *[colored]:focus:after {- opacity: 0.26;- }- </style>- </template>-</dom-module>+<html><head></head><body><dom-module id="paper-menu-shared-styles">+ <template>+ <style>+ /* need a wrapper element to make this higher specificity than the :host rule in paper-item */+ .selectable-content > ::content > .iron-selected {+ font-weight: bold;++ @apply(--paper-menu-selected-item);+ }++ .selectable-content > ::content > [disabled] {+ color: var(--paper-menu-disabled-color, --disabled-text-color);+ }++ .selectable-content > ::content > *:focus {+ position: relative;+ outline: 0;++ @apply(--paper-menu-focused-item);+ }++ .selectable-content > ::content > *:focus:after {+ @apply(--layout-fit);+ background: currentColor;+ opacity: var(--dark-divider-opacity);+ content: '';+ pointer-events: none;++ @apply(--paper-menu-focused-item-after);+ }++ .selectable-content > ::content > *[colored]:focus:after {+ opacity: 0.26;+ }+ </style>+ </template>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-menu/paper-menu.html b/frontend/bower_components/paper-menu/paper-menu.htmlindex 10e562b40..2ebe0c47a 100644--- a/frontend/bower_components/paper-menu/paper-menu.html+++ b/frontend/bower_components/paper-menu/paper-menu.html@@ -1,74 +1,13 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-styles/color.html"><link rel="import" href="paper-menu-shared-styles.html">-<!---Material design: [Menus](https://www.google.com/design/spec/components/menus.html)--`<paper-menu>` implements an accessible menu control with Material Design styling. The focused item-is highlighted, and the selected item has bolded text.-- <paper-menu>- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-menu>--An initial selection can be specified with the `selected` attribute.-- <paper-menu selected="0">- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-menu>--Make a multi-select menu with the `multi` attribute. Items in a multi-select menu can be deselected,-and multiple items can be selected.-- <paper-menu multi>- <paper-item>Item 1</paper-item>- <paper-item>Item 2</paper-item>- </paper-menu>-### Styling-The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-menu-background-color` | Menu background color | `--primary-background-color`-`--paper-menu-color` | Menu foreground color | `--primary-text-color`-`--paper-menu-disabled-color` | Foreground color for a disabled item | `--disabled-text-color`-`--paper-menu` | Mixin applied to the menu | `{}`-`--paper-menu-selected-item` | Mixin applied to the selected item | `{}`-`--paper-menu-focused-item` | Mixin applied to the focused item | `{}`-`--paper-menu-focused-item-after` | Mixin applied to the ::after pseudo-element for the focused item | `{}`--### Accessibility--`<paper-menu>` has `role="menu"` by default. A multi-select menu will also have-`aria-multiselectable` set. It implements key bindings to navigate through the menu with the up and-down arrow keys, esc to exit the menu, and enter to activate a menu item. Typing the first letter-of a menu item will also focus it.--@group Paper Elements-@element paper-menu-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-menu">+</head><body><dom-module id="paper-menu"><template><style include="paper-menu-shared-styles"></style><style>@@ -88,15 +27,6 @@ of a menu item will also focus it.</div></template>- <script>- (function() {- Polymer({- is: 'paper-menu',-- behaviors: [- Polymer.IronMenuBehavior- ]- });- })();- </script>+ <script>!function(){Polymer({is:"paper-menu",behaviors:[Polymer.IronMenuBehavior]})}();</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-radio-button/paper-radio-button.html b/frontend/bower_components/paper-radio-button/paper-radio-button.htmlindex 1493feb18..c7ca18241 100644--- a/frontend/bower_components/paper-radio-button/paper-radio-button.html+++ b/frontend/bower_components/paper-radio-button/paper-radio-button.html@@ -1,60 +1,12 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../paper-behaviors/paper-checked-element-behavior.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">-<!---Material design: [Radio button](https://www.google.com/design/spec/components/selection-controls.html#selection-controls-radio-button)-`paper-radio-button` is a button that can be either checked or unchecked.-User can tap the radio button to check or uncheck it.-Use a `<paper-radio-group>` to group a set of radio buttons. When radio buttons-are inside a radio group, exactly one radio button in the group can be checked-at any time.--Example:-- <paper-radio-button></paper-radio-button>- <paper-radio-button>Item label</paper-radio-button>--### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-radio-button-unchecked-background-color` | Radio button background color when the input is not checked | `transparent`-`--paper-radio-button-unchecked-color` | Radio button color when the input is not checked | `--primary-text-color`-`--paper-radio-button-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--primary-text-color`-`--paper-radio-button-checked-color` | Radio button color when the input is checked | `--primary-color`-`--paper-radio-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--primary-color`-`--paper-radio-button-size` | Size of the radio button | `16px`-`--paper-radio-button-ink-size` | Size of the ripple | `48px`-`--paper-radio-button-label-color` | Label color | `--primary-text-color`-`--paper-radio-button-label-spacing` | Spacing between the label and the button | `10px`--This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`.-In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`.--@group Paper Elements-@element paper-radio-button-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-radio-button">- <template strip-whitespace>+</head><body><dom-module id="paper-radio-button">+ <template strip-whitespace=""><style>:host {display: inline-block;@@ -177,60 +129,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported `<div id="radioLabel"><content></content></div></template>- <script>- Polymer({- is: 'paper-radio-button',-- behaviors: [- Polymer.PaperCheckedElementBehavior- ],-- hostAttributes: {- role: 'radio',- 'aria-checked': false,- tabindex: 0- },-- properties: {- /**- * Fired when the checked state changes due to user interaction.- *- * @event change- */-- /**- * Fired when the checked state changes.- *- * @event iron-change- */-- ariaActiveAttribute: {- type: String,- value: 'aria-checked'- }- },-- ready: function() {- this._rippleContainer = this.$.radioContainer;- },-- attached: function() {- var inkSize = this.getComputedStyleValue('--calculated-paper-radio-button-ink-size').trim();- // If unset, compute and set the default `--paper-radio-button-ink-size`.- if (inkSize === '-1px') {- var size = parseFloat(this.getComputedStyleValue('--calculated-paper-radio-button-size').trim());- var defaultInkSize = Math.floor(3 * size);-- // The button and ripple need to have the same parity so that their- // centers align.- if (defaultInkSize % 2 !== size % 2) {- defaultInkSize++;- }-- this.customStyle['--paper-radio-button-ink-size'] = defaultInkSize + 'px';- this.updateStyles();- }- },- })- </script>+ <script>Polymer({is:"paper-radio-button",behaviors:[Polymer.PaperCheckedElementBehavior],hostAttributes:{role:"radio","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},ready:function(){this._rippleContainer=this.$.radioContainer},attached:function(){var t=this.getComputedStyleValue("--calculated-paper-radio-button-ink-size").trim();if("-1px"===t){var e=parseFloat(this.getComputedStyleValue("--calculated-paper-radio-button-size").trim()),a=Math.floor(3*e);a%2!==e%2&&a++,this.customStyle["--paper-radio-button-ink-size"]=a+"px",this.updateStyles()}}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-radio-group/paper-radio-group.html b/frontend/bower_components/paper-radio-group/paper-radio-group.htmlindex 5027e11da..bfa85aff5 100644--- a/frontend/bower_components/paper-radio-group/paper-radio-group.html+++ b/frontend/bower_components/paper-radio-group/paper-radio-group.html@@ -1,60 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"><link rel="import" href="../iron-menu-behavior/iron-menubar-behavior.html"><link rel="import" href="../paper-radio-button/paper-radio-button.html">-<!---Material design: [Radio button](https://www.google.com/design/spec/components/selection-controls.html#selection-controls-radio-button)--`paper-radio-group` allows user to select at most one radio button from a set.-Checking one radio button that belongs to a radio group unchecks any-previously checked radio button within the same group. Use-`selected` to get or set the selected radio button.--The <paper-radio-buttons> inside the group must have the `name` attribute-set.--Example:-- <paper-radio-group selected="small">- <paper-radio-button name="small">Small</paper-radio-button>- <paper-radio-button name="medium">Medium</paper-radio-button>- <paper-radio-button name="large">Large</paper-radio-button>- </paper-radio-group>--Radio-button-groups can be made optional, and allow zero buttons to be selected:-- <paper-radio-group selected="small" allow-empty-selection>- <paper-radio-button name="small">Small</paper-radio-button>- <paper-radio-button name="medium">Medium</paper-radio-button>- <paper-radio-button name="large">Large</paper-radio-button>- </paper-radio-group>--See <a href="paper-radio-button">paper-radio-button</a> for more-information about `paper-radio-button`.-Custom property | Description | Default-----------------|-------------|-----------`--paper-radio-group-item-padding` | The padding of the item | `12px`--@group Paper Elements-@element paper-radio-group-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-radio-group">+</head><body><dom-module id="paper-radio-group"><template><style>:host {@@ -70,116 +21,5 @@ Custom property | Description | Default</template></dom-module>-<script>- Polymer({- is: 'paper-radio-group',-- behaviors: [- Polymer.IronMenubarBehavior- ],-- hostAttributes: {- role: 'radiogroup',- tabindex: 0- },-- properties: {- /**- * Fired when the radio group selection changes.- *- * @event paper-radio-group-changed- */-- /**- * Overriden from Polymer.IronSelectableBehavior- */- attrForSelected: {- type: String,- value: 'name'- },-- /**- * Overriden from Polymer.IronSelectableBehavior- */- selectedAttribute: {- type: String,- value: 'checked'- },-- /**- * Overriden from Polymer.IronSelectableBehavior- */- selectable: {- type: String,- value: 'paper-radio-button'- },-- /**- * If true, radio-buttons can be deselected- */- allowEmptySelection: {- type: Boolean,- value: false- }- },-- /**- * Selects the given value.- */- select: function(value) {- var newItem = this._valueToItem(value);- if (newItem && newItem.hasAttribute('disabled')) {- return;- }-- if (this.selected) {- var oldItem = this._valueToItem(this.selected);-- if (this.selected == value) {- // If deselecting is allowed we'll have to apply an empty selection.- // Otherwise, we should force the selection to stay and make this- // action a no-op.- if (this.allowEmptySelection) {- value = '';- } else {- if (oldItem)- oldItem.checked = true;- return;- }- }-- if (oldItem)- oldItem.checked = false;- }-- Polymer.IronSelectableBehavior.select.apply(this, [value]);- this.fire('paper-radio-group-changed');- },-- _activateFocusedItem: function() {- this._itemActivate(this._valueForItem(this.focusedItem), this.focusedItem);- },-- _onUpKey: function(event) {- this._focusPrevious();- event.preventDefault();- this._activateFocusedItem();- },-- _onDownKey: function(event) {- this._focusNext();- event.preventDefault();- this._activateFocusedItem();- },-- _onLeftKey: function(event) {- Polymer.IronMenubarBehaviorImpl._onLeftKey.apply(this, arguments);- this._activateFocusedItem();- },-- _onRightKey: function(event) {- Polymer.IronMenubarBehaviorImpl._onRightKey.apply(this, arguments);- this._activateFocusedItem();- }- });-</script>+<script>Polymer({is:"paper-radio-group",behaviors:[Polymer.IronMenubarBehavior],hostAttributes:{role:"radiogroup",tabindex:0},properties:{attrForSelected:{type:String,value:"name"},selectedAttribute:{type:String,value:"checked"},selectable:{type:String,value:"paper-radio-button"},allowEmptySelection:{type:Boolean,value:!1}},select:function(e){var t=this._valueToItem(e);if(!t||!t.hasAttribute("disabled")){if(this.selected){var i=this._valueToItem(this.selected);if(this.selected==e){if(!this.allowEmptySelection)return void(i&&(i.checked=!0));e=""}i&&(i.checked=!1)}Polymer.IronSelectableBehavior.select.apply(this,[e]),this.fire("paper-radio-group-changed")}},_activateFocusedItem:function(){this._itemActivate(this._valueForItem(this.focusedItem),this.focusedItem)},_onUpKey:function(e){this._focusPrevious(),e.preventDefault(),this._activateFocusedItem()},_onDownKey:function(e){this._focusNext(),e.preventDefault(),this._activateFocusedItem()},_onLeftKey:function(e){Polymer.IronMenubarBehaviorImpl._onLeftKey.apply(this,arguments),this._activateFocusedItem()},_onRightKey:function(e){Polymer.IronMenubarBehaviorImpl._onRightKey.apply(this,arguments),this._activateFocusedItem()}});</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-ripple/paper-ripple.html b/frontend/bower_components/paper-ripple/paper-ripple.htmlindex 3fb18a376..7ca6e23ab 100644--- a/frontend/bower_components/paper-ripple/paper-ripple.html+++ b/frontend/bower_components/paper-ripple/paper-ripple.html@@ -1,80 +1,9 @@-<!---@license-Copyright (c) 2014 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">-<!---Material design: [Surface reaction](https://www.google.com/design/spec/animation/responsive-interaction.html#responsive-interaction-surface-reaction)--`paper-ripple` provides a visual effect that other paper elements can-use to simulate a rippling effect emanating from the point of contact. The-effect can be visualized as a concentric circle with motion.--Example:-- <div style="position:relative">- <paper-ripple></paper-ripple>- </div>--Note, it's important that the parent container of the ripple be relative position, otherwise-the ripple will emanate outside of the desired container.--`paper-ripple` listens to "mousedown" and "mouseup" events so it would display ripple-effect when touches on it. You can also defeat the default behavior and-manually route the down and up actions to the ripple element. Note that it is-important if you call `downAction()` you will have to make sure to call-`upAction()` so that `paper-ripple` would end the animation loop.--Example:-- <paper-ripple id="ripple" style="pointer-events: none;"></paper-ripple>- ...- downAction: function(e) {- this.$.ripple.downAction({detail: {x: e.x, y: e.y}});- },- upAction: function(e) {- this.$.ripple.upAction();- }--Styling ripple effect:-- Use CSS color property to style the ripple:-- paper-ripple {- color: #4285f4;- }-- Note that CSS color property is inherited so it is not required to set it on- the `paper-ripple` element directly.--By default, the ripple is centered on the point of contact. Apply the `recenters`-attribute to have the ripple grow toward the center of its container.-- <paper-ripple recenters></paper-ripple>--You can also center the ripple inside its container from the start.-- <paper-ripple center></paper-ripple>--Apply `circle` class to make the rippling effect within a circle.- <paper-ripple class="circle"></paper-ripple>-@group Paper Elements-@element paper-ripple-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-ripple">+</head><body><dom-module id="paper-ripple"><template><style>@@ -148,616 +77,5 @@ Apply `circle` class to make the rippling effect within a circle.<div id="waves"></div></template></dom-module>-<script>- (function() {- var Utility = {- distance: function(x1, y1, x2, y2) {- var xDelta = (x1 - x2);- var yDelta = (y1 - y2);-- return Math.sqrt(xDelta * xDelta + yDelta * yDelta);- },-- now: window.performance && window.performance.now ?- window.performance.now.bind(window.performance) : Date.now- };-- /**- * @param {HTMLElement} element- * @constructor- */- function ElementMetrics(element) {- this.element = element;- this.width = this.boundingRect.width;- this.height = this.boundingRect.height;-- this.size = Math.max(this.width, this.height);- }-- ElementMetrics.prototype = {- get boundingRect () {- return this.element.getBoundingClientRect();- },-- furthestCornerDistanceFrom: function(x, y) {- var topLeft = Utility.distance(x, y, 0, 0);- var topRight = Utility.distance(x, y, this.width, 0);- var bottomLeft = Utility.distance(x, y, 0, this.height);- var bottomRight = Utility.distance(x, y, this.width, this.height);-- return Math.max(topLeft, topRight, bottomLeft, bottomRight);- }- };-- /**- * @param {HTMLElement} element- * @constructor- */- function Ripple(element) {- this.element = element;- this.color = window.getComputedStyle(element).color;-- this.wave = document.createElement('div');- this.waveContainer = document.createElement('div');- this.wave.style.backgroundColor = this.color;- this.wave.classList.add('wave');- this.waveContainer.classList.add('wave-container');- Polymer.dom(this.waveContainer).appendChild(this.wave);-- this.resetInteractionState();- }-- Ripple.MAX_RADIUS = 300;-- Ripple.prototype = {- get recenters() {- return this.element.recenters;- },-- get center() {- return this.element.center;- },-- get mouseDownElapsed() {- var elapsed;-- if (!this.mouseDownStart) {- return 0;- }-- elapsed = Utility.now() - this.mouseDownStart;-- if (this.mouseUpStart) {- elapsed -= this.mouseUpElapsed;- }-- return elapsed;- },-- get mouseUpElapsed() {- return this.mouseUpStart ?- Utility.now () - this.mouseUpStart : 0;- },-- get mouseDownElapsedSeconds() {- return this.mouseDownElapsed / 1000;- },-- get mouseUpElapsedSeconds() {- return this.mouseUpElapsed / 1000;- },-- get mouseInteractionSeconds() {- return this.mouseDownElapsedSeconds + this.mouseUpElapsedSeconds;- },-- get initialOpacity() {- return this.element.initialOpacity;- },-- get opacityDecayVelocity() {- return this.element.opacityDecayVelocity;- },-- get radius() {- var width2 = this.containerMetrics.width * this.containerMetrics.width;- var height2 = this.containerMetrics.height * this.containerMetrics.height;- var waveRadius = Math.min(- Math.sqrt(width2 + height2),- Ripple.MAX_RADIUS- ) * 1.1 + 5;-- var duration = 1.1 - 0.2 * (waveRadius / Ripple.MAX_RADIUS);- var timeNow = this.mouseInteractionSeconds / duration;- var size = waveRadius * (1 - Math.pow(80, -timeNow));-- return Math.abs(size);- },-- get opacity() {- if (!this.mouseUpStart) {- return this.initialOpacity;- }-- return Math.max(- 0,- this.initialOpacity - this.mouseUpElapsedSeconds * this.opacityDecayVelocity- );- },-- get outerOpacity() {- // Linear increase in background opacity, capped at the opacity- // of the wavefront (waveOpacity).- var outerOpacity = this.mouseUpElapsedSeconds * 0.3;- var waveOpacity = this.opacity;-- return Math.max(- 0,- Math.min(outerOpacity, waveOpacity)- );- },-- get isOpacityFullyDecayed() {- return this.opacity < 0.01 &&- this.radius >= Math.min(this.maxRadius, Ripple.MAX_RADIUS);- },-- get isRestingAtMaxRadius() {- return this.opacity >= this.initialOpacity &&- this.radius >= Math.min(this.maxRadius, Ripple.MAX_RADIUS);- },-- get isAnimationComplete() {- return this.mouseUpStart ?- this.isOpacityFullyDecayed : this.isRestingAtMaxRadius;- },-- get translationFraction() {- return Math.min(- 1,- this.radius / this.containerMetrics.size * 2 / Math.sqrt(2)- );- },-- get xNow() {- if (this.xEnd) {- return this.xStart + this.translationFraction * (this.xEnd - this.xStart);- }-- return this.xStart;- },-- get yNow() {- if (this.yEnd) {- return this.yStart + this.translationFraction * (this.yEnd - this.yStart);- }-- return this.yStart;- },-- get isMouseDown() {- return this.mouseDownStart && !this.mouseUpStart;- },-- resetInteractionState: function() {- this.maxRadius = 0;- this.mouseDownStart = 0;- this.mouseUpStart = 0;-- this.xStart = 0;- this.yStart = 0;- this.xEnd = 0;- this.yEnd = 0;- this.slideDistance = 0;-- this.containerMetrics = new ElementMetrics(this.element);- },-- draw: function() {- var scale;- var translateString;- var dx;- var dy;-- this.wave.style.opacity = this.opacity;-- scale = this.radius / (this.containerMetrics.size / 2);- dx = this.xNow - (this.containerMetrics.width / 2);- dy = this.yNow - (this.containerMetrics.height / 2);--- // 2d transform for safari because of border-radius and overflow:hidden clipping bug.- // https://bugs.webkit.org/show_bug.cgi?id=98538- this.waveContainer.style.webkitTransform = 'translate(' + dx + 'px, ' + dy + 'px)';- this.waveContainer.style.transform = 'translate3d(' + dx + 'px, ' + dy + 'px, 0)';- this.wave.style.webkitTransform = 'scale(' + scale + ',' + scale + ')';- this.wave.style.transform = 'scale3d(' + scale + ',' + scale + ',1)';- },-- /** @param {Event=} event */- downAction: function(event) {- var xCenter = this.containerMetrics.width / 2;- var yCenter = this.containerMetrics.height / 2;-- this.resetInteractionState();- this.mouseDownStart = Utility.now();-- if (this.center) {- this.xStart = xCenter;- this.yStart = yCenter;- this.slideDistance = Utility.distance(- this.xStart, this.yStart, this.xEnd, this.yEnd- );- } else {- this.xStart = event ?- event.detail.x - this.containerMetrics.boundingRect.left :- this.containerMetrics.width / 2;- this.yStart = event ?- event.detail.y - this.containerMetrics.boundingRect.top :- this.containerMetrics.height / 2;- }-- if (this.recenters) {- this.xEnd = xCenter;- this.yEnd = yCenter;- this.slideDistance = Utility.distance(- this.xStart, this.yStart, this.xEnd, this.yEnd- );- }-- this.maxRadius = this.containerMetrics.furthestCornerDistanceFrom(- this.xStart,- this.yStart- );-- this.waveContainer.style.top =- (this.containerMetrics.height - this.containerMetrics.size) / 2 + 'px';- this.waveContainer.style.left =- (this.containerMetrics.width - this.containerMetrics.size) / 2 + 'px';-- this.waveContainer.style.width = this.containerMetrics.size + 'px';- this.waveContainer.style.height = this.containerMetrics.size + 'px';- },-- /** @param {Event=} event */- upAction: function(event) {- if (!this.isMouseDown) {- return;- }-- this.mouseUpStart = Utility.now();- },-- remove: function() {- Polymer.dom(this.waveContainer.parentNode).removeChild(- this.waveContainer- );- }- };-- Polymer({- is: 'paper-ripple',-- behaviors: [- Polymer.IronA11yKeysBehavior- ],-- properties: {- /**- * The initial opacity set on the wave.- *- * @attribute initialOpacity- * @type number- * @default 0.25- */- initialOpacity: {- type: Number,- value: 0.25- },-- /**- * How fast (opacity per second) the wave fades out.- *- * @attribute opacityDecayVelocity- * @type number- * @default 0.8- */- opacityDecayVelocity: {- type: Number,- value: 0.8- },-- /**- * If true, ripples will exhibit a gravitational pull towards- * the center of their container as they fade away.- *- * @attribute recenters- * @type boolean- * @default false- */- recenters: {- type: Boolean,- value: false- },-- /**- * If true, ripples will center inside its container- *- * @attribute recenters- * @type boolean- * @default false- */- center: {- type: Boolean,- value: false- },-- /**- * A list of the visual ripples.- *- * @attribute ripples- * @type Array- * @default []- */- ripples: {- type: Array,- value: function() {- return [];- }- },-- /**- * True when there are visible ripples animating within the- * element.- */- animating: {- type: Boolean,- readOnly: true,- reflectToAttribute: true,- value: false- },-- /**- * If true, the ripple will remain in the "down" state until `holdDown`- * is set to false again.- */- holdDown: {- type: Boolean,- value: false,- observer: '_holdDownChanged'- },-- /**- * If true, the ripple will not generate a ripple effect- * via pointer interaction.- * Calling ripple's imperative api like `simulatedRipple` will- * still generate the ripple effect.- */- noink: {- type: Boolean,- value: false- },-- _animating: {- type: Boolean- },-- _boundAnimate: {- type: Function,- value: function() {- return this.animate.bind(this);- }- }- },-- get target () {- return this.keyEventTarget;- },-- keyBindings: {- 'enter:keydown': '_onEnterKeydown',- 'space:keydown': '_onSpaceKeydown',- 'space:keyup': '_onSpaceKeyup'- },-- attached: function() {- // Set up a11yKeysBehavior to listen to key events on the target,- // so that space and enter activate the ripple even if the target doesn't- // handle key events. The key handlers deal with `noink` themselves.- if (this.parentNode.nodeType == 11) { // DOCUMENT_FRAGMENT_NODE- this.keyEventTarget = Polymer.dom(this).getOwnerRoot().host;- } else {- this.keyEventTarget = this.parentNode;- }- var keyEventTarget = /** @type {!EventTarget} */ (this.keyEventTarget);- this.listen(keyEventTarget, 'up', 'uiUpAction');- this.listen(keyEventTarget, 'down', 'uiDownAction');- },-- detached: function() {- this.unlisten(this.keyEventTarget, 'up', 'uiUpAction');- this.unlisten(this.keyEventTarget, 'down', 'uiDownAction');- this.keyEventTarget = null;- },-- get shouldKeepAnimating () {- for (var index = 0; index < this.ripples.length; ++index) {- if (!this.ripples[index].isAnimationComplete) {- return true;- }- }-- return false;- },-- simulatedRipple: function() {- this.downAction(null);-- // Please see polymer/polymer#1305- this.async(function() {- this.upAction();- }, 1);- },-- /**- * Provokes a ripple down effect via a UI event,- * respecting the `noink` property.- * @param {Event=} event- */- uiDownAction: function(event) {- if (!this.noink) {- this.downAction(event);- }- },-- /**- * Provokes a ripple down effect via a UI event,- * *not* respecting the `noink` property.- * @param {Event=} event- */- downAction: function(event) {- if (this.holdDown && this.ripples.length > 0) {- return;- }-- var ripple = this.addRipple();-- ripple.downAction(event);-- if (!this._animating) {- this._animating = true;- this.animate();- }- },-- /**- * Provokes a ripple up effect via a UI event,- * respecting the `noink` property.- * @param {Event=} event- */- uiUpAction: function(event) {- if (!this.noink) {- this.upAction(event);- }- },-- /**- * Provokes a ripple up effect via a UI event,- * *not* respecting the `noink` property.- * @param {Event=} event- */- upAction: function(event) {- if (this.holdDown) {- return;- }-- this.ripples.forEach(function(ripple) {- ripple.upAction(event);- });-- this._animating = true;- this.animate();- },-- onAnimationComplete: function() {- this._animating = false;- this.$.background.style.backgroundColor = null;- this.fire('transitionend');- },-- addRipple: function() {- var ripple = new Ripple(this);-- Polymer.dom(this.$.waves).appendChild(ripple.waveContainer);- this.$.background.style.backgroundColor = ripple.color;- this.ripples.push(ripple);-- this._setAnimating(true);-- return ripple;- },-- removeRipple: function(ripple) {- var rippleIndex = this.ripples.indexOf(ripple);-- if (rippleIndex < 0) {- return;- }-- this.ripples.splice(rippleIndex, 1);-- ripple.remove();-- if (!this.ripples.length) {- this._setAnimating(false);- }- },-- /**- * This conflicts with Element#antimate().- * https://developer.mozilla.org/en-US/docs/Web/API/Element/animate- * @suppress {checkTypes}- */- animate: function() {- if (!this._animating) {- return;- }- var index;- var ripple;-- for (index = 0; index < this.ripples.length; ++index) {- ripple = this.ripples[index];-- ripple.draw();-- this.$.background.style.opacity = ripple.outerOpacity;-- if (ripple.isOpacityFullyDecayed && !ripple.isRestingAtMaxRadius) {- this.removeRipple(ripple);- }- }-- if (!this.shouldKeepAnimating && this.ripples.length === 0) {- this.onAnimationComplete();- } else {- window.requestAnimationFrame(this._boundAnimate);- }- },-- _onEnterKeydown: function() {- this.uiDownAction();- this.async(this.uiUpAction, 1);- },-- _onSpaceKeydown: function() {- this.uiDownAction();- },-- _onSpaceKeyup: function() {- this.uiUpAction();- },-- // note: holdDown does not respect noink since it can be a focus based- // effect.- _holdDownChanged: function(newVal, oldVal) {- if (oldVal === undefined) {- return;- }- if (newVal) {- this.downAction();- } else {- this.upAction();- }- }-- /**- Fired when the animation finishes.- This is useful if you want to wait until- the ripple animation finishes to perform some action.-- @event transitionend- @param {{node: Object}} detail Contains the animated node.- */- });- })();-</script>+<script>!function(){function t(t){this.element=t,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function i(t){this.element=t,this.color=window.getComputedStyle(t).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Polymer.dom(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}var e={distance:function(t,i,e,n){var s=t-e,o=i-n;return Math.sqrt(s*s+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};t.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(t,i){var n=e.distance(t,i,0,0),s=e.distance(t,i,this.width,0),o=e.distance(t,i,0,this.height),a=e.distance(t,i,this.width,this.height);return Math.max(n,s,o,a)}},i.MAX_RADIUS=300,i.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var t;return this.mouseDownStart?(t=e.now()-this.mouseDownStart,this.mouseUpStart&&(t-=this.mouseUpElapsed),t):0},get mouseUpElapsed(){return this.mouseUpStart?e.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var t=this.containerMetrics.width*this.containerMetrics.width,e=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(t+e),i.MAX_RADIUS)+5,s=1.1-.2*(n/i.MAX_RADIUS),o=this.mouseInteractionSeconds/s,a=n*(1-Math.pow(80,-o));return Math.abs(a)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var t=.3*this.mouseUpElapsedSeconds,i=this.opacity;return Math.max(0,Math.min(t,i))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,i.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,i.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new t(this.element)},draw:function(){var t,i,e;this.wave.style.opacity=this.opacity,t=this.radius/(this.containerMetrics.size/2),i=this.xNow-this.containerMetrics.width/2,e=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+i+"px, "+e+"px)",this.waveContainer.style.transform="translate3d("+i+"px, "+e+"px, 0)",this.wave.style.webkitTransform="scale("+t+","+t+")",this.wave.style.transform="scale3d("+t+","+t+",1)"},downAction:function(t){var i=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=e.now(),this.center?(this.xStart=i,this.yStart=n,this.slideDistance=e.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=t?t.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=t?t.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=i,this.yEnd=n,this.slideDistance=e.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(t){this.isMouseDown&&(this.mouseUpStart=e.now())},remove:function(){Polymer.dom(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Polymer({is:"paper-ripple",behaviors:[Polymer.IronA11yKeysBehavior],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Polymer.dom(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var t=this.keyEventTarget;this.listen(t,"up","uiUpAction"),this.listen(t,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var t=0;t<this.ripples.length;++t)if(!this.ripples[t].isAnimationComplete)return!0;return!1},simulatedRipple:function(){this.downAction(null),this.async(function(){this.upAction()},1)},uiDownAction:function(t){this.noink||this.downAction(t)},downAction:function(t){if(!(this.holdDown&&this.ripples.length>0)){var i=this.addRipple();i.downAction(t),this._animating||(this._animating=!0,this.animate())}},uiUpAction:function(t){this.noink||this.upAction(t)},upAction:function(t){this.holdDown||(this.ripples.forEach(function(i){i.upAction(t)}),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var t=new i(this);return Polymer.dom(this.$.waves).appendChild(t.waveContainer),this.$.background.style.backgroundColor=t.color,this.ripples.push(t),this._setAnimating(!0),t},removeRipple:function(t){var i=this.ripples.indexOf(t);i<0||(this.ripples.splice(i,1),t.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var t,i;for(t=0;t<this.ripples.length;++t)i=this.ripples[t],i.draw(),this.$.background.style.opacity=i.outerOpacity,i.isOpacityFullyDecayed&&!i.isRestingAtMaxRadius&&this.removeRipple(i);this.shouldKeepAnimating||0!==this.ripples.length?window.requestAnimationFrame(this._boundAnimate):this.onAnimationComplete()}},_onEnterKeydown:function(){this.uiDownAction(),this.async(this.uiUpAction,1)},_onSpaceKeydown:function(){this.uiDownAction()},_onSpaceKeyup:function(){this.uiUpAction()},_holdDownChanged:function(t,i){void 0!==i&&(t?this.downAction():this.upAction())}})}();</script>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-spinner/paper-spinner-behavior.html b/frontend/bower_components/paper-spinner/paper-spinner-behavior.htmlindex ce3594b02..076e5e1f4 100644--- a/frontend/bower_components/paper-spinner/paper-spinner-behavior.html+++ b/frontend/bower_components/paper-spinner/paper-spinner-behavior.html@@ -1,87 +1,4 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../polymer/polymer.html">-<link rel="import" href="../polymer/polymer.html">--<script>-- /** @polymerBehavior */- Polymer.PaperSpinnerBehavior = {-- listeners: {- 'animationend': '__reset',- 'webkitAnimationEnd': '__reset'- },-- properties: {- /**- * Displays the spinner.- */- active: {- type: Boolean,- value: false,- reflectToAttribute: true,- observer: '__activeChanged'- },-- /**- * Alternative text content for accessibility support.- * If alt is present, it will add an aria-label whose content matches alt when active.- * If alt is not present, it will default to 'loading' as the alt value.- */- alt: {- type: String,- value: 'loading',- observer: '__altChanged'- },-- __coolingDown: {- type: Boolean,- value: false- }- },-- __computeContainerClasses: function(active, coolingDown) {- return [- active || coolingDown ? 'active' : '',- coolingDown ? 'cooldown' : ''- ].join(' ');- },-- __activeChanged: function(active, old) {- this.__setAriaHidden(!active);- this.__coolingDown = !active && old;- },-- __altChanged: function(alt) {- // user-provided `aria-label` takes precedence over prototype default- if (alt === this.getPropertyInfo('alt').value) {- this.alt = this.getAttribute('aria-label') || alt;- } else {- this.__setAriaHidden(alt==='');- this.setAttribute('aria-label', alt);- }- },-- __setAriaHidden: function(hidden) {- var attr = 'aria-hidden';- if (hidden) {- this.setAttribute(attr, 'true');- } else {- this.removeAttribute(attr);- }- },-- __reset: function() {- this.active = false;- this.__coolingDown = false;- }- };-</script>+<script>Polymer.PaperSpinnerBehavior={listeners:{animationend:"__reset",webkitAnimationEnd:"__reset"},properties:{active:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__activeChanged"},alt:{type:String,value:"loading",observer:"__altChanged"},__coolingDown:{type:Boolean,value:!1}},__computeContainerClasses:function(e,t){return[e||t?"active":"",t?"cooldown":""].join(" ")},__activeChanged:function(e,t){this.__setAriaHidden(!e),this.__coolingDown=!e&&t},__altChanged:function(e){e===this.getPropertyInfo("alt").value?this.alt=this.getAttribute("aria-label")||e:(this.__setAriaHidden(""===e),this.setAttribute("aria-label",e))},__setAriaHidden:function(e){var t="aria-hidden";e?this.setAttribute(t,"true"):this.removeAttribute(t)},__reset:function(){this.active=!1,this.__coolingDown=!1}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-spinner/paper-spinner-styles.html b/frontend/bower_components/paper-spinner/paper-spinner-styles.htmlindex 083292937..520c25cfb 100644--- a/frontend/bower_components/paper-spinner/paper-spinner-styles.html+++ b/frontend/bower_components/paper-spinner/paper-spinner-styles.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<dom-module id="paper-spinner-styles">+<html><head></head><body><dom-module id="paper-spinner-styles"><template><style>/*@@ -339,3 +329,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN</style></template></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-spinner/paper-spinner.html b/frontend/bower_components/paper-spinner/paper-spinner.htmlindex 54ff8bc09..9028f11d7 100644--- a/frontend/bower_components/paper-spinner/paper-spinner.html+++ b/frontend/bower_components/paper-spinner/paper-spinner.html@@ -1,59 +1,13 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-styles/color.html"><link rel="import" href="paper-spinner-behavior.html"><link rel="import" href="paper-spinner-styles.html">-<!---Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activity.html)--Element providing a multiple color material design circular spinner.-- <paper-spinner active></paper-spinner>--The default spinner cycles between four layers of colors; by default they are-blue, red, yellow and green. It can be customized to cycle between four different-colors. Use <paper-spinner-lite> for single color spinners.--### Accessibility--Alt attribute should be set to provide adequate context for accessibility. If not provided,-it defaults to 'loading'.-Empty alt can be provided to mark the element as decorative if alternative content is provided-in another form (e.g. a text block following the spinner).- <paper-spinner alt="Loading contacts list" active></paper-spinner>-### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-spinner-layer-1-color` | Color of the first spinner rotation | `--google-blue-500`-`--paper-spinner-layer-2-color` | Color of the second spinner rotation | `--google-red-500`-`--paper-spinner-layer-3-color` | Color of the third spinner rotation | `--google-yellow-500`-`--paper-spinner-layer-4-color` | Color of the fourth spinner rotation | `--google-green-500`-`--paper-spinner-stroke-width` | The width of the spinner stroke | 3px--@group Paper Elements-@element paper-spinner-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-spinner">- <template strip-whitespace>+</head><body><dom-module id="paper-spinner">+ <template strip-whitespace=""><style include="paper-spinner-styles"></style><div id="spinnerContainer" class-name="[[__computeContainerClasses(active, __coolingDown)]]">@@ -79,13 +33,6 @@ Custom property | Description | Default</div></template>- <script>- Polymer({- is: 'paper-spinner',-- behaviors: [- Polymer.PaperSpinnerBehavior- ]- });- </script>+ <script>Polymer({is:"paper-spinner",behaviors:[Polymer.PaperSpinnerBehavior]});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-left-animation.html b/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-left-animation.htmlnew file mode 100644index 000000000..212feaaca--- /dev/null+++ b/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-left-animation.html@@ -0,0 +1,6 @@+<html><head><link rel="import" href="../../polymer/polymer.html">+<link rel="import" href="../../neon-animation/neon-animation-behavior.html">+<link rel="import" href="../../neon-animation/web-animations.html">++<script>Polymer({is:"fade-in-slide-from-left-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(r){var i=r.node;return this._effect=new KeyframeEffect(i,[{transform:"translateX(-100%)",opacity:"0"},{transform:"translateX(-50%)",opacity:"0"},{transform:"none",opacity:"1"}],this.timingFromConfig(r)),r.transformOrigin?this.setPrefixedProperty(i,"transformOrigin",r.transformOrigin):this.setPrefixedProperty(i,"transformOrigin","0 50%"),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-right-animation.html b/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-right-animation.htmlnew file mode 100644index 000000000..1a78d6798--- /dev/null+++ b/frontend/bower_components/paper-stepper/animations/fade-in-slide-from-right-animation.html@@ -0,0 +1,6 @@+<html><head><link rel="import" href="../../polymer/polymer.html">+<link rel="import" href="../../neon-animation/neon-animation-behavior.html">+<link rel="import" href="../../neon-animation/web-animations.html">++<script>Polymer({is:"fade-in-slide-from-right-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(r){var i=r.node;return this._effect=new KeyframeEffect(i,[{transform:"translateX(100%)",opacity:"0"},{transform:"translateX(50%)",opacity:"0"},{transform:"none",opacity:"1"}],this.timingFromConfig(r)),r.transformOrigin?this.setPrefixedProperty(i,"transformOrigin",r.transformOrigin):this.setPrefixedProperty(i,"transformOrigin","0 50%"),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/animations/fade-out-slide-left-animation.html b/frontend/bower_components/paper-stepper/animations/fade-out-slide-left-animation.htmlnew file mode 100644index 000000000..04f9f9217--- /dev/null+++ b/frontend/bower_components/paper-stepper/animations/fade-out-slide-left-animation.html@@ -0,0 +1,6 @@+<html><head><link rel="import" href="../../polymer/polymer.html">+<link rel="import" href="../../neon-animation/neon-animation-behavior.html">+<link rel="import" href="../../neon-animation/web-animations.html">++<script>Polymer({is:"fade-out-slide-left-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(r){var t=r.node;return this._effect=new KeyframeEffect(t,[{transform:"none",opacity:"1"},{transform:"translateX(-50%)",opacity:"0"},{transform:"translateX(-100%)",opacity:"0"}],this.timingFromConfig(r)),r.transformOrigin?this.setPrefixedProperty(t,"transformOrigin",r.transformOrigin):this.setPrefixedProperty(t,"transformOrigin","0 50%"),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/animations/fade-out-slide-right-animation.html b/frontend/bower_components/paper-stepper/animations/fade-out-slide-right-animation.htmlnew file mode 100644index 000000000..8803d1889--- /dev/null+++ b/frontend/bower_components/paper-stepper/animations/fade-out-slide-right-animation.html@@ -0,0 +1,6 @@+<html><head><link rel="import" href="../../polymer/polymer.html">+<link rel="import" href="../../neon-animation/neon-animation-behavior.html">+<link rel="import" href="../../neon-animation/web-animations.html">++<script>Polymer({is:"fade-out-slide-right-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(r){var t=r.node;return this._effect=new KeyframeEffect(t,[{transform:"none",opacity:"1"},{transform:"translateX(50%)",opacity:"1"},{transform:"translateX(100%)",opacity:"0"}],this.timingFromConfig(r)),r.transformOrigin?this.setPrefixedProperty(t,"transformOrigin",r.transformOrigin):this.setPrefixedProperty(t,"transformOrigin","0 50%"),this._effect}});</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/paper-step.html b/frontend/bower_components/paper-stepper/paper-step.htmlnew file mode 100644index 000000000..33581c859--- /dev/null+++ b/frontend/bower_components/paper-stepper/paper-step.html@@ -0,0 +1,69 @@+<html><head><link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior.html">+<link rel="import" href="../paper-item/paper-item-behavior.html">+<link rel="import" href="../paper-behaviors/paper-ripple-behavior.html">+<link rel="import" href="../neon-animation/neon-animatable-behavior.html">+<link rel="import" href="../paper-styles/default-theme.html">+<link rel="import" href="step-horizontal-label.html">+<link rel="import" href="step-vertical.html">+<link rel="import" href="../polymer/polymer.html">+++</head><body><dom-module id="paper-step">+ <template>+ <style>+ :host {+ display: block;+ box-sizing: border-box;+ outline: 0;+ }+ :host(:not([vertical])) {+ overflow: hidden;+ @apply(--layout);+ @apply(--layout-flex);+ }+ :host(:not([vertical]):hover){+ overflow: visible;+ }+ :host(:not([opened]):not(.neon-animating)) #slideshowViewport{+ display: none;+ }+ #slideshowViewport {+ position: absolute;+ bottom: 84px;+ left: 0;+ right: 0;+ overflow: hidden;+ }+ #contentWrapper {+ padding: 24px 24px 0 24px;+ @apply(--layout-scroll);+ @apply(--layout-fit);+ pointer-events: auto;+ }+ :host(:focus:not([opened]):not([saved])) step-horizontal-label ::content #badge {+ background: var(--paper-step-selectable-hovered-badge-background, --paper-grey-500);+ }+ </style>++++ <template is="dom-if" if="[[!vertical]]">+ <step-horizontal-label id="horizontalStepLabel" editable="[[editable]]" label="[[label]]" alternative-label="[[_alternativeLabel]]" optional="[[optional]]" opened="[[opened]]" selectable="[[selectable]]" index="[[index]]" saved="[[saved]]" stepper-data="[[_stepperData]]">+ </step-horizontal-label>+ <div id="slideshowViewport">+ <div id="contentWrapper">+ </div>+ </div>+ </template>++++ <template is="dom-if" if="[[vertical]]">+ <step-vertical id="verticalStepLabel" editable="[[editable]]" label="[[label]]" optional="[[optional]]" opened="[[opened]]" selectable="[[selectable]]" stepper-data="[[_stepperData]]" index="[[index]]" saved="[[saved]]" _attr-for-primary-button-text="[[_attrForPrimaryButtonText]]" can-skip="[[_canSkip]]" has-back-step="[[_hasBackStep]]">+ </step-vertical>+ </template>+ </template>++ <script>Polymer({is:"paper-step",behaviors:[Polymer.IronValidatableBehavior,Polymer.NeonAnimatableBehavior,Polymer.PaperItemBehavior,Polymer.PaperRippleBehavior],properties:{saved:{type:Boolean,value:!1,notify:!0,readOnly:!0},editable:{type:Boolean,value:!1},index:{type:Number,notify:!0,readOnly:!0},_previousSaved:{type:Boolean,readOnly:!0},optional:{type:Boolean,value:!1},selectable:{type:Boolean,computed:"_computeSelectable(_stepperData.linear, saved, editable, _previousSaved)",reflectToAttribute:!0,notify:!0},disabled:{computed:"_computeDisabled(selectable)"},label:{type:String,value:""},opened:{type:Boolean,value:!1},animationConfig:{readOnly:!0},entryAnimation:{readOnly:!0},exitAnimation:{readOnly:!0},vertical:{type:Boolean,readOnly:!0,reflectToAttribute:!0},horizontalHigherEntryAnimation:{type:String},horizontalHigherExitAnimation:{type:String},horizontalLowerEntryAnimation:{type:String},horizontalLowerExitAnimation:{type:String},_alternativeLabel:{type:Boolean,readOnly:!0},_optionalText:{type:Boolean,readOnly:!0},_attrForPrimaryButtonText:{type:String,readOnly:!0},_stepper:{type:Object,readOnly:!0},_stepperData:{type:Object,readOnly:!0},_canSkip:{type:Boolean,readOnly:!0},_hasBackStep:{type:Boolean,readOnly:!0}},listeners:{"paper-step-vertical-skip-tapped":"skip","paper-step-vertical-back-tapped":"back","paper-step-vertical-continue-tapped":"continue",tap:"_tapHandler"},observers:["_toggleClassPosition(index, _stepperData.stepNumber, vertical)","_updateSlideshowViewportTop(optional, _alternativeLabel, vertical)","_verticalChange(vertical)","_focusedChanged(receivedFocusFromKeyboard)","_labelElementChanged(_labelElement)"],_focusedChanged:function(e){if(e){this.ensureRipple();var t=Polymer.dom(this._rippleContainer).querySelector("#badge"),i=t.getBoundingClientRect(),a=i.left+12,n=i.top+12;this._ripple.downAction({detail:{x:a,y:n}})}this.hasRipple()&&(this._ripple.holdDown=e)},_tapHandler:function(e){var t=Polymer.dom(e).rootTarget;t!==this&&t!==this._rippleContainer&&e.stopImmediatePropagation()},skip:function(){this._stepper.progress()},back:function(){this._stepper.back()},save:function(){return!(this.saved&&!this.editable||!this.validate())&&(this.saved?this.fire("paper-step-updated"):(this._setSaved(!0),this.fire("paper-step-saved")),!0)},continue:function(){return!!this.save()&&(this._stepper.progress(),!0)},_removeAnimatingClass:function(){this._animationCanceled?this._set_animationCanceled(!1):this.toggleClass("neon-animating",!1)},_cancelAnimation:function(){this._set_animationCanceled(!0),this.toggleClass("neon-animating",!1)},_updateSlideshowViewportTop:function(e,t,i){i||this.async(function(){this.$$("#slideshowViewport").style.top=this.clientHeight+"px",this.fire("step-horizontal-label-resize")})},_toggleClassPosition:function(e,t,i){this.async(function(){var a=this.$$(i?"#verticalStepLabel":"#horizontalStepLabel");this.toggleClass("first-step",1==e,a),this.toggleClass("last-step",e==t,a)})},_updateAnimationConfig:function(){var e=this.$$("#contentWrapper");this._setAnimationConfig({"higher-step-entry":{node:e,name:this.horizontalHigherEntryAnimation},"higher-step-exit":{node:e,name:this.horizontalHigherExitAnimation},"lower-step-entry":{node:e,name:this.horizontalLowerEntryAnimation},"lower-step-exit":{node:e,name:this.horizontalLowerExitAnimation}})},_verticalChange:function(e){this.async(function(){Polymer.dom(this.$$(e?"#verticalStepLabel":"#contentWrapper")).appendChild(this.$$("content")||this.create("content")),this._ripple=!1,this._rippleContainer=e?this.$$("#verticalStepLabel").$.label:this.$$("#horizontalStepLabel").$.label,e||this._updateAnimationConfig()}.bind(this))},_computeSelectable:function(e,t,i,a){return(!e||a)&&(!t||i)||i&&t},_computeDisabled:function(e){return!e}});</script>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/paper-stepper.html b/frontend/bower_components/paper-stepper/paper-stepper.htmlnew file mode 100644index 000000000..92a893c26--- /dev/null+++ b/frontend/bower_components/paper-stepper/paper-stepper.html@@ -0,0 +1,111 @@+<html><head><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">+<link rel="import" href="../iron-selector/iron-selectable.html">+<link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html">+<link rel="import" href="../neon-animation/neon-animation-runner-behavior.html">+<link rel="import" href="../paper-button/paper-button.html">+<link rel="import" href="../paper-styles/default-theme.html">+<link rel="import" href="../paper-styles/shadow.html">+<link rel="import" href="../iron-collapse/iron-collapse.html">+<link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html">+<link rel="import" href="../polymer/polymer.html">+<link rel="import" href="animations/fade-in-slide-from-right-animation.html">+<link rel="import" href="animations/fade-out-slide-right-animation.html">+<link rel="import" href="animations/fade-in-slide-from-left-animation.html">+<link rel="import" href="animations/fade-out-slide-left-animation.html">+<link rel="import" href="paper-step.html">+++</head><body><dom-module id="paper-stepper">+ <template>+ <style>+ :host {+ display: block;+ box-sizing: border-box;+ @apply(--layout-vertical);+ @apply(--shadow-elevation-2dp);+ background: white;+ border-radius: 1px;+ }+ #verticalResponsiveWidth {+ width: var(--paper-stepper-vertical-responsive-width, 0px);+ visibility: hidden;+ }++ /* Horizontal layout styles */++ :host([vertical]) {+ padding: 4px 0;+ @apply(--layout-scroll);+ max-height: var(--paper-stepper-vertical-max-height);+ }+ :host(:not([vertical])) {+ position: relative;+ /* Note: this variable is updated by the stepper itself, don't use it on user side */+ height: var(--label-wrapper-height);+ max-height: var(--label-wrapper-height);+ transition: max-height var(--paper-stepper-horizontal-opening-transition-duration, 300ms), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);+ }+ :host(:not([vertical]):not([opened]):not(.collapsing)) {+ @apply(--shadow-none);+ }+ :host(:not([vertical])[opened]) {+ max-height: var(--paper-stepper-horizontal-opened-height, 450px);+ }+ :host(:not([vertical])[opened]), :host(:not([vertical]).collapsing) {+ height: var(--paper-stepper-horizontal-opened-height, 450px);+ }+ :host(:not([vertical])) #content-wrapper {+ @apply(--shadow-elevation-2dp);+ @apply(--layout-horizontal);+ @apply(--layout-flex-none);+ @apply(--layout-justified);+ background: var(--paper-stepper-horizontal-label-wrapper-background, --primary-background-color);+ border-radius: 1px;+ overflow: hidden;+ }+ .flex {+ @apply(--layout-flex);+ }+ #buttonsWrapper {+ @apply(--layout-horizontal);+ margin: 0 24px 24px 24px;+ overflow: hidden;+ }+ #continueButton:not([disabled]) {+ color: var(--primary-color);+ }+ paper-button[disabled] {+ background-color: transparent;+ }+ [hidden] {+ display: none;+ }+ :host(:not[vertical]) #content-wrapper:not(:hover) ::content paper-step[opened] {+ overflow: visible;+ }+ </style>+++ <div id="verticalResponsiveWidth"></div>+++ <div id="content-wrapper">+ <content select="[[selectable]]"></content>+ </div>+++ <template is="dom-if" if="[[!vertical]]">+ <div class="flex"></div>+ <div id="buttonsWrapper">+ <paper-button hidden$="[[!hasBackButton]]" disabled="[[!_hasBackStep]]" on-tap="back">[[backText]]</paper-button>+ <span class="flex"></span>+ <paper-button hidden$="[[!hasSkipButton]]" disabled="[[!_canSkip]]" on-tap="progress">[[skipText]]</paper-button>+ <paper-button id="continueButton" on-tap="continue">{{_choosePrimaryButtonText(_attrForSelectedStepPrimaryButtonText, finishText, continueText, updateText)}}</paper-button>+ </div>+ </template>++ </template>++ <script>"use strict";Polymer({is:"paper-stepper",behaviors:[Polymer.IronMenuBehavior,Polymer.NeonAnimationRunnerBehavior,Polymer.IronResizableBehavior],properties:{opened:{type:Boolean,computed:"_computeOpened(_selectedIndex)",observer:"_openedChanged",notify:!0,reflectToAttribute:!0},alternativeLabel:{type:Boolean,value:!1},vertical:{type:Boolean,value:!1,reflectToAttribute:!0},backText:{type:String,value:"BACK"},finishText:{type:String,value:"FINISH"},continueText:{type:String,value:"CONTINUE"},skipText:{type:String,value:"SKIP"},optionalText:{type:String,value:"Optional"},updateText:{type:String,value:"UPDATE"},linear:{type:Boolean,value:!1},completed:{type:Boolean,value:!1,notify:!0,computed:"_computeCompleted(stepNumber, savedStepNumber)"},hasSkipButton:{type:Boolean,value:!1},hasBackButton:{type:Boolean,value:!1},stepNumber:{type:Number,notify:!0,computed:"_computeStepNumber(items.length)"},savedStepNumber:{type:Number,notify:!0,readOnly:!0},selectedAttribute:{value:"opened",readOnly:!0},selectable:{value:"paper-step"},mutli:{value:!1,readOnly:!0},responsiveCheckFrequence:{type:Number,value:200},animateInitialSelection:{type:Boolean,value:!1},horizontalHigherEntryAnimation:{type:String,value:"fade-in-slide-from-right-animation"},horizontalHigherExitAnimation:{type:String,value:"fade-out-slide-right-animation"},horizontalLowerEntryAnimation:{type:String,value:"fade-in-slide-from-left-animation"},horizontalLowerExitAnimation:{type:String,value:"fade-out-slide-left-animation"},_skipStepIndex:{type:Number,computed:"_compute_skipStepIndex(_selectedIndex)"},_canSkip:{type:Boolean,notify:!0,computed:"_isntNull(_skipStepIndex)"},_backStepIndex:{type:Number,computed:"_compute_backStepIndex(_selectedIndex)"},_hasBackStep:{type:Boolean,computed:"_isntNull(_backStepIndex)"},_selectedIndex:{type:Number,observer:"_selectedIndexChanged",readOnly:!0,value:-1},_attrForSelectedStepPrimaryButtonText:{type:String,computed:"_compute__attrForSelectedStepPrimaryButtonText(_selectedIndex, stepNumber)"},_previousAnimatedStep:{type:Object,value:null,readOnly:!0},_previousSelected:{type:Object,readOnly:!0}},keyBindings:{left:"_onLeftKey",right:"_onRightKey"},listeners:{"iron-items-changed":"_initializeSteps","paper-step-saved":"_stepSaved",transitionend:"_transitionEnd","step-horizontal-label-resize":"_updateStepperClosedMaxHeight","iron-resize":"_resizeHandler","neon-animation-finish":"_onNeonAnimationFinish"},observers:["_forwardCanSkip(_canSkip, selectedItem)","_forwardHasBackStep(_hasBackStep, selectedItem)","_forwardVertical(vertical)","_forwardAlternativeLabel(alternativeLabel)","_forwardStepperData(linear, backText, optionalText, finishText, continueText, skipText, updateText, hasSkipButton, hasBackButton)"],attached:function(){this._responsiveCheck()},back:function(){this.selectIndex(this._backStepIndex)},continue:function(){this.selectedItem&&this.selectedItem.save()&&this.progress()},progress:function(){if(!this.stepNumber)return!1;if(this.completed)return this.selected=null,!0;for(var e=(this._selectedIndex+1)%this.stepNumber;e!=this._selectedIndex;e=(e+1)%this.stepNumber)if(this.items[e].selectable&&!this.items[e].saved)return this.selectIndex(e),this.fire("paper-stepper-progressed"),!0;return!1},reset:function(){this._setSavedStepNumber(0),this.selected=null,this.items.length&&(this.items.map(function(e){e._setSaved(!1),e._set_previousSaved(!1)}),this.items[0]._set_previousSaved(!0))},get _isRTL(){return"rtl"===window.getComputedStyle(this).direction},_onLeftKey:function(e){this._isRTL?this._focusNext():this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onRightKey:function(e){this._isRTL?this._focusPrevious():this._focusNext(),e.detail.keyboardEvent.preventDefault()},_selectSelected:function(e){var t=this._valueToItem(this.selected);if(t){var i=t.selectable;if(void 0==i)return;if(!i)return this._previousSelected&&this._previousSelected.selectable?this.selected=this._valueForItem(this.previousSelected):this.selected=null,void this._set_previousSelected(null)}this._selection.select(t),this._set_previousSelected(t),this._set_selectedIndex(this.indexOf(t)),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)},_updateStepperClosedMaxHeight:function(){this.debounce("updateStepperClosedMaxHeight",function(){this.customStyle["--label-wrapper-height"]=this.$$("#content-wrapper").clientHeight+"px",this.updateStyles("--label-wrapper-height")})},_openedChanged:function(e,t){this.vertical||void 0==t||this.toggleClass("collapsing",!0)},_transitionEnd:function(e){"max-height"==e.propertyName&&this.toggleClass("collapsing",!1)},_computeOpened:function(e){return e>=0},_stepSaved:function(e){var t=this.items[this.indexOf(e.target)+1];t&&t._set_previousSaved(!0),this._setSavedStepNumber(this.savedStepNumber+1)},_forwardVertical:function(e){this.stepNumber&&this.items.map(function(t){t._setVertical(e)}),this.setAttribute("role",e?"menu":"menubar")},_forwardStepperData:function(e,t,i,n,s,a,o,r,l){this.stepNumber&&this.items.map(function(p){p._set_stepperData({linear:e,backText:t,optionalText:i,finishText:n,continueText:s,skipText:a,updateText:o,hasSkipButton:r,hasBackButton:l,stepNumber:this.stepNumber})}.bind(this))},_forwardAlternativeLabel:function(e){this.stepNumber&&this.items.map(function(t){t._set_alternativeLabel(e)})},_computeStepNumber:function(e){return e},_selectedIndexChanged:function(e,t){if(!this.vertical&&e>=0&&t>=0){var i=this.items[t],n=this.items[e];n.classList.contains("neon-animating")&&this.cancelAnimation(),this._previousAnimatedStep&&this._previousAnimatedStep.classList.contains("neon-animating")&&(this.cancelAnimation(),this.toggleClass("neon-animating",!1,this._previousAnimatedStep));var s=e-t>0;this.animationConfig={"new-step-entry":{animatable:n,type:s?n.horizontalHigherEntryAnimation&&"higher-step-entry":n.horizontalLowerEntryAnimation&&"lower-step-entry"},"old-step-exit":{animatable:i,type:s?i.horizontalLowerExitAnimation&&"lower-step-exit":i.horizontalHigherExitAnimation&&"higher-step-exit"}},this.animationConfig["new-step-entry"].type&&(this.playAnimation("new-step-entry",{step:n}),this.toggleClass("neon-animating",!0,n)),this.animationConfig["old-step-exit"].type&&(this.playAnimation("old-step-exit",{step:i}),this.toggleClass("neon-animating",!0,i)),this._set_previousAnimatedStep(i)}},_onNeonAnimationFinish:function(e){var t=e.detail.step;t&&this.toggleClass("neon-animating",!1,t)},_forwardCanSkip:function(e,t){t._set_canSkip(e)},_forwardHasBackStep:function(e,t){t._set_hasBackStep(e)},_compute__attrForSelectedStepPrimaryButtonText:function(e){if(e<0)return null;var t=this.selectedItem.saved?"updateText":this.stepNumber-this.savedStepNumber==1?"finishText":"continueText";return this.selectedItem._set_attrForPrimaryButtonText(t),t},_initializeSteps:function(){var e=0,t={linear:this.linear,backText:this.backText,optionalText:this.optionalText,finishText:this.finishText,continueText:this.continueText,skipText:this.skipText,updateText:this.updateText,hasSkipButton:this.hasSkipButton,hasBackButton:this.hasBackButton,stepNumber:this.stepNumber};this.items.map(function(i,n){this.horizontalHigherEntryAnimation&&!i.horizontalHigherEntryAnimation&&(i.horizontalHigherEntryAnimation=this.horizontalHigherEntryAnimation),this.horizontalHigherExitAnimation&&!i.horizontalHigherExitAnimation&&(i.horizontalHigherExitAnimation=this.horizontalHigherExitAnimation),this.horizontalLowerEntryAnimation&&!i.horizontalLowerEntryAnimation&&(i.horizontalLowerEntryAnimation=this.horizontalLowerEntryAnimation),this.horizontalLowerExitAnimation&&!i.horizontalLowerExitAnimation&&(i.horizontalLowerExitAnimation=this.horizontalLowerExitAnimation),i._setIndex(n+1),i._set_stepper(this),i._setVertical(this.vertical),i._set_alternativeLabel(this.alternativeLabel),i._set_stepperData(t),i._set_previousSaved(!n),i.saved&&e++}.bind(this)),this._setSavedStepNumber(e),this._updateSelected()},_compute_skipStepIndex:function(e){if(e>=0&&!this.completed)for(var t=(e+1)%this.stepNumber;t!=e;t=(t+1)%this.stepNumber)if(this.items[t].selectable&&!this.items[t].saved)return t;return null},_compute_backStepIndex:function(e){if(e>=0)for(var t=e-1;t>=0;t--)if(this.items[t].selectable)return t;return null},_isntNull:function(e){return null!=e},_computeCompleted:function(e,t){var i=t==e;return!!i&&(this.fire("paper-stepper-completed"),!0)},_choosePrimaryButtonText:function(e){return this[e]},_resizeHandler:function(){this.debounce("paper-stepper-responsive-check",function(){this._responsiveCheck()},this.responsiveCheckFrequence)},_responsiveCheck:function(){var e=this.$.verticalResponsiveWidth.clientWidth;e&&(this.vertical=!(this.clientWidth>e))}});</script>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/step-horizontal-label.html b/frontend/bower_components/paper-stepper/step-horizontal-label.htmlnew file mode 100644index 000000000..cbbb6edb9--- /dev/null+++ b/frontend/bower_components/paper-stepper/step-horizontal-label.html@@ -0,0 +1,108 @@+<html><head><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">+<link rel="import" href="../iron-icons/iron-icons.html">+<link rel="import" href="../iron-icons/editor-icons.html">+<link rel="import" href="../paper-styles/color.html">+<link rel="import" href="../paper-styles/typography.html">+<link rel="import" href="../paper-styles/default-theme.html">+<link rel="import" href="../polymer/polymer.html">+<link rel="import" href="step-label-behavior.html">+<link rel="import" href="step-label-shared-styles.html">++</head><body><dom-module id="step-horizontal-label">+ <template>+ <style include="step-label-shared-styles">+ :host{+ overflow: hidden;+ }+ :host([alternative-label]) {+ @apply(--layout);+ }+ #textWrapper {+ @apply(--layout-vertical);+ padding-right: 8px;+ overflow: hidden;+ }+ #textLabel, #optional {+ white-space: nowrap;+ text-overflow: ellipsis;+ overflow: hidden;+ }+ #badge {+ margin: 0 8px;+ }+ #badgeWrapper, #textWrapper {+ pointer-events: none;+ /* to be above paper-ripple*/+ z-index: 1;+ }+ :host(:not([alternative-label])) #label {+ @apply(--layout-horizontal);+ @apply(--layout-center);+ height: 72px;+ }+ :host(.firstStep:not([alternative-label])) #badge {+ margin-left: 24px;+ }+ :host(.lastStep:not([alternative-label])) #textWrapper {+ padding-right: 24px;+ }+ :host(:not([alternative-label]):not(.first-step)) #label::before,+ :host(:not([alternative-label]):not(.last-step)) #label::after,+ :host([alternative-label]) #badgeWrapper::before,+ :host([alternative-label]) #badgeWrapper::after {+ height: 1px;+ min-width: 16px;+ background: var(--paper-step-connector-line-color, --divider-color);+ @apply(--layout-flex);+ content: '';+ }+ :host([alternative-label].first-step) #badgeWrapper::before,+ :host([alternative-label].last-step) #badgeWrapper::after {+ visibility: hidden;+ }+ :host([alternative-label]) #textWrapper{+ padding: 0 16px;+ @apply(--layout-vertical);+ @apply(--layout-center);+ }+ :host([alternative-label]) #textLabel, :host([alternative-label]) #optional{+ text-align: center;+ @apply(--layout-self-stretch);+ }+ :host([alternative-label]) #label{+ @apply(--layout-vertical);+ @apply(--layout-self-stretch);+ padding: 24px 0;+ width: 100%;+ }+ :host([alternative-label]) #badgeWrapper {+ @apply(--layout-horizontal);+ @apply(--layout-center);+ padding-bottom: 16px;+ }+ :host(.first-step:not([alternative-label])) #label {+ padding-left: 16px;+ }+ :host(.last-step:not([alternative-label])) #label {+ padding-right: 16px;+ }+ </style>++ <div id="label">+ <div id="badgeWrapper">+ <div id="badge">+ <iron-icon hidden$="{{!_computeIsIconBadge(icon)}}" icon="{{icon}}"></iron-icon>+ <span hidden$="{{_computeIsIconBadge(icon)}}">{{index}}</span>+ </div>+ </div>+ <div id="textWrapper">+ <span id="textLabel">[[label]]</span>+ <template is="dom-if" if="[[optional]]">+ <span id="optional">[[stepperData.optionalText]]</span>+ </template>+ </div>+ </div>+ </template>+ <script>Polymer({is:"step-horizontal-label",behaviors:[Stepper.StepLabelBehavior],properties:{alternativeLabel:{type:Boolean,value:!1,reflectToAttribute:!0}}});</script>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/step-label-behavior.html b/frontend/bower_components/paper-stepper/step-label-behavior.htmlnew file mode 100644index 000000000..f0199a571--- /dev/null+++ b/frontend/bower_components/paper-stepper/step-label-behavior.html@@ -0,0 +1,4 @@+<html><head><link rel="import" href="../polymer/polymer.html">++<script>window.Stepper=window.Stepper||{},Stepper.StepLabelBehavior={properties:{icon:{type:String,computed:"_computeIcon(saved, editable)"},opened:{type:Boolean,reflectToAttribute:!0},selectable:{type:Boolean,reflectToAttribute:!0},editable:{type:Boolean,reflectToAttribute:!0},label:{type:String,notify:!0},optional:{type:Boolean,notify:!0},saved:{type:Boolean,reflectToAttribute:!0},index:{type:Number},stepperData:{type:Object}},_computeIcon:function(e,t){return e?t?"editor:mode-edit":"done":""},_computeIsIconBadge:function(e){return e.length>0}};</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/step-label-shared-styles.html b/frontend/bower_components/paper-stepper/step-label-shared-styles.htmlnew file mode 100644index 000000000..71f8de94c--- /dev/null+++ b/frontend/bower_components/paper-stepper/step-label-shared-styles.html@@ -0,0 +1,75 @@+<html><head><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">+<link rel="import" href="../paper-styles/default-theme.html">+<link rel="import" href="../paper-styles/color.html">+<link rel="import" href="../paper-styles/typography.html">+<link rel="import" href="../polymer/polymer.html">++</head><body><dom-module id="step-label-shared-styles">+ <template>+ <style>+ :host {+ display: block;+ box-sizing: border-box;+ @apply(--paper-font-common-base);+ @apply(--layout-flex);+ }+ #textWrapper {+ color: var(--paper-step-disabled-label-text-color, --paper-grey-400);+ }+ #textLabel {+ font-size: var(--paper-step-label-text-font-size, 14px);+ }+ #optional{+ font-size: var(--paper-step-label-optional-text-font-size, 12px);+ }+ :host([selectable]) #textWrapper {+ color: var(--paper-step-selectable-label-text-color, --paper-grey-600);+ }+ :host([opened]) #textLabel {+ color: var(--paper-step-opened-label-text-color, --light-theme-text-color);+ font-weight: 500;+ }+ #label {+ cursor: default;+ pointer-events: none;+ /* For paper-ripple */+ position: relative;+ }+ :host([selectable]) #label {+ cursor: pointer;+ pointer-events: auto;+ }+ #label:hover {+ /* using alpha chanel for .connectorLine to grow dark */+ background: var(--paper-step-label-hover-background, rgba(0,0,0,0.04));+ }+ #badge {+ width: 24px;+ height: 24px;+ background: var(--paper-step-badge-background, --paper-grey-300);+ border-radius: 50%;+ color: var(--paper-step-badge-color, --dark-theme-text-color);+ font-size: 12px;+ @apply(--layout);+ @apply(--layout-center-center);+ }+ #badge iron-icon {+ --iron-icon-height: var(--paper-step-badge-icon-width, 16px);+ --iron-icon-width: var(--paper-step-badge-icon-height, 16px);+ }+ :host([opened]) #badge {+ background: var(--paper-step-opened-badge-background, --primary-color);+ }+ :host([saved]) #badge {+ background: var(--paper-step-saved-badge-background, --primary-color);+ }+ :host([selectable]:not([opened]):not([saved])) #label:hover #badge {+ background: var(--paper-step-selectable-hovered-badge-background, --paper-grey-500);+ }+ paper-ripple {+ color: var(--paper-step-ink-color, --paper-grey-400);+ }+ </style>+ </template>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-stepper/step-vertical.html b/frontend/bower_components/paper-stepper/step-vertical.htmlnew file mode 100644index 000000000..78032379f--- /dev/null+++ b/frontend/bower_components/paper-stepper/step-vertical.html@@ -0,0 +1,144 @@+<html><head><link rel="import" href="../iron-flex-layout/iron-flex-layout.html">+<link rel="import" href="../paper-button/paper-button.html">+<link rel="import" href="../paper-styles/color.html">+<link rel="import" href="../paper-styles/default-theme.html">+<link rel="import" href="../paper-styles/typography.html">+<link rel="import" href="../polymer/polymer.html">+<link rel="import" href="../iron-icons/iron-icons.html">+<link rel="import" href="../iron-icon/iron-icon.html">+<link rel="import" href="../iron-icons/editor-icons.html">+<link rel="import" href="../iron-collapse/iron-collapse.html">+<link rel="import" href="step-label-behavior.html">+<link rel="import" href="step-label-shared-styles.html">++</head><body><dom-module id="step-vertical">+ <template>+ <style include="step-label-shared-styles">+ :host {+ @apply(--layout-vertical);+ }+ #connectedBadge, #textWrapper {+ pointer-events: none;+ /* to be above paper-ripple*/+ z-index: 1;+ }+ #collapse {+ --iron-collapse-transition-duration: var(--paper-vertical-step-transition-duration, 500ms);+ @apply(--layout-horizontal);+ }+ /**+ * Content+ */+ #connectedStep {+ @apply(--layout-horizontal);+ }+ #contentConnectorLine {+ width: 1px;+ background: var(--divider-color, --paper-grey-300);+ margin-left: 36px;+ margin-right: 24px;+ }+ #stepWrapper {+ @apply(--layout-flex);+ /*should be 48px on large screen?*/+ padding-right: 24px;+ }+ #paperStepWrapper {+ max-height: calc(var(--paper-vertical-step-max-height, 400px) - 92px);+ @apply(--layout-scroll);+ }++ /**+ * Buttons+ */+ #buttonsWrapper {+ height: 48px;+ padding-top: 16px;+ padding-bottom: 28px;+ @apply(--layout-horizontal);+ @apply(--layout-center);+ @apply(--layout-flex-none);+ }+ #buttonsWrapper > paper-button {+ margin-right: 8px;+ margin-left: 0;+ }+ #continueButton {+ --paper-button: {+ background: var(--paper-vertical-step-continue-button-background, --primary-color);+ color: var(--paper-vertical-step-continue-button-color, --dark-theme-text-color);+ };+ }+ /**+ * Label+ */+ #textWrapper {+ @apply(--layout-vertical);+ padding: 20px 0 20px 12px;+ }+ #label {+ @apply(--layout-horizontal);+ }+ #connectedBadge {+ @apply(--layout-vertical);+ @apply(--layout-center);+ margin-left: 24px;+ }+ #beforeConnectorLine, #afterConnectorLine {+ width: 1px;+ background: var(--paper-step-connector-line-color, --divider-color);+ }+ #beforeConnectorLine {+ height: 10px;+ }+ #afterConnectorLine {+ @apply(--layout-flex);+ }+ #badge {+ margin: 8px 0;+ }+ :host(.first-step) #beforeConnectorLine, :host(.lastStep) #contentConnectorLine{+ visibility: hidden;+ }+ :host(.last-step:not([opened])) #afterConnectorLine {+ display: none;+ }+ </style>++ <div id="label">+ <div id="connectedBadge">+ <div id="beforeConnectorLine"></div>+ <div id="badge">+ <iron-icon hidden$="{{!_computeIsIconBadge(icon)}}" icon="{{icon}}"></iron-icon>+ <span hidden$="{{_computeIsIconBadge(icon)}}">{{index}}</span>+ </div>+ <div id="afterConnectorLine" class="connectorLine"></div>+ </div>+ <div id="textWrapper">+ <span id="textLabel">[[label]]</span>+ <template is="dom-if" if="[[optional]]">+ <span id="optional">[[stepperData.optionalText]]</span>+ </template>+ </div>+ </div>+ <iron-collapse id="collapse" opened="[[opened]]">+ <div id="contentConnectorLine"></div>+ <div id="stepWrapper">+ <div id="paperStepWrapper">+ <content></content>+ </div>+ <div id="buttonsWrapper">+ <paper-button id="continueButton" on-tap="continue">{{choosePrimaryButtonText(_attrForPrimaryButtonText, stepperData.continueText, stepperData.finishText, stepperData.updateText)}}</paper-button>+ <paper-button id="backButton" disabled="[[!hasBackStep]]" on-tap="back" hidden$="[[!stepperData.hasBackButton]]">+ [[stepperData.backText]]+ </paper-button>+ <paper-button id="skipButton" disabled="[[!canSkip]]" on-tap="skip" hidden$="[[!stepperData.hasSkipButton]]">+ [[stepperData.skipText]]+ </paper-button>+ </div>+ </div>+ </iron-collapse>+ </template>+ <script>Polymer({is:"step-vertical",properties:{canSkip:{type:Boolean},_attrForPrimaryButtonText:{type:String,value:!1},hasBackStep:Boolean},behaviors:[Stepper.StepLabelBehavior],skip:function(){this.fire("paper-step-vertical-skip-tapped")},back:function(){this.fire("paper-step-vertical-back-tapped")},continue:function(){this.fire("paper-step-vertical-continue-tapped")},choosePrimaryButtonText:function(e){return this.stepperData[e]}});</script>+</dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-styles/color.html b/frontend/bower_components/paper-styles/color.htmlindex 518879013..d4304e635 100644--- a/frontend/bower_components/paper-styles/color.html+++ b/frontend/bower_components/paper-styles/color.html@@ -1,21 +1,11 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><style is="custom-style">:root {/* Material Design color palette for Google products */-+ --open-remote-green:#c0d62e;--google-red-100: #f4c7c3;--google-red-300: #e67c73;--google-red-500: #db4437;@@ -331,3 +321,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN}</style>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-styles/default-theme.html b/frontend/bower_components/paper-styles/default-theme.htmlindex cc6972812..156c5d6c1 100644--- a/frontend/bower_components/paper-styles/default-theme.html+++ b/frontend/bower_components/paper-styles/default-theme.html@@ -1,17 +1,7 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="color.html">-<!-- Taken from https://www.google.com/design/spec/style/color.html#color-ui-color-application -->+<style is="custom-style">@@ -32,7 +22,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN/** Primary and accent colors. Also see color.html for more colors.*/- --primary-color: var(--paper-indigo-500);+ --primary-color: var(--open-remote-green);--light-primary-color: var(--paper-indigo-100);--dark-primary-color: var(--paper-indigo-700);@@ -70,3 +60,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN}</style>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-styles/shadow.html b/frontend/bower_components/paper-styles/shadow.htmlindex 7e0546eef..20587e852 100644--- a/frontend/bower_components/paper-styles/shadow.html+++ b/frontend/bower_components/paper-styles/shadow.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><style is="custom-style">@@ -74,3 +64,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN}</style>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-styles/typography.html b/frontend/bower_components/paper-styles/typography.htmlindex 055b5f99c..a2fd565fb 100644--- a/frontend/bower_components/paper-styles/typography.html+++ b/frontend/bower_components/paper-styles/typography.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../font-roboto/roboto.html"><style is="custom-style">@@ -167,3 +157,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN}</style>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-tabs/paper-tab.html b/frontend/bower_components/paper-tabs/paper-tab.htmlindex 3d71ed7e6..ad3968c33 100644--- a/frontend/bower_components/paper-tabs/paper-tab.html+++ b/frontend/bower_components/paper-tabs/paper-tab.html@@ -1,48 +1,12 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-behaviors/iron-button-state.html"><link rel="import" href="../iron-behaviors/iron-control-state.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-behaviors/paper-ripple-behavior.html">-<!---`paper-tab` is styled to look like a tab. It should be used in conjunction with-`paper-tabs`.-Example:- <paper-tabs selected="0">- <paper-tab>TAB 1</paper-tab>- <paper-tab>TAB 2</paper-tab>- <paper-tab>TAB 3</paper-tab>- </paper-tabs>--### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-tab-ink` | Ink color | `--paper-yellow-a100`-`--paper-tab` | Mixin applied to the tab | `{}`-`--paper-tab-content` | Mixin applied to the tab content | `{}`-`--paper-tab-content-unselected` | Mixin applied to the tab content when the tab is not selected | `{}`--This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`.-In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`.---->--<dom-module id="paper-tab">+</head><body><dom-module id="paper-tab"><template><style>:host {@@ -107,70 +71,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported `</div></template>- <script>- Polymer({- is: 'paper-tab',-- behaviors: [- Polymer.IronControlState,- Polymer.IronButtonState,- Polymer.PaperRippleBehavior- ],-- properties: {-- /**- * If true, the tab will forward keyboard clicks (enter/space) to- * the first anchor element found in its descendants- */- link: {- type: Boolean,- value: false,- reflectToAttribute: true- }-- },-- hostAttributes: {- role: 'tab'- },-- listeners: {- down: '_updateNoink',- tap: '_onTap'- },-- attached: function() {- this._updateNoink();- },-- get _parentNoink () {- var parent = Polymer.dom(this).parentNode;- return !!parent && !!parent.noink;- },-- _updateNoink: function() {- this.noink = !!this.noink || !!this._parentNoink;- },-- _onTap: function(event) {- if (this.link) {- var anchor = this.queryEffectiveChildren('a');-- if (!anchor) {- return;- }-- // Don't get stuck in a loop delegating- // the listener from the child anchor- if (event.target === anchor) {- return;- }-- anchor.click();- }- }-- });- </script>+ <script>Polymer({is:"paper-tab",behaviors:[Polymer.IronControlState,Polymer.IronButtonState,Polymer.PaperRippleBehavior],properties:{link:{type:Boolean,value:!1,reflectToAttribute:!0}},hostAttributes:{role:"tab"},listeners:{down:"_updateNoink",tap:"_onTap"},attached:function(){this._updateNoink()},get _parentNoink(){var t=Polymer.dom(this).parentNode;return!!t&&!!t.noink},_updateNoink:function(){this.noink=!!this.noink||!!this._parentNoink},_onTap:function(t){if(this.link){var e=this.queryEffectiveChildren("a");if(!e)return;if(t.target===e)return;e.click()}}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-tabs/paper-tabs-icons.html b/frontend/bower_components/paper-tabs/paper-tabs-icons.htmlindex c299046a6..361f1bd15 100644--- a/frontend/bower_components/paper-tabs/paper-tabs-icons.html+++ b/frontend/bower_components/paper-tabs/paper-tabs-icons.html@@ -1,18 +1,9 @@-<!---@license-Copyright (c) 2015 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--->+<html><head><link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">-<link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">--<iron-iconset-svg name="paper-tabs" size="24">+</head><body><iron-iconset-svg name="paper-tabs" size="24"><svg><defs>-<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></g>-<g id="chevron-right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></g>+<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-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>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-tabs/paper-tabs.html b/frontend/bower_components/paper-tabs/paper-tabs.htmlindex 71ea72362..3e293668e 100644--- a/frontend/bower_components/paper-tabs/paper-tabs.html+++ b/frontend/bower_components/paper-tabs/paper-tabs.html@@ -1,14 +1,4 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../iron-icon/iron-icon.html"><link rel="import" href="../iron-menu-behavior/iron-menubar-behavior.html">@@ -18,84 +8,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN<link rel="import" href="paper-tabs-icons.html"><link rel="import" href="paper-tab.html">-<!---Material design: [Tabs](https://www.google.com/design/spec/components/tabs.html)--`paper-tabs` makes it easy to explore and switch between different views or functional aspects of-an app, or to browse categorized data sets.--Use `selected` property to get or set the selected tab.--Example:-- <paper-tabs selected="0">- <paper-tab>TAB 1</paper-tab>- <paper-tab>TAB 2</paper-tab>- <paper-tab>TAB 3</paper-tab>- </paper-tabs>--See <a href="?active=paper-tab">paper-tab</a> for more information about-`paper-tab`.--A common usage for `paper-tabs` is to use it along with `iron-pages` to switch-between different views.-- <paper-tabs selected="{{selected}}">- <paper-tab>Tab 1</paper-tab>- <paper-tab>Tab 2</paper-tab>- <paper-tab>Tab 3</paper-tab>- </paper-tabs>-- <iron-pages selected="{{selected}}">- <div>Page 1</div>- <div>Page 2</div>- <div>Page 3</div>- </iron-pages>---To use links in tabs, add `link` attribute to `paper-tab` and put an `<a>`-element in `paper-tab` with a `tabindex` of -1.-Example:-<pre><code>-<style is="custom-style">- .link {- @apply(--layout-horizontal);- @apply(--layout-center-center);- }-</style>--<paper-tabs selected="0">- <paper-tab link>- <a href="#link1" class="link" tabindex="-1">TAB ONE</a>- </paper-tab>- <paper-tab link>- <a href="#link2" class="link" tabindex="-1">TAB TWO</a>- </paper-tab>- <paper-tab link>- <a href="#link3" class="link" tabindex="-1">TAB THREE</a>- </paper-tab>-</paper-tabs>-</code></pre>--### Styling--The following custom properties and mixins are available for styling:--Custom property | Description | Default-----------------|-------------|-----------`--paper-tabs-selection-bar-color` | Color for the selection bar | `--paper-yellow-a100`-`--paper-tabs-selection-bar` | Mixin applied to the selection bar | `{}`-`--paper-tabs` | Mixin applied to the tabs | `{}`-`--paper-tabs-content` | Mixin applied to the content container of tabs | `{}`-`--paper-tabs-container` | Mixin applied to the layout container of tabs | `{}`--@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-tabs">+</head><body><dom-module id="paper-tabs"><template><style>:host {@@ -217,8 +132,7 @@ Custom property | Description | Default<div id="tabsContainer" on-track="_scroll" on-down="_down"><div id="tabsContent" class$="[[_computeTabsContentClass(scrollable, fitContainer)]]">- <div id="selectionBar" class$="[[_computeSelectionBarClass(noBar, alignBottom)]]"- on-transitionend="_onBarTransitionEnd"></div>+ <div id="selectionBar" class$="[[_computeSelectionBarClass(noBar, alignBottom)]]" on-transitionend="_onBarTransitionEnd"></div><content select="*"></content></div></div>@@ -227,435 +141,6 @@ Custom property | Description | Default</template>- <script>- Polymer({- is: 'paper-tabs',-- behaviors: [- Polymer.IronResizableBehavior,- Polymer.IronMenubarBehavior- ],-- properties: {- /**- * If true, ink ripple effect is disabled. When this property is changed,- * all descendant `<paper-tab>` elements have their `noink` property- * changed to the new value as well.- */- noink: {- type: Boolean,- value: false,- observer: '_noinkChanged'- },-- /**- * If true, the bottom bar to indicate the selected tab will not be shown.- */- noBar: {- type: Boolean,- value: false- },-- /**- * If true, the slide effect for the bottom bar is disabled.- */- noSlide: {- type: Boolean,- value: false- },-- /**- * If true, tabs are scrollable and the tab width is based on the label width.- */- scrollable: {- type: Boolean,- value: false- },-- /**- * If true, tabs expand to fit their container. This currently only applies when- * scrollable is true.- */- fitContainer: {- type: Boolean,- value: false- },-- /**- * If true, dragging on the tabs to scroll is disabled.- */- disableDrag: {- type: Boolean,- value: false- },-- /**- * If true, scroll buttons (left/right arrow) will be hidden for scrollable tabs.- */- hideScrollButtons: {- type: Boolean,- value: false- },-- /**- * If true, the tabs are aligned to bottom (the selection bar appears at the top).- */- alignBottom: {- type: Boolean,- value: false- },-- selectable: {- type: String,- value: 'paper-tab'- },-- /**- * If true, tabs are automatically selected when focused using the- * keyboard.- */- autoselect: {- type: Boolean,- value: false- },-- /**- * The delay (in milliseconds) between when the user stops interacting- * with the tabs through the keyboard and when the focused item is- * automatically selected (if `autoselect` is true).- */- autoselectDelay: {- type: Number,- value: 0- },-- _step: {- type: Number,- value: 10- },-- _holdDelay: {- type: Number,- value: 1- },-- _leftHidden: {- type: Boolean,- value: false- },-- _rightHidden: {- type: Boolean,- value: false- },-- _previousTab: {- type: Object- }- },-- hostAttributes: {- role: 'tablist'- },-- listeners: {- 'iron-resize': '_onTabSizingChanged',- 'iron-items-changed': '_onTabSizingChanged',- 'iron-select': '_onIronSelect',- 'iron-deselect': '_onIronDeselect'- },-- keyBindings: {- 'left:keyup right:keyup': '_onArrowKeyup'- },-- created: function() {- this._holdJob = null;- this._pendingActivationItem = undefined;- this._pendingActivationTimeout = undefined;- this._bindDelayedActivationHandler = this._delayedActivationHandler.bind(this);- this.addEventListener('blur', this._onBlurCapture.bind(this), true);- },-- ready: function() {- this.setScrollDirection('y', this.$.tabsContainer);- },-- detached: function() {- this._cancelPendingActivation();- },-- _noinkChanged: function(noink) {- var childTabs = Polymer.dom(this).querySelectorAll('paper-tab');- childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute);- },-- _setNoinkAttribute: function(element) {- element.setAttribute('noink', '');- },-- _removeNoinkAttribute: function(element) {- element.removeAttribute('noink');- },-- _computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) {- if (!scrollable || hideScrollButtons) {- return 'hidden';- }-- if (hideThisButton) {- return 'not-visible';- }-- return '';- },-- _computeTabsContentClass: function(scrollable, fitContainer) {- return scrollable ? 'scrollable' + (fitContainer ? ' fit-container' : '') : ' fit-container';- },-- _computeSelectionBarClass: function(noBar, alignBottom) {- if (noBar) {- return 'hidden';- } else if (alignBottom) {- return 'align-bottom';- }-- return '';- },-- // TODO(cdata): Add `track` response back in when gesture lands.-- _onTabSizingChanged: function() {- this.debounce('_onTabSizingChanged', function() {- this._scroll();- this._tabChanged(this.selectedItem);- }, 10);- },-- _onIronSelect: function(event) {- this._tabChanged(event.detail.item, this._previousTab);- this._previousTab = event.detail.item;- this.cancelDebouncer('tab-changed');- },-- _onIronDeselect: function(event) {- this.debounce('tab-changed', function() {- this._tabChanged(null, this._previousTab);- this._previousTab = null;- // See polymer/polymer#1305- }, 1);- },-- _activateHandler: function() {- // Cancel item activations scheduled by keyboard events when any other- // action causes an item to be activated (e.g. clicks).- this._cancelPendingActivation();-- Polymer.IronMenuBehaviorImpl._activateHandler.apply(this, arguments);- },-- /**- * Activates an item after a delay (in milliseconds).- */- _scheduleActivation: function(item, delay) {- this._pendingActivationItem = item;- this._pendingActivationTimeout = this.async(- this._bindDelayedActivationHandler, delay);- },-- /**- * Activates the last item given to `_scheduleActivation`.- */- _delayedActivationHandler: function() {- var item = this._pendingActivationItem;- this._pendingActivationItem = undefined;- this._pendingActivationTimeout = undefined;- item.fire(this.activateEvent, null, {- bubbles: true,- cancelable: true- });- },-- /**- * Cancels a previously scheduled item activation made with- * `_scheduleActivation`.- */- _cancelPendingActivation: function() {- if (this._pendingActivationTimeout !== undefined) {- this.cancelAsync(this._pendingActivationTimeout);- this._pendingActivationItem = undefined;- this._pendingActivationTimeout = undefined;- }- },-- _onArrowKeyup: function(event) {- if (this.autoselect) {- this._scheduleActivation(this.focusedItem, this.autoselectDelay);- }- },-- _onBlurCapture: function(event) {- // Cancel a scheduled item activation (if any) when that item is- // blurred.- if (event.target === this._pendingActivationItem) {- this._cancelPendingActivation();- }- },-- get _tabContainerScrollSize () {- return Math.max(- 0,- this.$.tabsContainer.scrollWidth -- this.$.tabsContainer.offsetWidth- );- },-- _scroll: function(e, detail) {- if (!this.scrollable) {- return;- }-- var ddx = (detail && -detail.ddx) || 0;- this._affectScroll(ddx);- },-- _down: function(e) {- // go one beat async to defeat IronMenuBehavior- // autorefocus-on-no-selection timeout- this.async(function() {- if (this._defaultFocusAsync) {- this.cancelAsync(this._defaultFocusAsync);- this._defaultFocusAsync = null;- }- }, 1);- },-- _affectScroll: function(dx) {- this.$.tabsContainer.scrollLeft += dx;-- var scrollLeft = this.$.tabsContainer.scrollLeft;-- this._leftHidden = scrollLeft === 0;- this._rightHidden = scrollLeft === this._tabContainerScrollSize;- },-- _onLeftScrollButtonDown: function() {- this._scrollToLeft();- this._holdJob = setInterval(this._scrollToLeft.bind(this), this._holdDelay);- },-- _onRightScrollButtonDown: function() {- this._scrollToRight();- this._holdJob = setInterval(this._scrollToRight.bind(this), this._holdDelay);- },-- _onScrollButtonUp: function() {- clearInterval(this._holdJob);- this._holdJob = null;- },-- _scrollToLeft: function() {- this._affectScroll(-this._step);- },-- _scrollToRight: function() {- this._affectScroll(this._step);- },-- _tabChanged: function(tab, old) {- if (!tab) {- // Remove the bar without animation.- this.$.selectionBar.classList.remove('expand');- this.$.selectionBar.classList.remove('contract');- this._positionBar(0, 0);- return;- }-- var r = this.$.tabsContent.getBoundingClientRect();- var w = r.width;- var tabRect = tab.getBoundingClientRect();- var tabOffsetLeft = tabRect.left - r.left;-- this._pos = {- width: this._calcPercent(tabRect.width, w),- left: this._calcPercent(tabOffsetLeft, w)- };-- if (this.noSlide || old == null) {- // Position the bar without animation.- this.$.selectionBar.classList.remove('expand');- this.$.selectionBar.classList.remove('contract');- this._positionBar(this._pos.width, this._pos.left);- return;- }-- var oldRect = old.getBoundingClientRect();- var oldIndex = this.items.indexOf(old);- var index = this.items.indexOf(tab);- var m = 5;-- // bar animation: expand- this.$.selectionBar.classList.add('expand');-- var moveRight = oldIndex < index;- var isRTL = this._isRTL;- if (isRTL) {- moveRight = !moveRight;- }-- if (moveRight) {- this._positionBar(this._calcPercent(tabRect.left + tabRect.width - oldRect.left, w) - m,- this._left);- } else {- this._positionBar(this._calcPercent(oldRect.left + oldRect.width - tabRect.left, w) - m,- this._calcPercent(tabOffsetLeft, w) + m);- }-- if (this.scrollable) {- this._scrollToSelectedIfNeeded(tabRect.width, tabOffsetLeft);- }- },-- _scrollToSelectedIfNeeded: function(tabWidth, tabOffsetLeft) {- var l = tabOffsetLeft - this.$.tabsContainer.scrollLeft;- if (l < 0) {- this.$.tabsContainer.scrollLeft += l;- } else {- l += (tabWidth - this.$.tabsContainer.offsetWidth);- if (l > 0) {- this.$.tabsContainer.scrollLeft += l;- }- }- },-- _calcPercent: function(w, w0) {- return 100 * w / w0;- },-- _positionBar: function(width, left) {- width = width || 0;- left = left || 0;-- this._width = width;- this._left = left;- this.transform(- 'translateX(' + left + '%) scaleX(' + (width / 100) + ')',- this.$.selectionBar);- },-- _onBarTransitionEnd: function(e) {- var cl = this.$.selectionBar.classList;- // bar animation: expand -> contract- if (cl.contains('expand')) {- cl.remove('expand');- cl.add('contract');- this._positionBar(this._pos.width, this._pos.left);- // bar animation done- } else if (cl.contains('contract')) {- cl.remove('contract');- }- }- });- </script>+ <script>Polymer({is:"paper-tabs",behaviors:[Polymer.IronResizableBehavior,Polymer.IronMenubarBehavior],properties:{noink:{type:Boolean,value:!1,observer:"_noinkChanged"},noBar:{type:Boolean,value:!1},noSlide:{type:Boolean,value:!1},scrollable:{type:Boolean,value:!1},fitContainer:{type:Boolean,value:!1},disableDrag:{type:Boolean,value:!1},hideScrollButtons:{type:Boolean,value:!1},alignBottom:{type:Boolean,value:!1},selectable:{type:String,value:"paper-tab"},autoselect:{type:Boolean,value:!1},autoselectDelay:{type:Number,value:0},_step:{type:Number,value:10},_holdDelay:{type:Number,value:1},_leftHidden:{type:Boolean,value:!1},_rightHidden:{type:Boolean,value:!1},_previousTab:{type:Object}},hostAttributes:{role:"tablist"},listeners:{"iron-resize":"_onTabSizingChanged","iron-items-changed":"_onTabSizingChanged","iron-select":"_onIronSelect","iron-deselect":"_onIronDeselect"},keyBindings:{"left:keyup right:keyup":"_onArrowKeyup"},created:function(){this._holdJob=null,this._pendingActivationItem=void 0,this._pendingActivationTimeout=void 0,this._bindDelayedActivationHandler=this._delayedActivationHandler.bind(this),this.addEventListener("blur",this._onBlurCapture.bind(this),!0)},ready:function(){this.setScrollDirection("y",this.$.tabsContainer)},detached:function(){this._cancelPendingActivation()},_noinkChanged:function(t){var e=Polymer.dom(this).querySelectorAll("paper-tab");e.forEach(t?this._setNoinkAttribute:this._removeNoinkAttribute)},_setNoinkAttribute:function(t){t.setAttribute("noink","")},_removeNoinkAttribute:function(t){t.removeAttribute("noink")},_computeScrollButtonClass:function(t,e,i){return!e||i?"hidden":t?"not-visible":""},_computeTabsContentClass:function(t,e){return t?"scrollable"+(e?" fit-container":""):" fit-container"},_computeSelectionBarClass:function(t,e){return t?"hidden":e?"align-bottom":""},_onTabSizingChanged:function(){this.debounce("_onTabSizingChanged",function(){this._scroll(),this._tabChanged(this.selectedItem)},10)},_onIronSelect:function(t){this._tabChanged(t.detail.item,this._previousTab),this._previousTab=t.detail.item,this.cancelDebouncer("tab-changed")},_onIronDeselect:function(t){this.debounce("tab-changed",function(){this._tabChanged(null,this._previousTab),this._previousTab=null},1)},_activateHandler:function(){this._cancelPendingActivation(),Polymer.IronMenuBehaviorImpl._activateHandler.apply(this,arguments)},_scheduleActivation:function(t,e){this._pendingActivationItem=t,this._pendingActivationTimeout=this.async(this._bindDelayedActivationHandler,e)},_delayedActivationHandler:function(){var t=this._pendingActivationItem;this._pendingActivationItem=void 0,this._pendingActivationTimeout=void 0,t.fire(this.activateEvent,null,{bubbles:!0,cancelable:!0})},_cancelPendingActivation:function(){void 0!==this._pendingActivationTimeout&&(this.cancelAsync(this._pendingActivationTimeout),this._pendingActivationItem=void 0,this._pendingActivationTimeout=void 0)},_onArrowKeyup:function(t){this.autoselect&&this._scheduleActivation(this.focusedItem,this.autoselectDelay)},_onBlurCapture:function(t){t.target===this._pendingActivationItem&&this._cancelPendingActivation()},get _tabContainerScrollSize(){return Math.max(0,this.$.tabsContainer.scrollWidth-this.$.tabsContainer.offsetWidth)},_scroll:function(t,e){if(this.scrollable){var i=e&&-e.ddx||0;this._affectScroll(i)}},_down:function(t){this.async(function(){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null)},1)},_affectScroll:function(t){this.$.tabsContainer.scrollLeft+=t;var e=this.$.tabsContainer.scrollLeft;this._leftHidden=0===e,this._rightHidden=e===this._tabContainerScrollSize},_onLeftScrollButtonDown:function(){this._scrollToLeft(),this._holdJob=setInterval(this._scrollToLeft.bind(this),this._holdDelay)},_onRightScrollButtonDown:function(){this._scrollToRight(),this._holdJob=setInterval(this._scrollToRight.bind(this),this._holdDelay)},_onScrollButtonUp:function(){clearInterval(this._holdJob),this._holdJob=null},_scrollToLeft:function(){this._affectScroll(-this._step)},_scrollToRight:function(){this._affectScroll(this._step)},_tabChanged:function(t,e){if(!t)return this.$.selectionBar.classList.remove("expand"),this.$.selectionBar.classList.remove("contract"),void this._positionBar(0,0);var i=this.$.tabsContent.getBoundingClientRect(),n=i.width,o=t.getBoundingClientRect(),s=o.left-i.left;if(this._pos={width:this._calcPercent(o.width,n),left:this._calcPercent(s,n)},this.noSlide||null==e)return this.$.selectionBar.classList.remove("expand"),this.$.selectionBar.classList.remove("contract"),void this._positionBar(this._pos.width,this._pos.left);var a=e.getBoundingClientRect(),l=this.items.indexOf(e),c=this.items.indexOf(t),r=5;this.$.selectionBar.classList.add("expand");var h=l<c,d=this._isRTL;d&&(h=!h),h?this._positionBar(this._calcPercent(o.left+o.width-a.left,n)-r,this._left):this._positionBar(this._calcPercent(a.left+a.width-o.left,n)-r,this._calcPercent(s,n)+r),this.scrollable&&this._scrollToSelectedIfNeeded(o.width,s)},_scrollToSelectedIfNeeded:function(t,e){var i=e-this.$.tabsContainer.scrollLeft;i<0?this.$.tabsContainer.scrollLeft+=i:(i+=t-this.$.tabsContainer.offsetWidth,i>0&&(this.$.tabsContainer.scrollLeft+=i))},_calcPercent:function(t,e){return 100*t/e},_positionBar:function(t,e){t=t||0,e=e||0,this._width=t,this._left=e,this.transform("translateX("+e+"%) scaleX("+t/100+")",this.$.selectionBar)},_onBarTransitionEnd:function(t){var e=this.$.selectionBar.classList;e.contains("expand")?(e.remove("expand"),e.add("contract"),this._positionBar(this._pos.width,this._pos.left)):e.contains("contract")&&e.remove("contract")}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/paper-toggle-button/paper-toggle-button.html b/frontend/bower_components/paper-toggle-button/paper-toggle-button.htmlindex d9ab5f624..7ad0646cc 100644--- a/frontend/bower_components/paper-toggle-button/paper-toggle-button.html+++ b/frontend/bower_components/paper-toggle-button/paper-toggle-button.html@@ -1,62 +1,13 @@-<!---@license-Copyright (c) 2015 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--->--<link rel="import" href="../polymer/polymer.html">+<html><head><link rel="import" href="../polymer/polymer.html"><link rel="import" href="../iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../paper-styles/color.html"><link rel="import" href="../paper-styles/default-theme.html"><link rel="import" href="../paper-behaviors/paper-checked-element-behavior.html">-<!---Material design: [Switch](https://www.google.com/design/spec/components/selection-controls.html#selection-controls-switch)--`paper-toggle-button` provides a ON/OFF switch that user can toggle the state-by tapping or by dragging the switch.--Example:-- <paper-toggle-button></paper-toggle-button>--### Styling-The following custom properties and mixins are available for styling:-Custom property | Description | Default-----------------|-------------|-----------`--paper-toggle-button-unchecked-bar-color` | Slider color when the input is not checked | `#000000`-`--paper-toggle-button-unchecked-button-color` | Button color when the input is not checked | `--paper-grey-50`-`--paper-toggle-button-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--dark-primary-color`-`--paper-toggle-button-checked-bar-color` | Slider button color when the input is checked | `--primary-color`-`--paper-toggle-button-checked-button-color` | Button color when the input is checked | `--primary-color`-`--paper-toggle-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--primary-color`-`--paper-toggle-button-invalid-bar-color` | Slider button color when the input is invalid | `--error-color`-`--paper-toggle-button-invalid-button-color` | Button color when the input is invalid | `--error-color`-`--paper-toggle-button-invalid-ink-color` | Selected/focus ripple color when the input is invalid | `--error-color`-`--paper-toggle-button-unchecked-bar` | Mixin applied to the slider when the input is not checked | `{}`-`--paper-toggle-button-unchecked-button` | Mixin applied to the slider button when the input is not checked | `{}`-`--paper-toggle-button-checked-bar` | Mixin applied to the slider when the input is checked | `{}`-`--paper-toggle-button-checked-button` | Mixin applied to the slider button when the input is checked | `{}`-`--paper-toggle-button-label-color` | Label color | `--primary-text-color`-`--paper-toggle-button-label-spacing` | Spacing between the label and the button | `8px`--This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`.-In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`.--@group Paper Elements-@element paper-toggle-button-@hero hero.svg-@demo demo/index.html--->--<dom-module id="paper-toggle-button">- <template strip-whitespace>+</head><body><dom-module id="paper-toggle-button">+ <template strip-whitespace=""><style>:host {@@ -195,87 +146,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported `</template>- <script>- Polymer({- is: 'paper-toggle-button',-- behaviors: [- Polymer.PaperCheckedElementBehavior- ],-- hostAttributes: {- role: 'button',- 'aria-pressed': 'false',- tabindex: 0- },-- properties: {- /**- * Fired when the checked state changes due to user interaction.- *- * @event change- */- /**- * Fired when the checked state changes.- *- * @event iron-change- */- },-- listeners: {- track: '_ontrack'- },-- attached: function() {- Polymer.RenderStatus.afterNextRender(this, function() {- this.setScrollDirection('y');- });- },-- _ontrack: function(event) {- var track = event.detail;- if (track.state === 'start') {- this._trackStart(track);- } else if (track.state === 'track') {- this._trackMove(track);- } else if (track.state === 'end') {- this._trackEnd(track);- }- },-- _trackStart: function(track) {- this._width = this.$.toggleBar.offsetWidth / 2;- /*- * keep an track-only check state to keep the dragging behavior smooth- * while toggling activations- */- this._trackChecked = this.checked;- this.$.toggleButton.classList.add('dragging');- },-- _trackMove: function(track) {- var dx = track.dx;- this._x = Math.min(this._width,- Math.max(0, this._trackChecked ? this._width + dx : dx));- this.translate3d(this._x + 'px', 0, 0, this.$.toggleButton);- this._userActivate(this._x > (this._width / 2));- },-- _trackEnd: function(track) {- this.$.toggleButton.classList.remove('dragging');- this.transform('', this.$.toggleButton);- },-- // customize the element's ripple- _createRipple: function() {- this._rippleContainer = this.$.toggleButton;- var ripple = Polymer.PaperRippleBehavior._createRipple();- ripple.id = 'ink';- ripple.setAttribute('recenters', '');- ripple.classList.add('circle', 'toggle-ink');- return ripple;- }-- });- </script>+ <script>Polymer({is:"paper-toggle-button",behaviors:[Polymer.PaperCheckedElementBehavior],hostAttributes:{role:"button","aria-pressed":"false",tabindex:0},properties:{},listeners:{track:"_ontrack"},attached:function(){Polymer.RenderStatus.afterNextRender(this,function(){this.setScrollDirection("y")})},_ontrack:function(t){var e=t.detail;"start"===e.state?this._trackStart(e):"track"===e.state?this._trackMove(e):"end"===e.state&&this._trackEnd(e)},_trackStart:function(t){this._width=this.$.toggleBar.offsetWidth/2,this._trackChecked=this.checked,this.$.toggleButton.classList.add("dragging")},_trackMove:function(t){var e=t.dx;this._x=Math.min(this._width,Math.max(0,this._trackChecked?this._width+e:e)),this.translate3d(this._x+"px",0,0,this.$.toggleButton),this._userActivate(this._x>this._width/2)},_trackEnd:function(t){this.$.toggleButton.classList.remove("dragging"),this.transform("",this.$.toggleButton)},_createRipple:function(){this._rippleContainer=this.$.toggleButton;var t=Polymer.PaperRippleBehavior._createRipple();return t.id="ink",t.setAttribute("recenters",""),t.classList.add("circle","toggle-ink"),t}});</script></dom-module>+</body></html>\ No newline at end of filediff --git a/frontend/bower_components/polymer/polymer-micro.html b/frontend/bower_components/polymer/polymer-micro.htmlindex 42461228b..4980f0c80 100644--- a/frontend/bower_components/polymer/polymer-micro.html+++ b/frontend/bower_components/polymer/polymer-micro.html@@ -1,722 +1,4 @@-<!---@license-Copyright (c) 2014 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--->----<script>(function () {-function resolve() {-document.body.removeAttribute('unresolved');-}-if (window.WebComponents) {-addEventListener('WebComponentsReady', resolve);-} else {-if (document.readyState === 'interactive' || document.readyState === 'complete') {-resolve();-} else {-addEventListener('DOMContentLoaded', resolve);-}-}-}());window.Polymer = {-Settings: function () {-var settings = window.Polymer || {};-if (!settings.noUrlSettings) {-var parts = location.search.slice(1).split('&');-for (var i = 0, o; i < parts.length && (o = parts[i]); i++) {-o = o.split('=');-o[0] && (settings[o[0]] = o[1] || true);-}-}-settings.wantShadow = settings.dom === 'shadow';-settings.hasShadow = Boolean(Element.prototype.createShadowRoot);-settings.nativeShadow = settings.hasShadow && !window.ShadowDOMPolyfill;-settings.useShadow = settings.wantShadow && settings.hasShadow;-settings.hasNativeImports = Boolean('import' in document.createElement('link'));-settings.useNativeImports = settings.hasNativeImports;-settings.useNativeCustomElements = !window.CustomElements || window.CustomElements.useNative;-settings.useNativeShadow = settings.useShadow && settings.nativeShadow;-settings.usePolyfillProto = !settings.useNativeCustomElements && !Object.__proto__;-settings.hasNativeCSSProperties = !navigator.userAgent.match('AppleWebKit/601') && window.CSS && CSS.supports && CSS.supports('box-shadow', '0 0 0 var(--foo)');-settings.useNativeCSSProperties = settings.hasNativeCSSProperties && settings.lazyRegister && settings.useNativeCSSProperties;-return settings;-}()-};(function () {-var userPolymer = window.Polymer;-window.Polymer = function (prototype) {-if (typeof prototype === 'function') {-prototype = prototype.prototype;-}-if (!prototype) {-prototype = {};-}-var factory = desugar(prototype);-prototype = factory.prototype;-var options = { prototype: prototype };-if (prototype.extends) {-options.extends = prototype.extends;-}-Polymer.telemetry._registrate(prototype);-document.registerElement(prototype.is, options);-return factory;-};-var desugar = function (prototype) {-var base = Polymer.Base;-if (prototype.extends) {-base = Polymer.Base._getExtendedPrototype(prototype.extends);-}-prototype = Polymer.Base.chainObject(prototype, base);-prototype.registerCallback();-return prototype.constructor;-};-if (userPolymer) {-for (var i in userPolymer) {-Polymer[i] = userPolymer[i];-}-}-Polymer.Class = desugar;-}());-Polymer.telemetry = {-registrations: [],-_regLog: function (prototype) {-console.log('[' + prototype.is + ']: registered');-},-_registrate: function (prototype) {-this.registrations.push(prototype);-Polymer.log && this._regLog(prototype);-},-dumpRegistrations: function () {-this.registrations.forEach(this._regLog);-}-};Object.defineProperty(window, 'currentImport', {-enumerable: true,-configurable: true,-get: function () {-return (document._currentScript || document.currentScript).ownerDocument;-}-});Polymer.RenderStatus = {-_ready: false,-_callbacks: [],-whenReady: function (cb) {-if (this._ready) {-cb();-} else {-this._callbacks.push(cb);-}-},-_makeReady: function () {-this._ready = true;-for (var i = 0; i < this._callbacks.length; i++) {-this._callbacks[i]();-}-this._callbacks = [];-},-_catchFirstRender: function () {-requestAnimationFrame(function () {-Polymer.RenderStatus._makeReady();-});-},-_afterNextRenderQueue: [],-_waitingNextRender: false,-afterNextRender: function (element, fn, args) {-this._watchNextRender();-this._afterNextRenderQueue.push([-element,-fn,-args-]);-},-hasRendered: function () {-return this._ready;-},-_watchNextRender: function () {-if (!this._waitingNextRender) {-this._waitingNextRender = true;-var fn = function () {-Polymer.RenderStatus._flushNextRender();-};-if (!this._ready) {-this.whenReady(fn);-} else {-requestAnimationFrame(fn);-}-}-},-_flushNextRender: function () {-var self = this;-setTimeout(function () {-self._flushRenderCallbacks(self._afterNextRenderQueue);-self._afterNextRenderQueue = [];-self._waitingNextRender = false;-});-},-_flushRenderCallbacks: function (callbacks) {-for (var i = 0, h; i < callbacks.length; i++) {-h = callbacks[i];-h[1].apply(h[0], h[2] || Polymer.nar);-}-}-};-if (window.HTMLImports) {-HTMLImports.whenReady(function () {-Polymer.RenderStatus._catchFirstRender();-});-} else {-Polymer.RenderStatus._catchFirstRender();-}-Polymer.ImportStatus = Polymer.RenderStatus;-Polymer.ImportStatus.whenLoaded = Polymer.ImportStatus.whenReady;(function () {-'use strict';-var settings = Polymer.Settings;-Polymer.Base = {-__isPolymerInstance__: true,-_addFeature: function (feature) {-this.extend(this, feature);-},-registerCallback: function () {-if (settings.lazyRegister === 'max') {-if (this.beforeRegister) {-this.beforeRegister();-}-} else {-this._desugarBehaviors();-this._doBehavior('beforeRegister');-}-this._registerFeatures();-if (!settings.lazyRegister) {-this.ensureRegisterFinished();-}-},-createdCallback: function () {-if (!this.__hasRegisterFinished) {-this._ensureRegisterFinished(this.__proto__);-}-Polymer.telemetry.instanceCount++;-this.root = this;-this._doBehavior('created');-this._initFeatures();-},-ensureRegisterFinished: function () {-this._ensureRegisterFinished(this);-},-_ensureRegisterFinished: function (proto) {-if (proto.__hasRegisterFinished !== proto.is || !proto.is) {-if (settings.lazyRegister === 'max') {-proto._desugarBehaviors();-proto._doBehaviorOnly('beforeRegister');-}-proto.__hasRegisterFinished = proto.is;-if (proto._finishRegisterFeatures) {-proto._finishRegisterFeatures();-}-proto._doBehavior('registered');-if (settings.usePolyfillProto && proto !== this) {-proto.extend(this, proto);-}-}-},-attachedCallback: function () {-var self = this;-Polymer.RenderStatus.whenReady(function () {-self.isAttached = true;-self._doBehavior('attached');-});-},-detachedCallback: function () {-var self = this;-Polymer.RenderStatus.whenReady(function () {-self.isAttached = false;-self._doBehavior('detached');-});-},-attributeChangedCallback: function (name, oldValue, newValue) {-this._attributeChangedImpl(name);-this._doBehavior('attributeChanged', [-name,-oldValue,-newValue-]);-},-_attributeChangedImpl: function (name) {-this._setAttributeToProperty(this, name);-},-extend: function (target, source) {-if (target && source) {-var n$ = Object.getOwnPropertyNames(source);-for (var i = 0, n; i < n$.length && (n = n$[i]); i++) {-this.copyOwnProperty(n, source, target);-}-}-return target || source;-},-mixin: function (target, source) {-for (var i in source) {-target[i] = source[i];-}-return target;-},-copyOwnProperty: function (name, source, target) {-var pd = Object.getOwnPropertyDescriptor(source, name);-if (pd) {-Object.defineProperty(target, name, pd);-}-},-_logger: function (level, args) {-if (args.length === 1 && Array.isArray(args[0])) {-args = args[0];-}-switch (level) {-case 'log':-case 'warn':-case 'error':-console[level].apply(console, args);-break;-}-},-_log: function () {-var args = Array.prototype.slice.call(arguments, 0);-this._logger('log', args);-},-_warn: function () {-var args = Array.prototype.slice.call(arguments, 0);-this._logger('warn', args);-},-_error: function () {-var args = Array.prototype.slice.call(arguments, 0);-this._logger('error', args);-},-_logf: function () {-return this._logPrefix.concat(this.is).concat(Array.prototype.slice.call(arguments, 0));-}-};-Polymer.Base._logPrefix = function () {-var color = window.chrome && !/edge/i.test(navigator.userAgent) || /firefox/i.test(navigator.userAgent);-return color ? [-'%c[%s::%s]:',-'font-weight: bold; background-color:#EEEE00;'-] : ['[%s::%s]:'];-}();-Polymer.Base.chainObject = function (object, inherited) {-if (object && inherited && object !== inherited) {-if (!Object.__proto__) {-object = Polymer.Base.extend(Object.create(inherited), object);-}-object.__proto__ = inherited;-}-return object;-};-Polymer.Base = Polymer.Base.chainObject(Polymer.Base, HTMLElement.prototype);-if (window.CustomElements) {-Polymer.instanceof = CustomElements.instanceof;-} else {-Polymer.instanceof = function (obj, ctor) {-return obj instanceof ctor;-};-}-Polymer.isInstance = function (obj) {-return Boolean(obj && obj.__isPolymerInstance__);-};-Polymer.telemetry.instanceCount = 0;-}());(function () {-var modules = {};-var lcModules = {};-var findModule = function (id) {-return modules[id] || lcModules[id.toLowerCase()];-};-var DomModule = function () {-return document.createElement('dom-module');-};-DomModule.prototype = Object.create(HTMLElement.prototype);-Polymer.Base.extend(DomModule.prototype, {-constructor: DomModule,-createdCallback: function () {-this.register();-},-register: function (id) {-id = id || this.id || this.getAttribute('name') || this.getAttribute('is');-if (id) {-this.id = id;-modules[id] = this;-lcModules[id.toLowerCase()] = this;-}-},-import: function (id, selector) {-if (id) {-var m = findModule(id);-if (!m) {-forceDomModulesUpgrade();-m = findModule(id);-}-if (m && selector) {-m = m.querySelector(selector);-}-return m;-}-}-});-var cePolyfill = window.CustomElements && !CustomElements.useNative;-document.registerElement('dom-module', DomModule);-function forceDomModulesUpgrade() {-if (cePolyfill) {-var script = document._currentScript || document.currentScript;-var doc = script && script.ownerDocument || document;-var modules = doc.querySelectorAll('dom-module');-for (var i = modules.length - 1, m; i >= 0 && (m = modules[i]); i--) {-if (m.__upgraded__) {-return;-} else {-CustomElements.upgrade(m);-}-}-}-}-}());Polymer.Base._addFeature({-_prepIs: function () {-if (!this.is) {-var module = (document._currentScript || document.currentScript).parentNode;-if (module.localName === 'dom-module') {-var id = module.id || module.getAttribute('name') || module.getAttribute('is');-this.is = id;-}-}-if (this.is) {-this.is = this.is.toLowerCase();-}-}-});Polymer.Base._addFeature({-behaviors: [],-_desugarBehaviors: function () {-if (this.behaviors.length) {-this.behaviors = this._desugarSomeBehaviors(this.behaviors);-}-},-_desugarSomeBehaviors: function (behaviors) {-var behaviorSet = [];-behaviors = this._flattenBehaviorsList(behaviors);-for (var i = behaviors.length - 1; i >= 0; i--) {-var b = behaviors[i];-if (behaviorSet.indexOf(b) === -1) {-this._mixinBehavior(b);-behaviorSet.unshift(b);-}-}-return behaviorSet;-},-_flattenBehaviorsList: function (behaviors) {-var flat = [];-for (var i = 0; i < behaviors.length; i++) {-var b = behaviors[i];-if (b instanceof Array) {-flat = flat.concat(this._flattenBehaviorsList(b));-} else if (b) {-flat.push(b);-} else {-this._warn(this._logf('_flattenBehaviorsList', 'behavior is null, check for missing or 404 import'));-}-}-return flat;-},-_mixinBehavior: function (b) {-var n$ = Object.getOwnPropertyNames(b);-for (var i = 0, n; i < n$.length && (n = n$[i]); i++) {-if (!Polymer.Base._behaviorProperties[n] && !this.hasOwnProperty(n)) {-this.copyOwnProperty(n, b, this);-}-}-},-_prepBehaviors: function () {-this._prepFlattenedBehaviors(this.behaviors);-},-_prepFlattenedBehaviors: function (behaviors) {-for (var i = 0, l = behaviors.length; i < l; i++) {-this._prepBehavior(behaviors[i]);-}-this._prepBehavior(this);-},-_doBehavior: function (name, args) {-for (var i = 0; i < this.behaviors.length; i++) {-this._invokeBehavior(this.behaviors[i], name, args);-}-this._invokeBehavior(this, name, args);-},-_doBehaviorOnly: function (name, args) {-for (var i = 0; i < this.behaviors.length; i++) {-this._invokeBehavior(this.behaviors[i], name, args);-}-},-_invokeBehavior: function (b, name, args) {-var fn = b[name];-if (fn) {-fn.apply(this, args || Polymer.nar);-}-},-_marshalBehaviors: function () {-for (var i = 0; i < this.behaviors.length; i++) {-this._marshalBehavior(this.behaviors[i]);-}-this._marshalBehavior(this);-}-});-Polymer.Base._behaviorProperties = {-hostAttributes: true,-beforeRegister: true,-registered: true,-properties: true,-observers: true,-listeners: true,-created: true,-attached: true,-detached: true,-attributeChanged: true,-ready: true-};Polymer.Base._addFeature({-_getExtendedPrototype: function (tag) {-return this._getExtendedNativePrototype(tag);-},-_nativePrototypes: {},-_getExtendedNativePrototype: function (tag) {-var p = this._nativePrototypes[tag];-if (!p) {-var np = this.getNativePrototype(tag);-p = this.extend(Object.create(np), Polymer.Base);-this._nativePrototypes[tag] = p;-}-return p;-},-getNativePrototype: function (tag) {-return Object.getPrototypeOf(document.createElement(tag));-}-});Polymer.Base._addFeature({-_prepConstructor: function () {-this._factoryArgs = this.extends ? [-this.extends,-this.is-] : [this.is];-var ctor = function () {-return this._factory(arguments);-};-if (this.hasOwnProperty('extends')) {-ctor.extends = this.extends;-}-Object.defineProperty(this, 'constructor', {-value: ctor,-writable: true,-configurable: true-});-ctor.prototype = this;-},-_factory: function (args) {-var elt = document.createElement.apply(document, this._factoryArgs);-if (this.factoryImpl) {-this.factoryImpl.apply(elt, args);-}-return elt;-}-});Polymer.nob = Object.create(null);-Polymer.Base._addFeature({-properties: {},-getPropertyInfo: function (property) {-var info = this._getPropertyInfo(property, this.properties);-if (!info) {-for (var i = 0; i < this.behaviors.length; i++) {-info = this._getPropertyInfo(property, this.behaviors[i].properties);-if (info) {-return info;-}-}-}-return info || Polymer.nob;-},-_getPropertyInfo: function (property, properties) {-var p = properties && properties[property];-if (typeof p === 'function') {-p = properties[property] = { type: p };-}-if (p) {-p.defined = true;-}-return p;-},-_prepPropertyInfo: function () {-this._propertyInfo = {};-for (var i = 0; i < this.behaviors.length; i++) {-this._addPropertyInfo(this._propertyInfo, this.behaviors[i].properties);-}-this._addPropertyInfo(this._propertyInfo, this.properties);-this._addPropertyInfo(this._propertyInfo, this._propertyEffects);-},-_addPropertyInfo: function (target, source) {-if (source) {-var t, s;-for (var i in source) {-t = target[i];-s = source[i];-if (i[0] === '_' && !s.readOnly) {-continue;-}-if (!target[i]) {-target[i] = {-type: typeof s === 'function' ? s : s.type,-readOnly: s.readOnly,-attribute: Polymer.CaseMap.camelToDashCase(i)-};-} else {-if (!t.type) {-t.type = s.type;-}-if (!t.readOnly) {-t.readOnly = s.readOnly;-}-}-}-}-}-});Polymer.CaseMap = {-_caseMap: {},-_rx: {-dashToCamel: /-[a-z]/g,-camelToDash: /([A-Z])/g-},-dashToCamelCase: function (dash) {-return this._caseMap[dash] || (this._caseMap[dash] = dash.indexOf('-') < 0 ? dash : dash.replace(this._rx.dashToCamel, function (m) {-return m[1].toUpperCase();-}));-},-camelToDashCase: function (camel) {-return this._caseMap[camel] || (this._caseMap[camel] = camel.replace(this._rx.camelToDash, '-$1').toLowerCase());-}-};Polymer.Base._addFeature({-_addHostAttributes: function (attributes) {-if (!this._aggregatedAttributes) {-this._aggregatedAttributes = {};-}-if (attributes) {-this.mixin(this._aggregatedAttributes, attributes);-}-},-_marshalHostAttributes: function () {-if (this._aggregatedAttributes) {-this._applyAttributes(this, this._aggregatedAttributes);-}-},-_applyAttributes: function (node, attr$) {-for (var n in attr$) {-if (!this.hasAttribute(n) && n !== 'class') {-var v = attr$[n];-this.serializeValueToAttribute(v, n, this);-}-}-},-_marshalAttributes: function () {-this._takeAttributesToModel(this);-},-_takeAttributesToModel: function (model) {-if (this.hasAttributes()) {-for (var i in this._propertyInfo) {-var info = this._propertyInfo[i];-if (this.hasAttribute(info.attribute)) {-this._setAttributeToProperty(model, info.attribute, i, info);-}-}-}-},-_setAttributeToProperty: function (model, attribute, property, info) {-if (!this._serializing) {-property = property || Polymer.CaseMap.dashToCamelCase(attribute);-info = info || this._propertyInfo && this._propertyInfo[property];-if (info && !info.readOnly) {-var v = this.getAttribute(attribute);-model[property] = this.deserialize(v, info.type);-}-}-},-_serializing: false,-reflectPropertyToAttribute: function (property, attribute, value) {-this._serializing = true;-value = value === undefined ? this[property] : value;-this.serializeValueToAttribute(value, attribute || Polymer.CaseMap.camelToDashCase(property));-this._serializing = false;-},-serializeValueToAttribute: function (value, attribute, node) {-var str = this.serialize(value);-node = node || this;-if (str === undefined) {-node.removeAttribute(attribute);-} else {-node.setAttribute(attribute, str);-}-},-deserialize: function (value, type) {-switch (type) {-case Number:-value = Number(value);-break;-case Boolean:-value = value != null;-break;-case Object:-try {-value = JSON.parse(value);-} catch (x) {-}-break;-case Array:-try {-value = JSON.parse(value);-} catch (x) {-value = null;-console.warn('Polymer::Attributes: couldn`t decode Array as JSON');-}-break;-case Date:-value = new Date(value);-break;-case String:-default:-break;-}-return value;-},-serialize: function (value) {-switch (typeof value) {-case 'boolean':-return value ? '' : undefined;-case 'object':-if (value instanceof Date) {-return value.toString();-} else if (value) {-try {-return JSON.stringify(value);-} catch (x) {-return '';-}-}-default:-return value != null ? value : undefined;-}-}-});Polymer.version = "1.7.0";Polymer.Base._addFeature({-_registerFeatures: function () {-this._prepIs();-this._prepBehaviors();-this._prepConstructor();-this._prepPropertyInfo();-},-_prepBehavior: function (b) {-this._addHostAttributes(b.hostAttributes);-},-_marshalBehavior: function (b) {-},-_initFeatures: function () {-this._marshalHostAttributes();-this._marshalBehaviors();-}-});</script>+<html><head><script>!function(){function e(){document.body.removeAttribute("unresolved")}window.WebComponents?addEventListener("WebComponentsReady",e):"interactive"===document.readyState||"complete"===document.readyState?e():addEventListener("DOMContentLoaded",e)}(),window.Polymer={Settings:function(){var e=window.Polymer||{};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.wantShadow="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.CustomElements||window.CustomElements.useNative,e.useNativeShadow=e.useShadow&&e.nativeShadow,e.usePolyfillProto=!e.useNativeCustomElements&&!Object.__proto__,e.hasNativeCSSProperties=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)"),e.useNativeCSSProperties=e.hasNativeCSSProperties&&e.lazyRegister&&e.useNativeCSSProperties,e}()},function(){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.extends&&(i.extends=e.extends),Polymer.telemetry._registrate(e),document.registerElement(e.is,i),r};var t=function(e){var t=Polymer.Base;return e.extends&&(t=Polymer.Base._getExtendedPrototype(e.extends)),e=Polymer.Base.chainObject(e,t),e.registerCallback(),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.log&&this._regLog(e)},dumpRegistrations:function(){this.registrations.forEach(this._regLog)}},Object.defineProperty(window,"currentImport",{enumerable:!0,configurable:!0,get:function(){return(document._currentScript||document.currentScript).ownerDocument}}),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.RenderStatus._makeReady()})},_afterNextRenderQueue:[],_waitingNextRender:!1,afterNextRender:function(e,t,r){this._watchNextRender(),this._afterNextRenderQueue.push([e,t,r])},hasRendered:function(){return this._ready},_watchNextRender:function(){if(!this._waitingNextRender){this._waitingNextRender=!0;var e=function(){Polymer.RenderStatus._flushNextRender()};this._ready?requestAnimationFrame(e):this.whenReady(e)}},_flushNextRender:function(){var e=this;setTimeout(function(){e._flushRenderCallbacks(e._afterNextRenderQueue),e._afterNextRenderQueue=[],e._waitingNextRender=!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.whenReady(function(){Polymer.RenderStatus._catchFirstRender()}):Polymer.RenderStatus._catchFirstRender(),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.extend(this,e)},registerCallback:function(){"max"===e.lazyRegister?this.beforeRegister&&this.beforeRegister():(this._desugarBehaviors(),this._doBehavior("beforeRegister")),this._registerFeatures(),e.lazyRegister||this.ensureRegisterFinished()},createdCallback:function(){this.__hasRegisterFinished||this._ensureRegisterFinished(this.__proto__),Polymer.telemetry.instanceCount++,this.root=this,this._doBehavior("created"),this._initFeatures()},ensureRegisterFinished:function(){this._ensureRegisterFinished(this)},_ensureRegisterFinished:function(t){t.__hasRegisterFinished===t.is&&t.is||("max"===e.lazyRegister&&(t._desugarBehaviors(),t._doBehaviorOnly("beforeRegister")),t.__hasRegisterFinished=t.is,t._finishRegisterFeatures&&t._finishRegisterFeatures(),t._doBehavior("registered"),e.usePolyfillProto&&t!==this&&t.extend(this,t))},attachedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.isAttached=!0,e._doBehavior("attached")})},detachedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.isAttached=!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:function(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.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(r,e,i)},_logger:function(e,t){switch(1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e].apply(console,t)}},_log:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("log",e)},_warn:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("warn",e)},_error:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("error",e)},_logf:function(){return this._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.chainObject=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(Polymer.Base,HTMLElement.prototype),window.CustomElements?Polymer.instanceof=CustomElements.instanceof:Polymer.instanceof=function(e,t){return e instanceof t},Polymer.isInstance=function(e){return Boolean(e&&e.__isPolymerInstance__)},Polymer.telemetry.instanceCount=0}(),function(){function e(){if(s)for(var e,t=document._currentScript||document.currentScript,r=t&&t.ownerDocument||document,i=r.querySelectorAll("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.toLowerCase()]},o=function(){return document.createElement("dom-module")};o.prototype=Object.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&&!CustomElements.useNative;document.registerElement("dom-module",o)}(),Polymer.Base._addFeature({_prepIs:function(){if(!this.is){var e=(document._currentScript||document.currentScript).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.behaviors.length&&(this.behaviors=this._desugarSomeBehaviors(this.behaviors))},_desugarSomeBehaviors: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.length;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, check 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._behaviorProperties[t]||this.hasOwnProperty(t)||this.copyOwnProperty(t,e,this)},_prepBehaviors:function(){this._prepFlattenedBehaviors(this.behaviors)},_prepFlattenedBehaviors:function(e){for(var t=0,r=e.length;t<r;t++)this._prepBehavior(e[t]);this._prepBehavior(this)},_doBehavior:function(e,t){for(var r=0;r<this.behaviors.length;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._marshalBehavior(this)}}),Polymer.Base._behaviorProperties={hostAttributes:!0,beforeRegister:!0,registered:!0,properties:!0,observers:!0,listeners:!0,created:!0,attached:!0,detached:!0,attributeChanged:!0,ready:!0},Polymer.Base._addFeature({_getExtendedPrototype:function(e){return this._getExtendedNativePrototype(e)},_nativePrototypes:{},_getExtendedNativePrototype:function(e){var t=this._nativePrototypes[e];if(!t){var r=this.getNativePrototype(e);t=this.extend(Object.create(r),Polymer.Base),this._nativePrototypes[e]=t}return t},getNativePrototype:function(e){return Object.getPrototypeOf(document.createElement(e))}}),Polymer.Base._addFeature({_prepConstructor:function(){this._factoryArgs=this.extends?[this.extends,this.is]:[this.is];var e=function(){return this._factory(arguments)};this.hasOwnProperty("extends")&&(e.extends=this.extends),Object.defineProperty(this,"constructor",{value:e,writable:!0,configurable:!0}),e.prototype=this},_factory:function(e){var t=document.createElement.apply(document,this._factoryArgs);return this.factoryImpl&&this.factoryImpl.apply(t,e),t}}),Polymer.nob=Object.create(null),Polymer.Base._addFeature({properties:{},getPropertyInfo:function(e){var t=this._getPropertyInfo(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._propertyInfo={};for(var e=0;e<this.behaviors.length;e++)this._addPropertyInfo(this._propertyInfo,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,attribute:Polymer.CaseMap.camelToDashCase(o)})}}}),Polymer.CaseMap={_caseMap:{},_rx:{dashToCamel:/-[a-z]/g,camelToDash:/([A-Z])/g},dashToCamelCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.indexOf("-")<0?e:e.replace(this._rx.dashToCamel,function(e){return e[1].toUpperCase()}))},camelToDashCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.replace(this._rx.camelToDash,"-$1").toLowerCase())}},Polymer.Base._addFeature({_addHostAttributes:function(e){this._aggregatedAttributes||(this._aggregatedAttributes={}),e&&this.mixin(this._aggregatedAttributes,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.serializeValueToAttribute(i,r,this)}},_marshalAttributes:function(){this._takeAttributesToModel(this)},_takeAttributesToModel:function(e){if(this.hasAttributes())for(var t in this._propertyInfo){var r=this._propertyInfo[t];this.hasAttribute(r.attribute)&&this._setAttributeToProperty(e,r.attribute,t,r)}},_setAttributeToProperty: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.getAttribute(t);e[r]=this.deserialize(o,i.type)}},_serializing:!1,reflectPropertyToAttribute:function(e,t,r){this._serializing=!0,r=void 0===r?this[e]:r,this.serializeValueToAttribute(r,t||Polymer.CaseMap.camelToDashCase(e)),this._serializing=!1},serializeValueToAttribute:function(e,t,r){var i=this.serialize(e);r=r||this,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 Object: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;case 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)return e.toString();if(e)try{return JSON.stringify(e)}catch(e){return""}default:return null!=e?e:void 0}}}),Polymer.version="1.7.0",Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes(e.hostAttributes)},_marshalBehavior:function(e){},_initFeatures:function(){this._marshalHostAttributes(),this._marshalBehaviors()}});</script>@@ -730,3 +12,4 @@ this._marshalBehaviors();+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/polymer/polymer-mini.html b/frontend/bower_components/polymer/polymer-mini.htmlindex 86965a554..ede752751 100644--- a/frontend/bower_components/polymer/polymer-mini.html+++ b/frontend/bower_components/polymer/polymer-mini.html@@ -1,2153 +1,9 @@-<!---@license-Copyright (c) 2014 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---><link rel="import" href="polymer-micro.html">+<html><head><link rel="import" href="polymer-micro.html">-<script>Polymer.Base._addFeature({-_prepTemplate: function () {-if (this._template === undefined) {-this._template = Polymer.DomModule.import(this.is, 'template');-}-if (this._template && this._template.hasAttribute('is')) {-this._warn(this._logf('_prepTemplate', 'top-level Polymer template ' + 'must not be a type-extension, found', this._template, 'Move inside simple <template>.'));-}-if (this._template && !this._template.content && window.HTMLTemplateElement && HTMLTemplateElement.decorate) {-HTMLTemplateElement.decorate(this._template);-}-},-_stampTemplate: function () {-if (this._template) {-this.root = this.instanceTemplate(this._template);-}-},-instanceTemplate: function (template) {-var dom = document.importNode(template._content || template.content, true);-return dom;-}-});(function () {-var baseAttachedCallback = Polymer.Base.attachedCallback;-Polymer.Base._addFeature({-_hostStack: [],-ready: function () {-},-_registerHost: function (host) {-this.dataHost = host = host || Polymer.Base._hostStack[Polymer.Base._hostStack.length - 1];-if (host && host._clients) {-host._clients.push(this);-}-this._clients = null;-this._clientsReadied = false;-},-_beginHosting: function () {-Polymer.Base._hostStack.push(this);-if (!this._clients) {-this._clients = [];-}-},-_endHosting: function () {-Polymer.Base._hostStack.pop();-},-_tryReady: function () {-this._readied = false;-if (this._canReady()) {-this._ready();-}-},-_canReady: function () {-return !this.dataHost || this.dataHost._clientsReadied;-},-_ready: function () {-this._beforeClientsReady();-if (this._template) {-this._setupRoot();-this._readyClients();-}-this._clientsReadied = true;-this._clients = null;-this._afterClientsReady();-this._readySelf();-},-_readyClients: function () {-this._beginDistribute();-var c$ = this._clients;-if (c$) {-for (var i = 0, l = c$.length, c; i < l && (c = c$[i]); i++) {-c._ready();-}-}-this._finishDistribute();-},-_readySelf: function () {-this._doBehavior('ready');-this._readied = true;-if (this._attachedPending) {-this._attachedPending = false;-this.attachedCallback();-}-},-_beforeClientsReady: function () {-},-_afterClientsReady: function () {-},-_beforeAttached: function () {-},-attachedCallback: function () {-if (this._readied) {-this._beforeAttached();-baseAttachedCallback.call(this);-} else {-this._attachedPending = true;-}-}-});-}());Polymer.ArraySplice = function () {-function newSplice(index, removed, addedCount) {-return {-index: index,-removed: removed,-addedCount: addedCount-};-}-var EDIT_LEAVE = 0;-var EDIT_UPDATE = 1;-var EDIT_ADD = 2;-var EDIT_DELETE = 3;-function ArraySplice() {-}-ArraySplice.prototype = {-calcEditDistances: function (current, currentStart, currentEnd, old, oldStart, oldEnd) {-var rowCount = oldEnd - oldStart + 1;-var columnCount = currentEnd - currentStart + 1;-var distances = new Array(rowCount);-for (var i = 0; i < rowCount; i++) {-distances[i] = new Array(columnCount);-distances[i][0] = i;-}-for (var j = 0; j < columnCount; j++)-distances[0][j] = j;-for (i = 1; i < rowCount; i++) {-for (j = 1; j < columnCount; j++) {-if (this.equals(current[currentStart + j - 1], old[oldStart + i - 1]))-distances[i][j] = distances[i - 1][j - 1];-else {-var north = distances[i - 1][j] + 1;-var west = distances[i][j - 1] + 1;-distances[i][j] = north < west ? north : west;-}-}-}-return distances;-},-spliceOperationsFromEditDistances: function (distances) {-var i = distances.length - 1;-var j = distances[0].length - 1;-var current = distances[i][j];-var edits = [];-while (i > 0 || j > 0) {-if (i == 0) {-edits.push(EDIT_ADD);-j--;-continue;-}-if (j == 0) {-edits.push(EDIT_DELETE);-i--;-continue;-}-var northWest = distances[i - 1][j - 1];-var west = distances[i - 1][j];-var north = distances[i][j - 1];-var min;-if (west < north)-min = west < northWest ? west : northWest;-else-min = north < northWest ? north : northWest;-if (min == northWest) {-if (northWest == current) {-edits.push(EDIT_LEAVE);-} else {-edits.push(EDIT_UPDATE);-current = northWest;-}-i--;-j--;-} else if (min == west) {-edits.push(EDIT_DELETE);-i--;-current = west;-} else {-edits.push(EDIT_ADD);-j--;-current = north;-}-}-edits.reverse();-return edits;-},-calcSplices: function (current, currentStart, currentEnd, old, oldStart, oldEnd) {-var prefixCount = 0;-var suffixCount = 0;-var minLength = Math.min(currentEnd - currentStart, oldEnd - oldStart);-if (currentStart == 0 && oldStart == 0)-prefixCount = this.sharedPrefix(current, old, minLength);-if (currentEnd == current.length && oldEnd == old.length)-suffixCount = this.sharedSuffix(current, old, minLength - prefixCount);-currentStart += prefixCount;-oldStart += prefixCount;-currentEnd -= suffixCount;-oldEnd -= suffixCount;-if (currentEnd - currentStart == 0 && oldEnd - oldStart == 0)-return [];-if (currentStart == currentEnd) {-var splice = newSplice(currentStart, [], 0);-while (oldStart < oldEnd)-splice.removed.push(old[oldStart++]);-return [splice];-} else if (oldStart == oldEnd)-return [newSplice(currentStart, [], currentEnd - currentStart)];-var ops = this.spliceOperationsFromEditDistances(this.calcEditDistances(current, currentStart, currentEnd, old, oldStart, oldEnd));-splice = undefined;-var splices = [];-var index = currentStart;-var oldIndex = oldStart;-for (var i = 0; i < ops.length; i++) {-switch (ops[i]) {-case EDIT_LEAVE:-if (splice) {-splices.push(splice);-splice = undefined;-}-index++;-oldIndex++;-break;-case EDIT_UPDATE:-if (!splice)-splice = newSplice(index, [], 0);-splice.addedCount++;-index++;-splice.removed.push(old[oldIndex]);-oldIndex++;-break;-case EDIT_ADD:-if (!splice)-splice = newSplice(index, [], 0);-splice.addedCount++;-index++;-break;-case EDIT_DELETE:-if (!splice)-splice = newSplice(index, [], 0);-splice.removed.push(old[oldIndex]);-oldIndex++;-break;-}-}-if (splice) {-splices.push(splice);-}-return splices;-},-sharedPrefix: function (current, old, searchLength) {-for (var i = 0; i < searchLength; i++)-if (!this.equals(current[i], old[i]))-return i;-return searchLength;-},-sharedSuffix: function (current, old, searchLength) {-var index1 = current.length;-var index2 = old.length;-var count = 0;-while (count < searchLength && this.equals(current[--index1], old[--index2]))-count++;-return count;-},-calculateSplices: function (current, previous) {-return this.calcSplices(current, 0, current.length, previous, 0, previous.length);-},-equals: function (currentValue, previousValue) {-return currentValue === previousValue;-}-};-return new ArraySplice();-}();Polymer.domInnerHTML = function () {-var escapeAttrRegExp = /[&\u00A0"]/g;-var escapeDataRegExp = /[&\u00A0<>]/g;-function escapeReplace(c) {-switch (c) {-case '&':-return '&';-case '<':-return '<';-case '>':-return '>';-case '"':-return '"';-case '\xA0':-return ' ';-}-}-function escapeAttr(s) {-return s.replace(escapeAttrRegExp, escapeReplace);-}-function escapeData(s) {-return s.replace(escapeDataRegExp, escapeReplace);-}-function makeSet(arr) {-var set = {};-for (var i = 0; i < arr.length; i++) {-set[arr[i]] = true;-}-return set;-}-var voidElements = makeSet([-'area',-'base',-'br',-'col',-'command',-'embed',-'hr',-'img',-'input',-'keygen',-'link',-'meta',-'param',-'source',-'track',-'wbr'-]);-var plaintextParents = makeSet([-'style',-'script',-'xmp',-'iframe',-'noembed',-'noframes',-'plaintext',-'noscript'-]);-function getOuterHTML(node, parentNode, composed) {-switch (node.nodeType) {-case Node.ELEMENT_NODE:-var tagName = node.localName;-var s = '<' + tagName;-var attrs = node.attributes;-for (var i = 0, attr; attr = attrs[i]; i++) {-s += ' ' + attr.name + '="' + escapeAttr(attr.value) + '"';-}-s += '>';-if (voidElements[tagName]) {-return s;-}-return s + getInnerHTML(node, composed) + '</' + tagName + '>';-case Node.TEXT_NODE:-var data = node.data;-if (parentNode && plaintextParents[parentNode.localName]) {-return data;-}-return escapeData(data);-case Node.COMMENT_NODE:-return '<!--' + node.data + '-->';-default:-console.error(node);-throw new Error('not implemented');-}-}-function getInnerHTML(node, composed) {-if (node instanceof HTMLTemplateElement)-node = node.content;-var s = '';-var c$ = Polymer.dom(node).childNodes;-for (var i = 0, l = c$.length, child; i < l && (child = c$[i]); i++) {-s += getOuterHTML(child, node, composed);-}-return s;-}-return { getInnerHTML: getInnerHTML };-}();(function () {-'use strict';-var nativeInsertBefore = Element.prototype.insertBefore;-var nativeAppendChild = Element.prototype.appendChild;-var nativeRemoveChild = Element.prototype.removeChild;-Polymer.TreeApi = {-arrayCopyChildNodes: function (parent) {-var copy = [], i = 0;-for (var n = parent.firstChild; n; n = n.nextSibling) {-copy[i++] = n;-}-return copy;-},-arrayCopyChildren: function (parent) {-var copy = [], i = 0;-for (var n = parent.firstElementChild; n; n = n.nextElementSibling) {-copy[i++] = n;-}-return copy;-},-arrayCopy: function (a$) {-var l = a$.length;-var copy = new Array(l);-for (var i = 0; i < l; i++) {-copy[i] = a$[i];-}-return copy;-}-};-Polymer.TreeApi.Logical = {-hasParentNode: function (node) {-return Boolean(node.__dom && node.__dom.parentNode);-},-hasChildNodes: function (node) {-return Boolean(node.__dom && node.__dom.childNodes !== undefined);-},-getChildNodes: function (node) {-return this.hasChildNodes(node) ? this._getChildNodes(node) : node.childNodes;-},-_getChildNodes: function (node) {-if (!node.__dom.childNodes) {-node.__dom.childNodes = [];-for (var n = node.__dom.firstChild; n; n = n.__dom.nextSibling) {-node.__dom.childNodes.push(n);-}-}-return node.__dom.childNodes;-},-getParentNode: function (node) {-return node.__dom && node.__dom.parentNode !== undefined ? node.__dom.parentNode : node.parentNode;-},-getFirstChild: function (node) {-return node.__dom && node.__dom.firstChild !== undefined ? node.__dom.firstChild : node.firstChild;-},-getLastChild: function (node) {-return node.__dom && node.__dom.lastChild !== undefined ? node.__dom.lastChild : node.lastChild;-},-getNextSibling: function (node) {-return node.__dom && node.__dom.nextSibling !== undefined ? node.__dom.nextSibling : node.nextSibling;-},-getPreviousSibling: function (node) {-return node.__dom && node.__dom.previousSibling !== undefined ? node.__dom.previousSibling : node.previousSibling;-},-getFirstElementChild: function (node) {-return node.__dom && node.__dom.firstChild !== undefined ? this._getFirstElementChild(node) : node.firstElementChild;-},-_getFirstElementChild: function (node) {-var n = node.__dom.firstChild;-while (n && n.nodeType !== Node.ELEMENT_NODE) {-n = n.__dom.nextSibling;-}-return n;-},-getLastElementChild: function (node) {-return node.__dom && node.__dom.lastChild !== undefined ? this._getLastElementChild(node) : node.lastElementChild;-},-_getLastElementChild: function (node) {-var n = node.__dom.lastChild;-while (n && n.nodeType !== Node.ELEMENT_NODE) {-n = n.__dom.previousSibling;-}-return n;-},-getNextElementSibling: function (node) {-return node.__dom && node.__dom.nextSibling !== undefined ? this._getNextElementSibling(node) : node.nextElementSibling;-},-_getNextElementSibling: function (node) {-var n = node.__dom.nextSibling;-while (n && n.nodeType !== Node.ELEMENT_NODE) {-n = n.__dom.nextSibling;-}-return n;-},-getPreviousElementSibling: function (node) {-return node.__dom && node.__dom.previousSibling !== undefined ? this._getPreviousElementSibling(node) : node.previousElementSibling;-},-_getPreviousElementSibling: function (node) {-var n = node.__dom.previousSibling;-while (n && n.nodeType !== Node.ELEMENT_NODE) {-n = n.__dom.previousSibling;-}-return n;-},-saveChildNodes: function (node) {-if (!this.hasChildNodes(node)) {-node.__dom = node.__dom || {};-node.__dom.firstChild = node.firstChild;-node.__dom.lastChild = node.lastChild;-node.__dom.childNodes = [];-for (var n = node.firstChild; n; n = n.nextSibling) {-n.__dom = n.__dom || {};-n.__dom.parentNode = node;-node.__dom.childNodes.push(n);-n.__dom.nextSibling = n.nextSibling;-n.__dom.previousSibling = n.previousSibling;-}-}-},-recordInsertBefore: function (node, container, ref_node) {-container.__dom.childNodes = null;-if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {-for (var n = node.firstChild; n; n = n.nextSibling) {-this._linkNode(n, container, ref_node);-}-} else {-this._linkNode(node, container, ref_node);-}-},-_linkNode: function (node, container, ref_node) {-node.__dom = node.__dom || {};-container.__dom = container.__dom || {};-if (ref_node) {-ref_node.__dom = ref_node.__dom || {};-}-node.__dom.previousSibling = ref_node ? ref_node.__dom.previousSibling : container.__dom.lastChild;-if (node.__dom.previousSibling) {-node.__dom.previousSibling.__dom.nextSibling = node;-}-node.__dom.nextSibling = ref_node || null;-if (node.__dom.nextSibling) {-node.__dom.nextSibling.__dom.previousSibling = node;-}-node.__dom.parentNode = container;-if (ref_node) {-if (ref_node === container.__dom.firstChild) {-container.__dom.firstChild = node;-}-} else {-container.__dom.lastChild = node;-if (!container.__dom.firstChild) {-container.__dom.firstChild = node;-}-}-container.__dom.childNodes = null;-},-recordRemoveChild: function (node, container) {-node.__dom = node.__dom || {};-container.__dom = container.__dom || {};-if (node === container.__dom.firstChild) {-container.__dom.firstChild = node.__dom.nextSibling;-}-if (node === container.__dom.lastChild) {-container.__dom.lastChild = node.__dom.previousSibling;-}-var p = node.__dom.previousSibling;-var n = node.__dom.nextSibling;-if (p) {-p.__dom.nextSibling = n;-}-if (n) {-n.__dom.previousSibling = p;-}-node.__dom.parentNode = node.__dom.previousSibling = node.__dom.nextSibling = undefined;-container.__dom.childNodes = null;-}-};-Polymer.TreeApi.Composed = {-getChildNodes: function (node) {-return Polymer.TreeApi.arrayCopyChildNodes(node);-},-getParentNode: function (node) {-return node.parentNode;-},-clearChildNodes: function (node) {-node.textContent = '';-},-insertBefore: function (parentNode, newChild, refChild) {-return nativeInsertBefore.call(parentNode, newChild, refChild || null);-},-appendChild: function (parentNode, newChild) {-return nativeAppendChild.call(parentNode, newChild);-},-removeChild: function (parentNode, node) {-return nativeRemoveChild.call(parentNode, node);-}-};-}());Polymer.DomApi = function () {-'use strict';-var Settings = Polymer.Settings;-var TreeApi = Polymer.TreeApi;-var DomApi = function (node) {-this.node = needsToWrap ? DomApi.wrap(node) : node;-};-var needsToWrap = Settings.hasShadow && !Settings.nativeShadow;-DomApi.wrap = window.wrap ? window.wrap : function (node) {-return node;-};-DomApi.prototype = {-flush: function () {-Polymer.dom.flush();-},-deepContains: function (node) {-if (this.node.contains(node)) {-return true;-}-var n = node;-var doc = node.ownerDocument;-while (n && n !== doc && n !== this.node) {-n = Polymer.dom(n).parentNode || n.host;-}-return n === this.node;-},-queryDistributedElements: function (selector) {-var c$ = this.getEffectiveChildNodes();-var list = [];-for (var i = 0, l = c$.length, c; i < l && (c = c$[i]); i++) {-if (c.nodeType === Node.ELEMENT_NODE && DomApi.matchesSelector.call(c, selector)) {-list.push(c);-}-}-return list;-},-getEffectiveChildNodes: function () {-var list = [];-var c$ = this.childNodes;-for (var i = 0, l = c$.length, c; i < l && (c = c$[i]); i++) {-if (c.localName === CONTENT) {-var d$ = dom(c).getDistributedNodes();-for (var j = 0; j < d$.length; j++) {-list.push(d$[j]);-}-} else {-list.push(c);-}-}-return list;-},-observeNodes: function (callback) {-if (callback) {-if (!this.observer) {-this.observer = this.node.localName === CONTENT ? new DomApi.DistributedNodesObserver(this) : new DomApi.EffectiveNodesObserver(this);-}-return this.observer.addListener(callback);-}-},-unobserveNodes: function (handle) {-if (this.observer) {-this.observer.removeListener(handle);-}-},-notifyObserver: function () {-if (this.observer) {-this.observer.notify();-}-},-_query: function (matcher, node, halter) {-node = node || this.node;-var list = [];-this._queryElements(TreeApi.Logical.getChildNodes(node), matcher, halter, list);-return list;-},-_queryElements: function (elements, matcher, halter, list) {-for (var i = 0, l = elements.length, c; i < l && (c = elements[i]); i++) {-if (c.nodeType === Node.ELEMENT_NODE) {-if (this._queryElement(c, matcher, halter, list)) {-return true;-}-}-}-},-_queryElement: function (node, matcher, halter, list) {-var result = matcher(node);-if (result) {-list.push(node);-}-if (halter && halter(result)) {-return result;-}-this._queryElements(TreeApi.Logical.getChildNodes(node), matcher, halter, list);-}-};-var CONTENT = DomApi.CONTENT = 'content';-var dom = DomApi.factory = function (node) {-node = node || document;-if (!node.__domApi) {-node.__domApi = new DomApi.ctor(node);-}-return node.__domApi;-};-DomApi.hasApi = function (node) {-return Boolean(node.__domApi);-};-DomApi.ctor = DomApi;-Polymer.dom = function (obj, patch) {-if (obj instanceof Event) {-return Polymer.EventApi.factory(obj);-} else {-return DomApi.factory(obj, patch);-}-};-var p = Element.prototype;-DomApi.matchesSelector = p.matches || p.matchesSelector || p.mozMatchesSelector || p.msMatchesSelector || p.oMatchesSelector || p.webkitMatchesSelector;-return DomApi;-}();(function () {-'use strict';-var Settings = Polymer.Settings;-var DomApi = Polymer.DomApi;-var dom = DomApi.factory;-var TreeApi = Polymer.TreeApi;-var getInnerHTML = Polymer.domInnerHTML.getInnerHTML;-var CONTENT = DomApi.CONTENT;-if (Settings.useShadow) {-return;-}-var nativeCloneNode = Element.prototype.cloneNode;-var nativeImportNode = Document.prototype.importNode;-Polymer.Base.extend(DomApi.prototype, {-_lazyDistribute: function (host) {-if (host.shadyRoot && host.shadyRoot._distributionClean) {-host.shadyRoot._distributionClean = false;-Polymer.dom.addDebouncer(host.debounce('_distribute', host._distributeContent));-}-},-appendChild: function (node) {-return this.insertBefore(node);-},-insertBefore: function (node, ref_node) {-if (ref_node && TreeApi.Logical.getParentNode(ref_node) !== this.node) {-throw Error('The ref_node to be inserted before is not a child ' + 'of this node');-}-if (node.nodeType !== Node.DOCUMENT_FRAGMENT_NODE) {-var parent = TreeApi.Logical.getParentNode(node);-if (parent) {-if (DomApi.hasApi(parent)) {-dom(parent).notifyObserver();-}-this._removeNode(node);-} else {-this._removeOwnerShadyRoot(node);-}-}-if (!this._addNode(node, ref_node)) {-if (ref_node) {-ref_node = ref_node.localName === CONTENT ? this._firstComposedNode(ref_node) : ref_node;-}-var container = this.node._isShadyRoot ? this.node.host : this.node;-if (ref_node) {-TreeApi.Composed.insertBefore(container, node, ref_node);-} else {-TreeApi.Composed.appendChild(container, node);-}-}-this.notifyObserver();-return node;-},-_addNode: function (node, ref_node) {-var root = this.getOwnerRoot();-if (root) {-var ipAdded = this._maybeAddInsertionPoint(node, this.node);-if (!root._invalidInsertionPoints) {-root._invalidInsertionPoints = ipAdded;-}-this._addNodeToHost(root.host, node);-}-if (TreeApi.Logical.hasChildNodes(this.node)) {-TreeApi.Logical.recordInsertBefore(node, this.node, ref_node);-}-var handled = this._maybeDistribute(node) || this.node.shadyRoot;-if (handled) {-if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {-while (node.firstChild) {-TreeApi.Composed.removeChild(node, node.firstChild);-}-} else {-var parent = TreeApi.Composed.getParentNode(node);-if (parent) {-TreeApi.Composed.removeChild(parent, node);-}-}-}-return handled;-},-removeChild: function (node) {-if (TreeApi.Logical.getParentNode(node) !== this.node) {-throw Error('The node to be removed is not a child of this node: ' + node);-}-if (!this._removeNode(node)) {-var container = this.node._isShadyRoot ? this.node.host : this.node;-var parent = TreeApi.Composed.getParentNode(node);-if (container === parent) {-TreeApi.Composed.removeChild(container, node);-}-}-this.notifyObserver();-return node;-},-_removeNode: function (node) {-var logicalParent = TreeApi.Logical.hasParentNode(node) && TreeApi.Logical.getParentNode(node);-var distributed;-var root = this._ownerShadyRootForNode(node);-if (logicalParent) {-distributed = dom(node)._maybeDistributeParent();-TreeApi.Logical.recordRemoveChild(node, logicalParent);-if (root && this._removeDistributedChildren(root, node)) {-root._invalidInsertionPoints = true;-this._lazyDistribute(root.host);-}-}-this._removeOwnerShadyRoot(node);-if (root) {-this._removeNodeFromHost(root.host, node);-}-return distributed;-},-replaceChild: function (node, ref_node) {-this.insertBefore(node, ref_node);-this.removeChild(ref_node);-return node;-},-_hasCachedOwnerRoot: function (node) {-return Boolean(node._ownerShadyRoot !== undefined);-},-getOwnerRoot: function () {-return this._ownerShadyRootForNode(this.node);-},-_ownerShadyRootForNode: function (node) {-if (!node) {-return;-}-var root = node._ownerShadyRoot;-if (root === undefined) {-if (node._isShadyRoot) {-root = node;-} else {-var parent = TreeApi.Logical.getParentNode(node);-if (parent) {-root = parent._isShadyRoot ? parent : this._ownerShadyRootForNode(parent);-} else {-root = null;-}-}-if (root || document.documentElement.contains(node)) {-node._ownerShadyRoot = root;-}-}-return root;-},-_maybeDistribute: function (node) {-var fragContent = node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && !node.__noContent && dom(node).querySelector(CONTENT);-var wrappedContent = fragContent && TreeApi.Logical.getParentNode(fragContent).nodeType !== Node.DOCUMENT_FRAGMENT_NODE;-var hasContent = fragContent || node.localName === CONTENT;-if (hasContent) {-var root = this.getOwnerRoot();-if (root) {-this._lazyDistribute(root.host);-}-}-var needsDist = this._nodeNeedsDistribution(this.node);-if (needsDist) {-this._lazyDistribute(this.node);-}-return needsDist || hasContent && !wrappedContent;-},-_maybeAddInsertionPoint: function (node, parent) {-var added;-if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && !node.__noContent) {-var c$ = dom(node).querySelectorAll(CONTENT);-for (var i = 0, n, np, na; i < c$.length && (n = c$[i]); i++) {-np = TreeApi.Logical.getParentNode(n);-if (np === node) {-np = parent;-}-na = this._maybeAddInsertionPoint(n, np);-added = added || na;-}-} else if (node.localName === CONTENT) {-TreeApi.Logical.saveChildNodes(parent);-TreeApi.Logical.saveChildNodes(node);-added = true;-}-return added;-},-_updateInsertionPoints: function (host) {-var i$ = host.shadyRoot._insertionPoints = dom(host.shadyRoot).querySelectorAll(CONTENT);-for (var i = 0, c; i < i$.length; i++) {-c = i$[i];-TreeApi.Logical.saveChildNodes(c);-TreeApi.Logical.saveChildNodes(TreeApi.Logical.getParentNode(c));-}-},-_nodeNeedsDistribution: function (node) {-return node && node.shadyRoot && DomApi.hasInsertionPoint(node.shadyRoot);-},-_addNodeToHost: function (host, node) {-if (host._elementAdd) {-host._elementAdd(node);-}-},-_removeNodeFromHost: function (host, node) {-if (host._elementRemove) {-host._elementRemove(node);-}-},-_removeDistributedChildren: function (root, container) {-var hostNeedsDist;-var ip$ = root._insertionPoints;-for (var i = 0; i < ip$.length; i++) {-var content = ip$[i];-if (this._contains(container, content)) {-var dc$ = dom(content).getDistributedNodes();-for (var j = 0; j < dc$.length; j++) {-hostNeedsDist = true;-var node = dc$[j];-var parent = TreeApi.Composed.getParentNode(node);-if (parent) {-TreeApi.Composed.removeChild(parent, node);-}-}-}-}-return hostNeedsDist;-},-_contains: function (container, node) {-while (node) {-if (node == container) {-return true;-}-node = TreeApi.Logical.getParentNode(node);-}-},-_removeOwnerShadyRoot: function (node) {-if (this._hasCachedOwnerRoot(node)) {-var c$ = TreeApi.Logical.getChildNodes(node);-for (var i = 0, l = c$.length, n; i < l && (n = c$[i]); i++) {-this._removeOwnerShadyRoot(n);-}-}-node._ownerShadyRoot = undefined;-},-_firstComposedNode: function (content) {-var n$ = dom(content).getDistributedNodes();-for (var i = 0, l = n$.length, n, p$; i < l && (n = n$[i]); i++) {-p$ = dom(n).getDestinationInsertionPoints();-if (p$[p$.length - 1] === content) {-return n;-}-}-},-querySelector: function (selector) {-var result = this._query(function (n) {-return DomApi.matchesSelector.call(n, selector);-}, this.node, function (n) {-return Boolean(n);-})[0];-return result || null;-},-querySelectorAll: function (selector) {-return this._query(function (n) {-return DomApi.matchesSelector.call(n, selector);-}, this.node);-},-getDestinationInsertionPoints: function () {-return this.node._destinationInsertionPoints || [];-},-getDistributedNodes: function () {-return this.node._distributedNodes || [];-},-_clear: function () {-while (this.childNodes.length) {-this.removeChild(this.childNodes[0]);-}-},-setAttribute: function (name, value) {-this.node.setAttribute(name, value);-this._maybeDistributeParent();-},-removeAttribute: function (name) {-this.node.removeAttribute(name);-this._maybeDistributeParent();-},-_maybeDistributeParent: function () {-if (this._nodeNeedsDistribution(this.parentNode)) {-this._lazyDistribute(this.parentNode);-return true;-}-},-cloneNode: function (deep) {-var n = nativeCloneNode.call(this.node, false);-if (deep) {-var c$ = this.childNodes;-var d = dom(n);-for (var i = 0, nc; i < c$.length; i++) {-nc = dom(c$[i]).cloneNode(true);-d.appendChild(nc);-}-}-return n;-},-importNode: function (externalNode, deep) {-var doc = this.node instanceof Document ? this.node : this.node.ownerDocument;-var n = nativeImportNode.call(doc, externalNode, false);-if (deep) {-var c$ = TreeApi.Logical.getChildNodes(externalNode);-var d = dom(n);-for (var i = 0, nc; i < c$.length; i++) {-nc = dom(doc).importNode(c$[i], true);-d.appendChild(nc);-}-}-return n;-},-_getComposedInnerHTML: function () {-return getInnerHTML(this.node, true);-}-});-Object.defineProperties(DomApi.prototype, {-activeElement: {-get: function () {-var active = document.activeElement;-if (!active) {-return null;-}-var isShadyRoot = !!this.node._isShadyRoot;-if (this.node !== document) {-if (!isShadyRoot) {-return null;-}-if (this.node.host === active || !this.node.host.contains(active)) {-return null;-}-}-var activeRoot = dom(active).getOwnerRoot();-while (activeRoot && activeRoot !== this.node) {-active = activeRoot.host;-activeRoot = dom(active).getOwnerRoot();-}-if (this.node === document) {-return activeRoot ? null : active;-} else {-return activeRoot === this.node ? active : null;-}-},-configurable: true-},-childNodes: {-get: function () {-var c$ = TreeApi.Logical.getChildNodes(this.node);-return Array.isArray(c$) ? c$ : TreeApi.arrayCopyChildNodes(this.node);-},-configurable: true-},-children: {-get: function () {-if (TreeApi.Logical.hasChildNodes(this.node)) {-return Array.prototype.filter.call(this.childNodes, function (n) {-return n.nodeType === Node.ELEMENT_NODE;-});-} else {-return TreeApi.arrayCopyChildren(this.node);-}-},-configurable: true-},-parentNode: {-get: function () {-return TreeApi.Logical.getParentNode(this.node);-},-configurable: true-},-firstChild: {-get: function () {-return TreeApi.Logical.getFirstChild(this.node);-},-configurable: true-},-lastChild: {-get: function () {-return TreeApi.Logical.getLastChild(this.node);-},-configurable: true-},-nextSibling: {-get: function () {-return TreeApi.Logical.getNextSibling(this.node);-},-configurable: true-},-previousSibling: {-get: function () {-return TreeApi.Logical.getPreviousSibling(this.node);-},-configurable: true-},-firstElementChild: {-get: function () {-return TreeApi.Logical.getFirstElementChild(this.node);-},-configurable: true-},-lastElementChild: {-get: function () {-return TreeApi.Logical.getLastElementChild(this.node);-},-configurable: true-},-nextElementSibling: {-get: function () {-return TreeApi.Logical.getNextElementSibling(this.node);-},-configurable: true-},-previousElementSibling: {-get: function () {-return TreeApi.Logical.getPreviousElementSibling(this.node);-},-configurable: true-},-textContent: {-get: function () {-var nt = this.node.nodeType;-if (nt === Node.TEXT_NODE || nt === Node.COMMENT_NODE) {-return this.node.textContent;-} else {-var tc = [];-for (var i = 0, cn = this.childNodes, c; c = cn[i]; i++) {-if (c.nodeType !== Node.COMMENT_NODE) {-tc.push(c.textContent);-}-}-return tc.join('');-}-},-set: function (text) {-var nt = this.node.nodeType;-if (nt === Node.TEXT_NODE || nt === Node.COMMENT_NODE) {-this.node.textContent = text;-} else {-this._clear();-if (text) {-this.appendChild(document.createTextNode(text));-}-}-},-configurable: true-},-innerHTML: {-get: function () {-var nt = this.node.nodeType;-if (nt === Node.TEXT_NODE || nt === Node.COMMENT_NODE) {-return null;-} else {-return getInnerHTML(this.node);-}-},-set: function (text) {-var nt = this.node.nodeType;-if (nt !== Node.TEXT_NODE || nt !== Node.COMMENT_NODE) {-this._clear();-var d = document.createElement('div');-d.innerHTML = text;-var c$ = TreeApi.arrayCopyChildNodes(d);-for (var i = 0; i < c$.length; i++) {-this.appendChild(c$[i]);-}-}-},-configurable: true-}-});-DomApi.hasInsertionPoint = function (root) {-return Boolean(root && root._insertionPoints.length);-};-}());(function () {-'use strict';-var Settings = Polymer.Settings;-var TreeApi = Polymer.TreeApi;-var DomApi = Polymer.DomApi;-if (!Settings.useShadow) {-return;-}-Polymer.Base.extend(DomApi.prototype, {-querySelectorAll: function (selector) {-return TreeApi.arrayCopy(this.node.querySelectorAll(selector));-},-getOwnerRoot: function () {-var n = this.node;-while (n) {-if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE && n.host) {-return n;-}-n = n.parentNode;-}-},-importNode: function (externalNode, deep) {-var doc = this.node instanceof Document ? this.node : this.node.ownerDocument;-return doc.importNode(externalNode, deep);-},-getDestinationInsertionPoints: function () {-var n$ = this.node.getDestinationInsertionPoints && this.node.getDestinationInsertionPoints();-return n$ ? TreeApi.arrayCopy(n$) : [];-},-getDistributedNodes: function () {-var n$ = this.node.getDistributedNodes && this.node.getDistributedNodes();-return n$ ? TreeApi.arrayCopy(n$) : [];-}-});-Object.defineProperties(DomApi.prototype, {-activeElement: {-get: function () {-var node = DomApi.wrap(this.node);-var activeElement = node.activeElement;-return node.contains(activeElement) ? activeElement : null;-},-configurable: true-},-childNodes: {-get: function () {-return TreeApi.arrayCopyChildNodes(this.node);-},-configurable: true-},-children: {-get: function () {-return TreeApi.arrayCopyChildren(this.node);-},-configurable: true-},-textContent: {-get: function () {-return this.node.textContent;-},-set: function (value) {-return this.node.textContent = value;-},-configurable: true-},-innerHTML: {-get: function () {-return this.node.innerHTML;-},-set: function (value) {-return this.node.innerHTML = value;-},-configurable: true-}-});-var forwardMethods = function (m$) {-for (var i = 0; i < m$.length; i++) {-forwardMethod(m$[i]);-}-};-var forwardMethod = function (method) {-DomApi.prototype[method] = function () {-return this.node[method].apply(this.node, arguments);-};-};-forwardMethods([-'cloneNode',-'appendChild',-'insertBefore',-'removeChild',-'replaceChild',-'setAttribute',-'removeAttribute',-'querySelector'-]);-var forwardProperties = function (f$) {-for (var i = 0; i < f$.length; i++) {-forwardProperty(f$[i]);-}-};-var forwardProperty = function (name) {-Object.defineProperty(DomApi.prototype, name, {-get: function () {-return this.node[name];-},-configurable: true-});-};-forwardProperties([-'parentNode',-'firstChild',-'lastChild',-'nextSibling',-'previousSibling',-'firstElementChild',-'lastElementChild',-'nextElementSibling',-'previousElementSibling'-]);-}());Polymer.Base.extend(Polymer.dom, {-_flushGuard: 0,-_FLUSH_MAX: 100,-_needsTakeRecords: !Polymer.Settings.useNativeCustomElements,-_debouncers: [],-_staticFlushList: [],-_finishDebouncer: null,-flush: function () {-this._flushGuard = 0;-this._prepareFlush();-while (this._debouncers.length && this._flushGuard < this._FLUSH_MAX) {-while (this._debouncers.length) {-this._debouncers.shift().complete();-}-if (this._finishDebouncer) {-this._finishDebouncer.complete();-}-this._prepareFlush();-this._flushGuard++;-}-if (this._flushGuard >= this._FLUSH_MAX) {-console.warn('Polymer.dom.flush aborted. Flush may not be complete.');-}-},-_prepareFlush: function () {-if (this._needsTakeRecords) {-CustomElements.takeRecords();-}-for (var i = 0; i < this._staticFlushList.length; i++) {-this._staticFlushList[i]();-}-},-addStaticFlush: function (fn) {-this._staticFlushList.push(fn);-},-removeStaticFlush: function (fn) {-var i = this._staticFlushList.indexOf(fn);-if (i >= 0) {-this._staticFlushList.splice(i, 1);-}-},-addDebouncer: function (debouncer) {-this._debouncers.push(debouncer);-this._finishDebouncer = Polymer.Debounce(this._finishDebouncer, this._finishFlush);-},-_finishFlush: function () {-Polymer.dom._debouncers = [];-}-});Polymer.EventApi = function () {-'use strict';-var DomApi = Polymer.DomApi.ctor;-var Settings = Polymer.Settings;-DomApi.Event = function (event) {-this.event = event;-};-if (Settings.useShadow) {-DomApi.Event.prototype = {-get rootTarget() {-return this.event.path[0];-},-get localTarget() {-return this.event.target;-},-get path() {-var path = this.event.path;-if (!Array.isArray(path)) {-path = Array.prototype.slice.call(path);-}-return path;-}-};-} else {-DomApi.Event.prototype = {-get rootTarget() {-return this.event.target;-},-get localTarget() {-var current = this.event.currentTarget;-var currentRoot = current && Polymer.dom(current).getOwnerRoot();-var p$ = this.path;-for (var i = 0; i < p$.length; i++) {-if (Polymer.dom(p$[i]).getOwnerRoot() === currentRoot) {-return p$[i];-}-}-},-get path() {-if (!this.event._path) {-var path = [];-var current = this.rootTarget;-while (current) {-path.push(current);-var insertionPoints = Polymer.dom(current).getDestinationInsertionPoints();-if (insertionPoints.length) {-for (var i = 0; i < insertionPoints.length - 1; i++) {-path.push(insertionPoints[i]);-}-current = insertionPoints[insertionPoints.length - 1];-} else {-current = Polymer.dom(current).parentNode || current.host;-}-}-path.push(window);-this.event._path = path;-}-return this.event._path;-}-};-}-var factory = function (event) {-if (!event.__eventApi) {-event.__eventApi = new DomApi.Event(event);-}-return event.__eventApi;-};-return { factory: factory };-}();(function () {-'use strict';-var DomApi = Polymer.DomApi.ctor;-var useShadow = Polymer.Settings.useShadow;-Object.defineProperty(DomApi.prototype, 'classList', {-get: function () {-if (!this._classList) {-this._classList = new DomApi.ClassList(this);-}-return this._classList;-},-configurable: true-});-DomApi.ClassList = function (host) {-this.domApi = host;-this.node = host.node;-};-DomApi.ClassList.prototype = {-add: function () {-this.node.classList.add.apply(this.node.classList, arguments);-this._distributeParent();-},-remove: function () {-this.node.classList.remove.apply(this.node.classList, arguments);-this._distributeParent();-},-toggle: function () {-this.node.classList.toggle.apply(this.node.classList, arguments);-this._distributeParent();-},-_distributeParent: function () {-if (!useShadow) {-this.domApi._maybeDistributeParent();-}-},-contains: function () {-return this.node.classList.contains.apply(this.node.classList, arguments);-}-};-}());(function () {-'use strict';-var DomApi = Polymer.DomApi.ctor;-var Settings = Polymer.Settings;-DomApi.EffectiveNodesObserver = function (domApi) {-this.domApi = domApi;-this.node = this.domApi.node;-this._listeners = [];-};-DomApi.EffectiveNodesObserver.prototype = {-addListener: function (callback) {-if (!this._isSetup) {-this._setup();-this._isSetup = true;-}-var listener = {-fn: callback,-_nodes: []-};-this._listeners.push(listener);-this._scheduleNotify();-return listener;-},-removeListener: function (handle) {-var i = this._listeners.indexOf(handle);-if (i >= 0) {-this._listeners.splice(i, 1);-handle._nodes = [];-}-if (!this._hasListeners()) {-this._cleanup();-this._isSetup = false;-}-},-_setup: function () {-this._observeContentElements(this.domApi.childNodes);-},-_cleanup: function () {-this._unobserveContentElements(this.domApi.childNodes);-},-_hasListeners: function () {-return Boolean(this._listeners.length);-},-_scheduleNotify: function () {-if (this._debouncer) {-this._debouncer.stop();-}-this._debouncer = Polymer.Debounce(this._debouncer, this._notify);-this._debouncer.context = this;-Polymer.dom.addDebouncer(this._debouncer);-},-notify: function () {-if (this._hasListeners()) {-this._scheduleNotify();-}-},-_notify: function () {-this._beforeCallListeners();-this._callListeners();-},-_beforeCallListeners: function () {-this._updateContentElements();-},-_updateContentElements: function () {-this._observeContentElements(this.domApi.childNodes);-},-_observeContentElements: function (elements) {-for (var i = 0, n; i < elements.length && (n = elements[i]); i++) {-if (this._isContent(n)) {-n.__observeNodesMap = n.__observeNodesMap || new WeakMap();-if (!n.__observeNodesMap.has(this)) {-n.__observeNodesMap.set(this, this._observeContent(n));-}-}-}-},-_observeContent: function (content) {-var self = this;-var h = Polymer.dom(content).observeNodes(function () {-self._scheduleNotify();-});-h._avoidChangeCalculation = true;-return h;-},-_unobserveContentElements: function (elements) {-for (var i = 0, n, h; i < elements.length && (n = elements[i]); i++) {-if (this._isContent(n)) {-h = n.__observeNodesMap.get(this);-if (h) {-Polymer.dom(n).unobserveNodes(h);-n.__observeNodesMap.delete(this);-}-}-}-},-_isContent: function (node) {-return node.localName === 'content';-},-_callListeners: function () {-var o$ = this._listeners;-var nodes = this._getEffectiveNodes();-for (var i = 0, o; i < o$.length && (o = o$[i]); i++) {-var info = this._generateListenerInfo(o, nodes);-if (info || o._alwaysNotify) {-this._callListener(o, info);-}-}-},-_getEffectiveNodes: function () {-return this.domApi.getEffectiveChildNodes();-},-_generateListenerInfo: function (listener, newNodes) {-if (listener._avoidChangeCalculation) {-return true;-}-var oldNodes = listener._nodes;-var info = {-target: this.node,-addedNodes: [],-removedNodes: []-};-var splices = Polymer.ArraySplice.calculateSplices(newNodes, oldNodes);-for (var i = 0, s; i < splices.length && (s = splices[i]); i++) {-for (var j = 0, n; j < s.removed.length && (n = s.removed[j]); j++) {-info.removedNodes.push(n);-}-}-for (i = 0, s; i < splices.length && (s = splices[i]); i++) {-for (j = s.index; j < s.index + s.addedCount; j++) {-info.addedNodes.push(newNodes[j]);-}-}-listener._nodes = newNodes;-if (info.addedNodes.length || info.removedNodes.length) {-return info;-}-},-_callListener: function (listener, info) {-return listener.fn.call(this.node, info);-},-enableShadowAttributeTracking: function () {-}-};-if (Settings.useShadow) {-var baseSetup = DomApi.EffectiveNodesObserver.prototype._setup;-var baseCleanup = DomApi.EffectiveNodesObserver.prototype._cleanup;-Polymer.Base.extend(DomApi.EffectiveNodesObserver.prototype, {-_setup: function () {-if (!this._observer) {-var self = this;-this._mutationHandler = function (mxns) {-if (mxns && mxns.length) {-self._scheduleNotify();-}-};-this._observer = new MutationObserver(this._mutationHandler);-this._boundFlush = function () {-self._flush();-};-Polymer.dom.addStaticFlush(this._boundFlush);-this._observer.observe(this.node, { childList: true });-}-baseSetup.call(this);-},-_cleanup: function () {-this._observer.disconnect();-this._observer = null;-this._mutationHandler = null;-Polymer.dom.removeStaticFlush(this._boundFlush);-baseCleanup.call(this);-},-_flush: function () {-if (this._observer) {-this._mutationHandler(this._observer.takeRecords());-}-},-enableShadowAttributeTracking: function () {-if (this._observer) {-this._makeContentListenersAlwaysNotify();-this._observer.disconnect();-this._observer.observe(this.node, {-childList: true,-attributes: true,-subtree: true-});-var root = this.domApi.getOwnerRoot();-var host = root && root.host;-if (host && Polymer.dom(host).observer) {-Polymer.dom(host).observer.enableShadowAttributeTracking();-}-}-},-_makeContentListenersAlwaysNotify: function () {-for (var i = 0, h; i < this._listeners.length; i++) {-h = this._listeners[i];-h._alwaysNotify = h._isContentListener;-}-}-});-}-}());(function () {-'use strict';-var DomApi = Polymer.DomApi.ctor;-var Settings = Polymer.Settings;-DomApi.DistributedNodesObserver = function (domApi) {-DomApi.EffectiveNodesObserver.call(this, domApi);-};-DomApi.DistributedNodesObserver.prototype = Object.create(DomApi.EffectiveNodesObserver.prototype);-Polymer.Base.extend(DomApi.DistributedNodesObserver.prototype, {-_setup: function () {-},-_cleanup: function () {-},-_beforeCallListeners: function () {-},-_getEffectiveNodes: function () {-return this.domApi.getDistributedNodes();-}-});-if (Settings.useShadow) {-Polymer.Base.extend(DomApi.DistributedNodesObserver.prototype, {-_setup: function () {-if (!this._observer) {-var root = this.domApi.getOwnerRoot();-var host = root && root.host;-if (host) {-var self = this;-this._observer = Polymer.dom(host).observeNodes(function () {-self._scheduleNotify();-});-this._observer._isContentListener = true;-if (this._hasAttrSelect()) {-Polymer.dom(host).observer.enableShadowAttributeTracking();-}-}-}-},-_hasAttrSelect: function () {-var select = this.node.getAttribute('select');-return select && select.match(/[[.]+/);-},-_cleanup: function () {-var root = this.domApi.getOwnerRoot();-var host = root && root.host;-if (host) {-Polymer.dom(host).unobserveNodes(this._observer);-}-this._observer = null;-}-});-}-}());(function () {-var DomApi = Polymer.DomApi;-var TreeApi = Polymer.TreeApi;-Polymer.Base._addFeature({-_prepShady: function () {-this._useContent = this._useContent || Boolean(this._template);-},-_setupShady: function () {-this.shadyRoot = null;-if (!this.__domApi) {-this.__domApi = null;-}-if (!this.__dom) {-this.__dom = null;-}-if (!this._ownerShadyRoot) {-this._ownerShadyRoot = undefined;-}-},-_poolContent: function () {-if (this._useContent) {-TreeApi.Logical.saveChildNodes(this);-}-},-_setupRoot: function () {-if (this._useContent) {-this._createLocalRoot();-if (!this.dataHost) {-upgradeLogicalChildren(TreeApi.Logical.getChildNodes(this));-}-}-},-_createLocalRoot: function () {-this.shadyRoot = this.root;-this.shadyRoot._distributionClean = false;-this.shadyRoot._hasDistributed = false;-this.shadyRoot._isShadyRoot = true;-this.shadyRoot._dirtyRoots = [];-var i$ = this.shadyRoot._insertionPoints = !this._notes || this._notes._hasContent ? this.shadyRoot.querySelectorAll('content') : [];-TreeApi.Logical.saveChildNodes(this.shadyRoot);-for (var i = 0, c; i < i$.length; i++) {-c = i$[i];-TreeApi.Logical.saveChildNodes(c);-TreeApi.Logical.saveChildNodes(c.parentNode);-}-this.shadyRoot.host = this;-},-get domHost() {-var root = Polymer.dom(this).getOwnerRoot();-return root && root.host;-},-distributeContent: function (updateInsertionPoints) {-if (this.shadyRoot) {-this.shadyRoot._invalidInsertionPoints = this.shadyRoot._invalidInsertionPoints || updateInsertionPoints;-var host = getTopDistributingHost(this);-Polymer.dom(this)._lazyDistribute(host);-}-},-_distributeContent: function () {-if (this._useContent && !this.shadyRoot._distributionClean) {-if (this.shadyRoot._invalidInsertionPoints) {-Polymer.dom(this)._updateInsertionPoints(this);-this.shadyRoot._invalidInsertionPoints = false;-}-this._beginDistribute();-this._distributeDirtyRoots();-this._finishDistribute();-}-},-_beginDistribute: function () {-if (this._useContent && DomApi.hasInsertionPoint(this.shadyRoot)) {-this._resetDistribution();-this._distributePool(this.shadyRoot, this._collectPool());-}-},-_distributeDirtyRoots: function () {-var c$ = this.shadyRoot._dirtyRoots;-for (var i = 0, l = c$.length, c; i < l && (c = c$[i]); i++) {-c._distributeContent();-}-this.shadyRoot._dirtyRoots = [];-},-_finishDistribute: function () {-if (this._useContent) {-this.shadyRoot._distributionClean = true;-if (DomApi.hasInsertionPoint(this.shadyRoot)) {-this._composeTree();-notifyContentObservers(this.shadyRoot);-} else {-if (!this.shadyRoot._hasDistributed) {-TreeApi.Composed.clearChildNodes(this);-this.appendChild(this.shadyRoot);-} else {-var children = this._composeNode(this);-this._updateChildNodes(this, children);-}-}-if (!this.shadyRoot._hasDistributed) {-notifyInitialDistribution(this);-}-this.shadyRoot._hasDistributed = true;-}-},-elementMatches: function (selector, node) {-node = node || this;-return DomApi.matchesSelector.call(node, selector);-},-_resetDistribution: function () {-var children = TreeApi.Logical.getChildNodes(this);-for (var i = 0; i < children.length; i++) {-var child = children[i];-if (child._destinationInsertionPoints) {-child._destinationInsertionPoints = undefined;-}-if (isInsertionPoint(child)) {-clearDistributedDestinationInsertionPoints(child);-}-}-var root = this.shadyRoot;-var p$ = root._insertionPoints;-for (var j = 0; j < p$.length; j++) {-p$[j]._distributedNodes = [];-}-},-_collectPool: function () {-var pool = [];-var children = TreeApi.Logical.getChildNodes(this);-for (var i = 0; i < children.length; i++) {-var child = children[i];-if (isInsertionPoint(child)) {-pool.push.apply(pool, child._distributedNodes);-} else {-pool.push(child);-}-}-return pool;-},-_distributePool: function (node, pool) {-var p$ = node._insertionPoints;-for (var i = 0, l = p$.length, p; i < l && (p = p$[i]); i++) {-this._distributeInsertionPoint(p, pool);-maybeRedistributeParent(p, this);-}-},-_distributeInsertionPoint: function (content, pool) {-var anyDistributed = false;-for (var i = 0, l = pool.length, node; i < l; i++) {-node = pool[i];-if (!node) {-continue;-}-if (this._matchesContentSelect(node, content)) {-distributeNodeInto(node, content);-pool[i] = undefined;-anyDistributed = true;-}-}-if (!anyDistributed) {-var children = TreeApi.Logical.getChildNodes(content);-for (var j = 0; j < children.length; j++) {-distributeNodeInto(children[j], content);-}-}-},-_composeTree: function () {-this._updateChildNodes(this, this._composeNode(this));-var p$ = this.shadyRoot._insertionPoints;-for (var i = 0, l = p$.length, p, parent; i < l && (p = p$[i]); i++) {-parent = TreeApi.Logical.getParentNode(p);-if (!parent._useContent && parent !== this && parent !== this.shadyRoot) {-this._updateChildNodes(parent, this._composeNode(parent));-}-}-},-_composeNode: function (node) {-var children = [];-var c$ = TreeApi.Logical.getChildNodes(node.shadyRoot || node);-for (var i = 0; i < c$.length; i++) {-var child = c$[i];-if (isInsertionPoint(child)) {-var distributedNodes = child._distributedNodes;-for (var j = 0; j < distributedNodes.length; j++) {-var distributedNode = distributedNodes[j];-if (isFinalDestination(child, distributedNode)) {-children.push(distributedNode);-}-}-} else {-children.push(child);-}-}-return children;-},-_updateChildNodes: function (container, children) {-var composed = TreeApi.Composed.getChildNodes(container);-var splices = Polymer.ArraySplice.calculateSplices(children, composed);-for (var i = 0, d = 0, s; i < splices.length && (s = splices[i]); i++) {-for (var j = 0, n; j < s.removed.length && (n = s.removed[j]); j++) {-if (TreeApi.Composed.getParentNode(n) === container) {-TreeApi.Composed.removeChild(container, n);-}-composed.splice(s.index + d, 1);-}-d -= s.addedCount;-}-for (var i = 0, s, next; i < splices.length && (s = splices[i]); i++) {-next = composed[s.index];-for (j = s.index, n; j < s.index + s.addedCount; j++) {-n = children[j];-TreeApi.Composed.insertBefore(container, n, next);-composed.splice(j, 0, n);-}-}-},-_matchesContentSelect: function (node, contentElement) {-var select = contentElement.getAttribute('select');-if (!select) {-return true;-}-select = select.trim();-if (!select) {-return true;-}-if (!(node instanceof Element)) {-return false;-}-var validSelectors = /^(:not\()?[*.#[a-zA-Z_|]/;-if (!validSelectors.test(select)) {-return false;-}-return this.elementMatches(select, node);-},-_elementAdd: function () {-},-_elementRemove: function () {-}-});-function distributeNodeInto(child, insertionPoint) {-insertionPoint._distributedNodes.push(child);-var points = child._destinationInsertionPoints;-if (!points) {-child._destinationInsertionPoints = [insertionPoint];-} else {-points.push(insertionPoint);-}-}-function clearDistributedDestinationInsertionPoints(content) {-var e$ = content._distributedNodes;-if (e$) {-for (var i = 0; i < e$.length; i++) {-var d = e$[i]._destinationInsertionPoints;-if (d) {-d.splice(d.indexOf(content) + 1, d.length);-}-}-}-}-function maybeRedistributeParent(content, host) {-var parent = TreeApi.Logical.getParentNode(content);-if (parent && parent.shadyRoot && DomApi.hasInsertionPoint(parent.shadyRoot) && parent.shadyRoot._distributionClean) {-parent.shadyRoot._distributionClean = false;-host.shadyRoot._dirtyRoots.push(parent);-}-}-function isFinalDestination(insertionPoint, node) {-var points = node._destinationInsertionPoints;-return points && points[points.length - 1] === insertionPoint;-}-function isInsertionPoint(node) {-return node.localName == 'content';-}-function getTopDistributingHost(host) {-while (host && hostNeedsRedistribution(host)) {-host = host.domHost;-}-return host;-}-function hostNeedsRedistribution(host) {-var c$ = TreeApi.Logical.getChildNodes(host);-for (var i = 0, c; i < c$.length; i++) {-c = c$[i];-if (c.localName && c.localName === 'content') {-return host.domHost;-}-}-}-function notifyContentObservers(root) {-for (var i = 0, c; i < root._insertionPoints.length; i++) {-c = root._insertionPoints[i];-if (DomApi.hasApi(c)) {-Polymer.dom(c).notifyObserver();-}-}-}-function notifyInitialDistribution(host) {-if (DomApi.hasApi(host)) {-Polymer.dom(host).notifyObserver();-}-}-var needsUpgrade = window.CustomElements && !CustomElements.useNative;-function upgradeLogicalChildren(children) {-if (needsUpgrade && children) {-for (var i = 0; i < children.length; i++) {-CustomElements.upgrade(children[i]);-}-}-}-}());if (Polymer.Settings.useShadow) {-Polymer.Base._addFeature({-_poolContent: function () {-},-_beginDistribute: function () {-},-distributeContent: function () {-},-_distributeContent: function () {-},-_finishDistribute: function () {-},-_createLocalRoot: function () {-this.createShadowRoot();-this.shadowRoot.appendChild(this.root);-this.root = this.shadowRoot;-}-});-}Polymer.Async = {-_currVal: 0,-_lastVal: 0,-_callbacks: [],-_twiddleContent: 0,-_twiddle: document.createTextNode(''),-run: function (callback, waitTime) {-if (waitTime > 0) {-return ~setTimeout(callback, waitTime);-} else {-this._twiddle.textContent = this._twiddleContent++;-this._callbacks.push(callback);-return this._currVal++;-}-},-cancel: function (handle) {-if (handle < 0) {-clearTimeout(~handle);-} else {-var idx = handle - this._lastVal;-if (idx >= 0) {-if (!this._callbacks[idx]) {-throw 'invalid async handle: ' + handle;-}-this._callbacks[idx] = null;-}-}-},-_atEndOfMicrotask: function () {-var len = this._callbacks.length;-for (var i = 0; i < len; i++) {-var cb = this._callbacks[i];-if (cb) {-try {-cb();-} catch (e) {-i++;-this._callbacks.splice(0, i);-this._lastVal += i;-this._twiddle.textContent = this._twiddleContent++;-throw e;-}-}-}-this._callbacks.splice(0, len);-this._lastVal += len;-}-};-new window.MutationObserver(function () {-Polymer.Async._atEndOfMicrotask();-}).observe(Polymer.Async._twiddle, { characterData: true });Polymer.Debounce = function () {-var Async = Polymer.Async;-var Debouncer = function (context) {-this.context = context;-var self = this;-this.boundComplete = function () {-self.complete();-};-};-Debouncer.prototype = {-go: function (callback, wait) {-var h;-this.finish = function () {-Async.cancel(h);-};-h = Async.run(this.boundComplete, wait);-this.callback = callback;-},-stop: function () {-if (this.finish) {-this.finish();-this.finish = null;-this.callback = null;-}-},-complete: function () {-if (this.finish) {-var callback = this.callback;-this.stop();-callback.call(this.context);-}-}-};-function debounce(debouncer, callback, wait) {-if (debouncer) {-debouncer.stop();-} else {-debouncer = new Debouncer(this);-}-debouncer.go(callback, wait);-return debouncer;-}-return debounce;-}();Polymer.Base._addFeature({-_setupDebouncers: function () {-this._debouncers = {};-},-debounce: function (jobName, callback, wait) {-return this._debouncers[jobName] = Polymer.Debounce.call(this, this._debouncers[jobName], callback, wait);-},-isDebouncerActive: function (jobName) {-var debouncer = this._debouncers[jobName];-return !!(debouncer && debouncer.finish);-},-flushDebouncer: function (jobName) {-var debouncer = this._debouncers[jobName];-if (debouncer) {-debouncer.complete();-}-},-cancelDebouncer: function (jobName) {-var debouncer = this._debouncers[jobName];-if (debouncer) {-debouncer.stop();-}-}-});Polymer.DomModule = document.createElement('dom-module');-Polymer.Base._addFeature({-_registerFeatures: function () {-this._prepIs();-this._prepBehaviors();-this._prepConstructor();-this._prepTemplate();-this._prepShady();-this._prepPropertyInfo();-},-_prepBehavior: function (b) {-this._addHostAttributes(b.hostAttributes);-},-_initFeatures: function () {-this._registerHost();-if (this._template) {-this._poolContent();-this._beginHosting();-this._stampTemplate();-this._endHosting();-}-this._marshalHostAttributes();-this._setupDebouncers();-this._marshalBehaviors();-this._tryReady();-},-_marshalBehavior: function (b) {-}-});</script>+<script>Polymer.Base._addFeature({_prepTemplate:function(){void 0===this._template&&(this._template=Polymer.DomModule.import(this.is,"template")),this._template&&this._template.hasAttribute("is")&&this._warn(this._logf("_prepTemplate","top-level Polymer template must not be a type-extension, found",this._template,"Move inside simple <template>.")),this._template&&!this._template.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(this._template)},_stampTemplate:function(){this._template&&(this.root=this.instanceTemplate(this._template))},instanceTemplate:function(e){var t=document.importNode(e._content||e.content,!0);return t}}),function(){var e=Polymer.Base.attachedCallback;Polymer.Base._addFeature({_hostStack:[],ready:function(){},_registerHost:function(e){this.dataHost=e=e||Polymer.Base._hostStack[Polymer.Base._hostStack.length-1],e&&e._clients&&e._clients.push(this),this._clients=null,this._clientsReadied=!1},_beginHosting:function(){Polymer.Base._hostStack.push(this),this._clients||(this._clients=[])},_endHosting:function(){Polymer.Base._hostStack.pop()},_tryReady:function(){this._readied=!1,this._canReady()&&this._ready()},_canReady:function(){return!this.dataHost||this.dataHost._clientsReadied},_ready:function(){this._beforeClientsReady(),this._template&&(this._setupRoot(),this._readyClients()),this._clientsReadied=!0,this._clients=null,this._afterClientsReady(),this._readySelf()},_readyClients: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()},_readySelf:function(){this._doBehavior("ready"),this._readied=!0,this._attachedPending&&(this._attachedPending=!1,this.attachedCallback())},_beforeClientsReady:function(){},_afterClientsReady:function(){},_beforeAttached:function(){},attachedCallback:function(){this._readied?(this._beforeAttached(),e.call(this)):this._attachedPending=!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={calcEditDistances: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{var u=a[l-1][h]+1,c=a[l][h-1]+1;a[l][h]=u<c?u:c}return a},spliceOperationsFromEditDistances: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},calcSplices: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.spliceOperationsFromEditDistances(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){for(var i=0;i<o;i++)if(!this.equals(e[i],t[i]))return i;return o},sharedSuffix:function(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.length,t,0,t.length)},equals:function(e,t){return e===t}},new t}(),Polymer.domInnerHTML=function(){function e(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function t(t){return t.replace(r,e)}function o(t){return t.replace(d,e)}function i(e){for(var t={},o=0;o<e.length;o++)t[e[o]]=!0;return t}function n(e,i,n){switch(e.nodeType){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.COMMENT_NODE:return"<!--"+e.data+"-->";default:throw console.error(e),new Error("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","noframes","plaintext","noscript"]);return{getInnerHTML:s}}(),function(){"use strict";var e=Element.prototype.insertBefore,t=Element.prototype.appendChild,o=Element.prototype.removeChild;Polymer.TreeApi={arrayCopyChildNodes:function(e){for(var t=[],o=0,i=e.firstChild;i;i=i.nextSibling)t[o++]=i;return t},arrayCopyChildren:function(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 Boolean(e.__dom&&e.__dom.parentNode)},hasChildNodes:function(e){return Boolean(e.__dom&&void 0!==e.__dom.childNodes)},getChildNodes:function(e){return this.hasChildNodes(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.__dom.nextSibling)e.__dom.childNodes.push(t)}return e.__dom.childNodes},getParentNode:function(e){return e.__dom&&void 0!==e.__dom.parentNode?e.__dom.parentNode:e.parentNode},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){return e.__dom&&void 0!==e.__dom.firstChild?this._getFirstElementChild(e):e.firstElementChild},_getFirstElementChild:function(e){for(var t=e.__dom.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.nextSibling;return t},getLastElementChild:function(e){return e.__dom&&void 0!==e.__dom.lastChild?this._getLastElementChild(e):e.lastElementChild},_getLastElementChild:function(e){for(var t=e.__dom.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},getNextElementSibling: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.nextSibling;return t},getPreviousElementSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling?this._getPreviousElementSibling(e):e.previousElementSibling},_getPreviousElementSibling:function(e){for(var t=e.__dom.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},saveChildNodes:function(e){if(!this.hasChildNodes(e)){e.__dom=e.__dom||{},e.__dom.firstChild=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.nextSibling)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.previousSibling=o?o.__dom.previousSibling:t.__dom.lastChild,e.__dom.previousSibling&&(e.__dom.previousSibling.__dom.nextSibling=e),e.__dom.nextSibling=o||null,e.__dom.nextSibling&&(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.firstChild||(t.__dom.firstChild=e)),t.__dom.childNodes=null},recordRemoveChild:function(e,t){e.__dom=e.__dom||{},t.__dom=t.__dom||{},e===t.__dom.firstChild&&(t.__dom.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.previousSibling=e.__dom.nextSibling=void 0,t.__dom.childNodes=null}},Polymer.TreeApi.Composed={getChildNodes:function(e){return Polymer.TreeApi.arrayCopyChildNodes(e)},getParentNode:function(e){return e.parentNode},clearChildNodes:function(e){e.textContent=""},insertBefore:function(t,o,i){return e.call(t,o,i||null)},appendChild:function(e,o){return t.call(e,o)},removeChild:function(e,t){return o.call(e,t)}}}(),Polymer.DomApi=function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=function(e){this.node=i?o.wrap(e):e},i=e.hasShadow&&!e.nativeShadow;o.wrap=window.wrap?window.wrap:function(e){return e},o.prototype={flush:function(){Polymer.dom.flush()},deepContains:function(e){if(this.node.contains(e))return!0;for(var t=e,o=e.ownerDocument;t&&t!==o&&t!==this.node;)t=Polymer.dom(t).parentNode||t.host;return t===this.node},queryDistributedElements:function(e){for(var t,i=this.getEffectiveChildNodes(),n=[],s=0,r=i.length;s<r&&(t=i[s]);s++)t.nodeType===Node.ELEMENT_NODE&&o.matchesSelector.call(t,e)&&n.push(t);return n},getEffectiveChildNodes: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)return this.observer||(this.observer=this.node.localName===n?new o.DistributedNodesObserver(this):new o.EffectiveNodesObserver(this)),this.observer.addListener(e)},unobserveNodes:function(e){this.observer&&this.observer.removeListener(e)},notifyObserver: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="content",s=o.factory=function(e){return e=e||document,e.__domApi||(e.__domApi=new o.ctor(e)),e.__domApi};o.hasApi=function(e){return Boolean(e.__domApi)},o.ctor=o,Polymer.dom=function(e,t){return e instanceof Event?Polymer.EventApi.factory(e):o.factory(e,t)};var r=Element.prototype;return o.matchesSelector=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector,o}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.DomApi,o=t.factory,i=Polymer.TreeApi,n=Polymer.domInnerHTML.getInnerHTML,s=t.CONTENT;if(!e.useShadow){var r=Element.prototype.cloneNode,d=Document.prototype.importNode;Polymer.Base.extend(t.prototype,{_lazyDistribute:function(e){e.shadyRoot&&e.shadyRoot._distributionClean&&(e.shadyRoot._distributionClean=!1,Polymer.dom.addDebouncer(e.debounce("_distribute",e._distributeContent)))},appendChild:function(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.notifyObserver(),e},_addNode:function(e,t){var o=this.getOwnerRoot();if(o){var n=this._maybeAddInsertionPoint(e,this.node);o._invalidInsertionPoints||(o._invalidInsertionPoints=n),this._addNodeToHost(o.host,e)}i.Logical.hasChildNodes(this.node)&&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.firstChild;)i.Composed.removeChild(e,e.firstChild);else{var r=i.Composed.getParentNode(e);r&&i.Composed.removeChild(r,e)}return s},removeChild:function(e){if(i.Logical.getParentNode(e)!==this.node)throw Error("The node to be removed is not a child of this node: "+e);if(!this._removeNode(e)){var t=this.node._isShadyRoot?this.node.host:this.node,o=i.Composed.getParentNode(e);t===o&&i.Composed.removeChild(t,e)}return this.notifyObserver(),e},_removeNode:function(e){var t,n=i.Logical.hasParentNode(e)&&i.Logical.getParentNode(e),s=this._ownerShadyRootForNode(e);return n&&(t=o(e)._maybeDistributeParent(),i.Logical.recordRemoveChild(e,n),s&&this._removeDistributedChildren(s,e)&&(s._invalidInsertionPoints=!0,this._lazyDistribute(s.host))),this._removeOwnerShadyRoot(e),s&&this._removeNodeFromHost(s.host,e),t},replaceChild:function(e,t){return this.insertBefore(e,t),this.removeChild(t),e},_hasCachedOwnerRoot:function(e){return Boolean(void 0!==e._ownerShadyRoot)},getOwnerRoot:function(){return this._ownerShadyRootForNode(this.node)},_ownerShadyRootForNode: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._ownerShadyRoot=t)}return t}},_maybeDistribute:function(e){var t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!e.__noContent&&o(e).querySelector(s),n=t&&i.Logical.getParentNode(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._nodeNeedsDistribution(this.node);return a&&this._lazyDistribute(this.node),a||r&&!n},_maybeAddInsertionPoint:function(e,t){var n;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||e.__noContent)e.localName===s&&(i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(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._maybeAddInsertionPoint(r,d),n=n||a;return n},_updateInsertionPoints:function(e){for(var t,n=e.shadyRoot._insertionPoints=o(e.shadyRoot).querySelectorAll(s),r=0;r<n.length;r++)t=n[r],i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(i.Logical.getParentNode(t))},_nodeNeedsDistribution:function(e){return e&&e.shadyRoot&&t.hasInsertionPoint(e.shadyRoot)},_addNodeToHost:function(e,t){e._elementAdd&&e._elementAdd(t)},_removeNodeFromHost:function(e,t){e._elementRemove&&e._elementRemove(t)},_removeDistributedChildren:function(e,t){for(var n,s=e._insertionPoints,r=0;r<s.length;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.removeChild(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._hasCachedOwnerRoot(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:function(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},querySelector: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},querySelectorAll:function(e){return this._query(function(o){return t.matchesSelector.call(o,e)},this.node)},getDestinationInsertionPoints:function(){return this.node._destinationInsertionPoints||[]},getDistributedNodes:function(){return this.node._distributedNodes||[]},_clear:function(){for(;this.childNodes.length;)this.removeChild(this.childNodes[0])},setAttribute:function(e,t){this.node.setAttribute(e,t),this._maybeDistributeParent()},removeAttribute:function(e){this.node.removeAttribute(e),this._maybeDistributeParent()},_maybeDistributeParent:function(){if(this._nodeNeedsDistribution(this.parentNode))return this._lazyDistribute(this.parentNode),!0},cloneNode:function(e){var t=r.call(this.node,!1);if(e)for(var i,n=this.childNodes,s=o(t),d=0;d<n.length;d++)i=o(n[d]).cloneNode(!0),s.appendChild(i);return t},importNode:function(e,t){var n=this.node instanceof Document?this.node:this.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.defineProperties(t.prototype,{activeElement:{get:function(){var e=document.activeElement;if(!e)return null;var t=!!this.node._isShadyRoot;if(this.node!==document){if(!t)return 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 this.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(){return i.Logical.hasChildNodes(this.node)?Array.prototype.filter.call(this.childNodes,function(e){return e.nodeType===Node.ELEMENT_NODE}):i.arrayCopyChildren(this.node)},configurable:!0},parentNode:{get:function(){return i.Logical.getParentNode(this.node)},configurable:!0},firstChild:{get:function(){return i.Logical.getFirstChild(this.node)},configurable:!0},lastChild:{get:function(){return i.Logical.getLastChild(this.node)},configurable:!0},nextSibling:{get:function(){return i.Logical.getNextSibling(this.node)},configurable:!0},previousSibling:{get:function(){return i.Logical.getPreviousSibling(this.node)},configurable:!0},firstElementChild:{get:function(){return i.Logical.getFirstElementChild(this.node)},configurable:!0},lastElementChild:{get:function(){return i.Logical.getLastElementChild(this.node)},configurable:!0},nextElementSibling:{get:function(){return i.Logical.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.childNodes;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===Node.COMMENT_NODE?this.node.textContent=e:(this._clear(),e&&this.appendChild(document.createTextNode(e)))},configurable:!0},innerHTML:{get:function(){var e=this.node.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])}},configurable:!0}}),t.hasInsertionPoint=function(e){return Boolean(e&&e._insertionPoints.length)}}}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=Polymer.DomApi;if(e.useShadow){Polymer.Base.extend(o.prototype,{querySelectorAll:function(e){return t.arrayCopy(this.node.querySelectorAll(e))},getOwnerRoot:function(){for(var e=this.node;e;){if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host)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)},getDestinationInsertionPoints:function(){var e=this.node.getDestinationInsertionPoints&&this.node.getDestinationInsertionPoints();return e?t.arrayCopy(e):[]},getDistributedNodes:function(){var e=this.node.getDistributedNodes&&this.node.getDistributedNodes();return e?t.arrayCopy(e):[]}}),Object.defineProperties(o.prototype,{activeElement:{get:function(){var e=o.wrap(this.node),t=e.activeElement;return e.contains(t)?t:null},configurable:!0},childNodes:{get:function(){return t.arrayCopyChildNodes(this.node)},configurable:!0},children:{get:function(){return t.arrayCopyChildren(this.node)},configurable:!0},textContent:{get:function(){return this.node.textContent},set:function(e){return this.node.textContent=e},configurable:!0},innerHTML:{get:function(){return this.node.innerHTML},set:function(e){return this.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=function(e){for(var t=0;t<e.length;t++)r(e[t])},r=function(e){Object.defineProperty(o.prototype,e,{get:function(){return this.node[e]},configurable:!0})};s(["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling"])}}(),Polymer.Base.extend(Polymer.dom,{_flushGuard:0,_FLUSH_MAX:100,_needsTakeRecords:!Polymer.Settings.useNativeCustomElements,_debouncers:[],_staticFlushList:[],_finishDebouncer:null,flush:function(){for(this._flushGuard=0,this._prepareFlush();this._debouncers.length&&this._flushGuard<this._FLUSH_MAX;){for(;this._debouncers.length;)this._debouncers.shift().complete();this._finishDebouncer&&this._finishDebouncer.complete(),this._prepareFlush(),this._flushGuard++}this._flushGuard>=this._FLUSH_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]()},addStaticFlush: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(){Polymer.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.Event.prototype={get rootTarget(){return this.event.path[0]},get localTarget(){return 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(){return 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).getDestinationInsertionPoints();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 this.event._path}};var o=function(t){return t.__eventApi||(t.__eventApi=new e.Event(t)),t.__eventApi};return{factory:o}}(),function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings.useShadow;Object.defineProperty(e.prototype,"classList",{get:function(){return this._classList||(this._classList=new e.ClassList(this)),this._classList},configurable:!0}),e.ClassList=function(e){this.domApi=e,this.node=e.node},e.ClassList.prototype={add:function(){this.node.classList.add.apply(this.node.classList,arguments),this._distributeParent()},remove:function(){this.node.classList.remove.apply(this.node.classList,arguments),this._distributeParent()},toggle:function(){this.node.classList.toggle.apply(this.node.classList,arguments),this._distributeParent()},_distributeParent:function(){t||this.domApi._maybeDistributeParent()},contains:function(){return this.node.classList.contains.apply(this.node.classList,arguments)}}}(),function(){"use strict";var e=Polymer.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._listeners.splice(t,1),e._nodes=[]),this._hasListeners()||(this._cleanup(),this._isSetup=!1)},_setup:function(){this._observeContentElements(this.domApi.childNodes)},_cleanup:function(){this._unobserveContentElements(this.domApi.childNodes)},_hasListeners:function(){return Boolean(this._listeners.length)},_scheduleNotify:function(){this._debouncer&&this._debouncer.stop(),this._debouncer=Polymer.Debounce(this._debouncer,this._notify),this._debouncer.context=this,Polymer.dom.addDebouncer(this._debouncer)},notify:function(){this._hasListeners()&&this._scheduleNotify()},_notify:function(){this._beforeCallListeners(),this._callListeners()},_beforeCallListeners:function(){this._updateContentElements()},_updateContentElements:function(){this._observeContentElements(this.domApi.childNodes)},_observeContentElements: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.has(this)||t.__observeNodesMap.set(this,this._observeContent(t)))},_observeContent:function(e){var t=this,o=Polymer.dom(e).observeNodes(function(){t._scheduleNotify()});return o._avoidChangeCalculation=!0,o},_unobserveContentElements:function(e){for(var t,o,i=0;i<e.length&&(t=e[i]);i++)this._isContent(t)&&(o=t.__observeNodesMap.get(this),o&&(Polymer.dom(t).unobserveNodes(o),t.__observeNodesMap.delete(this)))},_isContent:function(e){return"content"===e.localName},_callListeners:function(){for(var e,t=this._listeners,o=this._getEffectiveNodes(),i=0;i<t.length&&(e=t[i]);i++){var n=this._generateListenerInfo(e,o);(n||e._alwaysNotify)&&this._callListener(e,n)}},_getEffectiveNodes:function(){return this.domApi.getEffectiveChildNodes()},_generateListenerInfo:function(e,t){if(e._avoidChangeCalculation)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++)for(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.addedNodes.push(t[a]);return e._nodes=t,n.addedNodes.length||n.removedNodes.length?n:void 0},_callListener:function(e,t){return e.fn.call(this.node,t)},enableShadowAttributeTracking:function(){}},t.useShadow){var o=e.EffectiveNodesObserver.prototype._setup,i=e.EffectiveNodesObserver.prototype._cleanup;Polymer.Base.extend(e.EffectiveNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=this;this._mutationHandler=function(t){t&&t.length&&e._scheduleNotify()},this._observer=new MutationObserver(this._mutationHandler),this._boundFlush=function(){e._flush()},Polymer.dom.addStaticFlush(this._boundFlush),this._observer.observe(this.node,{childList:!0})}o.call(this)},_cleanup:function(){this._observer.disconnect(),this._observer=null,this._mutationHandler=null,Polymer.dom.removeStaticFlush(this._boundFlush),i.call(this)},_flush:function(){this._observer&&this._mutationHandler(this._observer.takeRecords())},enableShadowAttributeTracking:function(){if(this._observer){this._makeContentListenersAlwaysNotify(),this._observer.disconnect(),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&&Polymer.dom(t).observer.enableShadowAttributeTracking()}},_makeContentListenersAlwaysNotify:function(){for(var e,t=0;t<this._listeners.length;t++)e=this._listeners[t],e._alwaysNotify=e._isContentListener}})}}(),function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings;e.DistributedNodesObserver=function(t){e.EffectiveNodesObserver.call(this,t)},e.DistributedNodesObserver.prototype=Object.create(e.EffectiveNodesObserver.prototype),Polymer.Base.extend(e.DistributedNodesObserver.prototype,{_setup:function(){},_cleanup:function(){},_beforeCallListeners:function(){},_getEffectiveNodes:function(){return this.domApi.getDistributedNodes()}}),t.useShadow&&Polymer.Base.extend(e.DistributedNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=this.domApi.getOwnerRoot(),t=e&&e.host;if(t){var o=this;this._observer=Polymer.dom(t).observeNodes(function(){o._scheduleNotify()}),this._observer._isContentListener=!0,this._hasAttrSelect()&&Polymer.dom(t).observer.enableShadowAttributeTracking()}}},_hasAttrSelect:function(){var e=this.node.getAttribute("select");return e&&e.match(/[[.]+/)},_cleanup:function(){var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).unobserveNodes(this._observer),this._observer=null}})}(),function(){function e(e,t){t._distributedNodes.push(e);var o=e._destinationInsertionPoints;o?o.push(t):e._destinationInsertionPoints=[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"content"==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._insertionPoints.length;o++)t=e._insertionPoints[o],h.hasApi(t)&&Polymer.dom(t).notifyObserver()}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=Polymer.DomApi,u=Polymer.TreeApi;Polymer.Base._addFeature({_prepShady:function(){this._useContent=this._useContent||Boolean(this._template)},_setupShady:function(){this.shadyRoot=null,this.__domApi||(this.__domApi=null),this.__dom||(this.__dom=null),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(this)))},_createLocalRoot:function(){this.shadyRoot=this.root,this.shadyRoot._distributionClean=!1,this.shadyRoot._hasDistributed=!1,this.shadyRoot._isShadyRoot=!0,this.shadyRoot._dirtyRoots=[];var e=this.shadyRoot._insertionPoints=!this._notes||this._notes._hasContent?this.shadyRoot.querySelectorAll("content"):[];u.Logical.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=this},get domHost(){var e=Polymer.dom(this).getOwnerRoot();return e&&e.host},distributeContent:function(e){if(this.shadyRoot){this.shadyRoot._invalidInsertionPoints=this.shadyRoot._invalidInsertionPoints||e;var t=s(this);Polymer.dom(this)._lazyDistribute(t)}},_distributeContent:function(){this._useContent&&!this.shadyRoot._distributionClean&&(this.shadyRoot._invalidInsertionPoints&&(Polymer.dom(this)._updateInsertionPoints(this),this.shadyRoot._invalidInsertionPoints=!1),this._beginDistribute(),this._distributeDirtyRoots(),this._finishDistribute())},_beginDistribute:function(){this._useContent&&h.hasInsertionPoint(this.shadyRoot)&&(this._resetDistribution(),this._distributePool(this.shadyRoot,this._collectPool()));+},_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._distributionClean=!0,h.hasInsertionPoint(this.shadyRoot))this._composeTree(),d(this.shadyRoot);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._hasDistributed=!0}},elementMatches:function(e,t){return t=t||this,h.matchesSelector.call(t,e)},_resetDistribution:function(){for(var e=u.Logical.getChildNodes(this),o=0;o<e.length;o++){var i=e[o];i._destinationInsertionPoints&&(i._destinationInsertionPoints=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._distributeInsertionPoint(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]=void 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.addedCount}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:function(){},_elementRemove:function(){}});var c=window.CustomElements&&!CustomElements.useNative}(),Polymer.Settings.useShadow&&Polymer.Base._addFeature({_poolContent:function(){},_beginDistribute:function(){},distributeContent:function(){},_distributeContent:function(){},_finishDistribute:function(){},_createLocalRoot:function(){this.createShadowRoot(),this.shadowRoot.appendChild(this.root),this.root=this.shadowRoot}}),Polymer.Async={_currVal:0,_lastVal:0,_callbacks:[],_twiddleContent:0,_twiddle:document.createTextNode(""),run:function(e,t){return t>0?~setTimeout(e,t):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.push(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;this._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++,this._callbacks.splice(0,t),this._lastVal+=t,this._twiddle.textContent=this._twiddleContent++,e}}this._callbacks.splice(0,e),this._lastVal+=e}},new window.MutationObserver(function(){Polymer.Async._atEndOfMicrotask()}).observe(Polymer.Async._twiddle,{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.context=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.boundComplete,o),this.callback=e},stop:function(){this.finish&&(this.finish(),this.finish=null,this.callback=null)},complete:function(){if(this.finish){var e=this.callback;this.stop(),e.call(this.context)}}},e}(),Polymer.Base._addFeature({_setupDebouncers:function(){this._debouncers={}},debounce:function(e,t,o){return this._debouncers[e]=Polymer.Debounce.call(this,this._debouncers[e],t,o)},isDebouncerActive:function(e){var t=this._debouncers[e];return!(!t||!t.finish)},flushDebouncer:function(e){var t=this._debouncers[e];t&&t.complete()},cancelDebouncer:function(e){var t=this._debouncers[e];t&&t.stop()}}),Polymer.DomModule=document.createElement("dom-module"),Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepTemplate(),this._prepShady(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes(e.hostAttributes)},_initFeatures:function(){this._registerHost(),this._template&&(this._poolContent(),this._beginHosting(),this._stampTemplate(),this._endHosting()),this._marshalHostAttributes(),this._setupDebouncers(),this._marshalBehaviors(),this._tryReady()},_marshalBehavior:function(e){}});</script>@@ -2162,3 +18,4 @@ _marshalBehavior: function (b) {+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/polymer/polymer.html b/frontend/bower_components/polymer/polymer.htmlindex 1cbf2dcc8..9535b7e61 100644--- a/frontend/bower_components/polymer/polymer.html+++ b/frontend/bower_components/polymer/polymer.html@@ -1,5386 +1,10 @@-<!---@license-Copyright (c) 2015 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---><!---@license-Copyright (c) 2014 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---><link rel="import" href="polymer-mini.html">+<html><head><link rel="import" href="polymer-mini.html">-<script>Polymer.nar = [];-Polymer.Annotations = {-parseAnnotations: function (template) {-var list = [];-var content = template._content || template.content;-this._parseNodeAnnotations(content, list, template.hasAttribute('strip-whitespace'));-return list;-},-_parseNodeAnnotations: function (node, list, stripWhiteSpace) {-return node.nodeType === Node.TEXT_NODE ? this._parseTextNodeAnnotation(node, list) : this._parseElementAnnotations(node, list, stripWhiteSpace);-},-_bindingRegex: function () {-var IDENT = '(?:' + '[a-zA-Z_$][\\w.:$\\-*]*' + ')';-var NUMBER = '(?:' + '[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?' + ')';-var SQUOTE_STRING = '(?:' + '\'(?:[^\'\\\\]|\\\\.)*\'' + ')';-var DQUOTE_STRING = '(?:' + '"(?:[^"\\\\]|\\\\.)*"' + ')';-var STRING = '(?:' + SQUOTE_STRING + '|' + DQUOTE_STRING + ')';-var ARGUMENT = '(?:' + IDENT + '|' + NUMBER + '|' + STRING + '\\s*' + ')';-var ARGUMENTS = '(?:' + ARGUMENT + '(?:,\\s*' + ARGUMENT + ')*' + ')';-var ARGUMENT_LIST = '(?:' + '\\(\\s*' + '(?:' + ARGUMENTS + '?' + ')' + '\\)\\s*' + ')';-var BINDING = '(' + IDENT + '\\s*' + ARGUMENT_LIST + '?' + ')';-var OPEN_BRACKET = '(\\[\\[|{{)' + '\\s*';-var CLOSE_BRACKET = '(?:]]|}})';-var NEGATE = '(?:(!)\\s*)?';-var EXPRESSION = OPEN_BRACKET + NEGATE + BINDING + CLOSE_BRACKET;-return new RegExp(EXPRESSION, 'g');-}(),-_parseBindings: function (text) {-var re = this._bindingRegex;-var parts = [];-var lastIndex = 0;-var m;-while ((m = re.exec(text)) !== null) {-if (m.index > lastIndex) {-parts.push({ literal: text.slice(lastIndex, m.index) });-}-var mode = m[1][0];-var negate = Boolean(m[2]);-var value = m[3].trim();-var customEvent, notifyEvent, colon;-if (mode == '{' && (colon = value.indexOf('::')) > 0) {-notifyEvent = value.substring(colon + 2);-value = value.substring(0, colon);-customEvent = true;-}-parts.push({-compoundIndex: parts.length,-value: value,-mode: mode,-negate: negate,-event: notifyEvent,-customEvent: customEvent-});-lastIndex = re.lastIndex;-}-if (lastIndex && lastIndex < text.length) {-var literal = text.substring(lastIndex);-if (literal) {-parts.push({ literal: literal });-}-}-if (parts.length) {-return parts;-}-},-_literalFromParts: function (parts) {-var s = '';-for (var i = 0; i < parts.length; i++) {-var literal = parts[i].literal;-s += literal || '';-}-return s;-},-_parseTextNodeAnnotation: function (node, list) {-var parts = this._parseBindings(node.textContent);-if (parts) {-node.textContent = this._literalFromParts(parts) || ' ';-var annote = {-bindings: [{-kind: 'text',-name: 'textContent',-parts: parts,-isCompound: parts.length !== 1-}]-};-list.push(annote);-return annote;-}-},-_parseElementAnnotations: function (element, list, stripWhiteSpace) {-var annote = {-bindings: [],-events: []-};-if (element.localName === 'content') {-list._hasContent = true;-}-this._parseChildNodesAnnotations(element, annote, list, stripWhiteSpace);-if (element.attributes) {-this._parseNodeAttributeAnnotations(element, annote, list);-if (this.prepElement) {-this.prepElement(element);-}-}-if (annote.bindings.length || annote.events.length || annote.id) {-list.push(annote);-}-return annote;-},-_parseChildNodesAnnotations: function (root, annote, list, stripWhiteSpace) {-if (root.firstChild) {-var node = root.firstChild;-var i = 0;-while (node) {-var next = node.nextSibling;-if (node.localName === 'template' && !node.hasAttribute('preserve-content')) {-this._parseTemplate(node, i, list, annote);-}-if (node.localName == 'slot') {-node = this._replaceSlotWithContent(node);-}-if (node.nodeType === Node.TEXT_NODE) {-var n = next;-while (n && n.nodeType === Node.TEXT_NODE) {-node.textContent += n.textContent;-next = n.nextSibling;-root.removeChild(n);-n = next;-}-if (stripWhiteSpace && !node.textContent.trim()) {-root.removeChild(node);-i--;-}-}-if (node.parentNode) {-var childAnnotation = this._parseNodeAnnotations(node, list, stripWhiteSpace);-if (childAnnotation) {-childAnnotation.parent = annote;-childAnnotation.index = i;-}-}-node = next;-i++;-}-}-},-_replaceSlotWithContent: function (slot) {-var content = slot.ownerDocument.createElement('content');-while (slot.firstChild) {-content.appendChild(slot.firstChild);-}-var attrs = slot.attributes;-for (var i = 0; i < attrs.length; i++) {-var attr = attrs[i];-content.setAttribute(attr.name, attr.value);-}-var name = slot.getAttribute('name');-var select = name ? '[slot=\'' + name + '\']' : ':not([slot])';-content.setAttribute('select', select);-slot.parentNode.replaceChild(content, slot);-return content;-},-_parseTemplate: function (node, index, list, parent) {-var content = document.createDocumentFragment();-content._notes = this.parseAnnotations(node);-content.appendChild(node.content);-list.push({-bindings: Polymer.nar,-events: Polymer.nar,-templateContent: content,-parent: parent,-index: index-});-},-_parseNodeAttributeAnnotations: function (node, annotation) {-var attrs = Array.prototype.slice.call(node.attributes);-for (var i = attrs.length - 1, a; a = attrs[i]; i--) {-var n = a.name;-var v = a.value;-var b;-if (n.slice(0, 3) === 'on-') {-node.removeAttribute(n);-annotation.events.push({-name: n.slice(3),-value: v-});-} else if (b = this._parseNodeAttributeAnnotation(node, n, v)) {-annotation.bindings.push(b);-} else if (n === 'id') {-annotation.id = v;-}-}-},-_parseNodeAttributeAnnotation: function (node, name, value) {-var parts = this._parseBindings(value);-if (parts) {-var origName = name;-var kind = 'property';-if (name[name.length - 1] == '$') {-name = name.slice(0, -1);-kind = 'attribute';-}-var literal = this._literalFromParts(parts);-if (literal && kind == 'attribute') {-node.setAttribute(name, literal);-}-if (node.localName === 'input' && origName === 'value') {-node.setAttribute(origName, '');-}-node.removeAttribute(origName);-var propertyName = Polymer.CaseMap.dashToCamelCase(name);-if (kind === 'property') {-name = propertyName;-}-return {-kind: kind,-name: name,-propertyName: propertyName,-parts: parts,-literal: literal,-isCompound: parts.length !== 1-};-}-},-findAnnotatedNode: function (root, annote) {-var parent = annote.parent && Polymer.Annotations.findAnnotatedNode(root, annote.parent);-if (parent) {-for (var n = parent.firstChild, i = 0; n; n = n.nextSibling) {-if (annote.index === i++) {-return n;-}-}-} else {-return root;-}-}-};(function () {-function resolveCss(cssText, ownerDocument) {-return cssText.replace(CSS_URL_RX, function (m, pre, url, post) {-return pre + '\'' + resolve(url.replace(/["']/g, ''), ownerDocument) + '\'' + post;-});-}-function resolveAttrs(element, ownerDocument) {-for (var name in URL_ATTRS) {-var a$ = URL_ATTRS[name];-for (var i = 0, l = a$.length, a, at, v; i < l && (a = a$[i]); i++) {-if (name === '*' || element.localName === name) {-at = element.attributes[a];-v = at && at.value;-if (v && v.search(BINDING_RX) < 0) {-at.value = a === 'style' ? resolveCss(v, ownerDocument) : resolve(v, ownerDocument);-}-}-}-}-}-function resolve(url, ownerDocument) {-if (url && ABS_URL.test(url)) {-return url;-}-var resolver = getUrlResolver(ownerDocument);-resolver.href = url;-return resolver.href || url;-}-var tempDoc;-var tempDocBase;-function resolveUrl(url, baseUri) {-if (!tempDoc) {-tempDoc = document.implementation.createHTMLDocument('temp');-tempDocBase = tempDoc.createElement('base');-tempDoc.head.appendChild(tempDocBase);-}-tempDocBase.href = baseUri;-return resolve(url, tempDoc);-}-function getUrlResolver(ownerDocument) {-return ownerDocument.__urlResolver || (ownerDocument.__urlResolver = ownerDocument.createElement('a'));-}-var CSS_URL_RX = /(url\()([^)]*)(\))/g;-var URL_ATTRS = {-'*': [-'href',-'src',-'style',-'url'-],-form: ['action']-};-var ABS_URL = /(^\/)|(^#)|(^[\w-\d]*:)/;-var BINDING_RX = /\{\{|\[\[/;-Polymer.ResolveUrl = {-resolveCss: resolveCss,-resolveAttrs: resolveAttrs,-resolveUrl: resolveUrl-};-}());Polymer.Path = {-root: function (path) {-var dotIndex = path.indexOf('.');-if (dotIndex === -1) {-return path;-}-return path.slice(0, dotIndex);-},-isDeep: function (path) {-return path.indexOf('.') !== -1;-},-isAncestor: function (base, path) {-return base.indexOf(path + '.') === 0;-},-isDescendant: function (base, path) {-return path.indexOf(base + '.') === 0;-},-translate: function (base, newBase, path) {-return newBase + path.slice(base.length);-},-matches: function (base, wildcard, path) {-return base === path || this.isAncestor(base, path) || Boolean(wildcard) && this.isDescendant(base, path);-}-};Polymer.Base._addFeature({-_prepAnnotations: function () {-if (!this._template) {-this._notes = [];-} else {-var self = this;-Polymer.Annotations.prepElement = function (element) {-self._prepElement(element);-};-if (this._template._content && this._template._content._notes) {-this._notes = this._template._content._notes;-} else {-this._notes = Polymer.Annotations.parseAnnotations(this._template);-this._processAnnotations(this._notes);-}-Polymer.Annotations.prepElement = null;-}-},-_processAnnotations: function (notes) {-for (var i = 0; i < notes.length; i++) {-var note = notes[i];-for (var j = 0; j < note.bindings.length; j++) {-var b = note.bindings[j];-for (var k = 0; k < b.parts.length; k++) {-var p = b.parts[k];-if (!p.literal) {-var signature = this._parseMethod(p.value);-if (signature) {-p.signature = signature;-} else {-p.model = Polymer.Path.root(p.value);-}-}-}-}-if (note.templateContent) {-this._processAnnotations(note.templateContent._notes);-var pp = note.templateContent._parentProps = this._discoverTemplateParentProps(note.templateContent._notes);-var bindings = [];-for (var prop in pp) {-var name = '_parent_' + prop;-bindings.push({-index: note.index,-kind: 'property',-name: name,-propertyName: name,-parts: [{-mode: '{',-model: prop,-value: prop-}]-});-}-note.bindings = note.bindings.concat(bindings);-}-}-},-_discoverTemplateParentProps: function (notes) {-var pp = {};-for (var i = 0, n; i < notes.length && (n = notes[i]); i++) {-for (var j = 0, b$ = n.bindings, b; j < b$.length && (b = b$[j]); j++) {-for (var k = 0, p$ = b.parts, p; k < p$.length && (p = p$[k]); k++) {-if (p.signature) {-var args = p.signature.args;-for (var kk = 0; kk < args.length; kk++) {-var model = args[kk].model;-if (model) {-pp[model] = true;-}-}-if (p.signature.dynamicFn) {-pp[p.signature.method] = true;-}-} else {-if (p.model) {-pp[p.model] = true;-}-}-}-}-if (n.templateContent) {-var tpp = n.templateContent._parentProps;-Polymer.Base.mixin(pp, tpp);-}-}-return pp;-},-_prepElement: function (element) {-Polymer.ResolveUrl.resolveAttrs(element, this._template.ownerDocument);-},-_findAnnotatedNode: Polymer.Annotations.findAnnotatedNode,-_marshalAnnotationReferences: function () {-if (this._template) {-this._marshalIdNodes();-this._marshalAnnotatedNodes();-this._marshalAnnotatedListeners();-}-},-_configureAnnotationReferences: function () {-var notes = this._notes;-var nodes = this._nodes;-for (var i = 0; i < notes.length; i++) {-var note = notes[i];-var node = nodes[i];-this._configureTemplateContent(note, node);-this._configureCompoundBindings(note, node);-}-},-_configureTemplateContent: function (note, node) {-if (note.templateContent) {-node._content = note.templateContent;-}-},-_configureCompoundBindings: function (note, node) {-var bindings = note.bindings;-for (var i = 0; i < bindings.length; i++) {-var binding = bindings[i];-if (binding.isCompound) {-var storage = node.__compoundStorage__ || (node.__compoundStorage__ = {});-var parts = binding.parts;-var literals = new Array(parts.length);-for (var j = 0; j < parts.length; j++) {-literals[j] = parts[j].literal;-}-var name = binding.name;-storage[name] = literals;-if (binding.literal && binding.kind == 'property') {-if (node._configValue) {-node._configValue(name, binding.literal);-} else {-node[name] = binding.literal;-}-}-}-}-},-_marshalIdNodes: function () {-this.$ = {};-for (var i = 0, l = this._notes.length, a; i < l && (a = this._notes[i]); i++) {-if (a.id) {-this.$[a.id] = this._findAnnotatedNode(this.root, a);-}-}-},-_marshalAnnotatedNodes: function () {-if (this._notes && this._notes.length) {-var r = new Array(this._notes.length);-for (var i = 0; i < this._notes.length; i++) {-r[i] = this._findAnnotatedNode(this.root, this._notes[i]);-}-this._nodes = r;-}-},-_marshalAnnotatedListeners: function () {-for (var i = 0, l = this._notes.length, a; i < l && (a = this._notes[i]); i++) {-if (a.events && a.events.length) {-var node = this._findAnnotatedNode(this.root, a);-for (var j = 0, e$ = a.events, e; j < e$.length && (e = e$[j]); j++) {-this.listen(node, e.name, e.value);-}-}-}-}-});Polymer.Base._addFeature({-listeners: {},-_listenListeners: function (listeners) {-var node, name, eventName;-for (eventName in listeners) {-if (eventName.indexOf('.') < 0) {-node = this;-name = eventName;-} else {-name = eventName.split('.');-node = this.$[name[0]];-name = name[1];-}-this.listen(node, name, listeners[eventName]);-}-},-listen: function (node, eventName, methodName) {-var handler = this._recallEventHandler(this, eventName, node, methodName);-if (!handler) {-handler = this._createEventHandler(node, eventName, methodName);-}-if (handler._listening) {-return;-}-this._listen(node, eventName, handler);-handler._listening = true;-},-_boundListenerKey: function (eventName, methodName) {-return eventName + ':' + methodName;-},-_recordEventHandler: function (host, eventName, target, methodName, handler) {-var hbl = host.__boundListeners;-if (!hbl) {-hbl = host.__boundListeners = new WeakMap();-}-var bl = hbl.get(target);-if (!bl) {-bl = {};-hbl.set(target, bl);-}-var key = this._boundListenerKey(eventName, methodName);-bl[key] = handler;-},-_recallEventHandler: function (host, eventName, target, methodName) {-var hbl = host.__boundListeners;-if (!hbl) {-return;-}-var bl = hbl.get(target);-if (!bl) {-return;-}-var key = this._boundListenerKey(eventName, methodName);-return bl[key];-},-_createEventHandler: function (node, eventName, methodName) {-var host = this;-var handler = function (e) {-if (host[methodName]) {-host[methodName](e, e.detail);-} else {-host._warn(host._logf('_createEventHandler', 'listener method `' + methodName + '` not defined'));-}-};-handler._listening = false;-this._recordEventHandler(host, eventName, node, methodName, handler);-return handler;-},-unlisten: function (node, eventName, methodName) {-var handler = this._recallEventHandler(this, eventName, node, methodName);-if (handler) {-this._unlisten(node, eventName, handler);-handler._listening = false;-}-},-_listen: function (node, eventName, handler) {-node.addEventListener(eventName, handler);-},-_unlisten: function (node, eventName, handler) {-node.removeEventListener(eventName, handler);-}-});(function () {-'use strict';-var wrap = Polymer.DomApi.wrap;-var HAS_NATIVE_TA = typeof document.head.style.touchAction === 'string';-var GESTURE_KEY = '__polymerGestures';-var HANDLED_OBJ = '__polymerGesturesHandled';-var TOUCH_ACTION = '__polymerGesturesTouchAction';-var TAP_DISTANCE = 25;-var TRACK_DISTANCE = 5;-var TRACK_LENGTH = 2;-var MOUSE_TIMEOUT = 2500;-var MOUSE_EVENTS = [-'mousedown',-'mousemove',-'mouseup',-'click'-];-var MOUSE_WHICH_TO_BUTTONS = [-0,-1,-4,-2-];-var MOUSE_HAS_BUTTONS = function () {-try {-return new MouseEvent('test', { buttons: 1 }).buttons === 1;-} catch (e) {-return false;-}-}();-var IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);-var mouseCanceller = function (mouseEvent) {-var sc = mouseEvent.sourceCapabilities;-if (sc && !sc.firesTouchEvents) {-return;-}-mouseEvent[HANDLED_OBJ] = { skip: true };-if (mouseEvent.type === 'click') {-var path = Polymer.dom(mouseEvent).path;-for (var i = 0; i < path.length; i++) {-if (path[i] === POINTERSTATE.mouse.target) {-return;-}-}-mouseEvent.preventDefault();-mouseEvent.stopPropagation();-}-};-function setupTeardownMouseCanceller(setup) {-var events = IS_TOUCH_ONLY ? ['click'] : MOUSE_EVENTS;-for (var i = 0, en; i < events.length; i++) {-en = events[i];-if (setup) {-document.addEventListener(en, mouseCanceller, true);-} else {-document.removeEventListener(en, mouseCanceller, true);-}-}-}-function ignoreMouse() {-if (!POINTERSTATE.mouse.mouseIgnoreJob) {-setupTeardownMouseCanceller(true);-}-var unset = function () {-setupTeardownMouseCanceller();-POINTERSTATE.mouse.target = null;-POINTERSTATE.mouse.mouseIgnoreJob = null;-};-POINTERSTATE.mouse.mouseIgnoreJob = Polymer.Debounce(POINTERSTATE.mouse.mouseIgnoreJob, unset, MOUSE_TIMEOUT);-}-function hasLeftMouseButton(ev) {-var type = ev.type;-if (MOUSE_EVENTS.indexOf(type) === -1) {-return false;-}-if (type === 'mousemove') {-var buttons = ev.buttons === undefined ? 1 : ev.buttons;-if (ev instanceof window.MouseEvent && !MOUSE_HAS_BUTTONS) {-buttons = MOUSE_WHICH_TO_BUTTONS[ev.which] || 0;-}-return Boolean(buttons & 1);-} else {-var button = ev.button === undefined ? 0 : ev.button;-return button === 0;-}-}-function isSyntheticClick(ev) {-if (ev.type === 'click') {-if (ev.detail === 0) {-return true;-}-var t = Gestures.findOriginalTarget(ev);-var bcr = t.getBoundingClientRect();-var x = ev.pageX, y = ev.pageY;-return !(x >= bcr.left && x <= bcr.right && (y >= bcr.top && y <= bcr.bottom));-}-return false;-}-var POINTERSTATE = {-mouse: {-target: null,-mouseIgnoreJob: null-},-touch: {-x: 0,-y: 0,-id: -1,-scrollDecided: false-}-};-function firstTouchAction(ev) {-var path = Polymer.dom(ev).path;-var ta = 'auto';-for (var i = 0, n; i < path.length; i++) {-n = path[i];-if (n[TOUCH_ACTION]) {-ta = n[TOUCH_ACTION];-break;-}-}-return ta;-}-function trackDocument(stateObj, movefn, upfn) {-stateObj.movefn = movefn;-stateObj.upfn = upfn;-document.addEventListener('mousemove', movefn);-document.addEventListener('mouseup', upfn);-}-function untrackDocument(stateObj) {-document.removeEventListener('mousemove', stateObj.movefn);-document.removeEventListener('mouseup', stateObj.upfn);-stateObj.movefn = null;-stateObj.upfn = null;-}-var Gestures = {-gestures: {},-recognizers: [],-deepTargetFind: function (x, y) {-var node = document.elementFromPoint(x, y);-var next = node;-while (next && next.shadowRoot) {-next = next.shadowRoot.elementFromPoint(x, y);-if (next) {-node = next;-}-}-return node;-},-findOriginalTarget: function (ev) {-if (ev.path) {-return ev.path[0];-}-return ev.target;-},-handleNative: function (ev) {-var handled;-var type = ev.type;-var node = wrap(ev.currentTarget);-var gobj = node[GESTURE_KEY];-if (!gobj) {-return;-}-var gs = gobj[type];-if (!gs) {-return;-}-if (!ev[HANDLED_OBJ]) {-ev[HANDLED_OBJ] = {};-if (type.slice(0, 5) === 'touch') {-var t = ev.changedTouches[0];-if (type === 'touchstart') {-if (ev.touches.length === 1) {-POINTERSTATE.touch.id = t.identifier;-}-}-if (POINTERSTATE.touch.id !== t.identifier) {-return;-}-if (!HAS_NATIVE_TA) {-if (type === 'touchstart' || type === 'touchmove') {-Gestures.handleTouchAction(ev);-}-}-if (type === 'touchend') {-POINTERSTATE.mouse.target = Polymer.dom(ev).rootTarget;-ignoreMouse();-}-}-}-handled = ev[HANDLED_OBJ];-if (handled.skip) {-return;-}-var recognizers = Gestures.recognizers;-for (var i = 0, r; i < recognizers.length; i++) {-r = recognizers[i];-if (gs[r.name] && !handled[r.name]) {-if (r.flow && r.flow.start.indexOf(ev.type) > -1 && r.reset) {-r.reset();-}-}-}-for (i = 0, r; i < recognizers.length; i++) {-r = recognizers[i];-if (gs[r.name] && !handled[r.name]) {-handled[r.name] = true;-r[type](ev);-}-}-},-handleTouchAction: function (ev) {-var t = ev.changedTouches[0];-var type = ev.type;-if (type === 'touchstart') {-POINTERSTATE.touch.x = t.clientX;-POINTERSTATE.touch.y = t.clientY;-POINTERSTATE.touch.scrollDecided = false;-} else if (type === 'touchmove') {-if (POINTERSTATE.touch.scrollDecided) {-return;-}-POINTERSTATE.touch.scrollDecided = true;-var ta = firstTouchAction(ev);-var prevent = false;-var dx = Math.abs(POINTERSTATE.touch.x - t.clientX);-var dy = Math.abs(POINTERSTATE.touch.y - t.clientY);-if (!ev.cancelable) {-} else if (ta === 'none') {-prevent = true;-} else if (ta === 'pan-x') {-prevent = dy > dx;-} else if (ta === 'pan-y') {-prevent = dx > dy;-}-if (prevent) {-ev.preventDefault();-} else {-Gestures.prevent('track');-}-}-},-add: function (node, evType, handler) {-node = wrap(node);-var recognizer = this.gestures[evType];-var deps = recognizer.deps;-var name = recognizer.name;-var gobj = node[GESTURE_KEY];-if (!gobj) {-node[GESTURE_KEY] = gobj = {};-}-for (var i = 0, dep, gd; i < deps.length; i++) {-dep = deps[i];-if (IS_TOUCH_ONLY && MOUSE_EVENTS.indexOf(dep) > -1 && dep !== 'click') {-continue;-}-gd = gobj[dep];-if (!gd) {-gobj[dep] = gd = { _count: 0 };-}-if (gd._count === 0) {-node.addEventListener(dep, this.handleNative);-}-gd[name] = (gd[name] || 0) + 1;-gd._count = (gd._count || 0) + 1;-}-node.addEventListener(evType, handler);-if (recognizer.touchAction) {-this.setTouchAction(node, recognizer.touchAction);-}-},-remove: function (node, evType, handler) {-node = wrap(node);-var recognizer = this.gestures[evType];-var deps = recognizer.deps;-var name = recognizer.name;-var gobj = node[GESTURE_KEY];-if (gobj) {-for (var i = 0, dep, gd; i < deps.length; i++) {-dep = deps[i];-gd = gobj[dep];-if (gd && gd[name]) {-gd[name] = (gd[name] || 1) - 1;-gd._count = (gd._count || 1) - 1;-if (gd._count === 0) {-node.removeEventListener(dep, this.handleNative);-}-}-}-}-node.removeEventListener(evType, handler);-},-register: function (recog) {-this.recognizers.push(recog);-for (var i = 0; i < recog.emits.length; i++) {-this.gestures[recog.emits[i]] = recog;-}-},-findRecognizerByEvent: function (evName) {-for (var i = 0, r; i < this.recognizers.length; i++) {-r = this.recognizers[i];-for (var j = 0, n; j < r.emits.length; j++) {-n = r.emits[j];-if (n === evName) {-return r;-}-}-}-return null;-},-setTouchAction: function (node, value) {-if (HAS_NATIVE_TA) {-node.style.touchAction = value;-}-node[TOUCH_ACTION] = value;-},-fire: function (target, type, detail) {-var ev = Polymer.Base.fire(type, detail, {-node: target,-bubbles: true,-cancelable: true-});-if (ev.defaultPrevented) {-var preventer = detail.preventer || detail.sourceEvent;-if (preventer && preventer.preventDefault) {-preventer.preventDefault();-}-}-},-prevent: function (evName) {-var recognizer = this.findRecognizerByEvent(evName);-if (recognizer.info) {-recognizer.info.prevent = true;-}-},-resetMouseCanceller: function () {-if (POINTERSTATE.mouse.mouseIgnoreJob) {-POINTERSTATE.mouse.mouseIgnoreJob.complete();-}-}-};-Gestures.register({-name: 'downup',-deps: [-'mousedown',-'touchstart',-'touchend'-],-flow: {-start: [-'mousedown',-'touchstart'-],-end: [-'mouseup',-'touchend'-]-},-emits: [-'down',-'up'-],-info: {-movefn: null,-upfn: null-},-reset: function () {-untrackDocument(this.info);-},-mousedown: function (e) {-if (!hasLeftMouseButton(e)) {-return;-}-var t = Gestures.findOriginalTarget(e);-var self = this;-var movefn = function movefn(e) {-if (!hasLeftMouseButton(e)) {-self.fire('up', t, e);-untrackDocument(self.info);-}-};-var upfn = function upfn(e) {-if (hasLeftMouseButton(e)) {-self.fire('up', t, e);-}-untrackDocument(self.info);-};-trackDocument(this.info, movefn, upfn);-this.fire('down', t, e);-},-touchstart: function (e) {-this.fire('down', Gestures.findOriginalTarget(e), e.changedTouches[0], e);-},-touchend: function (e) {-this.fire('up', Gestures.findOriginalTarget(e), e.changedTouches[0], e);-},-fire: function (type, target, event, preventer) {-Gestures.fire(target, type, {-x: event.clientX,-y: event.clientY,-sourceEvent: event,-preventer: preventer,-prevent: function (e) {-return Gestures.prevent(e);-}-});-}-});-Gestures.register({-name: 'track',-touchAction: 'none',-deps: [-'mousedown',-'touchstart',-'touchmove',-'touchend'-],-flow: {-start: [-'mousedown',-'touchstart'-],-end: [-'mouseup',-'touchend'-]-},-emits: ['track'],-info: {-x: 0,-y: 0,-state: 'start',-started: false,-moves: [],-addMove: function (move) {-if (this.moves.length > TRACK_LENGTH) {-this.moves.shift();-}-this.moves.push(move);-},-movefn: null,-upfn: null,-prevent: false-},-reset: function () {-this.info.state = 'start';-this.info.started = false;-this.info.moves = [];-this.info.x = 0;-this.info.y = 0;-this.info.prevent = false;-untrackDocument(this.info);-},-hasMovedEnough: function (x, y) {-if (this.info.prevent) {-return false;-}-if (this.info.started) {-return true;-}-var dx = Math.abs(this.info.x - x);-var dy = Math.abs(this.info.y - y);-return dx >= TRACK_DISTANCE || dy >= TRACK_DISTANCE;-},-mousedown: function (e) {-if (!hasLeftMouseButton(e)) {-return;-}-var t = Gestures.findOriginalTarget(e);-var self = this;-var movefn = function movefn(e) {-var x = e.clientX, y = e.clientY;-if (self.hasMovedEnough(x, y)) {-self.info.state = self.info.started ? e.type === 'mouseup' ? 'end' : 'track' : 'start';-if (self.info.state === 'start') {-Gestures.prevent('tap');-}-self.info.addMove({-x: x,-y: y-});-if (!hasLeftMouseButton(e)) {-self.info.state = 'end';-untrackDocument(self.info);-}-self.fire(t, e);-self.info.started = true;-}-};-var upfn = function upfn(e) {-if (self.info.started) {-movefn(e);-}-untrackDocument(self.info);-};-trackDocument(this.info, movefn, upfn);-this.info.x = e.clientX;-this.info.y = e.clientY;-},-touchstart: function (e) {-var ct = e.changedTouches[0];-this.info.x = ct.clientX;-this.info.y = ct.clientY;-},-touchmove: function (e) {-var t = Gestures.findOriginalTarget(e);-var ct = e.changedTouches[0];-var x = ct.clientX, y = ct.clientY;-if (this.hasMovedEnough(x, y)) {-if (this.info.state === 'start') {-Gestures.prevent('tap');-}-this.info.addMove({-x: x,-y: y-});-this.fire(t, ct);-this.info.state = 'track';-this.info.started = true;-}-},-touchend: function (e) {-var t = Gestures.findOriginalTarget(e);-var ct = e.changedTouches[0];-if (this.info.started) {-this.info.state = 'end';-this.info.addMove({-x: ct.clientX,-y: ct.clientY-});-this.fire(t, ct, e);-}-},-fire: function (target, touch, preventer) {-var secondlast = this.info.moves[this.info.moves.length - 2];-var lastmove = this.info.moves[this.info.moves.length - 1];-var dx = lastmove.x - this.info.x;-var dy = lastmove.y - this.info.y;-var ddx, ddy = 0;-if (secondlast) {-ddx = lastmove.x - secondlast.x;-ddy = lastmove.y - secondlast.y;-}-return Gestures.fire(target, 'track', {-state: this.info.state,-x: touch.clientX,-y: touch.clientY,-dx: dx,-dy: dy,-ddx: ddx,-ddy: ddy,-sourceEvent: touch,-preventer: preventer,-hover: function () {-return Gestures.deepTargetFind(touch.clientX, touch.clientY);-}-});-}-});-Gestures.register({-name: 'tap',-deps: [-'mousedown',-'click',-'touchstart',-'touchend'-],-flow: {-start: [-'mousedown',-'touchstart'-],-end: [-'click',-'touchend'-]-},-emits: ['tap'],-info: {-x: NaN,-y: NaN,-prevent: false-},-reset: function () {-this.info.x = NaN;-this.info.y = NaN;-this.info.prevent = false;-},-save: function (e) {-this.info.x = e.clientX;-this.info.y = e.clientY;-},-mousedown: function (e) {-if (hasLeftMouseButton(e)) {-this.save(e);-}-},-click: function (e) {-if (hasLeftMouseButton(e)) {-this.forward(e);-}-},-touchstart: function (e) {-this.save(e.changedTouches[0], e);-},-touchend: function (e) {-this.forward(e.changedTouches[0], e);-},-forward: function (e, preventer) {-var dx = Math.abs(e.clientX - this.info.x);-var dy = Math.abs(e.clientY - this.info.y);-var t = Gestures.findOriginalTarget(e);-if (isNaN(dx) || isNaN(dy) || dx <= TAP_DISTANCE && dy <= TAP_DISTANCE || isSyntheticClick(e)) {-if (!this.info.prevent) {-Gestures.fire(t, 'tap', {-x: e.clientX,-y: e.clientY,-sourceEvent: e,-preventer: preventer-});-}-}-}-});-var DIRECTION_MAP = {-x: 'pan-x',-y: 'pan-y',-none: 'none',-all: 'auto'-};-Polymer.Base._addFeature({-_setupGestures: function () {-this.__polymerGestures = null;-},-_listen: function (node, eventName, handler) {-if (Gestures.gestures[eventName]) {-Gestures.add(node, eventName, handler);-} else {-node.addEventListener(eventName, handler);-}-},-_unlisten: function (node, eventName, handler) {-if (Gestures.gestures[eventName]) {-Gestures.remove(node, eventName, handler);-} else {-node.removeEventListener(eventName, handler);-}-},-setScrollDirection: function (direction, node) {-node = node || this;-Gestures.setTouchAction(node, DIRECTION_MAP[direction] || 'auto');-}-});-Polymer.Gestures = Gestures;-}());(function () {-'use strict';-Polymer.Base._addFeature({-$$: function (slctr) {-return Polymer.dom(this.root).querySelector(slctr);-},-toggleClass: function (name, bool, node) {-node = node || this;-if (arguments.length == 1) {-bool = !node.classList.contains(name);-}-if (bool) {-Polymer.dom(node).classList.add(name);-} else {-Polymer.dom(node).classList.remove(name);-}-},-toggleAttribute: function (name, bool, node) {-node = node || this;-if (arguments.length == 1) {-bool = !node.hasAttribute(name);-}-if (bool) {-Polymer.dom(node).setAttribute(name, '');-} else {-Polymer.dom(node).removeAttribute(name);-}-},-classFollows: function (name, toElement, fromElement) {-if (fromElement) {-Polymer.dom(fromElement).classList.remove(name);-}-if (toElement) {-Polymer.dom(toElement).classList.add(name);-}-},-attributeFollows: function (name, toElement, fromElement) {-if (fromElement) {-Polymer.dom(fromElement).removeAttribute(name);-}-if (toElement) {-Polymer.dom(toElement).setAttribute(name, '');-}-},-getEffectiveChildNodes: function () {-return Polymer.dom(this).getEffectiveChildNodes();-},-getEffectiveChildren: function () {-var list = Polymer.dom(this).getEffectiveChildNodes();-return list.filter(function (n) {-return n.nodeType === Node.ELEMENT_NODE;-});-},-getEffectiveTextContent: function () {-var cn = this.getEffectiveChildNodes();-var tc = [];-for (var i = 0, c; c = cn[i]; i++) {-if (c.nodeType !== Node.COMMENT_NODE) {-tc.push(Polymer.dom(c).textContent);-}-}-return tc.join('');-},-queryEffectiveChildren: function (slctr) {-var e$ = Polymer.dom(this).queryDistributedElements(slctr);-return e$ && e$[0];-},-queryAllEffectiveChildren: function (slctr) {-return Polymer.dom(this).queryDistributedElements(slctr);-},-getContentChildNodes: function (slctr) {-var content = Polymer.dom(this.root).querySelector(slctr || 'content');-return content ? Polymer.dom(content).getDistributedNodes() : [];-},-getContentChildren: function (slctr) {-return this.getContentChildNodes(slctr).filter(function (n) {-return n.nodeType === Node.ELEMENT_NODE;-});-},-fire: function (type, detail, options) {-options = options || Polymer.nob;-var node = options.node || this;-detail = detail === null || detail === undefined ? {} : detail;-var bubbles = options.bubbles === undefined ? true : options.bubbles;-var cancelable = Boolean(options.cancelable);-var useCache = options._useCache;-var event = this._getEvent(type, bubbles, cancelable, useCache);-event.detail = detail;-if (useCache) {-this.__eventCache[type] = null;-}-node.dispatchEvent(event);-if (useCache) {-this.__eventCache[type] = event;-}-return event;-},-__eventCache: {},-_getEvent: function (type, bubbles, cancelable, useCache) {-var event = useCache && this.__eventCache[type];-if (!event || (event.bubbles != bubbles || event.cancelable != cancelable)) {-event = new Event(type, {-bubbles: Boolean(bubbles),-cancelable: cancelable-});-}-return event;-},-async: function (callback, waitTime) {-var self = this;-return Polymer.Async.run(function () {-callback.call(self);-}, waitTime);-},-cancelAsync: function (handle) {-Polymer.Async.cancel(handle);-},-arrayDelete: function (path, item) {-var index;-if (Array.isArray(path)) {-index = path.indexOf(item);-if (index >= 0) {-return path.splice(index, 1);-}-} else {-var arr = this._get(path);-index = arr.indexOf(item);-if (index >= 0) {-return this.splice(path, index, 1);-}-}-},-transform: function (transform, node) {-node = node || this;-node.style.webkitTransform = transform;-node.style.transform = transform;-},-translate3d: function (x, y, z, node) {-node = node || this;-this.transform('translate3d(' + x + ',' + y + ',' + z + ')', node);-},-importHref: function (href, onload, onerror, optAsync) {-var link = document.createElement('link');-link.rel = 'import';-link.href = href;-var list = Polymer.Base.importHref.imported = Polymer.Base.importHref.imported || {};-var cached = list[link.href];-var imprt = cached || link;-var self = this;-if (onload) {-var loadListener = function (e) {-e.target.__firedLoad = true;-e.target.removeEventListener('load', loadListener);-return onload.call(self, e);-};-imprt.addEventListener('load', loadListener);-}-if (onerror) {-var errorListener = function (e) {-e.target.__firedError = true;-e.target.removeEventListener('error', errorListener);-return onerror.call(self, e);-};-imprt.addEventListener('error', errorListener);-}-if (cached) {-if (cached.__firedLoad) {-cached.dispatchEvent(new Event('load'));-}-if (cached.__firedError) {-cached.dispatchEvent(new Event('error'));-}-} else {-list[link.href] = link;-optAsync = Boolean(optAsync);-if (optAsync) {-link.setAttribute('async', '');-}-document.head.appendChild(link);-}-return imprt;-},-create: function (tag, props) {-var elt = document.createElement(tag);-if (props) {-for (var n in props) {-elt[n] = props[n];-}-}-return elt;-},-isLightDescendant: function (node) {-return this !== node && this.contains(node) && Polymer.dom(this).getOwnerRoot() === Polymer.dom(node).getOwnerRoot();-},-isLocalDescendant: function (node) {-return this.root === Polymer.dom(node).getOwnerRoot();-}-});-if (!Polymer.Settings.useNativeCustomElements) {-var importHref = Polymer.Base.importHref;-Polymer.Base.importHref = function (href, onload, onerror, optAsync) {-CustomElements.ready = false;-var loadFn = function (e) {-CustomElements.upgradeDocumentTree(document);-CustomElements.ready = true;-if (onload) {-return onload.call(this, e);-}-};-return importHref.call(this, href, loadFn, onerror, optAsync);-};-}-}());Polymer.Bind = {-prepareModel: function (model) {-Polymer.Base.mixin(model, this._modelApi);-},-_modelApi: {-_notifyChange: function (source, event, value) {-value = value === undefined ? this[source] : value;-event = event || Polymer.CaseMap.camelToDashCase(source) + '-changed';-this.fire(event, { value: value }, {-bubbles: false,-cancelable: false,-_useCache: true-});-},-_propertySetter: function (property, value, effects, fromAbove) {-var old = this.__data__[property];-if (old !== value && (old === old || value === value)) {-this.__data__[property] = value;-if (typeof value == 'object') {-this._clearPath(property);-}-if (this._propertyChanged) {-this._propertyChanged(property, value, old);-}-if (effects) {-this._effectEffects(property, value, effects, old, fromAbove);-}-}-return old;-},-__setProperty: function (property, value, quiet, node) {-node = node || this;-var effects = node._propertyEffects && node._propertyEffects[property];-if (effects) {-node._propertySetter(property, value, effects, quiet);-} else if (node[property] !== value) {-node[property] = value;-}-},-_effectEffects: function (property, value, effects, old, fromAbove) {-for (var i = 0, l = effects.length, fx; i < l && (fx = effects[i]); i++) {-fx.fn.call(this, property, this[property], fx.effect, old, fromAbove);-}-},-_clearPath: function (path) {-for (var prop in this.__data__) {-if (Polymer.Path.isDescendant(path, prop)) {-this.__data__[prop] = undefined;-}-}-}-},-ensurePropertyEffects: function (model, property) {-if (!model._propertyEffects) {-model._propertyEffects = {};-}-var fx = model._propertyEffects[property];-if (!fx) {-fx = model._propertyEffects[property] = [];-}-return fx;-},-addPropertyEffect: function (model, property, kind, effect) {-var fx = this.ensurePropertyEffects(model, property);-var propEffect = {-kind: kind,-effect: effect,-fn: Polymer.Bind['_' + kind + 'Effect']-};-fx.push(propEffect);-return propEffect;-},-createBindings: function (model) {-var fx$ = model._propertyEffects;-if (fx$) {-for (var n in fx$) {-var fx = fx$[n];-fx.sort(this._sortPropertyEffects);-this._createAccessors(model, n, fx);-}-}-},-_sortPropertyEffects: function () {-var EFFECT_ORDER = {-'compute': 0,-'annotation': 1,-'annotatedComputation': 2,-'reflect': 3,-'notify': 4,-'observer': 5,-'complexObserver': 6,-'function': 7-};-return function (a, b) {-return EFFECT_ORDER[a.kind] - EFFECT_ORDER[b.kind];-};-}(),-_createAccessors: function (model, property, effects) {-var defun = {-get: function () {-return this.__data__[property];-}-};-var setter = function (value) {-this._propertySetter(property, value, effects);-};-var info = model.getPropertyInfo && model.getPropertyInfo(property);-if (info && info.readOnly) {-if (!info.computed) {-model['_set' + this.upper(property)] = setter;-}-} else {-defun.set = setter;-}-Object.defineProperty(model, property, defun);-},-upper: function (name) {-return name[0].toUpperCase() + name.substring(1);-},-_addAnnotatedListener: function (model, index, property, path, event, negated) {-if (!model._bindListeners) {-model._bindListeners = [];-}-var fn = this._notedListenerFactory(property, path, Polymer.Path.isDeep(path), negated);-var eventName = event || Polymer.CaseMap.camelToDashCase(property) + '-changed';-model._bindListeners.push({-index: index,-property: property,-path: path,-changedFn: fn,-event: eventName-});-},-_isEventBogus: function (e, target) {-return e.path && e.path[0] !== target;-},-_notedListenerFactory: function (property, path, isStructured, negated) {-return function (target, value, targetPath) {-if (targetPath) {-var newPath = Polymer.Path.translate(property, path, targetPath);-this._notifyPath(newPath, value);-} else {-value = target[property];-if (negated) {-value = !value;-}-if (!isStructured) {-this[path] = value;-} else {-if (this.__data__[path] != value) {-this.set(path, value);-}-}-}-};-},-prepareInstance: function (inst) {-inst.__data__ = Object.create(null);-},-setupBindListeners: function (inst) {-var b$ = inst._bindListeners;-for (var i = 0, l = b$.length, info; i < l && (info = b$[i]); i++) {-var node = inst._nodes[info.index];-this._addNotifyListener(node, inst, info.event, info.changedFn);-}-},-_addNotifyListener: function (element, context, event, changedFn) {-element.addEventListener(event, function (e) {-return context._notifyListener(changedFn, e);-});-}-};Polymer.Base.extend(Polymer.Bind, {-_shouldAddListener: function (effect) {-return effect.name && effect.kind != 'attribute' && effect.kind != 'text' && !effect.isCompound && effect.parts[0].mode === '{';-},-_annotationEffect: function (source, value, effect) {-if (source != effect.value) {-value = this._get(effect.value);-this.__data__[effect.value] = value;-}-this._applyEffectValue(effect, value);-},-_reflectEffect: function (source, value, effect) {-this.reflectPropertyToAttribute(source, effect.attribute, value);-},-_notifyEffect: function (source, value, effect, old, fromAbove) {-if (!fromAbove) {-this._notifyChange(source, effect.event, value);-}-},-_functionEffect: function (source, value, fn, old, fromAbove) {-fn.call(this, source, value, old, fromAbove);-},-_observerEffect: function (source, value, effect, old) {-var fn = this[effect.method];-if (fn) {-fn.call(this, value, old);-} else {-this._warn(this._logf('_observerEffect', 'observer method `' + effect.method + '` not defined'));-}-},-_complexObserverEffect: function (source, value, effect) {-var fn = this[effect.method];-if (fn) {-var args = Polymer.Bind._marshalArgs(this.__data__, effect, source, value);-if (args) {-fn.apply(this, args);-}-} else if (effect.dynamicFn) {-} else {-this._warn(this._logf('_complexObserverEffect', 'observer method `' + effect.method + '` not defined'));-}-},-_computeEffect: function (source, value, effect) {-var fn = this[effect.method];-if (fn) {-var args = Polymer.Bind._marshalArgs(this.__data__, effect, source, value);-if (args) {-var computedvalue = fn.apply(this, args);-this.__setProperty(effect.name, computedvalue);-}-} else if (effect.dynamicFn) {-} else {-this._warn(this._logf('_computeEffect', 'compute method `' + effect.method + '` not defined'));-}-},-_annotatedComputationEffect: function (source, value, effect) {-var computedHost = this._rootDataHost || this;-var fn = computedHost[effect.method];-if (fn) {-var args = Polymer.Bind._marshalArgs(this.__data__, effect, source, value);-if (args) {-var computedvalue = fn.apply(computedHost, args);-this._applyEffectValue(effect, computedvalue);-}-} else if (effect.dynamicFn) {-} else {-computedHost._warn(computedHost._logf('_annotatedComputationEffect', 'compute method `' + effect.method + '` not defined'));-}-},-_marshalArgs: function (model, effect, path, value) {-var values = [];-var args = effect.args;-var bailoutEarly = args.length > 1 || effect.dynamicFn;-for (var i = 0, l = args.length; i < l; i++) {-var arg = args[i];-var name = arg.name;-var v;-if (arg.literal) {-v = arg.value;-} else if (path === name) {-v = value;-} else {-v = model[name];-if (v === undefined && arg.structured) {-v = Polymer.Base._get(name, model);-}-}-if (bailoutEarly && v === undefined) {-return;-}-if (arg.wildcard) {-var matches = Polymer.Path.isAncestor(path, name);-values[i] = {-path: matches ? path : name,-value: matches ? value : v,-base: v-};-} else {-values[i] = v;-}-}-return values;-}-});Polymer.Base._addFeature({-_addPropertyEffect: function (property, kind, effect) {-var prop = Polymer.Bind.addPropertyEffect(this, property, kind, effect);-prop.pathFn = this['_' + prop.kind + 'PathEffect'];-},-_prepEffects: function () {-Polymer.Bind.prepareModel(this);-this._addAnnotationEffects(this._notes);-},-_prepBindings: function () {-Polymer.Bind.createBindings(this);-},-_addPropertyEffects: function (properties) {-if (properties) {-for (var p in properties) {-var prop = properties[p];-if (prop.observer) {-this._addObserverEffect(p, prop.observer);-}-if (prop.computed) {-prop.readOnly = true;-this._addComputedEffect(p, prop.computed);-}-if (prop.notify) {-this._addPropertyEffect(p, 'notify', { event: Polymer.CaseMap.camelToDashCase(p) + '-changed' });-}-if (prop.reflectToAttribute) {-var attr = Polymer.CaseMap.camelToDashCase(p);-if (attr[0] === '-') {-this._warn(this._logf('_addPropertyEffects', 'Property ' + p + ' cannot be reflected to attribute ' + attr + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'));-} else {-this._addPropertyEffect(p, 'reflect', { attribute: attr });-}-}-if (prop.readOnly) {-Polymer.Bind.ensurePropertyEffects(this, p);-}-}-}-},-_addComputedEffect: function (name, expression) {-var sig = this._parseMethod(expression);-var dynamicFn = sig.dynamicFn;-for (var i = 0, arg; i < sig.args.length && (arg = sig.args[i]); i++) {-this._addPropertyEffect(arg.model, 'compute', {-method: sig.method,-args: sig.args,-trigger: arg,-name: name,-dynamicFn: dynamicFn-});-}-if (dynamicFn) {-this._addPropertyEffect(sig.method, 'compute', {-method: sig.method,-args: sig.args,-trigger: null,-name: name,-dynamicFn: dynamicFn-});-}-},-_addObserverEffect: function (property, observer) {-this._addPropertyEffect(property, 'observer', {-method: observer,-property: property-});-},-_addComplexObserverEffects: function (observers) {-if (observers) {-for (var i = 0, o; i < observers.length && (o = observers[i]); i++) {-this._addComplexObserverEffect(o);-}-}-},-_addComplexObserverEffect: function (observer) {-var sig = this._parseMethod(observer);-if (!sig) {-throw new Error('Malformed observer expression \'' + observer + '\'');-}-var dynamicFn = sig.dynamicFn;-for (var i = 0, arg; i < sig.args.length && (arg = sig.args[i]); i++) {-this._addPropertyEffect(arg.model, 'complexObserver', {-method: sig.method,-args: sig.args,-trigger: arg,-dynamicFn: dynamicFn-});-}-if (dynamicFn) {-this._addPropertyEffect(sig.method, 'complexObserver', {-method: sig.method,-args: sig.args,-trigger: null,-dynamicFn: dynamicFn-});-}-},-_addAnnotationEffects: function (notes) {-for (var i = 0, note; i < notes.length && (note = notes[i]); i++) {-var b$ = note.bindings;-for (var j = 0, binding; j < b$.length && (binding = b$[j]); j++) {-this._addAnnotationEffect(binding, i);-}-}-},-_addAnnotationEffect: function (note, index) {-if (Polymer.Bind._shouldAddListener(note)) {-Polymer.Bind._addAnnotatedListener(this, index, note.name, note.parts[0].value, note.parts[0].event, note.parts[0].negate);-}-for (var i = 0; i < note.parts.length; i++) {-var part = note.parts[i];-if (part.signature) {-this._addAnnotatedComputationEffect(note, part, index);-} else if (!part.literal) {-if (note.kind === 'attribute' && note.name[0] === '-') {-this._warn(this._logf('_addAnnotationEffect', 'Cannot set attribute ' + note.name + ' because "-" is not a valid attribute starting character'));-} else {-this._addPropertyEffect(part.model, 'annotation', {-kind: note.kind,-index: index,-name: note.name,-propertyName: note.propertyName,-value: part.value,-isCompound: note.isCompound,-compoundIndex: part.compoundIndex,-event: part.event,-customEvent: part.customEvent,-negate: part.negate-});-}-}-}-},-_addAnnotatedComputationEffect: function (note, part, index) {-var sig = part.signature;-if (sig.static) {-this.__addAnnotatedComputationEffect('__static__', index, note, part, null);-} else {-for (var i = 0, arg; i < sig.args.length && (arg = sig.args[i]); i++) {-if (!arg.literal) {-this.__addAnnotatedComputationEffect(arg.model, index, note, part, arg);-}-}-if (sig.dynamicFn) {-this.__addAnnotatedComputationEffect(sig.method, index, note, part, null);-}-}-},-__addAnnotatedComputationEffect: function (property, index, note, part, trigger) {-this._addPropertyEffect(property, 'annotatedComputation', {-index: index,-isCompound: note.isCompound,-compoundIndex: part.compoundIndex,-kind: note.kind,-name: note.name,-negate: part.negate,-method: part.signature.method,-args: part.signature.args,-trigger: trigger,-dynamicFn: part.signature.dynamicFn-});-},-_parseMethod: function (expression) {-var m = expression.match(/([^\s]+?)\(([\s\S]*)\)/);-if (m) {-var sig = {-method: m[1],-static: true-};-if (this.getPropertyInfo(sig.method) !== Polymer.nob) {-sig.static = false;-sig.dynamicFn = true;-}-if (m[2].trim()) {-var args = m[2].replace(/\\,/g, ',').split(',');-return this._parseArgs(args, sig);-} else {-sig.args = Polymer.nar;-return sig;-}-}-},-_parseArgs: function (argList, sig) {-sig.args = argList.map(function (rawArg) {-var arg = this._parseArg(rawArg);-if (!arg.literal) {-sig.static = false;-}-return arg;-}, this);-return sig;-},-_parseArg: function (rawArg) {-var arg = rawArg.trim().replace(/,/g, ',').replace(/\\(.)/g, '$1');-var a = { name: arg };-var fc = arg[0];-if (fc === '-') {-fc = arg[1];-}-if (fc >= '0' && fc <= '9') {-fc = '#';-}-switch (fc) {-case '\'':-case '"':-a.value = arg.slice(1, -1);-a.literal = true;-break;-case '#':-a.value = Number(arg);-a.literal = true;-break;-}-if (!a.literal) {-a.model = Polymer.Path.root(arg);-a.structured = Polymer.Path.isDeep(arg);-if (a.structured) {-a.wildcard = arg.slice(-2) == '.*';-if (a.wildcard) {-a.name = arg.slice(0, -2);-}-}-}-return a;-},-_marshalInstanceEffects: function () {-Polymer.Bind.prepareInstance(this);-if (this._bindListeners) {-Polymer.Bind.setupBindListeners(this);-}-},-_applyEffectValue: function (info, value) {-var node = this._nodes[info.index];-var property = info.name;-value = this._computeFinalAnnotationValue(node, property, value, info);-if (info.kind == 'attribute') {-this.serializeValueToAttribute(value, property, node);-} else {-var pinfo = node._propertyInfo && node._propertyInfo[property];-if (pinfo && pinfo.readOnly) {-return;-}-this.__setProperty(property, value, false, node);-}-},-_computeFinalAnnotationValue: function (node, property, value, info) {-if (info.negate) {-value = !value;-}-if (info.isCompound) {-var storage = node.__compoundStorage__[property];-storage[info.compoundIndex] = value;-value = storage.join('');-}-if (info.kind !== 'attribute') {-if (property === 'className') {-value = this._scopeElementClass(node, value);-}-if (property === 'textContent' || node.localName == 'input' && property == 'value') {-value = value == undefined ? '' : value;-}-}-return value;-},-_executeStaticEffects: function () {-if (this._propertyEffects && this._propertyEffects.__static__) {-this._effectEffects('__static__', null, this._propertyEffects.__static__);-}-}-});(function () {-var usePolyfillProto = Polymer.Settings.usePolyfillProto;-Polymer.Base._addFeature({-_setupConfigure: function (initialConfig) {-this._config = {};-this._handlers = [];-this._aboveConfig = null;-if (initialConfig) {-for (var i in initialConfig) {-if (initialConfig[i] !== undefined) {-this._config[i] = initialConfig[i];-}-}-}-},-_marshalAttributes: function () {-this._takeAttributesToModel(this._config);-},-_attributeChangedImpl: function (name) {-var model = this._clientsReadied ? this : this._config;-this._setAttributeToProperty(model, name);-},-_configValue: function (name, value) {-var info = this._propertyInfo[name];-if (!info || !info.readOnly) {-this._config[name] = value;-}-},-_beforeClientsReady: function () {-this._configure();-},-_configure: function () {-this._configureAnnotationReferences();-this._configureInstanceProperties();-this._aboveConfig = this.mixin({}, this._config);-var config = {};-for (var i = 0; i < this.behaviors.length; i++) {-this._configureProperties(this.behaviors[i].properties, config);-}-this._configureProperties(this.properties, config);-this.mixin(config, this._aboveConfig);-this._config = config;-if (this._clients && this._clients.length) {-this._distributeConfig(this._config);-}-},-_configureInstanceProperties: function () {-for (var i in this._propertyEffects) {-if (!usePolyfillProto && this.hasOwnProperty(i)) {-this._configValue(i, this[i]);-delete this[i];-}-}-},-_configureProperties: function (properties, config) {-for (var i in properties) {-var c = properties[i];-if (c.value !== undefined) {-var value = c.value;-if (typeof value == 'function') {-value = value.call(this, this._config);-}-config[i] = value;-}-}-},-_distributeConfig: function (config) {-var fx$ = this._propertyEffects;-if (fx$) {-for (var p in config) {-var fx = fx$[p];-if (fx) {-for (var i = 0, l = fx.length, x; i < l && (x = fx[i]); i++) {-if (x.kind === 'annotation') {-var node = this._nodes[x.effect.index];-var name = x.effect.propertyName;-var isAttr = x.effect.kind == 'attribute';-var hasEffect = node._propertyEffects && node._propertyEffects[name];-if (node._configValue && (hasEffect || !isAttr)) {-var value = p === x.effect.value ? config[p] : this._get(x.effect.value, config);-value = this._computeFinalAnnotationValue(node, name, value, x.effect);-if (isAttr) {-value = node.deserialize(this.serialize(value), node._propertyInfo[name].type);-}-node._configValue(name, value);-}-}-}-}-}-}-},-_afterClientsReady: function () {-this._executeStaticEffects();-this._applyConfig(this._config, this._aboveConfig);-this._flushHandlers();-},-_applyConfig: function (config, aboveConfig) {-for (var n in config) {-if (this[n] === undefined) {-this.__setProperty(n, config[n], n in aboveConfig);-}-}-},-_notifyListener: function (fn, e) {-if (!Polymer.Bind._isEventBogus(e, e.target)) {-var value, path;-if (e.detail) {-value = e.detail.value;-path = e.detail.path;-}-if (!this._clientsReadied) {-this._queueHandler([-fn,-e.target,-value,-path-]);-} else {-return fn.call(this, e.target, value, path);-}-}-},-_queueHandler: function (args) {-this._handlers.push(args);-},-_flushHandlers: function () {-var h$ = this._handlers;-for (var i = 0, l = h$.length, h; i < l && (h = h$[i]); i++) {-h[0].call(this, h[1], h[2], h[3]);-}-this._handlers = [];-}-});-}());(function () {-'use strict';-var Path = Polymer.Path;-Polymer.Base._addFeature({-notifyPath: function (path, value, fromAbove) {-var info = {};-var v = this._get(path, this, info);-if (arguments.length === 1) {-value = v;-}-if (info.path) {-this._notifyPath(info.path, value, fromAbove);-}-},-_notifyPath: function (path, value, fromAbove) {-var old = this._propertySetter(path, value);-if (old !== value && (old === old || value === value)) {-this._pathEffector(path, value);-if (!fromAbove) {-this._notifyPathUp(path, value);-}-return true;-}-},-_getPathParts: function (path) {-if (Array.isArray(path)) {-var parts = [];-for (var i = 0; i < path.length; i++) {-var args = path[i].toString().split('.');-for (var j = 0; j < args.length; j++) {-parts.push(args[j]);-}-}-return parts;-} else {-return path.toString().split('.');-}-},-set: function (path, value, root) {-var prop = root || this;-var parts = this._getPathParts(path);-var array;-var last = parts[parts.length - 1];-if (parts.length > 1) {-for (var i = 0; i < parts.length - 1; i++) {-var part = parts[i];-if (array && part[0] == '#') {-prop = Polymer.Collection.get(array).getItem(part);-} else {-prop = prop[part];-if (array && parseInt(part, 10) == part) {-parts[i] = Polymer.Collection.get(array).getKey(prop);-}-}-if (!prop) {-return;-}-array = Array.isArray(prop) ? prop : null;-}-if (array) {-var coll = Polymer.Collection.get(array);-var old, key;-if (last[0] == '#') {-key = last;-old = coll.getItem(key);-last = array.indexOf(old);-coll.setItem(key, value);-} else if (parseInt(last, 10) == last) {-old = prop[last];-key = coll.getKey(old);-parts[i] = key;-coll.setItem(key, value);-}-}-prop[last] = value;-if (!root) {-this._notifyPath(parts.join('.'), value);-}-} else {-prop[path] = value;-}-},-get: function (path, root) {-return this._get(path, root);-},-_get: function (path, root, info) {-var prop = root || this;-var parts = this._getPathParts(path);-var array;-for (var i = 0; i < parts.length; i++) {-if (!prop) {-return;-}-var part = parts[i];-if (array && part[0] == '#') {-prop = Polymer.Collection.get(array).getItem(part);-} else {-prop = prop[part];-if (info && array && parseInt(part, 10) == part) {-parts[i] = Polymer.Collection.get(array).getKey(prop);-}-}-array = Array.isArray(prop) ? prop : null;-}-if (info) {-info.path = parts.join('.');-}-return prop;-},-_pathEffector: function (path, value) {-var model = Path.root(path);-var fx$ = this._propertyEffects && this._propertyEffects[model];-if (fx$) {-for (var i = 0, fx; i < fx$.length && (fx = fx$[i]); i++) {-var fxFn = fx.pathFn;-if (fxFn) {-fxFn.call(this, path, value, fx.effect);-}-}-}-if (this._boundPaths) {-this._notifyBoundPaths(path, value);-}-},-_annotationPathEffect: function (path, value, effect) {-if (Path.matches(effect.value, false, path)) {-Polymer.Bind._annotationEffect.call(this, path, value, effect);-} else if (!effect.negate && Path.isDescendant(effect.value, path)) {-var node = this._nodes[effect.index];-if (node && node._notifyPath) {-var newPath = Path.translate(effect.value, effect.name, path);-node._notifyPath(newPath, value, true);-}-}-},-_complexObserverPathEffect: function (path, value, effect) {-if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) {-Polymer.Bind._complexObserverEffect.call(this, path, value, effect);-}-},-_computePathEffect: function (path, value, effect) {-if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) {-Polymer.Bind._computeEffect.call(this, path, value, effect);-}-},-_annotatedComputationPathEffect: function (path, value, effect) {-if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) {-Polymer.Bind._annotatedComputationEffect.call(this, path, value, effect);-}-},-linkPaths: function (to, from) {-this._boundPaths = this._boundPaths || {};-if (from) {-this._boundPaths[to] = from;-} else {-this.unlinkPaths(to);-}-},-unlinkPaths: function (path) {-if (this._boundPaths) {-delete this._boundPaths[path];-}-},-_notifyBoundPaths: function (path, value) {-for (var a in this._boundPaths) {-var b = this._boundPaths[a];-if (Path.isDescendant(a, path)) {-this._notifyPath(Path.translate(a, b, path), value);-} else if (Path.isDescendant(b, path)) {-this._notifyPath(Path.translate(b, a, path), value);-}-}-},-_notifyPathUp: function (path, value) {-var rootName = Path.root(path);-var dashCaseName = Polymer.CaseMap.camelToDashCase(rootName);-var eventName = dashCaseName + this._EVENT_CHANGED;-this.fire(eventName, {-path: path,-value: value-}, {-bubbles: false,-_useCache: true-});-},-_EVENT_CHANGED: '-changed',-notifySplices: function (path, splices) {-var info = {};-var array = this._get(path, this, info);-this._notifySplices(array, info.path, splices);-},-_notifySplices: function (array, path, splices) {-var change = {-keySplices: Polymer.Collection.applySplices(array, splices),-indexSplices: splices-};-var splicesPath = path + '.splices';-this._notifyPath(splicesPath, change);-this._notifyPath(path + '.length', array.length);-this.__data__[splicesPath] = {-keySplices: null,-indexSplices: null-};-},-_notifySplice: function (array, path, index, added, removed) {-this._notifySplices(array, path, [{-index: index,-addedCount: added,-removed: removed,-object: array,-type: 'splice'-}]);-},-push: function (path) {-var info = {};-var array = this._get(path, this, info);-var args = Array.prototype.slice.call(arguments, 1);-var len = array.length;-var ret = array.push.apply(array, args);-if (args.length) {-this._notifySplice(array, info.path, len, args.length, []);-}-return ret;-},-pop: function (path) {-var info = {};-var array = this._get(path, this, info);-var hadLength = Boolean(array.length);-var args = Array.prototype.slice.call(arguments, 1);-var ret = array.pop.apply(array, args);-if (hadLength) {-this._notifySplice(array, info.path, array.length, 0, [ret]);-}-return ret;-},-splice: function (path, start) {-var info = {};-var array = this._get(path, this, info);-if (start < 0) {-start = array.length - Math.floor(-start);-} else {-start = Math.floor(start);-}-if (!start) {-start = 0;-}-var args = Array.prototype.slice.call(arguments, 1);-var ret = array.splice.apply(array, args);-var addedCount = Math.max(args.length - 2, 0);-if (addedCount || ret.length) {-this._notifySplice(array, info.path, start, addedCount, ret);-}-return ret;-},-shift: function (path) {-var info = {};-var array = this._get(path, this, info);-var hadLength = Boolean(array.length);-var args = Array.prototype.slice.call(arguments, 1);-var ret = array.shift.apply(array, args);-if (hadLength) {-this._notifySplice(array, info.path, 0, 0, [ret]);-}-return ret;-},-unshift: function (path) {-var info = {};-var array = this._get(path, this, info);-var args = Array.prototype.slice.call(arguments, 1);-var ret = array.unshift.apply(array, args);-if (args.length) {-this._notifySplice(array, info.path, 0, args.length, []);-}-return ret;-},-prepareModelNotifyPath: function (model) {-this.mixin(model, {-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,-_complexObserverPathEffect: Polymer.Base._complexObserverPathEffect,-_annotatedComputationPathEffect: Polymer.Base._annotatedComputationPathEffect,-_computePathEffect: Polymer.Base._computePathEffect,-_notifyBoundPaths: Polymer.Base._notifyBoundPaths,-_getPathParts: Polymer.Base._getPathParts-});-}-});-}());Polymer.Base._addFeature({-resolveUrl: function (url) {-var module = Polymer.DomModule.import(this.is);-var root = '';-if (module) {-var assetPath = module.getAttribute('assetpath') || '';-root = Polymer.ResolveUrl.resolveUrl(assetPath, module.ownerDocument.baseURI);-}-return Polymer.ResolveUrl.resolveUrl(url, root);-}-});Polymer.CssParse = function () {-return {-parse: function (text) {-text = this._clean(text);-return this._parseCss(this._lex(text), text);-},-_clean: function (cssText) {-return cssText.replace(this._rx.comments, '').replace(this._rx.port, '');-},-_lex: function (text) {-var root = {-start: 0,-end: text.length-};-var n = root;-for (var i = 0, l = text.length; i < l; i++) {-switch (text[i]) {-case this.OPEN_BRACE:-if (!n.rules) {-n.rules = [];-}-var p = n;-var previous = p.rules[p.rules.length - 1];-n = {-start: i + 1,-parent: p,-previous: previous-};-p.rules.push(n);-break;-case this.CLOSE_BRACE:-n.end = i + 1;-n = n.parent || root;-break;-}-}-return root;-},-_parseCss: function (node, text) {-var t = text.substring(node.start, node.end - 1);-node.parsedCssText = node.cssText = t.trim();-if (node.parent) {-var ss = node.previous ? node.previous.end : node.parent.start;-t = text.substring(ss, node.start - 1);-t = this._expandUnicodeEscapes(t);-t = t.replace(this._rx.multipleSpaces, ' ');-t = t.substring(t.lastIndexOf(';') + 1);-var s = node.parsedSelector = node.selector = t.trim();-node.atRule = s.indexOf(this.AT_START) === 0;-if (node.atRule) {-if (s.indexOf(this.MEDIA_START) === 0) {-node.type = this.types.MEDIA_RULE;-} else if (s.match(this._rx.keyframesRule)) {-node.type = this.types.KEYFRAMES_RULE;-node.keyframesName = node.selector.split(this._rx.multipleSpaces).pop();-}-} else {-if (s.indexOf(this.VAR_START) === 0) {-node.type = this.types.MIXIN_RULE;-} else {-node.type = this.types.STYLE_RULE;-}-}-}-var r$ = node.rules;-if (r$) {-for (var i = 0, l = r$.length, r; i < l && (r = r$[i]); i++) {-this._parseCss(r, text);-}-}-return node;-},-_expandUnicodeEscapes: function (s) {-return s.replace(/\\([0-9a-f]{1,6})\s/gi, function () {-var code = arguments[1], repeat = 6 - code.length;-while (repeat--) {-code = '0' + code;-}-return '\\' + code;-});-},-stringify: function (node, preserveProperties, text) {-text = text || '';-var cssText = '';-if (node.cssText || node.rules) {-var r$ = node.rules;-if (r$ && !this._hasMixinRules(r$)) {-for (var i = 0, l = r$.length, r; i < l && (r = r$[i]); i++) {-cssText = this.stringify(r, preserveProperties, cssText);-}-} else {-cssText = preserveProperties ? node.cssText : this.removeCustomProps(node.cssText);-cssText = cssText.trim();-if (cssText) {-cssText = ' ' + cssText + '\n';-}-}-}-if (cssText) {-if (node.selector) {-text += node.selector + ' ' + this.OPEN_BRACE + '\n';-}-text += cssText;-if (node.selector) {-text += this.CLOSE_BRACE + '\n\n';-}-}-return text;-},-_hasMixinRules: function (rules) {-return rules[0].selector.indexOf(this.VAR_START) === 0;-},-removeCustomProps: function (cssText) {-cssText = this.removeCustomPropAssignment(cssText);-return this.removeCustomPropApply(cssText);-},-removeCustomPropAssignment: function (cssText) {-return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '');-},-removeCustomPropApply: function (cssText) {-return cssText.replace(this._rx.mixinApply, '').replace(this._rx.varApply, '');-},-types: {-STYLE_RULE: 1,-KEYFRAMES_RULE: 7,-MEDIA_RULE: 4,-MIXIN_RULE: 1000-},-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 settings = Polymer.Settings;-return {-NATIVE_VARIABLES: Polymer.Settings.useNativeCSSProperties,-MODULE_STYLES_SELECTOR: 'style, link[rel=import][type~=css], template',-INCLUDE_ATTR: 'include',-toCssText: function (rules, callback) {-if (typeof rules === 'string') {-rules = this.parser.parse(rules);-}-if (callback) {-this.forEachRule(rules, callback);-}-return this.parser.stringify(rules, this.NATIVE_VARIABLES);-},-forRulesInStyles: function (styles, styleRuleCallback, keyframesRuleCallback) {-if (styles) {-for (var i = 0, l = styles.length, s; i < l && (s = styles[i]); i++) {-this.forEachRuleInStyle(s, styleRuleCallback, keyframesRuleCallback);-}-}-},-forActiveRulesInStyles: function (styles, styleRuleCallback, keyframesRuleCallback) {-if (styles) {-for (var i = 0, l = styles.length, s; i < l && (s = styles[i]); i++) {-this.forEachRuleInStyle(s, styleRuleCallback, keyframesRuleCallback, true);-}-}-},-rulesForStyle: function (style) {-if (!style.__cssRules && style.textContent) {-style.__cssRules = this.parser.parse(style.textContent);-}-return style.__cssRules;-},-isKeyframesSelector: function (rule) {-return rule.parent && rule.parent.type === this.ruleTypes.KEYFRAMES_RULE;-},-forEachRuleInStyle: function (style, styleRuleCallback, keyframesRuleCallback, onlyActiveRules) {-var rules = this.rulesForStyle(style);-var styleCallback, keyframeCallback;-if (styleRuleCallback) {-styleCallback = function (rule) {-styleRuleCallback(rule, style);-};-}-if (keyframesRuleCallback) {-keyframeCallback = function (rule) {-keyframesRuleCallback(rule, style);-};-}-this.forEachRule(rules, styleCallback, keyframeCallback, onlyActiveRules);-},-forEachRule: function (node, styleRuleCallback, keyframesRuleCallback, onlyActiveRules) {-if (!node) {-return;-}-var skipRules = false;-if (onlyActiveRules) {-if (node.type === this.ruleTypes.MEDIA_RULE) {-var matchMedia = node.selector.match(this.rx.MEDIA_MATCH);-if (matchMedia) {-if (!window.matchMedia(matchMedia[1]).matches) {-skipRules = true;-}-}-}-}-if (node.type === this.ruleTypes.STYLE_RULE) {-styleRuleCallback(node);-} else if (keyframesRuleCallback && node.type === this.ruleTypes.KEYFRAMES_RULE) {-keyframesRuleCallback(node);-} else if (node.type === this.ruleTypes.MIXIN_RULE) {-skipRules = true;-}-var r$ = node.rules;-if (r$ && !skipRules) {-for (var i = 0, l = r$.length, r; i < l && (r = r$[i]); i++) {-this.forEachRule(r, styleRuleCallback, keyframesRuleCallback, onlyActiveRules);-}-}-},-applyCss: function (cssText, moniker, target, contextNode) {-var style = this.createScopeStyle(cssText, moniker);-return this.applyStyle(style, target, contextNode);-},-applyStyle: function (style, target, contextNode) {-target = target || document.head;-var after = contextNode && contextNode.nextSibling || target.firstChild;-this.__lastHeadApplyNode = style;-return target.insertBefore(style, after);-},-createScopeStyle: function (cssText, moniker) {-var style = document.createElement('style');-if (moniker) {-style.setAttribute('scope', moniker);-}-style.textContent = cssText;-return style;-},-__lastHeadApplyNode: null,-applyStylePlaceHolder: function (moniker) {-var placeHolder = document.createComment(' Shady DOM styles for ' + moniker + ' ');-var after = this.__lastHeadApplyNode ? this.__lastHeadApplyNode.nextSibling : null;-var scope = document.head;-scope.insertBefore(placeHolder, after || scope.firstChild);-this.__lastHeadApplyNode = placeHolder;-return placeHolder;-},-cssFromModules: function (moduleIds, warnIfNotFound) {-var modules = moduleIds.trim().split(' ');-var cssText = '';-for (var i = 0; i < modules.length; i++) {-cssText += this.cssFromModule(modules[i], warnIfNotFound);-}-return cssText;-},-cssFromModule: function (moduleId, warnIfNotFound) {-var m = Polymer.DomModule.import(moduleId);-if (m && !m._cssText) {-m._cssText = this.cssFromElement(m);-}-if (!m && warnIfNotFound) {-console.warn('Could not find style data in module named', moduleId);-}-return m && m._cssText || '';-},-cssFromElement: function (element) {-var cssText = '';-var content = element.content || element;-var e$ = Polymer.TreeApi.arrayCopy(content.querySelectorAll(this.MODULE_STYLES_SELECTOR));-for (var i = 0, e; i < e$.length; i++) {-e = e$[i];-if (e.localName === 'template') {-if (!e.hasAttribute('preserve-content')) {-cssText += this.cssFromElement(e);-}-} else {-if (e.localName === 'style') {-var include = e.getAttribute(this.INCLUDE_ATTR);-if (include) {-cssText += this.cssFromModules(include, true);-}-e = e.__appliedElement || e;-e.parentNode.removeChild(e);-cssText += this.resolveCss(e.textContent, element.ownerDocument);-} else if (e.import && e.import.body) {-cssText += this.resolveCss(e.import.body.textContent, e.import);-}-}-}-return cssText;-},-isTargetedBuild: function (buildType) {-return settings.useNativeShadow ? buildType === 'shadow' : buildType === 'shady';-},-cssBuildTypeForModule: function (module) {-var dm = Polymer.DomModule.import(module);-if (dm) {-return this.getCssBuildType(dm);-}-},-getCssBuildType: function (element) {-return element.getAttribute('css-build');-},-_findMatchingParen: function (text, start) {-var level = 0;-for (var i = start, l = text.length; i < l; i++) {-switch (text[i]) {-case '(':-level++;-break;-case ')':-if (--level === 0) {-return i;-}-break;-}-}-return -1;-},-processVariableAndFallback: function (str, callback) {-var start = str.indexOf('var(');-if (start === -1) {-return callback(str, '', '', '');-}-var end = this._findMatchingParen(str, start + 3);-var inner = str.substring(start + 4, end);-var prefix = str.substring(0, start);-var suffix = this.processVariableAndFallback(str.substring(end + 1), callback);-var comma = inner.indexOf(',');-if (comma === -1) {-return callback(prefix, inner.trim(), '', suffix);-}-var value = inner.substring(0, comma).trim();-var fallback = inner.substring(comma + 1).trim();-return callback(prefix, value, fallback, suffix);-},-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: /^--/,-BRACKETED: /\{[^}]*\}/g,-HOST_PREFIX: '(?:^|[^.#[:])',-HOST_SUFFIX: '($|[.:[\\s>+~])'-},-resolveCss: Polymer.ResolveUrl.resolveCss,-parser: Polymer.CssParse,-ruleTypes: Polymer.CssParse.types-};-}();Polymer.StyleTransformer = function () {-var styleUtil = Polymer.StyleUtil;-var settings = Polymer.Settings;-var api = {-dom: function (node, scope, useAttr, shouldRemoveScope) {-this._transformDom(node, scope || '', useAttr, shouldRemoveScope);-},-_transformDom: function (node, selector, useAttr, shouldRemoveScope) {-if (node.setAttribute) {-this.element(node, selector, useAttr, shouldRemoveScope);-}-var c$ = Polymer.dom(node).childNodes;-for (var i = 0; i < c$.length; i++) {-this._transformDom(c$[i], selector, useAttr, shouldRemoveScope);-}-},-element: function (element, scope, useAttr, shouldRemoveScope) {-if (useAttr) {-if (shouldRemoveScope) {-element.removeAttribute(SCOPE_NAME);-} else {-element.setAttribute(SCOPE_NAME, scope);-}-} else {-if (scope) {-if (element.classList) {-if (shouldRemoveScope) {-element.classList.remove(SCOPE_NAME);-element.classList.remove(scope);-} else {-element.classList.add(SCOPE_NAME);-element.classList.add(scope);-}-} else if (element.getAttribute) {-var c = element.getAttribute(CLASS);-if (shouldRemoveScope) {-if (c) {-element.setAttribute(CLASS, c.replace(SCOPE_NAME, '').replace(scope, ''));-}-} else {-element.setAttribute(CLASS, (c ? c + ' ' : '') + SCOPE_NAME + ' ' + scope);-}-}-}-}-},-elementStyles: function (element, callback) {-var styles = element._styles;-var cssText = '';-var cssBuildType = element.__cssBuild;-var passthrough = settings.useNativeShadow || cssBuildType === 'shady';-var cb;-if (passthrough) {-var self = this;-cb = function (rule) {-rule.selector = self._slottedToContent(rule.selector);-rule.selector = rule.selector.replace(ROOT, ':host > *');-if (callback) {-callback(rule);-}-};-}-for (var i = 0, l = styles.length, s; i < l && (s = styles[i]); i++) {-var rules = styleUtil.rulesForStyle(s);-cssText += passthrough ? styleUtil.toCssText(rules, cb) : this.css(rules, element.is, element.extends, callback, element._scopeCssViaAttr) + '\n\n';-}-return cssText.trim();-},-css: function (rules, scope, ext, callback, useAttr) {-var hostScope = this._calcHostScope(scope, ext);-scope = this._calcElementScope(scope, useAttr);-var self = this;-return styleUtil.toCssText(rules, function (rule) {-if (!rule.isScoped) {-self.rule(rule, scope, hostScope);-rule.isScoped = true;-}-if (callback) {-callback(rule, scope, hostScope);-}-});-},-_calcElementScope: function (scope, useAttr) {-if (scope) {-return useAttr ? CSS_ATTR_PREFIX + scope + CSS_ATTR_SUFFIX : CSS_CLASS_PREFIX + scope;-} else {-return '';-}-},-_calcHostScope: function (scope, ext) {-return ext ? '[is=' + scope + ']' : scope;-},-rule: function (rule, scope, hostScope) {-this._transformRule(rule, this._transformComplexSelector, scope, hostScope);-},-_transformRule: function (rule, transformer, scope, hostScope) {-rule.selector = rule.transformedSelector = this._transformRuleCss(rule, transformer, scope, hostScope);-},-_transformRuleCss: function (rule, transformer, scope, hostScope) {-var p$ = rule.selector.split(COMPLEX_SELECTOR_SEP);-if (!styleUtil.isKeyframesSelector(rule)) {-for (var i = 0, l = p$.length, p; i < l && (p = p$[i]); i++) {-p$[i] = transformer.call(this, p, scope, hostScope);-}-}-return p$.join(COMPLEX_SELECTOR_SEP);-},-_transformComplexSelector: function (selector, scope, hostScope) {-var stop = false;-var hostContext = false;-var self = this;-selector = selector.trim();-selector = this._slottedToContent(selector);-selector = selector.replace(ROOT, ':host > *');-selector = selector.replace(CONTENT_START, HOST + ' $1');-selector = selector.replace(SIMPLE_SELECTOR_SEP, function (m, c, s) {-if (!stop) {-var info = self._transformCompoundSelector(s, c, scope, hostScope);-stop = stop || info.stop;-hostContext = hostContext || info.hostContext;-c = info.combinator;-s = info.value;-} else {-s = s.replace(SCOPE_JUMP, ' ');-}-return c + s;-});-if (hostContext) {-selector = selector.replace(HOST_CONTEXT_PAREN, function (m, pre, paren, post) {-return pre + paren + ' ' + hostScope + post + COMPLEX_SELECTOR_SEP + ' ' + pre + hostScope + paren + post;-});-}-return selector;-},-_transformCompoundSelector: function (selector, combinator, scope, hostScope) {-var jumpIndex = selector.search(SCOPE_JUMP);-var hostContext = false;-if (selector.indexOf(HOST_CONTEXT) >= 0) {-hostContext = true;-} else if (selector.indexOf(HOST) >= 0) {-selector = this._transformHostSelector(selector, hostScope);-} else if (jumpIndex !== 0) {-selector = scope ? this._transformSimpleSelector(selector, scope) : selector;-}-if (selector.indexOf(CONTENT) >= 0) {-combinator = '';-}-var stop;-if (jumpIndex >= 0) {-selector = selector.replace(SCOPE_JUMP, ' ');-stop = true;-}-return {-value: selector,-combinator: combinator,-stop: stop,-hostContext: hostContext-};-},-_transformSimpleSelector: function (selector, scope) {-var p$ = selector.split(PSEUDO_PREFIX);-p$[0] += scope;-return p$.join(PSEUDO_PREFIX);-},-_transformHostSelector: function (selector, hostScope) {-var m = selector.match(HOST_PAREN);-var paren = m && m[2].trim() || '';-if (paren) {-if (!paren[0].match(SIMPLE_SELECTOR_PREFIX)) {-var typeSelector = paren.split(SIMPLE_SELECTOR_PREFIX)[0];-if (typeSelector === hostScope) {-return paren;-} else {-return SELECTOR_NO_MATCH;-}-} else {-return selector.replace(HOST_PAREN, function (m, host, paren) {-return hostScope + paren;-});-}-} else {-return selector.replace(HOST, hostScope);-}-},-documentRule: function (rule) {-rule.selector = rule.parsedSelector;-this.normalizeRootSelector(rule);-if (!settings.useNativeShadow) {-this._transformRule(rule, this._transformDocumentSelector);-}-},-normalizeRootSelector: function (rule) {-rule.selector = rule.selector.replace(ROOT, 'html');-},-_transformDocumentSelector: function (selector) {-return selector.match(SCOPE_JUMP) ? this._transformComplexSelector(selector, SCOPE_DOC_SELECTOR) : this._transformSimpleSelector(selector.trim(), SCOPE_DOC_SELECTOR);-},-_slottedToContent: function (cssText) {-return cssText.replace(SLOTTED_PAREN, CONTENT + '> $1');-},-SCOPE_NAME: 'style-scope'-};-var SCOPE_NAME = api.SCOPE_NAME;-var SCOPE_DOC_SELECTOR = ':not([' + SCOPE_NAME + '])' + ':not(.' + SCOPE_NAME + ')';-var COMPLEX_SELECTOR_SEP = ',';-var SIMPLE_SELECTOR_SEP = /(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g;-var SIMPLE_SELECTOR_PREFIX = /[[.:#*]/;-var HOST = ':host';-var ROOT = ':root';-var HOST_PAREN = /(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/;-var HOST_CONTEXT = ':host-context';-var HOST_CONTEXT_PAREN = /(.*)(?::host-context)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))(.*)/;-var CONTENT = '::content';-var SCOPE_JUMP = /::content|::shadow|\/deep\//;-var CSS_CLASS_PREFIX = '.';-var CSS_ATTR_PREFIX = '[' + SCOPE_NAME + '~=';-var CSS_ATTR_SUFFIX = ']';-var PSEUDO_PREFIX = ':';-var CLASS = 'class';-var CONTENT_START = new RegExp('^(' + CONTENT + ')');-var SELECTOR_NO_MATCH = 'should_not_match';-var SLOTTED_PAREN = /(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g;-return api;-}();Polymer.StyleExtends = function () {-var styleUtil = Polymer.StyleUtil;-return {-hasExtends: function (cssText) {-return Boolean(cssText.match(this.rx.EXTEND));-},-transform: function (style) {-var rules = styleUtil.rulesForStyle(style);-var self = this;-styleUtil.forEachRule(rules, function (rule) {-self._mapRuleOntoParent(rule);-if (rule.parent) {-var m;-while (m = self.rx.EXTEND.exec(rule.cssText)) {-var extend = m[1];-var extendor = self._findExtendor(extend, rule);-if (extendor) {-self._extendRule(rule, extendor);-}-}-}-rule.cssText = rule.cssText.replace(self.rx.EXTEND, '');-});-return styleUtil.toCssText(rules, function (rule) {-if (rule.selector.match(self.rx.STRIP)) {-rule.cssText = '';-}-}, true);-},-_mapRuleOntoParent: function (rule) {-if (rule.parent) {-var map = rule.parent.map || (rule.parent.map = {});-var parts = rule.selector.split(',');-for (var i = 0, p; i < parts.length; i++) {-p = parts[i];-map[p.trim()] = rule;-}-return map;-}-},-_findExtendor: function (extend, rule) {-return rule.parent && rule.parent.map && rule.parent.map[extend] || this._findExtendor(extend, rule.parent);-},-_extendRule: function (target, source) {-if (target.parent !== source.parent) {-this._cloneAndAddRuleToParent(source, target.parent);-}-target.extends = target.extends || [];-target.extends.push(source);-source.selector = source.selector.replace(this.rx.STRIP, '');-source.selector = (source.selector && source.selector + ',\n') + target.selector;-if (source.extends) {-source.extends.forEach(function (e) {-this._extendRule(target, e);-}, this);-}-},-_cloneAndAddRuleToParent: function (rule, parent) {-rule = Object.create(rule);-rule.parent = parent;-if (rule.extends) {-rule.extends = rule.extends.slice();-}-parent.rules.push(rule);-},-rx: {-EXTEND: /@extends\(([^)]*)\)\s*?;/gim,-STRIP: /%[^,]*$/-}-};-}();Polymer.ApplyShim = function () {-'use strict';-var styleUtil = Polymer.StyleUtil;-var MIXIN_MATCH = styleUtil.rx.MIXIN_MATCH;-var VAR_ASSIGN = styleUtil.rx.VAR_ASSIGN;-var BAD_VAR = /var\(\s*(--[^,]*),\s*(--[^)]*)\)/g;-var APPLY_NAME_CLEAN = /;\s*/m;-var INITIAL_INHERIT = /^\s*(initial)|(inherit)\s*$/;-var MIXIN_VAR_SEP = '_-_';-var mixinMap = {};-function mapSet(name, props) {-name = name.trim();-mixinMap[name] = {-properties: props,-dependants: {}-};-}-function mapGet(name) {-name = name.trim();-return mixinMap[name];-}-function replaceInitialOrInherit(property, value) {-var match = INITIAL_INHERIT.exec(value);-if (match) {-if (match[1]) {-value = ApplyShim._getInitialValueForProperty(property);-} else {-value = 'apply-shim-inherit';-}-}-return value;-}-function cssTextToMap(text) {-var props = text.split(';');-var property, value;-var out = {};-for (var i = 0, p, sp; i < props.length; i++) {-p = props[i];-if (p) {-sp = p.split(':');-if (sp.length > 1) {-property = sp[0].trim();-value = replaceInitialOrInherit(property, sp.slice(1).join(':'));-out[property] = value;-}-}-}-return out;-}-function invalidateMixinEntry(mixinEntry) {-var currentProto = ApplyShim.__currentElementProto;-var currentElementName = currentProto && currentProto.is;-for (var elementName in mixinEntry.dependants) {-if (elementName !== currentElementName) {-mixinEntry.dependants[elementName].__applyShimInvalid = true;-}-}-}-function produceCssProperties(matchText, propertyName, valueProperty, valueMixin) {-if (valueProperty) {-styleUtil.processVariableAndFallback(valueProperty, function (prefix, value) {-if (value && mapGet(value)) {-valueMixin = '@apply ' + value + ';';-}-});-}-if (!valueMixin) {-return matchText;-}-var mixinAsProperties = consumeCssProperties(valueMixin);-var prefix = matchText.slice(0, matchText.indexOf('--'));-var mixinValues = cssTextToMap(mixinAsProperties);-var combinedProps = mixinValues;-var mixinEntry = mapGet(propertyName);-var oldProps = mixinEntry && mixinEntry.properties;-if (oldProps) {-combinedProps = Object.create(oldProps);-combinedProps = Polymer.Base.mixin(combinedProps, mixinValues);-} else {-mapSet(propertyName, combinedProps);-}-var out = [];-var p, v;-var needToInvalidate = false;-for (p in combinedProps) {-v = mixinValues[p];-if (v === undefined) {-v = 'initial';-}-if (oldProps && !(p in oldProps)) {-needToInvalidate = true;-}-out.push(propertyName + MIXIN_VAR_SEP + p + ': ' + v);-}-if (needToInvalidate) {-invalidateMixinEntry(mixinEntry);-}-if (mixinEntry) {-mixinEntry.properties = combinedProps;-}-if (valueProperty) {-prefix = matchText + ';' + prefix;-}-return prefix + out.join('; ') + ';';-}-function fixVars(matchText, varA, varB) {-return 'var(' + varA + ',' + 'var(' + varB + '))';-}-function atApplyToCssProperties(mixinName, fallbacks) {-mixinName = mixinName.replace(APPLY_NAME_CLEAN, '');-var vars = [];-var mixinEntry = mapGet(mixinName);-if (!mixinEntry) {-mapSet(mixinName, {});-mixinEntry = mapGet(mixinName);-}-if (mixinEntry) {-var currentProto = ApplyShim.__currentElementProto;-if (currentProto) {-mixinEntry.dependants[currentProto.is] = currentProto;-}-var p, parts, f;-for (p in mixinEntry.properties) {-f = fallbacks && fallbacks[p];-parts = [-p,-': var(',-mixinName,-MIXIN_VAR_SEP,-p-];-if (f) {-parts.push(',', f);-}-parts.push(')');-vars.push(parts.join(''));-}-}-return vars.join('; ');-}-function consumeCssProperties(text) {-var m;-while (m = MIXIN_MATCH.exec(text)) {-var matchText = m[0];-var mixinName = m[1];-var idx = m.index;-var applyPos = idx + matchText.indexOf('@apply');-var afterApplyPos = idx + matchText.length;-var textBeforeApply = text.slice(0, applyPos);-var textAfterApply = text.slice(afterApplyPos);-var defaults = cssTextToMap(textBeforeApply);-var replacement = atApplyToCssProperties(mixinName, defaults);-text = [-textBeforeApply,-replacement,-textAfterApply-].join('');-MIXIN_MATCH.lastIndex = idx + replacement.length;-}-return text;-}-var ApplyShim = {-_measureElement: null,-_map: mixinMap,-_separator: MIXIN_VAR_SEP,-transform: function (styles, elementProto) {-this.__currentElementProto = elementProto;-styleUtil.forRulesInStyles(styles, this._boundFindDefinitions);-styleUtil.forRulesInStyles(styles, this._boundFindApplications);-if (elementProto) {-elementProto.__applyShimInvalid = false;-}-this.__currentElementProto = null;-},-_findDefinitions: function (rule) {-var cssText = rule.parsedCssText;-cssText = cssText.replace(BAD_VAR, fixVars);-cssText = cssText.replace(VAR_ASSIGN, produceCssProperties);-rule.cssText = cssText;-if (rule.selector === ':root') {-rule.selector = ':host > *';-}-},-_findApplications: function (rule) {-rule.cssText = consumeCssProperties(rule.cssText);-},-transformRule: function (rule) {-this._findDefinitions(rule);-this._findApplications(rule);-},-_getInitialValueForProperty: function (property) {-if (!this._measureElement) {-this._measureElement = document.createElement('meta');-this._measureElement.style.all = 'initial';-document.head.appendChild(this._measureElement);-}-return window.getComputedStyle(this._measureElement).getPropertyValue(property);-}-};-ApplyShim._boundTransformRule = ApplyShim.transformRule.bind(ApplyShim);-ApplyShim._boundFindDefinitions = ApplyShim._findDefinitions.bind(ApplyShim);-ApplyShim._boundFindApplications = ApplyShim._findApplications.bind(ApplyShim);-return ApplyShim;-}();(function () {-var prepElement = Polymer.Base._prepElement;-var nativeShadow = Polymer.Settings.useNativeShadow;-var styleUtil = Polymer.StyleUtil;-var styleTransformer = Polymer.StyleTransformer;-var styleExtends = Polymer.StyleExtends;-var applyShim = Polymer.ApplyShim;-var settings = Polymer.Settings;-Polymer.Base._addFeature({-_prepElement: function (element) {-if (this._encapsulateStyle && this.__cssBuild !== 'shady') {-styleTransformer.element(element, this.is, this._scopeCssViaAttr);-}-prepElement.call(this, element);-},-_prepStyles: function () {-if (this._encapsulateStyle === undefined) {-this._encapsulateStyle = !nativeShadow;-}-if (!nativeShadow) {-this._scopeStyle = styleUtil.applyStylePlaceHolder(this.is);-}-this.__cssBuild = styleUtil.cssBuildTypeForModule(this.is);-},-_prepShimStyles: function () {-if (this._template) {-var hasTargetedCssBuild = styleUtil.isTargetedBuild(this.__cssBuild);-if (settings.useNativeCSSProperties && this.__cssBuild === 'shadow' && hasTargetedCssBuild) {-return;-}-this._styles = this._styles || this._collectStyles();-if (settings.useNativeCSSProperties && !this.__cssBuild) {-applyShim.transform(this._styles, this);-}-var cssText = settings.useNativeCSSProperties && hasTargetedCssBuild ? this._styles.length && this._styles[0].textContent.trim() : styleTransformer.elementStyles(this);-this._prepStyleProperties();-if (!this._needsStyleProperties() && cssText) {-styleUtil.applyCss(cssText, this.is, nativeShadow ? this._template.content : null, this._scopeStyle);-}-} else {-this._styles = [];-}-},-_collectStyles: function () {-var styles = [];-var cssText = '', m$ = this.styleModules;-if (m$) {-for (var i = 0, l = m$.length, m; i < l && (m = m$[i]); i++) {-cssText += styleUtil.cssFromModule(m);-}-}-cssText += styleUtil.cssFromModule(this.is);-var p = this._template && this._template.parentNode;-if (this._template && (!p || p.id.toLowerCase() !== this.is)) {-cssText += styleUtil.cssFromElement(this._template);-}-if (cssText) {-var style = document.createElement('style');-style.textContent = cssText;-if (styleExtends.hasExtends(style.textContent)) {-cssText = styleExtends.transform(style);-}-styles.push(style);-}-return styles;-},-_elementAdd: function (node) {-if (this._encapsulateStyle) {-if (node.__styleScoped) {-node.__styleScoped = false;-} else {-styleTransformer.dom(node, this.is, this._scopeCssViaAttr);-}-}-},-_elementRemove: function (node) {-if (this._encapsulateStyle) {-styleTransformer.dom(node, this.is, this._scopeCssViaAttr, true);-}-},-scopeSubtree: function (container, shouldObserve) {-if (nativeShadow) {-return;-}-var self = this;-var scopify = function (node) {-if (node.nodeType === Node.ELEMENT_NODE) {-var className = node.getAttribute('class');-node.setAttribute('class', self._scopeElementClass(node, className));-var n$ = node.querySelectorAll('*');-for (var i = 0, n; i < n$.length && (n = n$[i]); i++) {-className = n.getAttribute('class');-n.setAttribute('class', self._scopeElementClass(n, className));-}-}-};-scopify(container);-if (shouldObserve) {-var mo = new MutationObserver(function (mxns) {-for (var i = 0, m; i < mxns.length && (m = mxns[i]); i++) {-if (m.addedNodes) {-for (var j = 0; j < m.addedNodes.length; j++) {-scopify(m.addedNodes[j]);-}-}-}-});-mo.observe(container, {-childList: true,-subtree: true-});-return mo;-}-}-});-}());Polymer.StyleProperties = function () {-'use strict';-var matchesSelector = Polymer.DomApi.matchesSelector;-var styleUtil = Polymer.StyleUtil;-var styleTransformer = Polymer.StyleTransformer;-var IS_IE = navigator.userAgent.match('Trident');-var settings = Polymer.Settings;-return {-decorateStyles: function (styles, scope) {-var self = this, props = {}, keyframes = [], ruleIndex = 0;-var scopeSelector = styleTransformer._calcHostScope(scope.is, scope.extends);-styleUtil.forRulesInStyles(styles, function (rule, style) {-self.decorateRule(rule);-rule.index = ruleIndex++;-self.whenHostOrRootRule(scope, rule, style, function (info) {-if (rule.parent.type === styleUtil.ruleTypes.MEDIA_RULE) {-scope.__notStyleScopeCacheable = true;-}-if (info.isHost) {-var hostContextOrFunction = info.selector.split(' ').some(function (s) {-return s.indexOf(scopeSelector) === 0 && s.length !== scopeSelector.length;-});-scope.__notStyleScopeCacheable = scope.__notStyleScopeCacheable || hostContextOrFunction;-}-});-self.collectPropertiesInCssText(rule.propertyInfo.cssText, props);-}, function onKeyframesRule(rule) {-keyframes.push(rule);-});-styles._keyframes = keyframes;-var names = [];-for (var i in props) {-names.push(i);-}-return names;-},-decorateRule: function (rule) {-if (rule.propertyInfo) {-return rule.propertyInfo;-}-var info = {}, properties = {};-var hasProperties = this.collectProperties(rule, properties);-if (hasProperties) {-info.properties = properties;-rule.rules = null;-}-info.cssText = this.collectCssText(rule);-rule.propertyInfo = info;-return info;-},-collectProperties: function (rule, properties) {-var info = rule.propertyInfo;-if (info) {-if (info.properties) {-Polymer.Base.mixin(properties, info.properties);-return true;-}-} else {-var m, rx = this.rx.VAR_ASSIGN;-var cssText = rule.parsedCssText;-var value;-var any;-while (m = rx.exec(cssText)) {-value = (m[2] || m[3]).trim();-if (value !== 'inherit') {-properties[m[1].trim()] = value;-}-any = true;-}-return any;-}-},-collectCssText: function (rule) {-return this.collectConsumingCssText(rule.parsedCssText);-},-collectConsumingCssText: function (cssText) {-return cssText.replace(this.rx.BRACKETED, '').replace(this.rx.VAR_ASSIGN, '');-},-collectPropertiesInCssText: function (cssText, props) {-var m;-while (m = this.rx.VAR_CONSUMED.exec(cssText)) {-var name = m[1];-if (m[2] !== ':') {-props[name] = true;-}-}-},-reify: function (props) {-var names = Object.getOwnPropertyNames(props);-for (var i = 0, n; i < names.length; i++) {-n = names[i];-props[n] = this.valueForProperty(props[n], props);-}-},-valueForProperty: function (property, props) {-if (property) {-if (property.indexOf(';') >= 0) {-property = this.valueForProperties(property, props);-} else {-var self = this;-var fn = function (prefix, value, fallback, suffix) {-var propertyValue = self.valueForProperty(props[value], props);-if (!propertyValue || propertyValue === 'initial') {-propertyValue = self.valueForProperty(props[fallback] || fallback, props) || fallback;-} else if (propertyValue === 'apply-shim-inherit') {-propertyValue = 'inherit';-}-return prefix + (propertyValue || '') + suffix;-};-property = styleUtil.processVariableAndFallback(property, fn);-}-}-return property && property.trim() || '';-},-valueForProperties: function (property, props) {-var parts = property.split(';');-for (var i = 0, p, m; i < parts.length; i++) {-if (p = parts[i]) {-this.rx.MIXIN_MATCH.lastIndex = 0;-m = this.rx.MIXIN_MATCH.exec(p);-if (m) {-p = this.valueForProperty(props[m[1]], props);-} else {-var colon = p.indexOf(':');-if (colon !== -1) {-var pp = p.substring(colon);-pp = pp.trim();-pp = this.valueForProperty(pp, props) || pp;-p = p.substring(0, colon) + pp;-}-}-parts[i] = p && p.lastIndexOf(';') === p.length - 1 ? p.slice(0, -1) : p || '';-}-}-return parts.join(';');-},-applyProperties: function (rule, props) {-var output = '';-if (!rule.propertyInfo) {-this.decorateRule(rule);-}-if (rule.propertyInfo.cssText) {-output = this.valueForProperties(rule.propertyInfo.cssText, props);-}-rule.cssText = output;-},-applyKeyframeTransforms: function (rule, keyframeTransforms) {-var input = rule.cssText;-var output = rule.cssText;-if (rule.hasAnimations == null) {-rule.hasAnimations = this.rx.ANIMATION_MATCH.test(input);-}-if (rule.hasAnimations) {-var transform;-if (rule.keyframeNamesToTransform == null) {-rule.keyframeNamesToTransform = [];-for (var keyframe in keyframeTransforms) {-transform = keyframeTransforms[keyframe];-output = transform(input);-if (input !== output) {-input = output;-rule.keyframeNamesToTransform.push(keyframe);-}-}-} else {-for (var i = 0; i < rule.keyframeNamesToTransform.length; ++i) {-transform = keyframeTransforms[rule.keyframeNamesToTransform[i]];-input = transform(input);-}-output = input;-}-}-rule.cssText = output;-},-propertyDataFromStyles: function (styles, element) {-var props = {}, self = this;-var o = [];-styleUtil.forActiveRulesInStyles(styles, function (rule) {-if (!rule.propertyInfo) {-self.decorateRule(rule);-}-var selectorToMatch = rule.transformedSelector || rule.parsedSelector;-if (element && rule.propertyInfo.properties && selectorToMatch) {-if (matchesSelector.call(element, selectorToMatch)) {-self.collectProperties(rule, props);-addToBitMask(rule.index, o);-}-}-});-return {-properties: props,-key: o-};-},-_rootSelector: /:root|:host\s*>\s*\*/,-_checkRoot: function (hostScope, selector) {-return Boolean(selector.match(this._rootSelector)) || hostScope === 'html' && selector.indexOf('html') > -1;-},-whenHostOrRootRule: function (scope, rule, style, callback) {-if (!rule.propertyInfo) {-self.decorateRule(rule);-}-if (!rule.propertyInfo.properties) {-return;-}-var hostScope = scope.is ? styleTransformer._calcHostScope(scope.is, scope.extends) : 'html';-var parsedSelector = rule.parsedSelector;-var isRoot = this._checkRoot(hostScope, parsedSelector);-var isHost = !isRoot && parsedSelector.indexOf(':host') === 0;-var cssBuild = scope.__cssBuild || style.__cssBuild;-if (cssBuild === 'shady') {-isRoot = parsedSelector === hostScope + ' > *.' + hostScope || parsedSelector.indexOf('html') > -1;-isHost = !isRoot && parsedSelector.indexOf(hostScope) === 0;-}-if (!isRoot && !isHost) {-return;-}-var selectorToMatch = hostScope;-if (isHost) {-if (settings.useNativeShadow && !rule.transformedSelector) {-rule.transformedSelector = styleTransformer._transformRuleCss(rule, styleTransformer._transformComplexSelector, scope.is, hostScope);-}-selectorToMatch = rule.transformedSelector || rule.parsedSelector;-}-if (isRoot && hostScope === 'html') {-selectorToMatch = rule.transformedSelector || rule.parsedSelector;-}-callback({-selector: selectorToMatch,-isHost: isHost,-isRoot: isRoot-});-},-hostAndRootPropertiesForScope: function (scope) {-var hostProps = {}, rootProps = {}, self = this;-styleUtil.forActiveRulesInStyles(scope._styles, function (rule, style) {-self.whenHostOrRootRule(scope, rule, style, function (info) {-var element = scope._element || scope;-if (matchesSelector.call(element, info.selector)) {-if (info.isHost) {-self.collectProperties(rule, hostProps);-} else {-self.collectProperties(rule, rootProps);-}-}-});-});-return {-rootProps: rootProps,-hostProps: hostProps-};-},-transformStyles: function (element, properties, scopeSelector) {-var self = this;-var hostSelector = styleTransformer._calcHostScope(element.is, element.extends);-var rxHostSelector = element.extends ? '\\' + hostSelector.slice(0, -1) + '\\]' : hostSelector;-var hostRx = new RegExp(this.rx.HOST_PREFIX + rxHostSelector + this.rx.HOST_SUFFIX);-var keyframeTransforms = this._elementKeyframeTransforms(element, scopeSelector);-return styleTransformer.elementStyles(element, function (rule) {-self.applyProperties(rule, properties);-if (!settings.useNativeShadow && !Polymer.StyleUtil.isKeyframesSelector(rule) && rule.cssText) {-self.applyKeyframeTransforms(rule, keyframeTransforms);-self._scopeSelector(rule, hostRx, hostSelector, element._scopeCssViaAttr, scopeSelector);-}-});-},-_elementKeyframeTransforms: function (element, scopeSelector) {-var keyframesRules = element._styles._keyframes;-var keyframeTransforms = {};-if (!settings.useNativeShadow && keyframesRules) {-for (var i = 0, keyframesRule = keyframesRules[i]; i < keyframesRules.length; keyframesRule = keyframesRules[++i]) {-this._scopeKeyframes(keyframesRule, scopeSelector);-keyframeTransforms[keyframesRule.keyframesName] = this._keyframesRuleTransformer(keyframesRule);-}-}-return keyframeTransforms;-},-_keyframesRuleTransformer: function (keyframesRule) {-return function (cssText) {-return cssText.replace(keyframesRule.keyframesNameRx, keyframesRule.transformedKeyframesName);-};-},-_scopeKeyframes: function (rule, scopeId) {-rule.keyframesNameRx = new RegExp(rule.keyframesName, 'g');-rule.transformedKeyframesName = rule.keyframesName + '-' + scopeId;-rule.transformedSelector = rule.transformedSelector || rule.selector;-rule.selector = rule.transformedSelector.replace(rule.keyframesName, rule.transformedKeyframesName);-},-_scopeSelector: function (rule, hostRx, hostSelector, viaAttr, scopeId) {-rule.transformedSelector = rule.transformedSelector || rule.selector;-var selector = rule.transformedSelector;-var scope = viaAttr ? '[' + styleTransformer.SCOPE_NAME + '~=' + scopeId + ']' : '.' + scopeId;-var parts = selector.split(',');-for (var i = 0, l = parts.length, p; i < l && (p = parts[i]); i++) {-parts[i] = p.match(hostRx) ? p.replace(hostSelector, scope) : scope + ' ' + p;-}-rule.selector = parts.join(',');-},-applyElementScopeSelector: function (element, selector, old, viaAttr) {-var c = viaAttr ? element.getAttribute(styleTransformer.SCOPE_NAME) : element.getAttribute('class') || '';-var v = old ? c.replace(old, selector) : (c ? c + ' ' : '') + this.XSCOPE_NAME + ' ' + selector;-if (c !== v) {-if (viaAttr) {-element.setAttribute(styleTransformer.SCOPE_NAME, v);-} else {-element.setAttribute('class', v);-}-}-},-applyElementStyle: function (element, properties, selector, style) {-var cssText = style ? style.textContent || '' : this.transformStyles(element, properties, selector);-var s = element._customStyle;-if (s && !settings.useNativeShadow && s !== style) {-s._useCount--;-if (s._useCount <= 0 && s.parentNode) {-s.parentNode.removeChild(s);-}-}-if (settings.useNativeShadow) {-if (element._customStyle) {-element._customStyle.textContent = cssText;-style = element._customStyle;-} else if (cssText) {-style = styleUtil.applyCss(cssText, selector, element.root, element._scopeStyle);-}-} else {-if (!style) {-if (cssText) {-style = styleUtil.applyCss(cssText, selector, null, element._scopeStyle);-}-} else if (!style.parentNode) {-if (IS_IE && cssText.indexOf('@media') > -1) {-style.textContent = cssText;-}-styleUtil.applyStyle(style, null, element._scopeStyle);-}-}-if (style) {-style._useCount = style._useCount || 0;-if (element._customStyle != style) {-style._useCount++;-}-element._customStyle = style;-}-return style;-},-mixinCustomStyle: function (props, customStyle) {-var v;-for (var i in customStyle) {-v = customStyle[i];-if (v || v === 0) {-props[i] = v;-}-}-},-updateNativeStyleProperties: function (element, properties) {-var oldPropertyNames = element.__customStyleProperties;-if (oldPropertyNames) {-for (var i = 0; i < oldPropertyNames.length; i++) {-element.style.removeProperty(oldPropertyNames[i]);-}-}-var propertyNames = [];-for (var p in properties) {-if (properties[p] !== null) {-element.style.setProperty(p, properties[p]);-propertyNames.push(p);-}-}-element.__customStyleProperties = propertyNames;-},-rx: styleUtil.rx,-XSCOPE_NAME: 'x-scope'-};-function addToBitMask(n, bits) {-var o = parseInt(n / 32);-var v = 1 << n % 32;-bits[o] = (bits[o] || 0) | v;-}-}();(function () {-Polymer.StyleCache = function () {-this.cache = {};-};-Polymer.StyleCache.prototype = {-MAX: 100,-store: function (is, data, keyValues, keyStyles) {-data.keyValues = keyValues;-data.styles = keyStyles;-var s$ = this.cache[is] = this.cache[is] || [];-s$.push(data);-if (s$.length > this.MAX) {-s$.shift();-}-},-retrieve: function (is, keyValues, keyStyles) {-var cache = this.cache[is];-if (cache) {-for (var i = cache.length - 1, data; i >= 0; i--) {-data = cache[i];-if (keyStyles === data.styles && this._objectsEqual(keyValues, data.keyValues)) {-return data;-}-}-}-},-clear: function () {-this.cache = {};-},-_objectsEqual: function (target, source) {-var t, s;-for (var i in target) {-t = target[i], s = source[i];-if (!(typeof t === 'object' && t ? this._objectsStrictlyEqual(t, s) : t === s)) {-return false;-}-}-if (Array.isArray(target)) {-return target.length === source.length;-}-return true;-},-_objectsStrictlyEqual: function (target, source) {-return this._objectsEqual(target, source) && this._objectsEqual(source, target);-}-};-}());Polymer.StyleDefaults = function () {-var styleProperties = Polymer.StyleProperties;-var StyleCache = Polymer.StyleCache;-var nativeVariables = Polymer.Settings.useNativeCSSProperties;-var api = {-_styles: [],-_properties: null,-customStyle: {},-_styleCache: new StyleCache(),-_element: Polymer.DomApi.wrap(document.documentElement),-addStyle: function (style) {-this._styles.push(style);-this._properties = null;-},-get _styleProperties() {-if (!this._properties) {-styleProperties.decorateStyles(this._styles, this);-this._styles._scopeStyleProperties = null;-this._properties = styleProperties.hostAndRootPropertiesForScope(this).rootProps;-styleProperties.mixinCustomStyle(this._properties, this.customStyle);-styleProperties.reify(this._properties);-}-return this._properties;-},-hasStyleProperties: function () {-return Boolean(this._properties);-},-_needsStyleProperties: function () {-},-_computeStyleProperties: function () {-return this._styleProperties;-},-updateStyles: function (properties) {-this._properties = null;-if (properties) {-Polymer.Base.mixin(this.customStyle, properties);-}-this._styleCache.clear();-for (var i = 0, s; i < this._styles.length; i++) {-s = this._styles[i];-s = s.__importElement || s;-s._apply();-}-if (nativeVariables) {-styleProperties.updateNativeStyleProperties(document.documentElement, this.customStyle);-}-}-};-return api;-}();(function () {-'use strict';-var serializeValueToAttribute = Polymer.Base.serializeValueToAttribute;-var propertyUtils = Polymer.StyleProperties;-var styleTransformer = Polymer.StyleTransformer;-var styleDefaults = Polymer.StyleDefaults;-var nativeShadow = Polymer.Settings.useNativeShadow;-var nativeVariables = Polymer.Settings.useNativeCSSProperties;-Polymer.Base._addFeature({-_prepStyleProperties: function () {-if (!nativeVariables) {-this._ownStylePropertyNames = this._styles && this._styles.length ? propertyUtils.decorateStyles(this._styles, this) : null;-}-},-customStyle: null,-getComputedStyleValue: function (property) {-return !nativeVariables && this._styleProperties && this._styleProperties[property] || getComputedStyle(this).getPropertyValue(property);-},-_setupStyleProperties: function () {-this.customStyle = {};-this._styleCache = null;-this._styleProperties = null;-this._scopeSelector = null;-this._ownStyleProperties = null;-this._customStyle = null;-},-_needsStyleProperties: function () {-return Boolean(!nativeVariables && this._ownStylePropertyNames && this._ownStylePropertyNames.length);-},-_validateApplyShim: function () {-if (this.__applyShimInvalid) {-Polymer.ApplyShim.transform(this._styles, this.__proto__);-var cssText = styleTransformer.elementStyles(this);-if (nativeShadow) {-var templateStyle = this._template.content.querySelector('style');-if (templateStyle) {-templateStyle.textContent = cssText;-}-} else {-var shadyStyle = this._scopeStyle && this._scopeStyle.nextSibling;-if (shadyStyle) {-shadyStyle.textContent = cssText;-}-}-}-},-_beforeAttached: function () {-if ((!this._scopeSelector || this.__stylePropertiesInvalid) && this._needsStyleProperties()) {-this.__stylePropertiesInvalid = false;-this._updateStyleProperties();-}-},-_findStyleHost: function () {-var e = this, root;-while (root = Polymer.dom(e).getOwnerRoot()) {-if (Polymer.isInstance(root.host)) {-return root.host;-}-e = root.host;-}-return styleDefaults;-},-_updateStyleProperties: function () {-var info, scope = this._findStyleHost();-if (!scope._styleProperties) {-scope._computeStyleProperties();-}-if (!scope._styleCache) {-scope._styleCache = new Polymer.StyleCache();-}-var scopeData = propertyUtils.propertyDataFromStyles(scope._styles, this);-var scopeCacheable = !this.__notStyleScopeCacheable;-if (scopeCacheable) {-scopeData.key.customStyle = this.customStyle;-info = scope._styleCache.retrieve(this.is, scopeData.key, this._styles);-}-var scopeCached = Boolean(info);-if (scopeCached) {-this._styleProperties = info._styleProperties;-} else {-this._computeStyleProperties(scopeData.properties);-}-this._computeOwnStyleProperties();-if (!scopeCached) {-info = styleCache.retrieve(this.is, this._ownStyleProperties, this._styles);-}-var globalCached = Boolean(info) && !scopeCached;-var style = this._applyStyleProperties(info);-if (!scopeCached) {-style = style && nativeShadow ? style.cloneNode(true) : style;-info = {-style: style,-_scopeSelector: this._scopeSelector,-_styleProperties: this._styleProperties-};-if (scopeCacheable) {-scopeData.key.customStyle = {};-this.mixin(scopeData.key.customStyle, this.customStyle);-scope._styleCache.store(this.is, info, scopeData.key, this._styles);-}-if (!globalCached) {-styleCache.store(this.is, Object.create(info), this._ownStyleProperties, this._styles);-}-}-},-_computeStyleProperties: function (scopeProps) {-var scope = this._findStyleHost();-if (!scope._styleProperties) {-scope._computeStyleProperties();-}-var props = Object.create(scope._styleProperties);-var hostAndRootProps = propertyUtils.hostAndRootPropertiesForScope(this);-this.mixin(props, hostAndRootProps.hostProps);-scopeProps = scopeProps || propertyUtils.propertyDataFromStyles(scope._styles, this).properties;-this.mixin(props, scopeProps);-this.mixin(props, hostAndRootProps.rootProps);-propertyUtils.mixinCustomStyle(props, this.customStyle);-propertyUtils.reify(props);-this._styleProperties = props;-},-_computeOwnStyleProperties: function () {-var props = {};-for (var i = 0, n; i < this._ownStylePropertyNames.length; i++) {-n = this._ownStylePropertyNames[i];-props[n] = this._styleProperties[n];-}-this._ownStyleProperties = props;-},-_scopeCount: 0,-_applyStyleProperties: function (info) {-var oldScopeSelector = this._scopeSelector;-this._scopeSelector = info ? info._scopeSelector : this.is + '-' + this.__proto__._scopeCount++;-var style = propertyUtils.applyElementStyle(this, this._styleProperties, this._scopeSelector, info && info.style);-if (!nativeShadow) {-propertyUtils.applyElementScopeSelector(this, this._scopeSelector, oldScopeSelector, this._scopeCssViaAttr);-}-return style;-},-serializeValueToAttribute: function (value, attribute, node) {-node = node || this;-if (attribute === 'class' && !nativeShadow) {-var host = node === this ? this.domHost || this.dataHost : this;-if (host) {-value = host._scopeElementClass(node, value);-}-}-node = this.shadyRoot && this.shadyRoot._hasDistributed ? Polymer.dom(node) : node;-serializeValueToAttribute.call(this, value, attribute, node);-},-_scopeElementClass: function (element, selector) {-if (!nativeShadow && !this._scopeCssViaAttr) {-selector = (selector ? selector + ' ' : '') + SCOPE_NAME + ' ' + this.is + (element._scopeSelector ? ' ' + XSCOPE_NAME + ' ' + element._scopeSelector : '');-}-return selector;-},-updateStyles: function (properties) {-if (properties) {-this.mixin(this.customStyle, properties);-}-if (nativeVariables) {-propertyUtils.updateNativeStyleProperties(this, this.customStyle);-} else {-if (this.isAttached) {-if (this._needsStyleProperties()) {-this._updateStyleProperties();-} else {-this._styleProperties = null;-}-} else {-this.__stylePropertiesInvalid = true;-}-if (this._styleCache) {-this._styleCache.clear();-}-this._updateRootStyles();-}-},-_updateRootStyles: function (root) {-root = root || this.root;-var c$ = Polymer.dom(root)._query(function (e) {-return e.shadyRoot || e.shadowRoot;-});-for (var i = 0, l = c$.length, c; i < l && (c = c$[i]); i++) {-if (c.updateStyles) {-c.updateStyles();-}-}-}-});-Polymer.updateStyles = function (properties) {-styleDefaults.updateStyles(properties);-Polymer.Base._updateRootStyles(document);-};-var styleCache = new Polymer.StyleCache();-Polymer.customStyleCache = styleCache;-var SCOPE_NAME = styleTransformer.SCOPE_NAME;-var XSCOPE_NAME = propertyUtils.XSCOPE_NAME;-}());Polymer.Base._addFeature({-_registerFeatures: function () {-this._prepIs();-this._prepConstructor();-this._prepStyles();-},-_finishRegisterFeatures: function () {-this._prepTemplate();-this._prepShimStyles();-this._prepAnnotations();-this._prepEffects();-this._prepBehaviors();-this._prepPropertyInfo();-this._prepBindings();-this._prepShady();-},-_prepBehavior: function (b) {-this._addPropertyEffects(b.properties);-this._addComplexObserverEffects(b.observers);-this._addHostAttributes(b.hostAttributes);-},-_initFeatures: function () {-this._setupGestures();-this._setupConfigure();-this._setupStyleProperties();-this._setupDebouncers();-this._setupShady();-this._registerHost();-if (this._template) {-this._validateApplyShim();-this._poolContent();-this._beginHosting();-this._stampTemplate();-this._endHosting();-this._marshalAnnotationReferences();-}-this._marshalInstanceEffects();-this._marshalBehaviors();-this._marshalHostAttributes();-this._marshalAttributes();-this._tryReady();-},-_marshalBehavior: function (b) {-if (b.listeners) {-this._listenListeners(b.listeners);-}-}-});(function () {-var propertyUtils = Polymer.StyleProperties;-var styleUtil = Polymer.StyleUtil;-var cssParse = Polymer.CssParse;-var styleDefaults = Polymer.StyleDefaults;-var styleTransformer = Polymer.StyleTransformer;-var applyShim = Polymer.ApplyShim;-var debounce = Polymer.Debounce;-var settings = Polymer.Settings;-var updateDebouncer;-Polymer({-is: 'custom-style',-extends: 'style',-_template: null,-properties: { include: String },-ready: function () {-this.__appliedElement = this.__appliedElement || this;-this.__cssBuild = styleUtil.getCssBuildType(this);-if (this.__appliedElement !== this) {-this.__appliedElement.__cssBuild = this.__cssBuild;-}-this._tryApply();-},-attached: function () {-this._tryApply();-},-_tryApply: function () {-if (!this._appliesToDocument) {-if (this.parentNode && this.parentNode.localName !== 'dom-module') {-this._appliesToDocument = true;-var e = this.__appliedElement;-if (!settings.useNativeCSSProperties) {-this.__needsUpdateStyles = styleDefaults.hasStyleProperties();-styleDefaults.addStyle(e);-}-if (e.textContent || this.include) {-this._apply(true);-} else {-var self = this;-var observer = new MutationObserver(function () {-observer.disconnect();-self._apply(true);-});-observer.observe(e, { childList: true });-}-}-}-},-_updateStyles: function () {-Polymer.updateStyles();-},-_apply: function (initialApply) {-var e = this.__appliedElement;-if (this.include) {-e.textContent = styleUtil.cssFromModules(this.include, true) + e.textContent;-}-if (!e.textContent) {-return;-}-var buildType = this.__cssBuild;-var targetedBuild = styleUtil.isTargetedBuild(buildType);-if (settings.useNativeCSSProperties && targetedBuild) {-return;-}-var styleRules = styleUtil.rulesForStyle(e);-if (!targetedBuild) {-styleUtil.forEachRule(styleRules, function (rule) {-styleTransformer.documentRule(rule);-});-if (settings.useNativeCSSProperties && !buildType) {-applyShim.transform([e]);-}-}-if (settings.useNativeCSSProperties) {-e.textContent = styleUtil.toCssText(styleRules);-} else {-var self = this;-var fn = function fn() {-self._flushCustomProperties();-};-if (initialApply) {-Polymer.RenderStatus.whenReady(fn);-} else {-fn();-}-}-},-_flushCustomProperties: function () {-if (this.__needsUpdateStyles) {-this.__needsUpdateStyles = false;-updateDebouncer = debounce(updateDebouncer, this._updateStyles);-} else {-this._applyCustomProperties();-}-},-_applyCustomProperties: function () {-var element = this.__appliedElement;-this._computeStyleProperties();-var props = this._styleProperties;-var rules = styleUtil.rulesForStyle(element);-if (!rules) {-return;-}-element.textContent = styleUtil.toCssText(rules, function (rule) {-var css = rule.cssText = rule.parsedCssText;-if (rule.propertyInfo && rule.propertyInfo.cssText) {-css = cssParse.removeCustomPropAssignment(css);-rule.cssText = propertyUtils.valueForProperties(css, props);-}-});-}-});-}());Polymer.Templatizer = {-properties: { __hideTemplateChildren__: { observer: '_showHideChildren' } },-_instanceProps: Polymer.nob,-_parentPropPrefix: '_parent_',-templatize: function (template) {-this._templatized = template;-if (!template._content) {-template._content = template.content;-}-if (template._content._ctor) {-this.ctor = template._content._ctor;-this._prepParentProperties(this.ctor.prototype, template);-return;-}-var archetype = Object.create(Polymer.Base);-this._customPrepAnnotations(archetype, template);-this._prepParentProperties(archetype, template);-archetype._prepEffects();-this._customPrepEffects(archetype);-archetype._prepBehaviors();-archetype._prepPropertyInfo();-archetype._prepBindings();-archetype._notifyPathUp = this._notifyPathUpImpl;-archetype._scopeElementClass = this._scopeElementClassImpl;-archetype.listen = this._listenImpl;-archetype._showHideChildren = this._showHideChildrenImpl;-archetype.__setPropertyOrig = this.__setProperty;-archetype.__setProperty = this.__setPropertyImpl;-var _constructor = this._constructorImpl;-var ctor = function TemplateInstance(model, host) {-_constructor.call(this, model, host);-};-ctor.prototype = archetype;-archetype.constructor = ctor;-template._content._ctor = ctor;-this.ctor = ctor;-},-_getRootDataHost: function () {-return this.dataHost && this.dataHost._rootDataHost || this.dataHost;-},-_showHideChildrenImpl: function (hide) {-var c = this._children;-for (var i = 0; i < c.length; i++) {-var n = c[i];-if (Boolean(hide) != Boolean(n.__hideTemplateChildren__)) {-if (n.nodeType === Node.TEXT_NODE) {-if (hide) {-n.__polymerTextContent__ = n.textContent;-n.textContent = '';-} else {-n.textContent = n.__polymerTextContent__;-}-} else if (n.style) {-if (hide) {-n.__polymerDisplay__ = n.style.display;-n.style.display = 'none';-} else {-n.style.display = n.__polymerDisplay__;-}-}-}-n.__hideTemplateChildren__ = hide;-}-},-__setPropertyImpl: function (property, value, fromAbove, node) {-if (node && node.__hideTemplateChildren__ && property == 'textContent') {-property = '__polymerTextContent__';-}-this.__setPropertyOrig(property, value, fromAbove, node);-},-_debounceTemplate: function (fn) {-Polymer.dom.addDebouncer(this.debounce('_debounceTemplate', fn));-},-_flushTemplates: function () {-Polymer.dom.flush();-},-_customPrepEffects: function (archetype) {-var parentProps = archetype._parentProps;-for (var prop in parentProps) {-archetype._addPropertyEffect(prop, 'function', this._createHostPropEffector(prop));-}-for (prop in this._instanceProps) {-archetype._addPropertyEffect(prop, 'function', this._createInstancePropEffector(prop));-}-},-_customPrepAnnotations: function (archetype, template) {-archetype._template = template;-var c = template._content;-if (!c._notes) {-var rootDataHost = archetype._rootDataHost;-if (rootDataHost) {-Polymer.Annotations.prepElement = function () {-rootDataHost._prepElement();-};-}-c._notes = Polymer.Annotations.parseAnnotations(template);-Polymer.Annotations.prepElement = null;-this._processAnnotations(c._notes);-}-archetype._notes = c._notes;-archetype._parentProps = c._parentProps;-},-_prepParentProperties: function (archetype, template) {-var parentProps = this._parentProps = archetype._parentProps;-if (this._forwardParentProp && parentProps) {-var proto = archetype._parentPropProto;-var prop;-if (!proto) {-for (prop in this._instanceProps) {-delete parentProps[prop];-}-proto = archetype._parentPropProto = Object.create(null);-if (template != this) {-Polymer.Bind.prepareModel(proto);-Polymer.Base.prepareModelNotifyPath(proto);-}-for (prop in parentProps) {-var parentProp = this._parentPropPrefix + prop;-var effects = [-{-kind: 'function',-effect: this._createForwardPropEffector(prop),-fn: Polymer.Bind._functionEffect-},-{-kind: 'notify',-fn: Polymer.Bind._notifyEffect,-effect: { event: Polymer.CaseMap.camelToDashCase(parentProp) + '-changed' }-}-];-Polymer.Bind._createAccessors(proto, parentProp, effects);-}-}-var self = this;-if (template != this) {-Polymer.Bind.prepareInstance(template);-template._forwardParentProp = function (source, value) {-self._forwardParentProp(source, value);-};-}-this._extendTemplate(template, proto);-template._pathEffector = function (path, value, fromAbove) {-return self._pathEffectorImpl(path, value, fromAbove);-};-}-},-_createForwardPropEffector: function (prop) {-return function (source, value) {-this._forwardParentProp(prop, value);-};-},-_createHostPropEffector: function (prop) {-var prefix = this._parentPropPrefix;-return function (source, value) {-this.dataHost._templatized[prefix + prop] = value;-};-},-_createInstancePropEffector: function (prop) {-return function (source, value, old, fromAbove) {-if (!fromAbove) {-this.dataHost._forwardInstanceProp(this, prop, value);-}-};-},-_extendTemplate: function (template, proto) {-var n$ = Object.getOwnPropertyNames(proto);-if (proto._propertySetter) {-template._propertySetter = proto._propertySetter;-}-for (var i = 0, n; i < n$.length && (n = n$[i]); i++) {-var val = template[n];-var pd = Object.getOwnPropertyDescriptor(proto, n);-Object.defineProperty(template, n, pd);-if (val !== undefined) {-template._propertySetter(n, val);-}-}-},-_showHideChildren: function (hidden) {-},-_forwardInstancePath: function (inst, path, value) {-},-_forwardInstanceProp: function (inst, prop, value) {-},-_notifyPathUpImpl: function (path, value) {-var dataHost = this.dataHost;-var root = Polymer.Path.root(path);-dataHost._forwardInstancePath.call(dataHost, this, path, value);-if (root in dataHost._parentProps) {-dataHost._templatized._notifyPath(dataHost._parentPropPrefix + path, value);-}-},-_pathEffectorImpl: function (path, value, fromAbove) {-if (this._forwardParentPath) {-if (path.indexOf(this._parentPropPrefix) === 0) {-var subPath = path.substring(this._parentPropPrefix.length);-var model = Polymer.Path.root(subPath);-if (model in this._parentProps) {-this._forwardParentPath(subPath, value);-}-}-}-Polymer.Base._pathEffector.call(this._templatized, path, value, fromAbove);-},-_constructorImpl: function (model, host) {-this._rootDataHost = host._getRootDataHost();-this._setupConfigure(model);-this._registerHost(host);-this._beginHosting();-this.root = this.instanceTemplate(this._template);-this.root.__noContent = !this._notes._hasContent;-this.root.__styleScoped = true;-this._endHosting();-this._marshalAnnotatedNodes();-this._marshalInstanceEffects();-this._marshalAnnotatedListeners();-var children = [];-for (var n = this.root.firstChild; n; n = n.nextSibling) {-children.push(n);-n._templateInstance = this;-}-this._children = children;-if (host.__hideTemplateChildren__) {-this._showHideChildren(true);-}-this._tryReady();-},-_listenImpl: function (node, eventName, methodName) {-var model = this;-var host = this._rootDataHost;-var handler = host._createEventHandler(node, eventName, methodName);-var decorated = function (e) {-e.model = model;-handler(e);-};-host._listen(node, eventName, decorated);-},-_scopeElementClassImpl: function (node, value) {-var host = this._rootDataHost;-if (host) {-return host._scopeElementClass(node, value);-}-return value;-},-stamp: function (model) {-model = model || {};-if (this._parentProps) {-var templatized = this._templatized;-for (var prop in this._parentProps) {-if (model[prop] === undefined) {-model[prop] = templatized[this._parentPropPrefix + prop];-}-}-}-return new this.ctor(model, this);-},-modelForElement: function (el) {-var model;-while (el) {-if (model = el._templateInstance) {-if (model.dataHost != this) {-el = model.dataHost;-} else {-return model;-}-} else {-el = el.parentNode;-}-}-}-};Polymer({-is: 'dom-template',-extends: 'template',-_template: null,-behaviors: [Polymer.Templatizer],-ready: function () {-this.templatize(this);-}-});Polymer._collections = new WeakMap();-Polymer.Collection = function (userArray) {-Polymer._collections.set(userArray, this);-this.userArray = userArray;-this.store = userArray.slice();-this.initMap();-};-Polymer.Collection.prototype = {-constructor: Polymer.Collection,-initMap: function () {-var omap = this.omap = new WeakMap();-var pmap = this.pmap = {};-var s = this.store;-for (var i = 0; i < s.length; i++) {-var item = s[i];-if (item && typeof item == 'object') {-omap.set(item, i);-} else {-pmap[item] = i;-}-}-},-add: function (item) {-var key = this.store.push(item) - 1;-if (item && typeof item == 'object') {-this.omap.set(item, key);-} else {-this.pmap[item] = key;-}-return '#' + key;-},-removeKey: function (key) {-if (key = this._parseKey(key)) {-this._removeFromMap(this.store[key]);-delete this.store[key];-}-},-_removeFromMap: function (item) {-if (item && typeof item == 'object') {-this.omap.delete(item);-} else {-delete this.pmap[item];-}-},-remove: function (item) {-var key = this.getKey(item);-this.removeKey(key);-return key;-},-getKey: function (item) {-var key;-if (item && typeof item == 'object') {-key = this.omap.get(item);-} else {-key = this.pmap[item];-}-if (key != undefined) {-return '#' + key;-}-},-getKeys: function () {-return Object.keys(this.store).map(function (key) {-return '#' + key;-});-},-_parseKey: function (key) {-if (key && key[0] == '#') {-return key.slice(1);-}-},-setItem: function (key, item) {-if (key = this._parseKey(key)) {-var old = this.store[key];-if (old) {-this._removeFromMap(old);-}-if (item && typeof item == 'object') {-this.omap.set(item, key);-} else {-this.pmap[item] = key;-}-this.store[key] = item;-}-},-getItem: function (key) {-if (key = this._parseKey(key)) {-return this.store[key];-}-},-getItems: function () {-var items = [], store = this.store;-for (var key in store) {-items.push(store[key]);-}-return items;-},-_applySplices: function (splices) {-var keyMap = {}, key;-for (var i = 0, s; i < splices.length && (s = splices[i]); i++) {-s.addedKeys = [];-for (var j = 0; j < s.removed.length; j++) {-key = this.getKey(s.removed[j]);-keyMap[key] = keyMap[key] ? null : -1;-}-for (j = 0; j < s.addedCount; j++) {-var item = this.userArray[s.index + j];-key = this.getKey(item);-key = key === undefined ? this.add(item) : key;-keyMap[key] = keyMap[key] ? null : 1;-s.addedKeys.push(key);-}-}-var removed = [];-var added = [];-for (key in keyMap) {-if (keyMap[key] < 0) {-this.removeKey(key);-removed.push(key);-}-if (keyMap[key] > 0) {-added.push(key);-}-}-return [{-removed: removed,-added: added-}];-}-};-Polymer.Collection.get = function (userArray) {-return Polymer._collections.get(userArray) || new Polymer.Collection(userArray);-};-Polymer.Collection.applySplices = function (userArray, splices) {-var coll = Polymer._collections.get(userArray);-return coll ? coll._applySplices(splices) : 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: Function,-observer: '_sortChanged'-},-filter: {-type: Function,-observer: '_filterChanged'-},-observe: {-type: String,-observer: '_observeChanged'-},-delay: Number,-renderedItemCount: {-type: Number,-notify: true,-readOnly: true-},-initialCount: {-type: Number,-observer: '_initializeChunking'-},-targetFramerate: {-type: Number,-value: 20-},-_targetFrameTime: {-type: Number,-computed: '_computeFrameTime(targetFramerate)'-}-},-behaviors: [Polymer.Templatizer],-observers: ['_itemsChanged(items.*)'],-created: function () {-this._instances = [];-this._pool = [];-this._limit = Infinity;-var self = this;-this._boundRenderChunk = function () {-self._renderChunk();-};-},-detached: function () {-this.__isDetached = true;-for (var i = 0; i < this._instances.length; i++) {-this._detachInstance(i);-}-},-attached: function () {-if (this.__isDetached) {-this.__isDetached = false;-var parent = Polymer.dom(Polymer.dom(this).parentNode);-for (var i = 0; i < this._instances.length; i++) {-this._attachInstance(i, parent);-}-}-},-ready: function () {-this._instanceProps = { __key__: true };-this._instanceProps[this.as] = true;-this._instanceProps[this.indexAs] = true;-if (!this.ctor) {-this.templatize(this);-}-},-_sortChanged: function (sort) {-var dataHost = this._getRootDataHost();-this._sortFn = sort && (typeof sort == 'function' ? sort : function () {-return dataHost[sort].apply(dataHost, arguments);-});-this._needFullRefresh = true;-if (this.items) {-this._debounceTemplate(this._render);-}-},-_filterChanged: function (filter) {-var dataHost = this._getRootDataHost();-this._filterFn = filter && (typeof filter == 'function' ? filter : function () {-return dataHost[filter].apply(dataHost, arguments);-});-this._needFullRefresh = true;-if (this.items) {-this._debounceTemplate(this._render);-}-},-_computeFrameTime: function (rate) {-return Math.ceil(1000 / rate);-},-_initializeChunking: function () {-if (this.initialCount) {-this._limit = this.initialCount;-this._chunkCount = this.initialCount;-this._lastChunkTime = performance.now();-}-},-_tryRenderChunk: function () {-if (this.items && this._limit < this.items.length) {-this.debounce('renderChunk', this._requestRenderChunk);-}-},-_requestRenderChunk: function () {-requestAnimationFrame(this._boundRenderChunk);-},-_renderChunk: function () {-var currChunkTime = performance.now();-var ratio = this._targetFrameTime / (currChunkTime - this._lastChunkTime);-this._chunkCount = Math.round(this._chunkCount * ratio) || 1;-this._limit += this._chunkCount;-this._lastChunkTime = currChunkTime;-this._debounceTemplate(this._render);-},-_observeChanged: function () {-this._observePaths = this.observe && this.observe.replace('.*', '.').split(' ');-},-_itemsChanged: function (change) {-if (change.path == 'items') {-if (Array.isArray(this.items)) {-this.collection = Polymer.Collection.get(this.items);-} else if (!this.items) {-this.collection = null;-} else {-this._error(this._logf('dom-repeat', 'expected array for `items`,' + ' found', this.items));-}-this._keySplices = [];-this._indexSplices = [];-this._needFullRefresh = true;-this._initializeChunking();-this._debounceTemplate(this._render);-} else if (change.path == 'items.splices') {-this._keySplices = this._keySplices.concat(change.value.keySplices);-this._indexSplices = this._indexSplices.concat(change.value.indexSplices);-this._debounceTemplate(this._render);-} else {-var subpath = change.path.slice(6);-this._forwardItemPath(subpath, change.value);-this._checkObservedPaths(subpath);-}-},-_checkObservedPaths: function (path) {-if (this._observePaths) {-path = path.substring(path.indexOf('.') + 1);-var paths = this._observePaths;-for (var i = 0; i < paths.length; i++) {-if (path.indexOf(paths[i]) === 0) {-this._needFullRefresh = true;-if (this.delay) {-this.debounce('render', this._render, this.delay);-} else {-this._debounceTemplate(this._render);-}-return;-}-}-}-},-render: function () {-this._needFullRefresh = true;-this._debounceTemplate(this._render);-this._flushTemplates();-},-_render: function () {-if (this._needFullRefresh) {-this._applyFullRefresh();-this._needFullRefresh = false;-} else if (this._keySplices.length) {-if (this._sortFn) {-this._applySplicesUserSort(this._keySplices);-} else {-if (this._filterFn) {-this._applyFullRefresh();-} else {-this._applySplicesArrayOrder(this._indexSplices);-}-}-} else {-}-this._keySplices = [];-this._indexSplices = [];-var keyToIdx = this._keyToInstIdx = {};-for (var i = this._instances.length - 1; i >= 0; i--) {-var inst = this._instances[i];-if (inst.isPlaceholder && i < this._limit) {-inst = this._insertInstance(i, inst.__key__);-} else if (!inst.isPlaceholder && i >= this._limit) {-inst = this._downgradeInstance(i, inst.__key__);-}-keyToIdx[inst.__key__] = i;-if (!inst.isPlaceholder) {-inst.__setProperty(this.indexAs, i, true);-}-}-this._pool.length = 0;-this._setRenderedItemCount(this._instances.length);-this.fire('dom-change');-this._tryRenderChunk();-},-_applyFullRefresh: function () {-var c = this.collection;-var keys;-if (this._sortFn) {-keys = c ? c.getKeys() : [];-} else {-keys = [];-var items = this.items;-if (items) {-for (var i = 0; i < items.length; i++) {-keys.push(c.getKey(items[i]));-}-}-}-var self = this;-if (this._filterFn) {-keys = keys.filter(function (a) {-return self._filterFn(c.getItem(a));-});-}-if (this._sortFn) {-keys.sort(function (a, b) {-return self._sortFn(c.getItem(a), c.getItem(b));-});-}-for (i = 0; i < keys.length; i++) {-var key = keys[i];-var inst = this._instances[i];-if (inst) {-inst.__key__ = key;-if (!inst.isPlaceholder && i < this._limit) {-inst.__setProperty(this.as, c.getItem(key), true);-}-} else if (i < this._limit) {-this._insertInstance(i, key);-} else {-this._insertPlaceholder(i, key);-}-}-for (var j = this._instances.length - 1; j >= i; j--) {-this._detachAndRemoveInstance(j);-}-},-_numericSort: function (a, b) {-return a - b;-},-_applySplicesUserSort: function (splices) {-var c = this.collection;-var keyMap = {};-var key;-for (var i = 0, s; i < splices.length && (s = splices[i]); i++) {-for (var j = 0; j < s.removed.length; j++) {-key = s.removed[j];-keyMap[key] = keyMap[key] ? null : -1;-}-for (j = 0; j < s.added.length; j++) {-key = s.added[j];-keyMap[key] = keyMap[key] ? null : 1;-}-}-var removedIdxs = [];-var addedKeys = [];-for (key in keyMap) {-if (keyMap[key] === -1) {-removedIdxs.push(this._keyToInstIdx[key]);-}-if (keyMap[key] === 1) {-addedKeys.push(key);-}-}-if (removedIdxs.length) {-removedIdxs.sort(this._numericSort);-for (i = removedIdxs.length - 1; i >= 0; i--) {-var idx = removedIdxs[i];-if (idx !== undefined) {-this._detachAndRemoveInstance(idx);-}-}-}-var self = this;-if (addedKeys.length) {-if (this._filterFn) {-addedKeys = addedKeys.filter(function (a) {-return self._filterFn(c.getItem(a));-});-}-addedKeys.sort(function (a, b) {-return self._sortFn(c.getItem(a), c.getItem(b));-});-var start = 0;-for (i = 0; i < addedKeys.length; i++) {-start = this._insertRowUserSort(start, addedKeys[i]);-}-}-},-_insertRowUserSort: function (start, key) {-var c = this.collection;-var item = c.getItem(key);-var end = this._instances.length - 1;-var idx = -1;-while (start <= end) {-var mid = start + end >> 1;-var midKey = this._instances[mid].__key__;-var cmp = this._sortFn(c.getItem(midKey), item);-if (cmp < 0) {-start = mid + 1;-} else if (cmp > 0) {-end = mid - 1;-} else {-idx = mid;-break;-}-}-if (idx < 0) {-idx = end + 1;-}-this._insertPlaceholder(idx, key);-return idx;-},-_applySplicesArrayOrder: function (splices) {-for (var i = 0, s; i < splices.length && (s = splices[i]); i++) {-for (var j = 0; j < s.removed.length; j++) {-this._detachAndRemoveInstance(s.index);-}-for (j = 0; j < s.addedKeys.length; j++) {-this._insertPlaceholder(s.index + j, s.addedKeys[j]);-}-}-},-_detachInstance: function (idx) {-var inst = this._instances[idx];-if (!inst.isPlaceholder) {-for (var i = 0; i < inst._children.length; i++) {-var el = inst._children[i];-Polymer.dom(inst.root).appendChild(el);-}-return inst;-}-},-_attachInstance: function (idx, parent) {-var inst = this._instances[idx];-if (!inst.isPlaceholder) {-parent.insertBefore(inst.root, this);-}-},-_detachAndRemoveInstance: function (idx) {-var inst = this._detachInstance(idx);-if (inst) {-this._pool.push(inst);-}-this._instances.splice(idx, 1);-},-_insertPlaceholder: function (idx, key) {-this._instances.splice(idx, 0, {-isPlaceholder: true,-__key__: key-});-},-_stampInstance: function (idx, key) {-var model = { __key__: key };-model[this.as] = this.collection.getItem(key);-model[this.indexAs] = idx;-return this.stamp(model);-},-_insertInstance: function (idx, key) {-var inst = this._pool.pop();-if (inst) {-inst.__setProperty(this.as, this.collection.getItem(key), true);-inst.__setProperty('__key__', key, true);-} else {-inst = this._stampInstance(idx, key);-}-var beforeRow = this._instances[idx + 1];-var beforeNode = beforeRow && !beforeRow.isPlaceholder ? beforeRow._children[0] : this;-var parentNode = Polymer.dom(this).parentNode;-Polymer.dom(parentNode).insertBefore(inst.root, beforeNode);-this._instances[idx] = inst;-return inst;-},-_downgradeInstance: function (idx, key) {-var inst = this._detachInstance(idx);-if (inst) {-this._pool.push(inst);-}-inst = {-isPlaceholder: true,-__key__: key-};-this._instances[idx] = inst;-return inst;-},-_showHideChildren: function (hidden) {-for (var i = 0; i < this._instances.length; i++) {-this._instances[i]._showHideChildren(hidden);-}-},-_forwardInstanceProp: function (inst, prop, value) {-if (prop == this.as) {-var idx;-if (this._sortFn || this._filterFn) {-idx = this.items.indexOf(this.collection.getItem(inst.__key__));-} else {-idx = inst[this.indexAs];-}-this.set('items.' + idx, value);-}-},-_forwardInstancePath: function (inst, path, value) {-if (path.indexOf(this.as + '.') === 0) {-this._notifyPath('items.' + inst.__key__ + '.' + path.slice(this.as.length + 1), value);-}-},-_forwardParentProp: function (prop, value) {-var i$ = this._instances;-for (var i = 0, inst; i < i$.length && (inst = i$[i]); i++) {-if (!inst.isPlaceholder) {-inst.__setProperty(prop, value, true);-}-}-},-_forwardParentPath: function (path, value) {-var i$ = this._instances;-for (var i = 0, inst; i < i$.length && (inst = i$[i]); i++) {-if (!inst.isPlaceholder) {-inst._notifyPath(path, value, true);-}-}-},-_forwardItemPath: function (path, value) {-if (this._keyToInstIdx) {-var dot = path.indexOf('.');-var key = path.substring(0, dot < 0 ? path.length : dot);-var idx = this._keyToInstIdx[key];-var inst = this._instances[idx];-if (inst && !inst.isPlaceholder) {-if (dot >= 0) {-path = this.as + '.' + path.substring(dot + 1);-inst._notifyPath(path, value, true);-} else {-inst.__setProperty(this.as, value, true);-}-}-}-},-itemForElement: function (el) {-var instance = this.modelForElement(el);-return instance && instance[this.as];-},-keyForElement: function (el) {-var instance = this.modelForElement(el);-return instance && instance.__key__;-},-indexForElement: function (el) {-var instance = this.modelForElement(el);-return instance && instance[this.indexAs];-}-});Polymer({-is: 'array-selector',-_template: null,-properties: {-items: {-type: Array,-observer: 'clearSelection'-},-multi: {-type: Boolean,-value: false,-observer: 'clearSelection'-},-selected: {-type: Object,-notify: true-},-selectedItem: {-type: Object,-notify: true-},-toggle: {-type: Boolean,-value: false-}-},-clearSelection: function () {-if (Array.isArray(this.selected)) {-for (var i = 0; i < this.selected.length; i++) {-this.unlinkPaths('selected.' + i);-}-} else {-this.unlinkPaths('selected');-this.unlinkPaths('selectedItem');-}-if (this.multi) {-if (!this.selected || this.selected.length) {-this.selected = [];-this._selectedColl = Polymer.Collection.get(this.selected);-}-} else {-this.selected = null;-this._selectedColl = null;-}-this.selectedItem = null;-},-isSelected: function (item) {-if (this.multi) {-return this._selectedColl.getKey(item) !== undefined;-} else {-return this.selected == item;-}-},-deselect: function (item) {-if (this.multi) {-if (this.isSelected(item)) {-var skey = this._selectedColl.getKey(item);-this.arrayDelete('selected', item);-this.unlinkPaths('selected.' + skey);-}-} else {-this.selected = null;-this.selectedItem = null;-this.unlinkPaths('selected');-this.unlinkPaths('selectedItem');-}-},-select: function (item) {-var icol = Polymer.Collection.get(this.items);-var key = icol.getKey(item);-if (this.multi) {-if (this.isSelected(item)) {-if (this.toggle) {-this.deselect(item);-}-} else {-this.push('selected', item);-var skey = this._selectedColl.getKey(item);-this.linkPaths('selected.' + skey, 'items.' + key);-}-} else {-if (this.toggle && item == this.selected) {-this.deselect();-} else {-this.selected = item;-this.selectedItem = item;-this.linkPaths('selected', 'items.' + key);-this.linkPaths('selectedItem', 'items.' + key);-}-}-}-});Polymer({-is: 'dom-if',-extends: 'template',-_template: null,-properties: {-'if': {-type: Boolean,-value: false,-observer: '_queueRender'-},-restamp: {-type: Boolean,-value: false,-observer: '_queueRender'-}-},-behaviors: [Polymer.Templatizer],-_queueRender: function () {-this._debounceTemplate(this._render);-},-detached: function () {-if (!this.parentNode || this.parentNode.nodeType == Node.DOCUMENT_FRAGMENT_NODE && (!Polymer.Settings.hasShadow || !(this.parentNode instanceof ShadowRoot))) {-this._teardownInstance();-}-},-attached: function () {-if (this.if && this.ctor) {-this.async(this._ensureInstance);-}-},-render: function () {-this._flushTemplates();-},-_render: function () {-if (this.if) {-if (!this.ctor) {-this.templatize(this);-}-this._ensureInstance();-this._showHideChildren();-} else if (this.restamp) {-this._teardownInstance();-}-if (!this.restamp && this._instance) {-this._showHideChildren();-}-if (this.if != this._lastIf) {-this.fire('dom-change');-this._lastIf = this.if;-}-},-_ensureInstance: function () {-var parentNode = Polymer.dom(this).parentNode;-if (parentNode) {-var parent = Polymer.dom(parentNode);-if (!this._instance) {-this._instance = this.stamp();-var root = this._instance.root;-parent.insertBefore(root, this);-} else {-var c$ = this._instance._children;-if (c$ && c$.length) {-var lastChild = Polymer.dom(this).previousSibling;-if (lastChild !== c$[c$.length - 1]) {-for (var i = 0, n; i < c$.length && (n = c$[i]); i++) {-parent.insertBefore(n, this);-}-}-}-}-}-},-_teardownInstance: function () {-if (this._instance) {-var c$ = this._instance._children;-if (c$ && c$.length) {-var parent = Polymer.dom(Polymer.dom(c$[0]).parentNode);-for (var i = 0, n; i < c$.length && (n = c$[i]); i++) {-parent.removeChild(n);-}-}-this._instance = null;-}-},-_showHideChildren: function () {-var hidden = this.__hideTemplateChildren__ || !this.if;-if (this._instance) {-this._instance._showHideChildren(hidden);-}-},-_forwardParentProp: function (prop, value) {-if (this._instance) {-this._instance.__setProperty(prop, value, true);-}-},-_forwardParentPath: function (path, value) {-if (this._instance) {-this._instance._notifyPath(path, value, true);-}-}-});Polymer({-is: 'dom-bind',-extends: 'template',-_template: null,-created: function () {-var self = this;-Polymer.RenderStatus.whenReady(function () {-if (document.readyState == 'loading') {-document.addEventListener('DOMContentLoaded', function () {-self._markImportsReady();-});-} else {-self._markImportsReady();-}-});-},-_ensureReady: function () {-if (!this._readied) {-this._readySelf();-}-},-_markImportsReady: function () {-this._importsReady = true;-this._ensureReady();-},-_registerFeatures: function () {-this._prepConstructor();-},-_insertChildren: function () {-var parentDom = Polymer.dom(Polymer.dom(this).parentNode);-parentDom.insertBefore(this.root, this);-},-_removeChildren: function () {-if (this._children) {-for (var i = 0; i < this._children.length; i++) {-this.root.appendChild(this._children[i]);-}-}-},-_initFeatures: function () {-},-_scopeElementClass: function (element, selector) {-if (this.dataHost) {-return this.dataHost._scopeElementClass(element, selector);-} else {-return selector;-}-},-_configureInstanceProperties: function () {-},-_prepConfigure: function () {-var config = {};-for (var prop in this._propertyEffects) {-config[prop] = this[prop];-}-var setupConfigure = this._setupConfigure;-this._setupConfigure = function () {-setupConfigure.call(this, config);-};-},-attached: function () {-if (this._importsReady) {-this.render();-}-},-detached: function () {-this._removeChildren();-},-render: function () {-this._ensureReady();-if (!this._children) {-this._template = this;-this._prepAnnotations();-this._prepEffects();-this._prepBehaviors();-this._prepConfigure();-this._prepBindings();-this._prepPropertyInfo();-Polymer.Base._initFeatures.call(this);-this._children = Polymer.TreeApi.arrayCopyChildNodes(this.root);-}-this._insertChildren();-this.fire('dom-change');-}-});</script>+<script>Polymer.nar=[],Polymer.Annotations={parseAnnotations:function(e){var t=[],n=e._content||e.content;return this._parseNodeAnnotations(n,t,e.hasAttribute("strip-whitespace")),t},_parseNodeAnnotations:function(e,t,n){return e.nodeType===Node.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.exec(e));){t.index>s&&r.push({literal:e.slice(s,t.index)});var i,o,a,l=t[1][0],c=Boolean(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,event: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},_parseTextNodeAnnotation: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}},_parseElementAnnotations: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},_parseChildNodesAnnotations:function(e,t,n,r){if(e.firstChild)for(var s=e.firstChild,i=0;s;){var o=s.nextSibling;if("template"!==s.localName||s.hasAttribute("preserve-content")||this._parseTemplate(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.textContent+=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(var t=e.ownerDocument.createElement("content");e.firstChild;)t.appendChild(e.firstChild);for(var n=e.attributes,r=0;r<n.length;r++){var s=n[r];t.setAttribute(s.name,s.value)}var i=e.getAttribute("name"),o=i?"[slot='"+i+"']":":not([slot])";return t.setAttribute("select",o),e.parentNode.replaceChild(t,e),t},_parseTemplate:function(e,t,n,r){var s=document.createDocumentFragment();s._notes=this.parseAnnotations(e),s.appendChild(e.content),n.push({bindings:Polymer.nar,events:Polymer.nar,templateContent:s,parent:r,index:t})},_parseNodeAttributeAnnotations:function(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.events.push({name:o.slice(3),value:a})):(i=this._parseNodeAttributeAnnotation(e,o,a))?t.bindings.push(i):"id"===o&&(t.id=a)}},_parseNodeAttributeAnnotation:function(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&&"attribute"==i&&e.setAttribute(t,o),"input"===e.localName&&"value"===s&&e.setAttribute(s,""),e.removeAttribute(s);var a=Polymer.CaseMap.dashToCamelCase(t);return"property"===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.findAnnotatedNode(e,t.parent);if(!n)return e;for(var r=n.firstChild,s=0;r;r=r.nextSibling)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="style"===i?e(a,r):n(a,r)))}function n(e,t){if(e&&c.test(e))return e;var n=s(t);return n.href=e,n.href||e}function r(e,t){return i||(i=document.implementation.createHTMLDocument("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={resolveCss:e,resolveAttrs:t,resolveUrl:r}}(),Polymer.Path={root:function(e){var t=e.indexOf(".");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:function(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._prepElement(t)},this._template._content&&this._template._content._notes?this._notes=this._template._content._notes:(this._notes=Polymer.Annotations.parseAnnotations(this._template),this._processAnnotations(this._notes)),Polymer.Annotations.prepElement=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._parseMethod(o.value);a?o.signature=a:o.model=Polymer.Path.root(o.value)}}if(n.templateContent){this._processAnnotations(n.templateContent._notes);var l=n.templateContent._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.concat(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.signature.method]=!0)}else a.model&&(n[a.model]=!0);if(t.templateContent){var p=t.templateContent._parentProps;Polymer.Base.mixin(n,p)}}return n},_prepElement:function(e){Polymer.ResolveUrl.resolveAttrs(e,this._template.ownerDocument)},_findAnnotatedNode:Polymer.Annotations.findAnnotatedNode,_marshalAnnotationReferences:function(){this._template&&(this._marshalIdNodes(),this._marshalAnnotatedNodes(),this._marshalAnnotatedListeners())},_configureAnnotationReferences:function(){for(var e=this._notes,t=this._nodes,n=0;n<e.length;n++){var r=e[n],s=t[n];this._configureTemplateContent(r,s),this._configureCompoundBindings(r,s)}},_configureTemplateContent:function(e,t){e.templateContent&&(t._content=e.templateContent)},_configureCompoundBindings: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.__compoundStorage__={}),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._findAnnotatedNode(this.root,e))},_marshalAnnotatedNodes:function(){if(this._notes&&this._notes.length){for(var e=new Array(this._notes.length),t=0;t<this._notes.length;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._findAnnotatedNode(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._recallEventHandler(this,t,e,n);r||(r=this._createEventHandler(e,t,n)),r._listening||(this._listen(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.__boundListeners=new WeakMap);var o=i.get(n);o||(o={},i.set(n,o));var a=this._boundListenerKey(t,r);o[a]=s},_recallEventHandler:function(e,t,n,r){var s=e.__boundListeners;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:function(e,t,n){e.removeEventListener(t,n)}}),function(){"use strict";function e(e){for(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.mouse.mouseIgnoreJob=Polymer.Debounce(S.mouse.mouseIgnoreJob,t,d)}function n(e){var t=e.type;if(m.indexOf(t)===-1)return!1;if("mousemove"===t){var n=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!v&&(n=y[e.which]||0),Boolean(1&n)}var r=void 0===e.button?0:e.button;return 0===r}function r(e){if("click"===e.type){if(0===e.detail)return!0;var t=C.findOriginalTarget(e),n=t.getBoundingClientRect(),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("mouseup",n)}function o(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}var a=Polymer.DomApi.wrap,l="string"==typeof document.head.style.touchAction,c="__polymerGestures",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.sourceCapabilities;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)return;e.preventDefault(),e.stopPropagation()}},S={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}},C={gestures:{},recognizers:[],deepTargetFind:function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot;)r=r.shadowRoot.elementFromPoint(e,t),r&&(n=r);return n},findOriginalTarget: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.touches.length&&(S.touch.id=u.identifier),S.touch.id!==u.identifier)return;l||"touchstart"!==r&&"touchmove"!==r||C.handleTouchAction(e),"touchend"===r&&(S.mouse.target=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.name]&&(n[f.name]=!0,f[r](e))}}}},handleTouchAction:function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)S.touch.x=t.clientX,S.touch.y=t.clientY,S.touch.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.abs(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={_count: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.setTouchAction(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.recognizers.push(e);for(var t=0;t<e.emits.length;t++)this.gestures[e.emits[t]]=e},findRecognizerByEvent:function(e){for(var t,n=0;n<this.recognizers.length;n++){t=this.recognizers[n];for(var r,s=0;s<t.emits.length;s++)if(r=t.emits[s],r===e)return 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.mouseIgnoreJob&&S.mouse.mouseIgnoreJob.complete()}};C.register({name:"downup",deps:["mousedown","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=this,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:function(e){this.fire("down",C.findOriginalTarget(e),e.changedTouches[0],e)},touchend:function(e){this.fire("up",C.findOriginalTarget(e),e.changedTouches[0],e)},fire:function(e,t,n,r){C.fire(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(e){return C.prevent(e)}})}}),C.register({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","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:function(){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(this.info.x-e),r=Math.abs(this.info.y-t);return n>=p||r>=p},mousedown:function(e){if(n(e)){var t=C.findOriginalTarget(e),r=this,s=function(e){var s=e.clientX,i=e.clientY;r.hasMovedEnough(s,i)&&(r.info.state=r.info.started?"mouseup"===e.type?"end":"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=function(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.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=C.findOriginalTarget(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}),this.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.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),this.fire(t,n,e))},fire: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:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){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.changedTouches[0],e)},touchend:function(e){this.forward(e.changedTouches[0],e)},forward: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,preventer:t}))}});var E={x:"pan-x",y:"pan-y",none:"none",all:"auto"};Polymer.Base._addFeature({_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)},setScrollDirection: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 Polymer.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:function(e,t,n){n&&Polymer.dom(n).removeAttribute(e),t&&Polymer.dom(t).setAttribute(e,"")},getEffectiveChildNodes:function(){return Polymer.dom(this).getEffectiveChildNodes()},getEffectiveChildren:function(){var e=Polymer.dom(this).getEffectiveChildNodes();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).textContent);return n.join("")},queryEffectiveChildren:function(e){var t=Polymer.dom(this).queryDistributedElements(e);return t&&t[0]},queryAllEffectiveChildren:function(e){return Polymer.dom(this).queryDistributedElements(e)},getContentChildNodes:function(e){var t=Polymer.dom(this.root).querySelector(e||"content");return t?Polymer.dom(t).getDistributedNodes():[]},getContentChildren:function(e){return this.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NODE})},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._useCache,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:function(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){var n=this;return Polymer.Async.run(function(){e.call(n)},t)},cancelAsync:function(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.indexOf(t),n>=0)return this.splice(e,n,1)}},transform:function(e,t){t=t||this,t.style.webkitTransform=e,t.style.transform=e},translate3d:function(e,t,n,r){r=r||this,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.Base.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.removeEventListener("load",c),t.call(l,e)};a.addEventListener("load",c)}if(n){var h=function(e){return e.target.__firedError=!0,e.target.removeEventListener("error",h),n.call(l,e)};a.addEventListener("error",h)}return o?(o.__firedLoad&&o.dispatchEvent(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()},isLocalDescendant:function(e){return this.root===Polymer.dom(e).getOwnerRoot()}}),!Polymer.Settings.useNativeCustomElements){var e=Polymer.Base.importHref;Polymer.Base.importHref=function(t,n,r,s){CustomElements.ready=!1;var i=function(e){if(CustomElements.upgradeDocumentTree(document),CustomElements.ready=!0,n)return n.call(this,e)};return e.call(this,t,i,r,s)}}}(),Polymer.Bind={prepareModel:function(e){Polymer.Base.mixin(e,this._modelApi)},_modelApi:{_notifyChange:function(e,t,n){n=void 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,"object"==typeof t&&this._clearPath(e),this._propertyChanged&&this._propertyChanged(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.length;o<a&&(i=n[o]);o++)i.fn.call(this,e,this[e],i.effect,r,s)},_clearPath:function(e){for(var t in this.__data__)Polymer.Path.isDescendant(e,t)&&(this.__data__[t]=void 0)}},ensurePropertyEffects:function(e,t){e._propertyEffects||(e._propertyEffects={});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},createBindings: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 this.__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.set=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:function(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];this._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&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode},_annotationEffect: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.reflectPropertyToAttribute(e,n.attribute,t)},_notifyEffect:function(e,t,n,r,s){s||this._notifyChange(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=Polymer.Bind._marshalArgs(this.__data__,n,e,t);s&&r.apply(this,s)}else n.dynamicFn||this._warn(this._logf("_complexObserverEffect","observer method `"+n.method+"` not defined"))},_computeEffect:function(e,t,n){var r=this[n.method];if(r){var s=Polymer.Bind._marshalArgs(this.__data__,n,e,t);if(s){var i=r.apply(this,s);this.__setProperty(n.name,i)}}else n.dynamicFn||this._warn(this._logf("_computeEffect","compute method `"+n.method+"` not defined"))},_annotatedComputationEffect:function(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._applyEffectValue(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.name;if(h.literal?c=h.value:n===u?c=r:(c=e[u],void 0===c&&h.structured&&(c=Polymer.Base._get(u,e))),o&&void 0===c)return;if(h.wildcard){var f=Polymer.Path.isAncestor(n,u);s[a]={path:f?n:u,value:f?r:c,base:c}}else s[a]=c}return s}}),Polymer.Base._addFeature({_addPropertyEffect:function(e,t,n){var r=Polymer.Bind.addPropertyEffect(this,e,t,n);r.pathFn=this["_"+r.kind+"PathEffect"]},_prepEffects:function(){Polymer.Bind.prepareModel(this),this._addAnnotationEffects(this._notes)},_prepBindings:function(){Polymer.Bind.createBindings(this)},_addPropertyEffects:function(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.camelToDashCase(t)+"-changed"}),n.reflectToAttribute){var r=Polymer.CaseMap.camelToDashCase(t);"-"===r[0]?this._warn(this._logf("_addPropertyEffects","Property "+t+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.')):this._addPropertyEffect(t,"reflect",{attribute:r})}n.readOnly&&Polymer.Bind.ensurePropertyEffects(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.model,"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)},_addComplexObserverEffect:function(e){var t=this._parseMethod(e);if(!t)throw new Error("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",{method:t.method,args:t.args,trigger:n,dynamicFn:r});r&&this._addPropertyEffect(t.method,"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)},_addAnnotationEffect: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._addAnnotatedComputationEffect(e,r,t):r.literal||("attribute"===e.kind&&"-"===e.name[0]?this._warn(this._logf("_addAnnotationEffect","Cannot set attribute "+e.name+' because "-" is not a valid attribute starting character')):this._addPropertyEffect(r.model,"annotation",{kind:e.kind,index:t,name:e.name,propertyName:e.propertyName,value:r.value,isCompound:e.isCompound,compoundIndex:r.compoundIndex,event:r.event,customEvent:r.customEvent,negate:r.negate}))}},_addAnnotatedComputationEffect:function(e,t,n){var r=t.signature;if(r.static)this.__addAnnotatedComputationEffect("__static__",n,e,t,null);else{for(var s,i=0;i<r.args.length&&(s=r.args[i]);i++)s.literal||this.__addAnnotatedComputationEffect(s.model,n,e,t,s);r.dynamicFn&&this.__addAnnotatedComputationEffect(r.method,n,e,t,null)}},__addAnnotatedComputationEffect:function(e,t,n,r,s){this._addPropertyEffect(e,"annotatedComputation",{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.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){var n={method:t[1],static:!0};if(this.getPropertyInfo(n.method)!==Polymer.nob&&(n.static=!1,n.dynamicFn=!0),t[2].trim()){var r=t[2].replace(/\\,/g,",").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:function(e){var t=e.trim().replace(/,/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}return 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),this._bindListeners&&Polymer.Bind.setupBindListeners(this)},_applyEffectValue:function(e,t){var n=this._nodes[e.index],r=e.name;if(t=this._computeFinalAnnotationValue(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("")}return"attribute"!==r.kind&&("className"===t&&(n=this._scopeElementClass(e,n)),("textContent"===t||"input"==e.localName&&"value"==t)&&(n=void 0==n?"":n)),n},_executeStaticEffects:function(){this._propertyEffects&&this._propertyEffects.__static__&&this._effectEffects("__static__",null,this._propertyEffects.__static__)}}),function(){var e=Polymer.Settings.usePolyfillProto;Polymer.Base._addFeature({_setupConfigure: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:function(e){var t=this._clientsReadied?this:this._config;this._setAttributeToProperty(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._configureInstanceProperties(),this._aboveConfig=this.mixin({},this._config);for(var e={},t=0;t<this.behaviors.length;t++)this._configureProperties(this.behaviors[t].properties,e);this._configureProperties(this.properties,e),this.mixin(e,this._aboveConfig),this._config=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]),+delete this[t])},_configureProperties:function(e,t){for(var n in e){var r=e[n];if(void 0!==r.value){var s=r.value;"function"==typeof s&&(s=s.call(this,this._config)),t[n]=s}}},_distributeConfig:function(e){var t=this._propertyEffects;if(t)for(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("annotation"===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._configValue&&(h||!c)){var u=n===s.effect.value?e[n]:this._get(s.effect.value,e);u=this._computeFinalAnnotationValue(a,l,u,s.effect),c&&(u=a.deserialize(this.serialize(u),a._propertyInfo[l].type)),a._configValue(l,u)}}}},_afterClientsReady:function(){this._executeStaticEffects(),this._applyConfig(this._config,this._aboveConfig),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(!Polymer.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._queueHandler([e,t.target,n,r])}},_queueHandler:function(e){this._handlers.push(e)},_flushHandlers: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},_getPathParts: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}return e.toString().split(".")},set:function(e,t,n){var r,s=n||this,i=this._getPathParts(e),o=i[i.length-1];if(i.length>1){for(var a=0;a<i.length-1;a++){var l=i[a];if(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:null}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.setItem(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._getPathParts(e),o=0;o<i.length;o++){if(!s)return;var a=i[o];r&&"#"==a[0]?s=Polymer.Collection.get(r).getItem(a):(s=s[a],n&&r&&parseInt(a,10)==a&&(i[o]=Polymer.Collection.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)},_annotationPathEffect:function(t,n,r){if(e.matches(r.value,!1,t))Polymer.Bind._annotationEffect.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.trigger.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.wildcard,t)&&Polymer.Bind._computeEffect.call(this,t,n,r)},_annotatedComputationPathEffect: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)},unlinkPaths:function(e){this._boundPaths&&delete this._boundPaths[e]},_notifyBoundPaths: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)&&this._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,{path: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+".length",e.length),this.__data__[s]={keySplices:null,indexSplices:null}},_notifySplice: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=Array.prototype.slice.call(arguments,1),s=n.length,i=n.push.apply(n,r);return r.length&&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},splice: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.length),s=Array.prototype.slice.call(arguments,1),i=n.shift.apply(n,s);return r&&this._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:function(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,_complexObserverPathEffect:Polymer.Base._complexObserverPathEffect,_annotatedComputationPathEffect:Polymer.Base._annotatedComputationPathEffect,_computePathEffect:Polymer.Base._computePathEffect,_notifyBoundPaths:Polymer.Base._notifyBoundPaths,_getPathParts:Polymer.Base._getPathParts})}})}(),Polymer.Base._addFeature({resolveUrl:function(e){var t=Polymer.DomModule.import(this.is),n="";if(t){var r=t.getAttribute("assetpath")||"";n=Polymer.ResolveUrl.resolveUrl(r,t.ownerDocument.baseURI)}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.rules.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.substring(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._expandUnicodeEscapes(n),n=n.replace(this._rx.multipleSpaces," "),n=n.substring(n.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=n.trim();e.atRule=0===s.indexOf(this.AT_START),e.atRule?0===s.indexOf(this.MEDIA_START)?e.type=this.types.MEDIA_RULE:s.match(this._rx.keyframesRule)&&(e.type=this.types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(this._rx.multipleSpaces).pop()):0===s.indexOf(this.VAR_START)?e.type=this.types.MIXIN_RULE:e.type=this.types.STYLE_RULE}var i=e.rules;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,function(){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&&!this._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)},removeCustomPropAssignment:function(e){return e.replace(this._rx.customProp,"").replace(this._rx.mixinProp,"")},removeCustomPropApply:function(e){return e.replace(this._rx.mixinApply,"").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_VARIABLES:Polymer.Settings.useNativeCSSProperties,MODULE_STYLES_SELECTOR:"style, link[rel=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)},forActiveRulesInStyles: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.__cssRules&&e.textContent&&(e.__cssRules=this.parser.parse(e.textContent)),e.__cssRules},isKeyframesSelector:function(e){return e.parent&&e.parent.type===this.ruleTypes.KEYFRAMES_RULE},forEachRuleInStyle:function(e,t,n,r){var s,i,o=this.rulesForStyle(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.ruleTypes.MEDIA_RULE){var i=e.selector.match(this.rx.MEDIA_MATCH);i&&(window.matchMedia(i[1]).matches||(s=!0))}e.type===this.ruleTypes.STYLE_RULE?t(e):n&&e.type===this.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.nextSibling||t.firstChild;return this.__lastHeadApplyNode=e,t.insertBefore(e,r)},createScopeStyle:function(e,t){var n=document.createElement("style");return t&&n.setAttribute("scope",t),n.textContent=e,n},__lastHeadApplyNode:null,applyStylePlaceHolder:function(e){var t=document.createComment(" Shady DOM styles for "+e+" "),n=this.__lastHeadApplyNode?this.__lastHeadApplyNode.nextSibling:null,r=document.head;return r.insertBefore(t,n||r.firstChild),this.__lastHeadApplyNode=t,t},cssFromModules: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=Polymer.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._cssText||""},cssFromElement:function(e){for(var t,n="",r=e.content||e,s=Polymer.TreeApi.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.INCLUDE_ATTR);o&&(n+=this.cssFromModules(o,!0)),t=t.__appliedElement||t,t.parentNode.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)return this.getCssBuildType(t)},getCssBuildType:function(e){return e.getAttribute("css-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},processVariableAndFallback: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).trim();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:/^--/,BRACKETED:/\{[^}]*\}/g,HOST_PREFIX:"(?:^|[^.#[:])",HOST_SUFFIX:"($|[.:[\\s>+~])"},resolveCss:Polymer.ResolveUrl.resolveCss,parser:Polymer.CssParse,ruleTypes:Polymer.CssParse.types}}(),Polymer.StyleTransformer=function(){var e=Polymer.StyleUtil,t=Polymer.Settings,n={dom:function(e,t,n,r){this._transformDom(e,t||"",n,r)},_transformDom: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:function(e,t,n,s){if(n)s?e.removeAttribute(r):e.setAttribute(r,t);else if(t)if(e.classList)s?(e.classList.remove(r),e.classList.remove(t)):(e.classList.add(r),e.classList.add(t));else if(e.getAttribute){var i=e.getAttribute(g);s?i&&e.setAttribute(g,i.replace(r,"").replace(t,"")):e.setAttribute(g,(i?i+" ":"")+r+" "+t)}},elementStyles:function(n,r){var s,i=n._styles,o="",a=n.__cssBuild,l=t.useNativeShadow||"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):this.css(_,n.is,n.extends,r,n._scopeCssViaAttr)+"\n\n"}return o.trim()},css:function(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:""},_calcHostScope:function(e,t){return t?"[is="+e+"]":e},rule:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)},_transformRule:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)},_transformRuleCss: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._transformCompoundSelector(o,i,t,n);r=r||l.stop,s=s||l.hostContext,i=l.combinator,o=l.value}return 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.indexOf(u)>=0?i=!0:e.indexOf(l)>=0?e=this._transformHostSelector(e,r):0!==s&&(e=n?this._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}},_transformSimpleSelector:function(e,t){var n=e.split(v);return n[0]+=t,n.join(v)},_transformHostSelector: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];return s===t?r:S}return e.replace(l,t)},documentRule:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),t.useNativeShadow||this._transformRule(e,this._transformDocumentSelector)},normalizeRootSelector:function(e){e.selector=e.selector.replace(c,"html")},_transformDocumentSelector:function(e){return e.match(_)?this._transformComplexSelector(e,s):this._transformSimpleSelector(e.trim(),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.StyleExtends=function(){var e=Polymer.StyleUtil;return{hasExtends:function(e){return Boolean(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._extendRule(e,s)}e.cssText=e.cssText.replace(r.rx.EXTEND,"")}),e.toCssText(n,function(e){e.selector.match(r.rx.STRIP)&&(e.cssText="")},!0)},_mapRuleOntoParent:function(e){if(e.parent){for(var t,n=e.parent.map||(e.parent.map={}),r=e.selector.split(","),s=0;s<r.length;s++)t=r[s],n[t.trim()]=e;return n}},_findExtendor:function(e,t){return t.parent&&t.parent.map&&t.parent.map[e]||this._findExtendor(e,t.parent)},_extendRule:function(e,t){e.parent!==t.parent&&this._cloneAndAddRuleToParent(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)},_cloneAndAddRuleToParent:function(e,t){e=Object.create(e),e.parent=t,e.extends&&(e.extends=e.extends.slice()),t.rules.push(e)},rx:{EXTEND:/@extends\(([^)]*)\)\s*?;/gim,STRIP:/%[^,]*$/}}}(),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.slice(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.__currentElementProto;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.join("; ")}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.MIXIN_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,_separator: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:function(e){var t=e.parsedCssText;t=t.replace(f,o),t=t.replace(u,i),e.cssText=t,":root"===e.selector&&(e.selector=":host > *")},_findApplications:function(e){e.cssText=l(e.cssText)},transformRule:function(e){this._findDefinitions(e),this._findApplications(e)},_getInitialValueForProperty:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}};return y._boundTransformRule=y.transformRule.bind(y),y._boundFindDefinitions=y._findDefinitions.bind(y),y._boundFindApplications=y._findApplications.bind(y),y}(),function(){var e=Polymer.Base._prepElement,t=Polymer.Settings.useNativeShadow,n=Polymer.StyleUtil,r=Polymer.StyleTransformer,s=Polymer.StyleExtends,i=Polymer.ApplyShim,o=Polymer.Settings;Polymer.Base._addFeature({_prepElement:function(t){this._encapsulateStyle&&"shady"!==this.__cssBuild&&r.element(t,this.is,this._scopeCssViaAttr),e.call(this,t)},_prepStyles:function(){void 0===this._encapsulateStyle&&(this._encapsulateStyle=!t),t||(this._scopeStyle=n.applyStylePlaceHolder(this.is)),this.__cssBuild=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.cssFromModule(this.is);var l=this._template&&this._template.parentNode;if(!this._template||l&&l.id.toLowerCase()===this.is||(t+=n.cssFromElement(this._template)),t){var c=document.createElement("style");c.textContent=t,s.hasExtends(c.textContent)&&(t=s.transform(c)),e.push(c)}return e},_elementAdd:function(e){this._encapsulateStyle&&(e.__styleScoped?e.__styleScoped=!1:r.dom(e,this.is,this._scopeCssViaAttr))},_elementRemove:function(e){this._encapsulateStyle&&r.dom(e,this.is,this._scopeCssViaAttr,!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("class",r._scopeElementClass(e,t));for(var n,s=e.querySelectorAll("*"),i=0;i<s.length&&(n=s[i]);i++)t=n.getAttribute("class"),n.setAttribute("class",r._scopeElementClass(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}}}})}(),Polymer.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.StyleUtil,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._calcHostScope(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.__notStyleScopeCacheable=t.__notStyleScopeCacheable||s}}),s.collectPropertiesInCssText(e.propertyInfo.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.propertyInfo;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},collectProperties:function(e,t){var n=e.propertyInfo;if(!n){for(var r,s,i,o=this.rx.VAR_ASSIGN,a=e.parsedCssText;r=o.exec(a);)s=(r[2]||r[3]).trim(),"inherit"!==s&&(t[r[1].trim()]=s),i=!0;return i}if(n.properties)return Polymer.Base.mixin(t,n.properties),!0},collectCssText:function(e){return this.collectConsumingCssText(e.parsedCssText)},collectConsumingCssText:function(e){return e.replace(this.rx.BRACKETED,"").replace(this.rx.VAR_ASSIGN,"")},collectPropertiesInCssText:function(e,t){for(var n;n=this.rx.VAR_CONSUMED.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}},reify:function(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.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var r=this,s=function(e,n,s,i){var 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.processVariableAndFallback(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.lastIndex=0,r=this.rx.MIXIN_MATCH.exec(n))n=this.valueForProperty(t[r[1]],t);else{var o=n.indexOf(":");if(o!==-1){var a=n.substring(o);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,o)+a}}s[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return s.join(";")},applyProperties:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(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.keyframeNamesToTransform){e.keyframeNamesToTransform=[];for(var i in t)s=t[i],r=s(n),n!==r&&(n=r,e.keyframeNamesToTransform.push(i))}else{for(var o=0;o<e.keyframeNamesToTransform.length;++o)s=t[e.keyframeNamesToTransform[o]],n=s(n);r=n}}e.cssText=r},propertyDataFromStyles:function(r,s){var i={},o=this,a=[];return n.forActiveRulesInStyles(r,function(n){n.propertyInfo||o.decorateRule(n);var r=n.transformedSelector||n.parsedSelector;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.is,e.extends):"html",a=t.parsedSelector,l=this._checkRoot(o,a),c=!l&&0===a.indexOf(":host"),h=e.__cssBuild||n.__cssBuild;if("shady"===h&&(l=a===o+" > *."+o||a.indexOf("html")>-1,c=!l&&0===a.indexOf(o)),l||c){var u=o;c&&(i.useNativeShadow&&!t.transformedSelector&&(t.transformedSelector=r._transformRuleCss(t,r._transformComplexSelector,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.forActiveRulesInStyles(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._elementKeyframeTransforms(e,n);return r.elementStyles(e,function(r){s.applyProperties(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},_keyframesRuleTransformer: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.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)},_scopeSelector:function(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.transformStyles(e,t,r),l=e._customStyle;return l&&!i.useNativeShadow&&l!==o&&(l._useCount--,l._useCount<=0&&l.parentNode&&l.parentNode.removeChild(l)),i.useNativeShadow?e._customStyle?(e._customStyle.textContent=a,o=e._customStyle):a&&(o=n.applyCss(a,r,e.root,e._scopeStyle)):o?o.parentNode||(s&&a.indexOf("@media")>-1&&(o.textContent=a),n.applyStyle(o,null,e._scopeStyle)):a&&(o=n.applyCss(a,r,null,e._scopeStyle)),o&&(o._useCount=o._useCount||0,e._customStyle!=o&&o._useCount++,e._customStyle=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.__customStyleProperties;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.__customStyleProperties=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._objectsStrictlyEqual(n,r):n===r))return!1;return!Array.isArray(e)||e.length===t.length},_objectsStrictlyEqual:function(e,t){return this._objectsEqual(e,t)&&this._objectsEqual(t,e)}}}(),Polymer.StyleDefaults=function(){var e=Polymer.StyleProperties,t=Polymer.StyleCache,n=Polymer.Settings.useNativeCSSProperties,r={_styles:[],_properties:null,customStyle:{},_styleCache:new t,_element:Polymer.DomApi.wrap(document.documentElement),addStyle:function(e){this._styles.push(e),this._properties=null},get _styleProperties(){return this._properties||(e.decorateStyles(this._styles,this),this._styles._scopeStyleProperties=null,this._properties=e.hostAndRootPropertiesForScope(this).rootProps,e.mixinCustomStyle(this._properties,this.customStyle),e.reify(this._properties)),this._properties},hasStyleProperties:function(){return Boolean(this._properties)},_needsStyleProperties:function(){},_computeStyleProperties:function(){return this._styleProperties},updateStyles:function(t){this._properties=null,t&&Polymer.Base.mixin(this.customStyle,t),this._styleCache.clear();for(var r,s=0;s<this._styles.length;s++)r=this._styles[s],r=r.__importElement||r,r._apply();n&&e.updateNativeStyleProperties(document.documentElement,this.customStyle)}};return r}(),function(){"use strict";var e=Polymer.Base.serializeValueToAttribute,t=Polymer.StyleProperties,n=Polymer.StyleTransformer,r=Polymer.StyleDefaults,s=Polymer.Settings.useNativeShadow,i=Polymer.Settings.useNativeCSSProperties;Polymer.Base._addFeature({_prepStyleProperties:function(){i||(this._ownStylePropertyNames=this._styles&&this._styles.length?t.decorateStyles(this._styles,this):null);+},customStyle:null,getComputedStyleValue:function(e){return!i&&this._styleProperties&&this._styleProperties[e]||getComputedStyle(this).getPropertyValue(e)},_setupStyleProperties:function(){this.customStyle={},this._styleCache=null,this._styleProperties=null,this._scopeSelector=null,this._ownStyleProperties=null,this._customStyle=null},_needsStyleProperties:function(){return Boolean(!i&&this._ownStylePropertyNames&&this._ownStylePropertyNames.length)},_validateApplyShim:function(){if(this.__applyShimInvalid){Polymer.ApplyShim.transform(this._styles,this.__proto__);var e=n.elementStyles(this);if(s){var t=this._template.content.querySelector("style");t&&(t.textContent=e)}else{var r=this._scopeStyle&&this._scopeStyle.nextSibling;r&&(r.textContent=e)}}},_beforeAttached:function(){this._scopeSelector&&!this.__stylePropertiesInvalid||!this._needsStyleProperties()||(this.__stylePropertiesInvalid=!1,this._updateStyleProperties())},_findStyleHost:function(){for(var e,t=this;e=Polymer.dom(t).getOwnerRoot();){if(Polymer.isInstance(e.host))return e.host;t=e.host}return r},_updateStyleProperties:function(){var e,n=this._findStyleHost();n._styleProperties||n._computeStyleProperties(),n._styleCache||(n._styleCache=new Polymer.StyleCache);var r=t.propertyDataFromStyles(n._styles,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),this._computeOwnStyleProperties(),a||(e=o.retrieve(this.is,this._ownStyleProperties,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,_styleProperties:this._styleProperties},i&&(r.key.customStyle={},this.mixin(r.key.customStyle,this.customStyle),n._styleCache.store(this.is,e,r.key,this._styles)),l||o.store(this.is,Object.create(e),this._ownStyleProperties,this._styles))},_computeStyleProperties:function(e){var n=this._findStyleHost();n._styleProperties||n._computeStyleProperties();var r=Object.create(n._styleProperties),s=t.hostAndRootPropertiesForScope(this);this.mixin(r,s.hostProps),e=e||t.propertyDataFromStyles(n._styles,this).properties,this.mixin(r,e),this.mixin(r,s.rootProps),t.mixinCustomStyle(r,this.customStyle),t.reify(r),this._styleProperties=r},_computeOwnStyleProperties:function(){for(var e,t={},n=0;n<this._ownStylePropertyNames.length;n++)e=this._ownStylePropertyNames[n],t[e]=this._styleProperties[e];this._ownStyleProperties=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.style);return s||t.applyElementScopeSelector(this,this._scopeSelector,n,this._scopeCssViaAttr),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._scopeElementClass(r,t))}r=this.shadyRoot&&this.shadyRoot._hasDistributed?Polymer.dom(r):r,e.call(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.updateNativeStyleProperties(this,this.customStyle):(this.isAttached?this._needsStyleProperties()?this._updateStyleProperties():this._styleProperties=null:this.__stylePropertiesInvalid=!0,this._styleCache&&this._styleCache.clear(),this._updateRootStyles())},_updateRootStyles:function(e){e=e||this.root;for(var t,n=Polymer.dom(e)._query(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.updateStyles(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._prepBehaviors(),this._prepPropertyInfo(),this._prepBindings(),this._prepShady()},_prepBehavior:function(e){this._addPropertyEffects(e.properties),this._addComplexObserverEffects(e.observers),this._addHostAttributes(e.hostAttributes)},_initFeatures:function(){this._setupGestures(),this._setupConfigure(),this._setupStyleProperties(),this._setupDebouncers(),this._setupShady(),this._registerHost(),this._template&&(this._validateApplyShim(),this._poolContent(),this._beginHosting(),this._stampTemplate(),this._endHosting(),this._marshalAnnotationReferences()),this._marshalInstanceEffects(),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.StyleTransformer,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.__cssBuild=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.__appliedElement;if(l.useNativeCSSProperties||(this.__needsUpdateStyles=s.hasStyleProperties(),s.addStyle(e)),e.textContent||this.include)this._apply(!0);else{var t=this,n=new MutationObserver(function(){n.disconnect(),t._apply(!0)});n.observe(e,{childList:!0})}}},_updateStyles:function(){Polymer.updateStyles()},_apply:function(e){var t=this.__appliedElement;if(this.include&&(t.textContent=n.cssFromModules(this.include,!0)+t.textContent),t.textContent){var r=this.__cssBuild,s=n.isTargetedBuild(r);if(!l.useNativeCSSProperties||!s){var a=n.rulesForStyle(t);if(s||(n.forEachRule(a,function(e){i.documentRule(e)}),l.useNativeCSSProperties&&!r&&o.transform([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.__needsUpdateStyles=!1,e=a(e,this._updateStyles)):this._applyCustomProperties()},_applyCustomProperties:function(){var e=this.__appliedElement;this._computeStyleProperties();var s=this._styleProperties,i=n.rulesForStyle(e);i&&(e.textContent=n.toCssText(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_",templatize: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._customPrepAnnotations(t,e),this._prepParentProperties(t,e),t._prepEffects(),this._customPrepEffects(t),t._prepBehaviors(),t._prepPropertyInfo(),t._prepBindings(),t._notifyPathUp=this._notifyPathUpImpl,t._scopeElementClass=this._scopeElementClassImpl,t.listen=this._listenImpl,t._showHideChildren=this._showHideChildrenImpl,t.__setPropertyOrig=this.__setProperty,t.__setProperty=this.__setPropertyImpl;var n=this._constructorImpl,r=function(e,t){n.call(this,e,t)};r.prototype=t,t.constructor=r,e._content._ctor=r,this.ctor=r},_getRootDataHost:function(){return this.dataHost&&this.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.__hideTemplateChildren__)&&(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="__polymerTextContent__"),this.__setPropertyOrig(e,t,n,r)},_debounceTemplate:function(e){Polymer.dom.addDebouncer(this.debounce("_debounceTemplate",e))},_flushTemplates:function(){Polymer.dom.flush()},_customPrepEffects:function(e){var t=e._parentProps;for(var n in t)e._addPropertyEffect(n,"function",this._createHostPropEffector(n));for(n in this._instanceProps)e._addPropertyEffect(n,"function",this._createInstancePropEffector(n))},_customPrepAnnotations:function(e,t){e._template=t;var n=t._content;if(!n._notes){var r=e._rootDataHost;r&&(Polymer.Annotations.prepElement=function(){r._prepElement()}),n._notes=Polymer.Annotations.parseAnnotations(t),Polymer.Annotations.prepElement=null,this._processAnnotations(n._notes)}e._notes=n._notes,e._parentProps=n._parentProps},_prepParentProperties:function(e,t){var n=this._parentProps=e._parentProps;if(this._forwardParentProp&&n){var r,s=e._parentPropProto;if(!s){for(r in this._instanceProps)delete n[r];s=e._parentPropProto=Object.create(null),t!=this&&(Polymer.Bind.prepareModel(s),Polymer.Base.prepareModelNotifyPath(s));for(r in n){var i=this._parentPropPrefix+r,o=[{kind:"function",effect:this._createForwardPropEffector(r),fn:Polymer.Bind._functionEffect},{kind:"notify",fn:Polymer.Bind._notifyEffect,effect:{event:Polymer.CaseMap.camelToDashCase(i)+"-changed"}}];Polymer.Bind._createAccessors(s,i,o)}}var a=this;t!=this&&(Polymer.Bind.prepareInstance(t),t._forwardParentProp=function(e,t){a._forwardParentProp(e,t)}),this._extendTemplate(t,s),t._pathEffector=function(e,t,n){return a._pathEffectorImpl(e,t,n)}}},_createForwardPropEffector:function(e){return function(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.dataHost._forwardInstanceProp(this,e,n)}},_extendTemplate:function(e,t){var n=Object.getOwnPropertyNames(t);t._propertySetter&&(e._propertySetter=t._propertySetter);for(var r,s=0;s<n.length&&(r=n[s]);s++){var i=e[r],o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o),void 0!==i&&e._propertySetter(r,i)}},_showHideChildren:function(e){},_forwardInstancePath:function(e,t,n){},_forwardInstanceProp:function(e,t,n){},_notifyPathUpImpl:function(e,t){var n=this.dataHost,r=Polymer.Path.root(e);n._forwardInstancePath.call(n,this,e,t),r in n._parentProps&&n._templatized._notifyPath(n._parentPropPrefix+e,t)},_pathEffectorImpl:function(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 this._parentProps&&this._forwardParentPath(r,t)}Polymer.Base._pathEffector.call(this._templatized,e,t,n)},_constructorImpl:function(e,t){this._rootDataHost=t._getRootDataHost(),this._setupConfigure(e),this._registerHost(t),this._beginHosting(),this.root=this.instanceTemplate(this._template),this.root.__noContent=!this._notes._hasContent,this.root.__styleScoped=!0,this._endHosting(),this._marshalAnnotatedNodes(),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),this._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)},_scopeElementClassImpl:function(e,t){var n=this._rootDataHost;return n?n._scopeElementClass(e,t):t},stamp:function(e){if(e=e||{},this._parentProps){var t=this._templatized;for(var n in this._parentProps)void 0===e[n]&&(e[n]=t[this._parentPropPrefix+n])}return new this.ctor(e,this)},modelForElement:function(e){for(var t;e;)if(t=e._templateInstance){if(t.dataHost==this)return t;e=t.dataHost}else e=e.parentNode}},Polymer({is:"dom-template",extends:"template",_template:null,behaviors:[Polymer.Templatizer],ready:function(){this.templatize(this)}}),Polymer._collections=new WeakMap,Polymer.Collection=function(e){Polymer._collections.set(e,this),this.userArray=e,this.store=e.slice(),this.initMap()},Polymer.Collection.prototype={constructor:Polymer.Collection,initMap:function(){for(var e=this.omap=new WeakMap,t=this.pmap={},n=this.store,r=0;r<n.length;r++){var s=n[r];s&&"object"==typeof 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.pmap[e],void 0!=t)return"#"+t},getKeys:function(){return Object.keys(this.store).map(function(e){return"#"+e})},_parseKey:function(e){if(e&&"#"==e[0])return e.slice(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.store[e]=t}},getItem:function(e){if(e=this._parseKey(e))return this.store[e]},getItems:function(){var e=[],t=this.store;for(var n in t)e.push(t[n]);return e},_applySplices:function(e){for(var t,n,r={},s=0;s<e.length&&(n=e[s]);s++){n.addedKeys=[];for(var i=0;i<n.removed.length;i++)t=this.getKey(n.removed[i]),r[t]=r[t]?null:-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[{removed:a,added:l}]}},Polymer.Collection.get=function(e){return Polymer._collections.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:Function,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:"_initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"_computeFrameTime(targetFramerate)"}},behaviors:[Polymer.Templatizer],observers:["_itemsChanged(items.*)"],created:function(){this._instances=[],this._pool=[],this._limit=1/0;var e=this;this._boundRenderChunk=function(){e._renderChunk()}},detached:function(){this.__isDetached=!0;for(var e=0;e<this._instances.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._instanceProps={__key__:!0},this._instanceProps[this.as]=!0,this._instanceProps[this.indexAs]=!0,this.ctor||this.templatize(this)},_sortChanged:function(e){var t=this._getRootDataHost();this._sortFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_filterChanged:function(e){var t=this._getRootDataHost();this._filterFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_computeFrameTime:function(e){return Math.ceil(1e3/e)},_initializeChunking:function(){this.initialCount&&(this._limit=this.initialCount,this._chunkCount=this.initialCount,this._lastChunkTime=performance.now())},_tryRenderChunk:function(){this.items&&this._limit<this.items.length&&this.debounce("renderChunk",this._requestRenderChunk)},_requestRenderChunk:function(){requestAnimationFrame(this._boundRenderChunk)},_renderChunk:function(){var e=performance.now(),t=this._targetFrameTime/(e-this._lastChunkTime);this._chunkCount=Math.round(this._chunkCount*t)||1,this._limit+=this._chunkCount,this._lastChunkTime=e,this._debounceTemplate(this._render)},_observeChanged:function(){this._observePaths=this.observe&&this.observe.replace(".*",".").split(" ")},_itemsChanged:function(e){if("items"==e.path)Array.isArray(this.items)?this.collection=Polymer.Collection.get(this.items):this.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._render);else if("items.splices"==e.path)this._keySplices=this._keySplices.concat(e.value.keySplices),this._indexSplices=this._indexSplices.concat(e.value.indexSplices),this._debounceTemplate(this._render);else{var t=e.path.slice(6);this._forwardItemPath(t,e.value),this._checkObservedPaths(t)}},_checkObservedPaths:function(e){if(this._observePaths){e=e.substring(e.indexOf(".")+1);for(var t=this._observePaths,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._debounceTemplate(this._render))}},render:function(){this._needFullRefresh=!0,this._debounceTemplate(this._render),this._flushTemplates()},_render:function(){this._needFullRefresh?(this._applyFullRefresh(),this._needFullRefresh=!1):this._keySplices.length&&(this._sortFn?this._applySplicesUserSort(this._keySplices):this._filterFn?this._applyFullRefresh():this._applySplicesArrayOrder(this._indexSplices)),this._keySplices=[],this._indexSplices=[];for(var e=this._keyToInstIdx={},t=this._instances.length-1;t>=0;t--){var n=this._instances[t];n.isPlaceholder&&t<this._limit?n=this._insertInstance(t,n.__key__):!n.isPlaceholder&&t>=this._limit&&(n=this._downgradeInstance(t,n.__key__)),e[n.__key__]=t,n.isPlaceholder||n.__setProperty(this.indexAs,t,!0)}this._pool.length=0,this._setRenderedItemCount(this._instances.length),this.fire("dom-change"),this._tryRenderChunk()},_applyFullRefresh:function(){var e,t=this.collection;if(this._sortFn)e=t?t.getKeys():[];else{e=[];var n=this.items;if(n)for(var r=0;r<n.length;r++)e.push(t.getKey(n[r]))}var s=this;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.isPlaceholder&&r<this._limit&&o.__setProperty(this.as,t.getItem(i),!0)):r<this._limit?this._insertInstance(r,i):this._insertPlaceholder(r,i)}for(var a=this._instances.length-1;a>=r;a--)this._detachAndRemoveInstance(a)},_numericSort:function(e,t){return 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];void 0!==c&&this._detachAndRemoveInstance(c)}var h=this;if(l.length){this._filterFn&&(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;else{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++){for(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])}},_detachInstance: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).appendChild(r)}return t}},_attachInstance:function(e,t){var n=this._instances[e];n.isPlaceholder||t.insertBefore(n.root,this)},_detachAndRemoveInstance:function(e){var t=this._detachInstance(e);t&&this._pool.push(t),this._instances.splice(e,1)},_insertPlaceholder: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.collection.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._instances[e+1],s=r&&!r.isPlaceholder?r._children[0]:this,i=Polymer.dom(this).parentNode;return Polymer.dom(i).insertBefore(n.root,s),this._instances[e]=n,n},_downgradeInstance: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:function(e){for(var t=0;t<this._instances.length;t++)this._instances[t]._showHideChildren(e)},_forwardInstanceProp:function(e,t,n){if(t==this.as){var r;r=this._sortFn||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.indexOf(this.as+".")&&this._notifyPath("items."+e.__key__+"."+t.slice(this.as.length+1),n)},_forwardParentProp:function(e,t){for(var n,r=this._instances,s=0;s<r.length&&(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.isPlaceholder||n._notifyPath(e,t,!0)},_forwardItemPath:function(e,t){if(this._keyToInstIdx){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:function(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.selected.length;e++)this.unlinkPaths("selected."+e);else this.unlinkPaths("selected"),this.unlinkPaths("selectedItem");this.multi?this.selected&&!this.selected.length||(this.selected=[],this._selectedColl=Polymer.Collection.get(this.selected)):(this.selected=null,this._selectedColl=null),this.selectedItem=null},isSelected:function(e){return this.multi?void 0!==this._selectedColl.getKey(e):this.selected==e},deselect:function(e){if(this.multi){if(this.isSelected(e)){var t=this._selectedColl.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&&this.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","items."+n),this.linkPaths("selectedItem","items."+n))}}),Polymer({is:"dom-if",extends:"template",_template:null,properties:{if:{type:Boolean,value:!1,observer:"_queueRender"},restamp:{type:Boolean,value:!1,observer:"_queueRender"}},behaviors:[Polymer.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:function(){this.if?(this.ctor||this.templatize(this),this._ensureInstance(),this._showHideChildren()):this.restamp&&this._teardownInstance(),!this.restamp&&this._instance&&this._showHideChildren(),this.if!=this._lastIf&&(this.fire("dom-change"),this._lastIf=this.if)},_ensureInstance:function(){var e=Polymer.dom(this).parentNode;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)}}},_teardownInstance:function(){if(this._instance){var e=this._instance._children;if(e&&e.length)for(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._showHideChildren(e)},_forwardParentProp:function(e,t){this._instance&&this._instance.__setProperty(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._readied||this._readySelf()},_markImportsReady:function(){this._importsReady=!0,this._ensureReady()},_registerFeatures:function(){this._prepConstructor()},_insertChildren:function(){var e=Polymer.dom(Polymer.dom(this).parentNode);e.insertBefore(this.root,this)},_removeChildren:function(){if(this._children)for(var e=0;e<this._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(){},_prepConfigure:function(){var e={};for(var t in this._propertyEffects)e[t]=this[t];var n=this._setupConfigure;this._setupConfigure=function(){n.call(this,e)}},attached:function(){this._importsReady&&this.render()},detached:function(){this._removeChildren()},render:function(){this._ensureReady(),this._children||(this._template=this,this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepConfigure(),this._prepBindings(),this._prepPropertyInfo(),Polymer.Base._initFeatures.call(this),this._children=Polymer.TreeApi.arrayCopyChildNodes(this.root)),this._insertChildren(),this.fire("dom-change")}});</script>@@ -5412,3 +36,4 @@ this.fire('dom-change');+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/promise-polyfill/Promise.js b/frontend/bower_components/promise-polyfill/Promise.jsindex b8388bf3e..d10b930fe 100644--- a/frontend/bower_components/promise-polyfill/Promise.js+++ b/frontend/bower_components/promise-polyfill/Promise.js@@ -1,137 +1 @@-/**-@license-Copyright (c) 2016 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-*/-function MakePromise (asap) {- function Promise(fn) {- if (typeof this !== 'object' || typeof fn !== 'function') throw new TypeError();- this._state = null;- this._value = null;- this._deferreds = []-- doResolve(fn, resolve.bind(this), reject.bind(this));- }-- function handle(deferred) {- var me = this;- if (this._state === null) {- this._deferreds.push(deferred);- return- }- asap(function() {- var cb = me._state ? deferred.onFulfilled : deferred.onRejected- if (typeof cb !== 'function') {- (me._state ? deferred.resolve : deferred.reject)(me._value);- return;- }- var ret;- try {- ret = cb(me._value);- }- catch (e) {- deferred.reject(e);- return;- }- deferred.resolve(ret);- })- }-- function resolve(newValue) {- try { //Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure- if (newValue === this) throw new TypeError();- if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {- var then = newValue.then;- if (typeof then === 'function') {- doResolve(then.bind(newValue), resolve.bind(this), reject.bind(this));- return;- }- }- this._state = true;- this._value = newValue;- finale.call(this);- } catch (e) { reject.call(this, e); }- }-- function reject(newValue) {- this._state = false;- this._value = newValue;- finale.call(this);- }-- function finale() {- for (var i = 0, len = this._deferreds.length; i < len; i++) {- handle.call(this, this._deferreds[i]);- }- this._deferreds = null;- }-- /**- * Take a potentially misbehaving resolver function and make sure- * onFulfilled and onRejected are only called once.- *- * Makes no guarantees about asynchrony.- */- function doResolve(fn, onFulfilled, onRejected) {- var done = false;- try {- fn(function (value) {- if (done) return;- done = true;- onFulfilled(value);- }, function (reason) {- if (done) return;- done = true;- onRejected(reason);- })- } catch (ex) {- if (done) return;- done = true;- onRejected(ex);- }- }-- Promise.prototype['catch'] = function (onRejected) {- return this.then(null, onRejected);- };-- Promise.prototype.then = function(onFulfilled, onRejected) {- var me = this;- return new Promise(function(resolve, reject) {- handle.call(me, {- onFulfilled: onFulfilled,- onRejected: onRejected,- resolve: resolve,- reject: reject- });- })- };-- Promise.resolve = function (value) {- if (value && typeof value === 'object' && value.constructor === Promise) {- return value;- }-- return new Promise(function (resolve) {- resolve(value);- });- };-- Promise.reject = function (value) {- return new Promise(function (resolve, reject) {- reject(value);- });- };--- return Promise;-}--if (typeof module !== 'undefined') {- module.exports = MakePromise;-}-+function MakePromise(t){function e(t){if("object"!=typeof this||"function"!=typeof t)throw new TypeError;this._state=null,this._value=null,this._deferreds=[],u(t,i.bind(this),r.bind(this))}function n(e){var n=this;return null===this._state?void this._deferreds.push(e):void t(function(){var t=n._state?e.onFulfilled:e.onRejected;if("function"!=typeof t)return void(n._state?e.resolve:e.reject)(n._value);var i;try{i=t(n._value)}catch(t){return void e.reject(t)}e.resolve(i)})}function i(t){try{if(t===this)throw new TypeError;if(t&&("object"==typeof t||"function"==typeof t)){var e=t.then;if("function"==typeof e)return void u(e.bind(t),i.bind(this),r.bind(this))}this._state=!0,this._value=t,o.call(this)}catch(t){r.call(this,t)}}function r(t){this._state=!1,this._value=t,o.call(this)}function o(){for(var t=0,e=this._deferreds.length;t<e;t++)n.call(this,this._deferreds[t]);this._deferreds=null}function u(t,e,n){var i=!1;try{t(function(t){i||(i=!0,e(t))},function(t){i||(i=!0,n(t))})}catch(t){if(i)return;i=!0,n(t)}}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.then=function(t,i){var r=this;return new e(function(e,o){n.call(r,{onFulfilled:t,onRejected:i,resolve:e,reject:o})})},e.resolve=function(t){return t&&"object"==typeof t&&t.constructor===e?t:new e(function(e){e(t)})},e.reject=function(t){return new e(function(e,n){n(t)})},e}"undefined"!=typeof module&&(module.exports=MakePromise);\ No newline at end of filediff --git a/frontend/bower_components/promise-polyfill/promise-polyfill-lite.html b/frontend/bower_components/promise-polyfill/promise-polyfill-lite.htmlindex fe14c0bf4..ee2684349 100644--- a/frontend/bower_components/promise-polyfill/promise-polyfill-lite.html+++ b/frontend/bower_components/promise-polyfill/promise-polyfill-lite.html@@ -1,16 +1,4 @@-<!---@license-Copyright (c) 2016 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--->-<link rel="import" href="../polymer/polymer.html">-<script src='./Promise.js'></script>-<script>-if (!window.Promise) {- window.Promise = MakePromise(Polymer.Base.async);-}-</script>+<html><head><link rel="import" href="../polymer/polymer.html">+<script src="./Promise.js"></script>+<script>window.Promise||(window.Promise=MakePromise(Polymer.Base.async));</script>+</head><body></body></html>\ No newline at end of filediff --git a/frontend/bower_components/web-animations-js/web-animations-next-lite.min.js b/frontend/bower_components/web-animations-js/web-animations-next-lite.min.jsindex 010d57dc8..d65c02111 100644--- a/frontend/bower_components/web-animations-js/web-animations-next-lite.min.js+++ b/frontend/bower_components/web-animations-js/web-animations-next-lite.min.js@@ -1,17 +1,2 @@-// Copyright 2014 Google Inc. All rights reserved.-//-// Licensed under the Apache License, Version 2.0 (the "License");-// you may not use this file except in compliance with the License.-// You may obtain a copy of the License at-//-// http://www.apache.org/licenses/LICENSE-2.0-//-// Unless required by applicable law or agreed to in writing, software-// distributed under the License is distributed on an "AS IS" BASIS,-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-// See the License for the specific language governing permissions and-// limitations under the License.--!function(a,b){var c={},d={},e={},f=null;!function(a,b){function c(a){if("number"==typeof a)return a;var b={};for(var c in a)b[c]=a[c];return b}function d(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=x}function e(){return a.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function f(b,c,e){var f=new d;return c&&(f.fill="both",f.duration="auto"),"number"!=typeof b||isNaN(b)?void 0!==b&&Object.getOwnPropertyNames(b).forEach(function(c){if("auto"!=b[c]){if(("number"==typeof f[c]||"duration"==c)&&("number"!=typeof b[c]||isNaN(b[c])))return;if("fill"==c&&v.indexOf(b[c])==-1)return;if("direction"==c&&w.indexOf(b[c])==-1)return;if("playbackRate"==c&&1!==b[c]&&a.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;f[c]=b[c]}}):f.duration=b,f}function g(a){return"number"==typeof a&&(a=isNaN(a)?{duration:0}:{duration:a}),a}function h(b,c){return b=a.numericTimingToObject(b),f(b,c)}function i(a,b,c,d){return a<0||a>1||c<0||c>1?x:function(e){function f(a,b,c){return 3*a*(1-c)*(1-c)*c+3*b*(1-c)*c*c+c*c*c}if(e<=0){var g=0;return a>0?g=b/a:!b&&c>0&&(g=d/c),g*e}if(e>=1){var h=0;return c<1?h=(d-1)/(c-1):1==c&&a<1&&(h=(b-1)/(a-1)),1+h*(e-1)}for(var i=0,j=1;i<j;){var k=(i+j)/2,l=f(a,c,k);if(Math.abs(e-l)<1e-5)return f(b,d,k);l<e?i=k:j=k}return f(b,d,k)}}function j(a,b){return function(c){if(c>=1)return 1;var d=1/a;return c+=b*d,c-c%d}}function k(a){C||(C=document.createElement("div").style),C.animationTimingFunction="",C.animationTimingFunction=a;var b=C.animationTimingFunction;if(""==b&&e())throw new TypeError(a+" is not a valid value for easing");return b}function l(a){if("linear"==a)return x;var b=E.exec(a);if(b)return i.apply(this,b.slice(1).map(Number));var c=F.exec(a);if(c)return j(Number(c[1]),{start:y,middle:z,end:A}[c[2]]);var d=B[a];return d?d:x}function m(a){return Math.abs(n(a)/a.playbackRate)}function n(a){return 0===a.duration||0===a.iterations?0:a.duration*a.iterations}function o(a,b,c){if(null==b)return G;var d=c.delay+a+c.endDelay;return b<Math.min(c.delay,d)?H:b>=Math.min(c.delay+a,d)?I:J}function p(a,b,c,d,e){switch(d){case H:return"backwards"==b||"both"==b?0:null;case J:return c-e;case I:return"forwards"==b||"both"==b?a:null;case G:return null}}function q(a,b,c,d,e){var f=e;return 0===a?b!==H&&(f+=c):f+=d/a,f}function r(a,b,c,d,e,f){var g=a===1/0?b%1:a%1;return 0!==g||c!==I||0===d||0===e&&0!==f||(g=1),g}function s(a,b,c,d){return a===I&&b===1/0?1/0:1===c?Math.floor(d)-1:Math.floor(d)}function t(a,b,c){var d=a;if("normal"!==a&&"reverse"!==a){var e=b;"alternate-reverse"===a&&(e+=1),d="normal",e!==1/0&&e%2!==0&&(d="reverse")}return"normal"===d?c:1-c}function u(a,b,c){var d=o(a,b,c),e=p(a,c.fill,b,d,c.delay);if(null===e)return null;var f=q(c.duration,d,c.iterations,e,c.iterationStart),g=r(f,c.iterationStart,d,c.iterations,e,c.duration),h=s(d,c.iterations,g,f),i=t(c.direction,h,g);return c._easingFunction(i)}var v="backwards|forwards|both|none".split("|"),w="reverse|alternate|alternate-reverse".split("|"),x=function(a){return a};d.prototype={_setMember:function(b,c){this["_"+b]=c,this._effect&&(this._effect._timingInput[b]=c,this._effect._timing=a.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=a.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(a){this._setMember("delay",a)},get delay(){return this._delay},set endDelay(a){this._setMember("endDelay",a)},get endDelay(){return this._endDelay},set fill(a){this._setMember("fill",a)},get fill(){return this._fill},set iterationStart(a){if((isNaN(a)||a<0)&&e())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",a)},get iterationStart(){return this._iterationStart},set duration(a){if("auto"!=a&&(isNaN(a)||a<0)&&e())throw new TypeError("duration must be non-negative or auto, received: "+a);this._setMember("duration",a)},get duration(){return this._duration},set direction(a){this._setMember("direction",a)},get direction(){return this._direction},set easing(a){this._easingFunction=l(k(a)),this._setMember("easing",a)},get easing(){return this._easing},set iterations(a){if((isNaN(a)||a<0)&&e())throw new TypeError("iterations must be non-negative, received: "+a);this._setMember("iterations",a)},get iterations(){return this._iterations}};var y=1,z=.5,A=0,B={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":j(1,y),"step-middle":j(1,z),"step-end":j(1,A)},C=null,D="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",E=new RegExp("cubic-bezier\\("+D+","+D+","+D+","+D+"\\)"),F=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,G=0,H=1,I=2,J=3;a.cloneTimingInput=c,a.makeTiming=f,a.numericTimingToObject=g,a.normalizeTimingInput=h,a.calculateActiveDuration=m,a.calculateIterationProgress=u,a.calculatePhase=o,a.normalizeEasing=k,a.parseEasingFunction=l}(c,f),function(a,b){function c(a,b){return a in k?k[a][b]||b:b}function d(a){return"display"===a||0===a.lastIndexOf("animation",0)||0===a.lastIndexOf("transition",0)}function e(a,b,e){if(!d(a)){var f=h[a];if(f){i.style[a]=b;for(var g in f){var j=f[g],k=i.style[j];e[j]=c(j,k)}}else e[a]=c(a,b)}}function f(a){var b=[];for(var c in a)if(!(c in["easing","offset","composite"])){var d=a[c];Array.isArray(d)||(d=[d]);for(var e,f=d.length,g=0;g<f;g++)e={},"offset"in a?e.offset=a.offset:1==f?e.offset=1:e.offset=g/(f-1),"easing"in a&&(e.easing=a.easing),"composite"in a&&(e.composite=a.composite),e[c]=d[g],b.push(e)}return b.sort(function(a,b){return a.offset-b.offset}),b}function g(b){function c(){var a=d.length;null==d[a-1].offset&&(d[a-1].offset=1),a>1&&null==d[0].offset&&(d[0].offset=0);for(var b=0,c=d[0].offset,e=1;e<a;e++){var f=d[e].offset;if(null!=f){for(var g=1;g<e-b;g++)d[b+g].offset=c+(f-c)*g/(e-b);b=e,c=f}}}if(null==b)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&b[Symbol.iterator]&&(b=Array.from(b)),Array.isArray(b)||(b=f(b));for(var d=b.map(function(b){var c={};for(var d in b){var f=b[d];if("offset"==d){if(null!=f){if(f=Number(f),!isFinite(f))throw new TypeError("Keyframe offsets must be numbers.");if(f<0||f>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==d){if("add"==f||"accumulate"==f)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=f)throw new TypeError("Invalid composite mode "+f+".")}else f="easing"==d?a.normalizeEasing(f):""+f;e(d,f,c)}return void 0==c.offset&&(c.offset=null),void 0==c.easing&&(c.easing="linear"),c}),g=!0,h=-(1/0),i=0;i<d.length;i++){var j=d[i].offset;if(null!=j){if(j<h)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");h=j}else g=!1}return d=d.filter(function(a){return a.offset>=0&&a.offset<=1}),g||c(),d}var h={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),j={thin:"1px",medium:"3px",thick:"5px"},k={borderBottomWidth:j,borderLeftWidth:j,borderRightWidth:j,borderTopWidth:j,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:j,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};a.convertToArrayForm=f,a.normalizeKeyframes=g}(c,f),function(a){var b={};a.isDeprecated=function(a,c,d,e){var f=e?"are":"is",g=new Date,h=new Date(c);return h.setMonth(h.getMonth()+3),!(g<h&&(a in b||console.warn("Web Animations: "+a+" "+f+" deprecated and will stop working on "+h.toDateString()+". "+d),b[a]=!0,1))},a.deprecated=function(b,c,d,e){var f=e?"are":"is";if(a.isDeprecated(b,c,d,e))throw new Error(b+" "+f+" no longer supported. "+d)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(c){void 0===a[c]&&(b=!0)})),!b)return}!function(a,b,c){function d(a){for(var b={},c=0;c<a.length;c++)for(var d in a[c])if("offset"!=d&&"easing"!=d&&"composite"!=d){var e={offset:a[c].offset,easing:a[c].easing,value:a[c][d]};b[d]=b[d]||[],b[d].push(e)}for(var f in b){var g=b[f];if(0!=g[0].offset||1!=g[g.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return b}function e(c){var d=[];for(var e in c)for(var f=c[e],g=0;g<f.length-1;g++){var h=g,i=g+1,j=f[h].offset,k=f[i].offset,l=j,m=k;0==g&&(l=-(1/0),0==k&&(i=h)),g==f.length-2&&(m=1/0,1==j&&(h=i)),d.push({applyFrom:l,applyTo:m,startOffset:f[h].offset,endOffset:f[i].offset,easingFunction:a.parseEasingFunction(f[h].easing),property:e,interpolation:b.propertyInterpolation(e,f[h].value,f[i].value)})}return d.sort(function(a,b){return a.startOffset-b.startOffset}),d}b.convertEffectInput=function(c){var f=a.normalizeKeyframes(c),g=d(f),h=e(g);return function(a,c){if(null!=c)h.filter(function(a){return c>=a.applyFrom&&c<a.applyTo}).forEach(function(d){var e=c-d.startOffset,f=d.endOffset-d.startOffset,g=0==f?0:d.easingFunction(e/f);b.apply(a,d.property,d.interpolation(g))});else for(var d in g)"offset"!=d&&"easing"!=d&&"composite"!=d&&b.clear(a,d)}}}(c,d,f),function(a,b,c){function d(a){return a.replace(/-(.)/g,function(a,b){return b.toUpperCase()})}function e(a,b,c){h[c]=h[c]||[],h[c].push([a,b])}function f(a,b,c){for(var f=0;f<c.length;f++){var g=c[f];e(a,b,d(g))}}function g(c,e,f){var g=c;/-/.test(c)&&!a.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(g=d(c)),"initial"!=e&&"initial"!=f||("initial"==e&&(e=i[g]),"initial"==f&&(f=i[g]));for(var j=e==f?[]:h[g],k=0;j&&k<j.length;k++){var l=j[k][0](e),m=j[k][0](f);if(void 0!==l&&void 0!==m){var n=j[k][1](l,m);if(n){var o=b.Interpolation.apply(null,n);return function(a){return 0==a?e:1==a?f:o(a)}}}}return b.Interpolation(!1,!0,function(a){return a?f:e})}var h={};b.addPropertiesHandler=f;var i={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};b.propertyInterpolation=g}(c,d,f),function(a,b,c){function d(b){var c=a.calculateActiveDuration(b),d=function(d){return a.calculateIterationProgress(c,d,b)};return d._totalDuration=b.delay+c+b.endDelay,d}b.KeyframeEffect=function(c,e,f,g){var h,i=d(a.normalizeTimingInput(f)),j=b.convertEffectInput(e),k=function(){j(c,h)};return k._update=function(a){return h=i(a),null!==h},k._clear=function(){j(c,null)},k._hasSameTarget=function(a){return c===a},k._target=c,k._totalDuration=i._totalDuration,k._id=g,k},b.NullEffect=function(a){var b=function(){a&&(a(),a=null)};return b._update=function(){return null},b._totalDuration=0,b._hasSameTarget=function(){return!1},b}}(c,d,f),function(a,b){a.apply=function(b,c,d){b.style[a.propertyName(c)]=d},a.clear=function(b,c){b.style[a.propertyName(c)]=""}}(d,f),function(a){window.Element.prototype.animate=function(b,c){var d="";return c&&c.id&&(d=c.id),a.timeline._play(a.KeyframeEffect(this,b,c,d))}}(d),function(a,b){function c(a,b,d){if("number"==typeof a&&"number"==typeof b)return a*(1-d)+b*d;if("boolean"==typeof a&&"boolean"==typeof b)return d<.5?a:b;if(a.length==b.length){for(var e=[],f=0;f<a.length;f++)e.push(c(a[f],b[f],d));return e}throw"Mismatched interpolation arguments "+a+":"+b}a.Interpolation=function(a,b,d){return function(e){return d(c(a,b,e))}}}(d,f),function(a,b,c){a.sequenceNumber=0;var d=function(a,b,c){this.target=a,this.currentTime=b,this.timelineTime=c,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=a,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};b.Animation=function(b){this.id="",b&&b._id&&(this.id=b._id),this._sequenceNumber=a.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=b,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},b.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,b.timeline._animations.push(this))},_tickCurrentTime:function(a,b){a!=this._currentTime&&(this._currentTime=a,this._isFinished&&!b&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(a){a=+a,isNaN(a)||(b.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-a/this._playbackRate),this._currentTimePending=!1,this._currentTime!=a&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(a,!0),b.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(a){a=+a,isNaN(a)||this._paused||this._idle||(this._startTime=a,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),b.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(a){if(a!=this._playbackRate){var c=this.currentTime;this._playbackRate=a,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)),null!=c&&(this.currentTime=c)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,b.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),b.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(a,b){"function"==typeof b&&"finish"==a&&this._finishHandlers.push(b)},removeEventListener:function(a,b){if("finish"==a){var c=this._finishHandlers.indexOf(b);c>=0&&this._finishHandlers.splice(c,1)}},_fireEvents:function(a){if(this._isFinished){if(!this._finishedFlag){var b=new d(this,this._currentTime,a),c=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){c.forEach(function(a){a.call(b.target,b)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(a,b){this._idle||this._paused||(null==this._startTime?b&&(this.startTime=a-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((a-this._startTime)*this.playbackRate)),b&&(this._currentTimePending=!1,this._fireEvents(a))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var a=this._effect._target;return a._activeAnimations||(a._activeAnimations=[]),a._activeAnimations},_markTarget:function(){var a=this._targetAnimations();a.indexOf(this)===-1&&a.push(this)},_unmarkTarget:function(){var a=this._targetAnimations(),b=a.indexOf(this);b!==-1&&a.splice(b,1)}}}(c,d,f),function(a,b,c){function d(a){var b=j;j=[],a<q.currentTime&&(a=q.currentTime),q._animations.sort(e),q._animations=h(a,!0,q._animations)[0],b.forEach(function(b){b[1](a)}),g(),l=void 0}function e(a,b){return a._sequenceNumber-b._sequenceNumber}function f(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function g(){o.forEach(function(a){a()}),o.length=0}function h(a,c,d){p=!0,n=!1;var e=b.timeline;e.currentTime=a,m=!1;var f=[],g=[],h=[],i=[];return d.forEach(function(b){b._tick(a,c),b._inEffect?(g.push(b._effect),b._markTarget()):(f.push(b._effect),b._unmarkTarget()),b._needsTick&&(m=!0);var d=b._inEffect||b._needsTick;b._inTimeline=d,d?h.push(b):i.push(b)}),o.push.apply(o,f),o.push.apply(o,g),m&&requestAnimationFrame(function(){}),p=!1,[h,i]}var i=window.requestAnimationFrame,j=[],k=0;window.requestAnimationFrame=function(a){var b=k++;return 0==j.length&&i(d),j.push([b,a]),b},window.cancelAnimationFrame=function(a){j.forEach(function(b){b[0]==a&&(b[1]=function(){})})},f.prototype={_play:function(c){c._timing=a.normalizeTimingInput(c.timing);var d=new b.Animation(c);return d._idle=!1,d._timeline=this,this._animations.push(d),b.restart(),b.applyDirtiedAnimation(d),d}};var l=void 0,m=!1,n=!1;b.restart=function(){return m||(m=!0,requestAnimationFrame(function(){}),n=!0),n},b.applyDirtiedAnimation=function(a){if(!p){a._markTarget();var c=a._targetAnimations();c.sort(e);var d=h(b.timeline.currentTime,!1,c.slice())[1];d.forEach(function(a){var b=q._animations.indexOf(a);b!==-1&&q._animations.splice(b,1)}),g()}};var o=[],p=!1,q=new f;b.timeline=q}(c,d,f),function(a){function b(a,b){var c=a.exec(b);if(c)return c=a.ignoreCase?c[0].toLowerCase():c[0],[c,b.substr(c.length)]}function c(a,b){b=b.replace(/^\s*/,"");var c=a(b);if(c)return[c[0],c[1].replace(/^\s*/,"")]}function d(a,d,e){a=c.bind(null,a);for(var f=[];;){var g=a(e);if(!g)return[f,e];if(f.push(g[0]),e=g[1],g=b(d,e),!g||""==g[1])return[f,e];e=g[1]}}function e(a,b){for(var c=0,d=0;d<b.length&&(!/\s|,/.test(b[d])||0!=c);d++)if("("==b[d])c++;else if(")"==b[d]&&(c--,0==c&&d++,c<=0))break;var e=a(b.substr(0,d));return void 0==e?void 0:[e,b.substr(d)]}function f(a,b){for(var c=a,d=b;c&&d;)c>d?c%=d:d%=c;return c=a*b/(c+d)}function g(a){return function(b){var c=a(b);return c&&(c[0]=void 0),c}}function h(a,b){return function(c){var d=a(c);return d?d:[b,c]}}function i(b,c){for(var d=[],e=0;e<b.length;e++){var f=a.consumeTrimmed(b[e],c);if(!f||""==f[0])return;void 0!==f[0]&&d.push(f[0]),c=f[1]}if(""==c)return d}function j(a,b,c,d,e){for(var g=[],h=[],i=[],j=f(d.length,e.length),k=0;k<j;k++){var l=b(d[k%d.length],e[k%e.length]);if(!l)return;g.push(l[0]),h.push(l[1]),i.push(l[2])}return[g,h,function(b){var d=b.map(function(a,b){return i[b](a)}).join(c);return a?a(d):d}]}function k(a,b,c){for(var d=[],e=[],f=[],g=0,h=0;h<c.length;h++)if("function"==typeof c[h]){var i=c[h](a[g],b[g++]);d.push(i[0]),e.push(i[1]),f.push(i[2])}else!function(a){d.push(!1),e.push(!1),f.push(function(){return c[a]})}(h);return[d,e,function(a){for(var b="",c=0;c<a.length;c++)b+=f[c](a[c]);return b}]}a.consumeToken=b,a.consumeTrimmed=c,a.consumeRepeated=d,a.consumeParenthesised=e,a.ignore=g,a.optional=h,a.consumeList=i,a.mergeNestedRepeated=j.bind(null,null),a.mergeWrappedNestedRepeated=j,a.mergeList=k}(d),function(a){function b(b){function c(b){var c=a.consumeToken(/^inset/i,b);if(c)return d.inset=!0,c;var c=a.consumeLengthOrPercent(b);if(c)return d.lengths.push(c[0]),c;var c=a.consumeColor(b);return c?(d.color=c[0],c):void 0}var d={inset:!1,lengths:[],color:null},e=a.consumeRepeated(c,/^/,b);if(e&&e[0].length)return[d,e[1]]}function c(c){var d=a.consumeRepeated(b,/^,/,c);if(d&&""==d[1])return d[0]}function d(b,c){for(;b.lengths.length<Math.max(b.lengths.length,c.lengths.length);)b.lengths.push({px:0});for(;c.lengths.length<Math.max(b.lengths.length,c.lengths.length);)c.lengths.push({px:0});if(b.inset==c.inset&&!!b.color==!!c.color){for(var d,e=[],f=[[],0],g=[[],0],h=0;h<b.lengths.length;h++){var i=a.mergeDimensions(b.lengths[h],c.lengths[h],2==h);f[0].push(i[0]),g[0].push(i[1]),e.push(i[2])}if(b.color&&c.color){var j=a.mergeColors(b.color,c.color);f[1]=j[0],g[1]=j[1],d=j[2]}return[f,g,function(a){for(var c=b.inset?"inset ":" ",f=0;f<e.length;f++)c+=e[f](a[0][f])+" ";return d&&(c+=d(a[1])),c}]}}function e(b,c,d,e){function f(a){return{inset:a,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var g=[],h=[],i=0;i<d.length||i<e.length;i++){var j=d[i]||f(e[i].inset),k=e[i]||f(d[i].inset);g.push(j),h.push(k)}return a.mergeNestedRepeated(b,c,g,h)}var f=e.bind(null,d,", ");a.addPropertiesHandler(c,f,["box-shadow","text-shadow"])}(d),function(a,b){function c(a){return a.toFixed(3).replace(".000","")}function d(a,b,c){return Math.min(b,Math.max(a,c))}function e(a){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(a))return Number(a)}function f(a,b){return[a,b,c]}function g(a,b){if(0!=a)return i(0,1/0)(a,b)}function h(a,b){return[a,b,function(a){return Math.round(d(1,1/0,a))}]}function i(a,b){return function(e,f){return[e,f,function(e){return c(d(a,b,e))}]}}function j(a,b){return[a,b,Math.round]}a.clamp=d,a.addPropertiesHandler(e,i(0,1/0),["border-image-width","line-height"]),a.addPropertiesHandler(e,i(0,1),["opacity","shape-image-threshold"]),a.addPropertiesHandler(e,g,["flex-grow","flex-shrink"]),a.addPropertiesHandler(e,h,["orphans","widows"]),a.addPropertiesHandler(e,j,["z-index"]),a.parseNumber=e,a.mergeNumbers=f,a.numberToString=c}(d,f),function(a,b){function c(a,b){if("visible"==a||"visible"==b)return[0,1,function(c){return c<=0?a:c>=1?b:"visible"}]}a.addPropertiesHandler(String,c,["visibility"])}(d),function(a,b){function c(a){a=a.trim(),f.fillStyle="#000",f.fillStyle=a;var b=f.fillStyle;if(f.fillStyle="#fff",f.fillStyle=a,b==f.fillStyle){f.fillRect(0,0,1,1);var c=f.getImageData(0,0,1,1).data;f.clearRect(0,0,1,1);var d=c[3]/255;return[c[0]*d,c[1]*d,c[2]*d,d]}}function d(b,c){return[b,c,function(b){function c(a){return Math.max(0,Math.min(255,a))}if(b[3])for(var d=0;d<3;d++)b[d]=Math.round(c(b[d]/b[3]));return b[3]=a.numberToString(a.clamp(0,1,b[3])),"rgba("+b.join(",")+")"}]}var e=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");e.width=e.height=1;var f=e.getContext("2d");a.addPropertiesHandler(c,d,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),a.consumeColor=a.consumeParenthesised.bind(null,c),a.mergeColors=d}(d,f),function(a,b){function c(a,b){if(b=b.trim().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(a){return c[a]=null,"U"+a});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;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))return;c[h]=i}return c}}}function d(a,b){return e(a,b,!0)}function e(b,c,d){var e,f=[];for(e in b)f.push(e);for(e in c)f.indexOf(e)<0&&f.push(e);return b=f.map(function(a){return b[a]||0}),c=f.map(function(a){return c[a]||0}),[b,c,function(b){var c=b.map(function(c,e){return 1==b.length&&d&&(c=Math.max(c,0)),a.numberToString(c)+f[e]}).join(" + ");return b.length>1?"calc("+c+")":c}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(a){var b=l(a);if(b&&""==b[1])return b[0]},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),a.addPropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","text-indent","top","vertical-align","word-spacing"])}(d,f),function(a,b){function c(b){return a.consumeLengthOrPercent(b)||a.consumeToken(/^auto/,b)}function d(b){var d=a.consumeList([a.ignore(a.consumeToken.bind(null,/^rect/)),a.ignore(a.consumeToken.bind(null,/^\(/)),a.consumeRepeated.bind(null,c,/^,/),a.ignore(a.consumeToken.bind(null,/^\)/))],b);if(d&&4==d[0].length)return d[0]}function e(b,c){return"auto"==b||"auto"==c?[!0,!1,function(d){var e=d?b:c;if("auto"==e)return"auto";var f=a.mergeDimensions(e,e);return f[2](f[0])}]:a.mergeDimensions(b,c)}function f(a){return"rect("+a+")"}var g=a.mergeWrappedNestedRepeated.bind(null,f,e,", ");a.parseBox=d,a.mergeBoxes=g,a.addPropertiesHandler(d,g,["clip"])}(d,f),function(a,b){function c(a){return function(b){var c=0;return a.map(function(a){return a===k?b[c++]:a})}}function d(a){return a}function e(b){if(b=b.toLowerCase().trim(),"none"==b)return[];for(var c,d=/\s*(\w+)\(([^)]*)\)/g,e=[],f=0;c=d.exec(b);){if(c.index!=f)return;f=c.index+c[0].length;var g=c[1],h=n[g];if(!h)return;var i=c[2].split(","),j=h[0];if(j.length<i.length)return;for(var k=[],o=0;o<j.length;o++){var p,q=i[o],r=j[o];if(p=q?{A:function(b){return"0"==b.trim()?m:a.parseAngle(b)},N:a.parseNumber,T:a.parseLengthOrPercent,L:a.parseLength}[r.toUpperCase()](q):{a:m,n:k[0],t:l}[r],void 0===p)return;k.push(p)}if(e.push({t:g,d:k}),d.lastIndex==b.length)return e}}function f(a){return a.toFixed(6).replace(".000000","")}function g(b,c){if(b.decompositionPair!==c){b.decompositionPair=c;var d=a.makeMatrixDecomposition(b)}if(c.decompositionPair!==b){c.decompositionPair=b;var e=a.makeMatrixDecomposition(c)}return null==d[0]||null==e[0]?[[!1],[!0],function(a){return a?c[0].d:b[0].d}]:(d[0].push(0),e[0].push(1),[d,e,function(b){var c=a.quat(d[0][3],e[0][3],b[5]),g=a.composeMatrix(b[0],b[1],b[2],c,b[4]),h=g.map(f).join(",");return h}])}function h(a){return a.replace(/[xy]/,"")}function i(a){return a.replace(/(x|y|z|3d)?$/,"3d")}function j(b,c){var d=a.makeMatrixDecomposition&&!0,e=!1;if(!b.length||!c.length){b.length||(e=!0,b=c,c=[]);for(var f=0;f<b.length;f++){var j=b[f].t,k=b[f].d,l="scale"==j.substr(0,5)?1:0;c.push({t:j,d:k.map(function(a){if("number"==typeof a)return l;var b={};for(var c in a)b[c]=l;return b})})}}var m=function(a,b){return"perspective"==a&&"perspective"==b||("matrix"==a||"matrix3d"==a)&&("matrix"==b||"matrix3d"==b)},o=[],p=[],q=[];if(b.length!=c.length){if(!d)return;var r=g(b,c);o=[r[0]],p=[r[1]],q=[["matrix",[r[2]]]]}else for(var f=0;f<b.length;f++){var j,s=b[f].t,t=c[f].t,u=b[f].d,v=c[f].d,w=n[s],x=n[t];if(m(s,t)){if(!d)return;var r=g([b[f]],[c[f]]);o.push(r[0]),p.push(r[1]),q.push(["matrix",[r[2]]])}else{if(s==t)j=s;else if(w[2]&&x[2]&&h(s)==h(t))j=h(s),u=w[2](u),v=x[2](v);else{if(!w[1]||!x[1]||i(s)!=i(t)){if(!d)return;var r=g(b,c);o=[r[0]],p=[r[1]],q=[["matrix",[r[2]]]];break}j=i(s),u=w[1](u),v=x[1](v)}for(var y=[],z=[],A=[],B=0;B<u.length;B++){var C="number"==typeof u[B]?a.mergeNumbers:a.mergeDimensions,r=C(u[B],v[B]);y[B]=r[0],z[B]=r[1],A.push(r[2])}o.push(y),p.push(z),q.push([j,A])}}if(e){var D=o;o=p,p=D}return[o,p,function(a){return a.map(function(a,b){var c=a.map(function(a,c){return q[b][1][c](a)}).join(",");return"matrix"==q[b][0]&&16==c.split(",").length&&(q[b][0]="matrix3d"),q[b][0]+"("+c+")"}).join(" ")}]}var k=null,l={px:0},m={deg:0},n={matrix:["NNNNNN",[k,k,0,0,k,k,0,0,0,0,1,0,k,k,0,1],d],matrix3d:["NNNNNNNNNNNNNNNN",d],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",c([k,k,1]),d],scalex:["N",c([k,1,1]),c([k,1])],scaley:["N",c([1,k,1]),c([1,k])],scalez:["N",c([1,1,k])],scale3d:["NNN",d],skew:["Aa",null,d],skewx:["A",null,c([k,m])],skewy:["A",null,c([m,k])],translate:["Tt",c([k,k,l]),d],translatex:["T",c([k,l,l]),c([k,l])],translatey:["T",c([l,k,l]),c([l,k])],translatez:["L",c([l,l,k])],translate3d:["TTL",d]};a.addPropertiesHandler(e,j,["transform"])}(d,f),function(a,b){function c(a,b){b.concat([a]).forEach(function(b){b in document.documentElement.style&&(d[a]=b)})}var d={};c("transform",["webkitTransform","msTransform"]),c("transformOrigin",["webkitTransformOrigin"]),c("perspective",["webkitPerspective"]),c("perspectiveOrigin",["webkitPerspectiveOrigin"]),a.propertyName=function(a){return d[a]||a}}(d,f)}(),!function(){if(void 0===document.createElement("div").animate([]).oncancel){var a;if(window.performance&&performance.now)var a=function(){return performance.now()};else var a=function(){return Date.now()};var b=function(a,b,c){this.target=a,this.currentTime=b,this.timelineTime=c,this.type="cancel",this.bubbles=!1,this.cancelable=!1,-this.currentTarget=a,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},c=window.Element.prototype.animate;window.Element.prototype.animate=function(d,e){var f=c.call(this,d,e);f._cancelHandlers=[],f.oncancel=null;var g=f.cancel;f.cancel=function(){g.call(this);var c=new b(this,null,a()),d=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){d.forEach(function(a){a.call(c.target,c)})},0)};var h=f.addEventListener;f.addEventListener=function(a,b){"function"==typeof b&&"cancel"==a?this._cancelHandlers.push(b):h.call(this,a,b)};var i=f.removeEventListener;return f.removeEventListener=function(a,b){if("cancel"==a){var c=this._cancelHandlers.indexOf(b);c>=0&&this._cancelHandlers.splice(c,1)}else i.call(this,a,b)},f}}}(),function(a){var b=document.documentElement,c=null,d=!1;try{var e=getComputedStyle(b).getPropertyValue("opacity"),f="0"==e?"1":"0";c=b.animate({opacity:[f,f]},{duration:1}),c.currentTime=0,d=getComputedStyle(b).getPropertyValue("opacity")==f}catch(a){}finally{c&&c.cancel()}if(!d){var g=window.Element.prototype.animate;window.Element.prototype.animate=function(b,c){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&b[Symbol.iterator]&&(b=Array.from(b)),Array.isArray(b)||null===b||(b=a.convertToArrayForm(b)),g.call(this,b,c)}}}(c),!function(a,b,c){function d(a){var c=b.timeline;c.currentTime=a,c._discardAnimations(),0==c._animations.length?f=!1:requestAnimationFrame(d)}var e=window.requestAnimationFrame;window.requestAnimationFrame=function(a){return e(function(c){b.timeline._updateAnimationsPromises(),a(c),b.timeline._updateAnimationsPromises()})},b.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},b.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){b.animationsWithPromises=b.animationsWithPromises.filter(function(a){return a._updatePromises()})},_discardAnimations:function(){this._updateAnimationsPromises(),this._animations=this._animations.filter(function(a){return"finished"!=a.playState&&"idle"!=a.playState})},_play:function(a){var c=new b.Animation(a,this);return this._animations.push(c),b.restartWebAnimationsNextTick(),c._updatePromises(),c._animation.play(),c._updatePromises(),c},play:function(a){return a&&a.remove(),this._play(a)}};var f=!1;b.restartWebAnimationsNextTick=function(){f||(f=!0,requestAnimationFrame(d))};var g=new b.AnimationTimeline;b.timeline=g;try{Object.defineProperty(window.document,"timeline",{configurable:!0,get:function(){return g}})}catch(a){}try{window.document.timeline=g}catch(a){}}(c,e,f),function(a,b,c){b.animationsWithPromises=[],b.Animation=function(b,c){if(this.id="",b&&b._id&&(this.id=b._id),this.effect=b,b&&(b._animation=this),!c)throw new Error("Animation with null timeline is not supported");this._timeline=c,this._sequenceNumber=a.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},b.Animation.prototype={_updatePromises:function(){var a=this._oldPlayState,b=this.playState;return this._readyPromise&&b!==a&&("idle"==b?(this._rejectReadyPromise(),this._readyPromise=void 0):"pending"==a?this._resolveReadyPromise():"pending"==b&&(this._readyPromise=void 0)),this._finishedPromise&&b!==a&&("idle"==b?(this._rejectFinishedPromise(),this._finishedPromise=void 0):"finished"==b?this._resolveFinishedPromise():"finished"==a&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this._updatePromises();var a,c,d,e,f=!!this._animation;f&&(a=this.playbackRate,c=this._paused,d=this.startTime,e=this.currentTime,this._animation.cancel(),this._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=b.newUnderlyingAnimationForKeyframeEffect(this.effect),b.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=b.newUnderlyingAnimationForGroup(this.effect),b.bindAnimationForGroup(this)),this.effect&&this.effect._onsample&&b.bindAnimationForCustomEffect(this),f&&(1!=a&&(this.playbackRate=a),null!==d?this.startTime=d:null!==e?this.currentTime=e:null!==this._holdTime&&(this.currentTime=this._holdTime),c&&this.pause()),this._updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playState){var a=this.effect._timing.delay;this._childAnimations.forEach(function(c){this._arrangeChildren(c,a),this.effect instanceof window.SequenceEffect&&(a+=b.groupChildDuration(c.effect))}.bind(this))}},_setExternalAnimation:function(a){if(this.effect&&this._isGroup)for(var b=0;b<this.effect.children.length;b++)this.effect.children[b]._animation=a,this._childAnimations[b]._setExternalAnimation(a)},_constructChildAnimations:function(){if(this.effect&&this._isGroup){var a=this.effect._timing.delay;this._removeChildAnimations(),this.effect.children.forEach(function(c){var d=b.timeline._play(c);this._childAnimations.push(d),d.playbackRate=this.playbackRate,this._paused&&d.pause(),c._animation=this.effect._animation,this._arrangeChildren(d,a),this.effect instanceof window.SequenceEffect&&(a+=b.groupChildDuration(c))}.bind(this))}},_arrangeChildren:function(a,b){null===this.startTime?a.currentTime=this.currentTime-b/this.playbackRate:a.startTime!==this.startTime+b/this.playbackRate&&(a.startTime=this.startTime+b/this.playbackRate)},get timeline(){return this._timeline},get playState(){return this._animation?this._animation.playState:"idle"},get finished(){return window.Promise?(this._finishedPromise||(b.animationsWithPromises.indexOf(this)==-1&&b.animationsWithPromises.push(this),this._finishedPromise=new Promise(function(a,b){this._resolveFinishedPromise=function(){a(this)},this._rejectFinishedPromise=function(){b({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"finished"==this.playState&&this._resolveFinishedPromise()),this._finishedPromise):(console.warn("Animation Promises require JavaScript Promise constructor"),null)},get ready(){return window.Promise?(this._readyPromise||(b.animationsWithPromises.indexOf(this)==-1&&b.animationsWithPromises.push(this),this._readyPromise=new Promise(function(a,b){this._resolveReadyPromise=function(){a(this)},this._rejectReadyPromise=function(){b({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(a){"function"==typeof a?this._animation.onfinish=function(b){b.target=this,a.call(this,b)}.bind(this):this._animation.onfinish=a},get oncancel(){return this._animation.oncancel},set oncancel(a){"function"==typeof a?this._animation.oncancel=function(b){b.target=this,a.call(this,b)}.bind(this):this._animation.oncancel=a},get currentTime(){this._updatePromises();var a=this._animation.currentTime;return this._updatePromises(),a},set currentTime(a){this._updatePromises(),this._animation.currentTime=isFinite(a)?a:Math.sign(a)*Number.MAX_VALUE,this._register(),this._forEachChild(function(b,c){b.currentTime=a-c}),this._updatePromises()},get startTime(){return this._animation.startTime},set startTime(a){this._updatePromises(),this._animation.startTime=isFinite(a)?a:Math.sign(a)*Number.MAX_VALUE,this._register(),this._forEachChild(function(b,c){b.startTime=a+c}),this._updatePromises()},get playbackRate(){return this._animation.playbackRate},set playbackRate(a){this._updatePromises();var b=this.currentTime;this._animation.playbackRate=a,this._forEachChild(function(b){b.playbackRate=a}),null!==b&&(this.currentTime=b),this._updatePromises()},play:function(){this._updatePromises(),this._paused=!1,this._animation.play(),this._timeline._animations.indexOf(this)==-1&&this._timeline._animations.push(this),this._register(),b.awaitStartTime(this),this._forEachChild(function(a){var b=a.currentTime;a.play(),a.currentTime=b}),this._updatePromises()},pause:function(){this._updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._animation.pause(),this._register(),this._forEachChild(function(a){a.pause()}),this._paused=!0,this._updatePromises()},finish:function(){this._updatePromises(),this._animation.finish(),this._register(),this._updatePromises()},cancel:function(){this._updatePromises(),this._animation.cancel(),this._register(),this._removeChildAnimations(),this._updatePromises()},reverse:function(){this._updatePromises();var a=this.currentTime;this._animation.reverse(),this._forEachChild(function(a){a.reverse()}),null!==a&&(this.currentTime=a),this._updatePromises()},addEventListener:function(a,b){var c=b;"function"==typeof b&&(c=function(a){a.target=this,b.call(this,a)}.bind(this),b._wrapper=c),this._animation.addEventListener(a,c)},removeEventListener:function(a,b){this._animation.removeEventListener(a,b&&b._wrapper||b)},_removeChildAnimations:function(){for(;this._childAnimations.length;)this._childAnimations.pop().cancel()},_forEachChild:function(b){var c=0;if(this.effect.children&&this._childAnimations.length<this.effect.children.length&&this._constructChildAnimations(),this._childAnimations.forEach(function(a){b.call(this,a,c),this.effect instanceof window.SequenceEffect&&(c+=a.effect.activeDuration)}.bind(this)),"pending"!=this.playState){var d=this.effect._timing,e=this.currentTime;null!==e&&(e=a.calculateIterationProgress(a.calculateActiveDuration(d),e,d)),(null==e||isNaN(e))&&this._removeChildAnimations()}}},window.Animation=b.Animation}(c,e,f),function(a,b,c){function d(b){this._frames=a.normalizeKeyframes(b)}function e(){for(var a=!1;i.length;){var b=i.shift();b._updateChildren(),a=!0}return a}var f=function(a){if(a._animation=void 0,a instanceof window.SequenceEffect||a instanceof window.GroupEffect)for(var b=0;b<a.children.length;b++)f(a.children[b])};b.removeMulti=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];d._parent?(b.indexOf(d._parent)==-1&&b.push(d._parent),d._parent.children.splice(d._parent.children.indexOf(d),1),d._parent=null,f(d)):d._animation&&d._animation.effect==d&&(d._animation.cancel(),d._animation.effect=new KeyframeEffect(null,[]),d._animation._callback&&(d._animation._callback._animation=null),d._animation._rebuildUnderlyingAnimation(),f(d))}for(c=0;c<b.length;c++)b[c]._rebuild()},b.KeyframeEffect=function(b,c,e,f){return this.target=b,this._parent=null,e=a.numericTimingToObject(e),this._timingInput=a.cloneTimingInput(e),this._timing=a.normalizeTimingInput(e),this.timing=a.makeTiming(e,!1,this),this.timing._effect=this,"function"==typeof c?(a.deprecated("Custom KeyframeEffect","2015-06-22","Use KeyframeEffect.onsample instead."),this._normalizedKeyframes=c):this._normalizedKeyframes=new d(c),this._keyframes=c,this.activeDuration=a.calculateActiveDuration(this._timing),this._id=f,this},b.KeyframeEffect.prototype={getFrames:function(){return"function"==typeof this._normalizedKeyframes?this._normalizedKeyframes:this._normalizedKeyframes._frames},set onsample(a){if("function"==typeof this.getFrames())throw new Error("Setting onsample on custom effect KeyframeEffect is not supported.");this._onsample=a,this._animation&&this._animation._rebuildUnderlyingAnimation()},get parent(){return this._parent},clone:function(){if("function"==typeof this.getFrames())throw new Error("Cloning custom effects is not supported.");var b=new KeyframeEffect(this.target,[],a.cloneTimingInput(this._timingInput),this._id);return b._normalizedKeyframes=this._normalizedKeyframes,b._keyframes=this._keyframes,b},remove:function(){b.removeMulti([this])}};var g=Element.prototype.animate;Element.prototype.animate=function(a,c){var d="";return c&&c.id&&(d=c.id),b.timeline._play(new b.KeyframeEffect(this,a,c,d))};var h=document.createElementNS("http://www.w3.org/1999/xhtml","div");b.newUnderlyingAnimationForKeyframeEffect=function(a){if(a){var b=a.target||h,c=a._keyframes;"function"==typeof c&&(c=[]);var d=a._timingInput;d.id=a._id}else var b=h,c=[],d=0;return g.apply(b,[c,d])},b.bindAnimationForKeyframeEffect=function(a){a.effect&&"function"==typeof a.effect._normalizedKeyframes&&b.bindAnimationForCustomEffect(a)};var i=[];b.awaitStartTime=function(a){null===a.startTime&&a._isGroup&&(0==i.length&&requestAnimationFrame(e),i.push(a))};var j=window.getComputedStyle;Object.defineProperty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function(){b.timeline._updateAnimationsPromises();var a=j.apply(this,arguments);return e()&&(a=j.apply(this,arguments)),b.timeline._updateAnimationsPromises(),a}}),window.KeyframeEffect=b.KeyframeEffect,window.Element.prototype.getAnimations=function(){return document.timeline.getAnimations().filter(function(a){return null!==a.effect&&a.effect.target==this}.bind(this))}}(c,e,f),function(a,b,c){function d(a){a._registered||(a._registered=!0,g.push(a),h||(h=!0,requestAnimationFrame(e)))}function e(a){var b=g;g=[],b.sort(function(a,b){return a._sequenceNumber-b._sequenceNumber}),b=b.filter(function(a){a();var b=a._animation?a._animation.playState:"idle";return"running"!=b&&"pending"!=b&&(a._registered=!1),a._registered}),g.push.apply(g,b),g.length?(h=!0,requestAnimationFrame(e)):h=!1}var f=(document.createElementNS("http://www.w3.org/1999/xhtml","div"),0);b.bindAnimationForCustomEffect=function(b){var c,e=b.effect.target,g="function"==typeof b.effect.getFrames();c=g?b.effect.getFrames():b.effect._onsample;var h=b.effect.timing,i=null;h=a.normalizeTimingInput(h);var j=function(){var d=j._animation?j._animation.currentTime:null;null!==d&&(d=a.calculateIterationProgress(a.calculateActiveDuration(h),d,h),isNaN(d)&&(d=null)),d!==i&&(g?c(d,e,b.effect):c(d,b.effect,b.effect._animation)),i=d};j._animation=b,j._registered=!1,j._sequenceNumber=f++,b._callback=j,d(j)};var g=[],h=!1;b.Animation.prototype._register=function(){this._callback&&d(this._callback)}}(c,e,f),function(a,b,c){function d(a){return a._timing.delay+a.activeDuration+a._timing.endDelay}function e(b,c,d){this._id=d,this._parent=null,this.children=b||[],this._reparent(this.children),c=a.numericTimingToObject(c),this._timingInput=a.cloneTimingInput(c),this._timing=a.normalizeTimingInput(c,!0),this.timing=a.makeTiming(c,!0,this),this.timing._effect=this,"auto"===this._timing.duration&&(this._timing.duration=this.activeDuration)}window.SequenceEffect=function(){e.apply(this,arguments)},window.GroupEffect=function(){e.apply(this,arguments)},e.prototype={_isAncestor:function(a){for(var b=this;null!==b;){if(b==a)return!0;b=b._parent}return!1},_rebuild:function(){for(var a=this;a;)"auto"===a.timing.duration&&(a._timing.duration=a.activeDuration),a=a._parent;this._animation&&this._animation._rebuildUnderlyingAnimation()},_reparent:function(a){b.removeMulti(a);for(var c=0;c<a.length;c++)a[c]._parent=this},_putChild:function(a,b){for(var c=b?"Cannot append an ancestor or self":"Cannot prepend an ancestor or self",d=0;d<a.length;d++)if(this._isAncestor(a[d]))throw{type:DOMException.HIERARCHY_REQUEST_ERR,name:"HierarchyRequestError",message:c};for(var d=0;d<a.length;d++)b?this.children.push(a[d]):this.children.unshift(a[d]);this._reparent(a),this._rebuild()},append:function(){this._putChild(arguments,!0)},prepend:function(){this._putChild(arguments,!1)},get parent(){return this._parent},get firstChild(){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 b=a.cloneTimingInput(this._timingInput),c=[],d=0;d<this.children.length;d++)c.push(this.children[d].clone());return this instanceof GroupEffect?new GroupEffect(c,b):new SequenceEffect(c,b)},remove:function(){b.removeMulti([this])}},window.SequenceEffect.prototype=Object.create(e.prototype),Object.defineProperty(window.SequenceEffect.prototype,"activeDuration",{get:function(){var a=0;return this.children.forEach(function(b){a+=d(b)}),Math.max(a,0)}}),window.GroupEffect.prototype=Object.create(e.prototype),Object.defineProperty(window.GroupEffect.prototype,"activeDuration",{get:function(){var a=0;return this.children.forEach(function(b){a=Math.max(a,d(b))}),a}}),b.newUnderlyingAnimationForGroup=function(c){var d,e=null,f=function(b){var c=d._wrapper;if(c&&"pending"!=c.playState&&c.effect)return null==b?void c._removeChildAnimations():0==b&&c.playbackRate<0&&(e||(e=a.normalizeTimingInput(c.effect.timing)),b=a.calculateIterationProgress(a.calculateActiveDuration(e),-1,e),isNaN(b)||null==b)?(c._forEachChild(function(a){a.currentTime=-1}),void c._removeChildAnimations()):void 0},g=new KeyframeEffect(null,[],c._timing,c._id);return g.onsample=f,d=b.timeline._play(g)},b.bindAnimationForGroup=function(a){a._animation._wrapper=a,a._isGroup=!0,b.awaitStartTime(a),a._constructChildAnimations(),a._setExternalAnimation(a)},b.groupChildDuration=d}(c,e,f),b.true=a}({},function(){return this}());-//# sourceMappingURL=web-animations-next-lite.min.js.map\ No newline at end of file+!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._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=E}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function 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("direction"==i&&T.indexOf(e[i])==-1)return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[i]=e[i]}}):o.duration=e,o}function a(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function s(e,i){return e=t.numericTimingToObject(e),o(e,i)}function u(t,e,i,n){return t<0||t>1||i<0||i>1?E:function(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)}}function c(t,e){return function(i){if(i>=1)return 1;var n=1/t;return i+=e*n,i-i%n}}function f(t){R||(R=document.createElement("div").style),R.animationTimingFunction="",R.animationTimingFunction=t;var e=R.animationTimingFunction;if(""==e&&r())throw 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)}function m(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}function d(t,e,i){if(null==e)return S;var n=i.delay+t+i.endDelay;return e<Math.min(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"forwards"==e||"both"==e?t:null;case S:return null}}function _(t,e,i,n,r){var o=r;return 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;return 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("normal"!==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.duration),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-reverse".split("|"),E=function(t){return t};n.prototype={_setMember:function(e,i){this["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(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 duration(){return this._duration},set direction(t){this._setMember("direction",t)},get 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._iterations}};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*(start|middle|end)\s*\)/,S=0,C=1,D=2,F=3;t.cloneTimingInput=i,t.makeTiming=o,t.numericTimingToObject=a,t.normalizeTimingInput=s,t.calculateActiveDuration=h,t.calculateIterationProgress=y,t.calculatePhase=d,t.normalizeEasing=f,t.parseEasingFunction=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("transition",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),"composite"in t&&(r.composite=t.composite),r[i]=n[a],e.push(r)}return e.sort(function(t,e){return t.offset-e.offset}),e}function a(e){function i(){var t=n.length;null==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.Symbol&&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 TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe 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 TypeError("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="linear"),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 specify 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","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},u=document.createElementNS("http://www.w3.org/1999/xhtml","div"),c={thin:"1px",medium:"3px",thick:"5px"},f={borderBottomWidth:c,borderLeftWidth: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 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=o,t.normalizeKeyframes=a}(c,f),function(t){var e={};t.isDeprecated=function(t,i,n,r){var o=r?"are":"is",a=new Date,s=new Date(i);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(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.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(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.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",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].offset,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].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:r,interpolation:e.propertyInterpolation(r,o[s].value,o[u].value)})}return n.sort(function(t,e){return t.startOffset-e.startOffset}),n}e.convertEffectInput=function(i){var o=t.normalizeKeyframes(i),a=n(o),s=r(a);return function(t,i){if(null!=i)s.filter(function(t){return i>=t.applyFrom&&i<t.applyTo}).forEach(function(n){var r=i-n.startOffset,o=n.endOffset-n.startOffset,a=0==o?0:n.easingFunction(r/o);e.apply(t,n.property,n.interpolation(a))});else for(var n in a)"offset"!=n&&"easing"!=n&&"composite"!=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 property names","2016-03-22","Use camelCase instead.",!0)&&(a=n(i)),"initial"!=r&&"initial"!=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",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"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.calculateIterationProgress(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.convertEffectInput(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=function(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.animate=function(e,i){var n="";return i&&i.id&&(n=i.id),t.timeline._play(t.KeyframeEffect(this,e,i,n))}}(d),function(t,e){function i(t,e,n){if("number"==typeof t&&"number"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)return 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.Interpolation=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.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,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.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var i=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=i&&(this.currentTime=i)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers.splice(i,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),i=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){i.forEach(function(t){t.call(e.target,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._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();t.indexOf(this)===-1&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);e!==-1&&t.splice(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.forEach(function(e){e[1](t)}),a(),l=void 0}function r(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&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._inEffect?(a.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._needsTick&&(h=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):u.push(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.requestAnimationFrame=function(t){var e=f++;return 0==c.length&&u(n),c.push([e,t]),e},window.cancelAnimationFrame=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.push(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.applyDirtiedAnimation=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)]}function 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 void 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]}}function 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}function 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);return 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]);return e}]}t.consumeToken=e,t.consumeTrimmed=i,t.consumeRepeated=n,t.consumeParenthesised=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.consumeColor(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.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),r.push(u[2])}if(e.color&&i.color){var c=t.mergeColors(e.color,i.color);o[1]=c[0],a[1]=c[1],n=c[2]}return[o,a,function(t){for(var i=e.inset?"inset ":" ",o=0;o<r.length;o++)i+=r[o](t[0][o])+" ";return 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.length||u<r.length;u++){var c=n[u]||o(r[u].inset),f=r[u]||o(n[u].inset);a.push(c),s.push(f)}return t.mergeNestedRepeated(e,i,a,s)}var o=r.bind(null,n,", ");t.addPropertiesHandler(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)}function o(t,e){return[t,e,i]}function a(t,e){if(0!=t)return u(0,1/0)(t,e)}function 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-image-width","line-height"]),t.addPropertiesHandler(r,u(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(r,a,["flex-grow","flex-shrink"]),t.addPropertiesHandler(r,s,["orphans","widows"]),t.addPropertiesHandler(r,c,["z-index"]),t.parseNumber=r,t.mergeNumbers=o,t.numberToString=i}(d,f),function(t,e){function 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.getImageData(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.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(i(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var r=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");r.width=r.height=1;var o=r.getContext("2d");t.addPropertiesHandler(i,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,i),t.mergeColors=n}(d,f),function(a,b){function c(a,b){if(b=b.trim().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]=null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;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))return;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(function(e){return t[e]||0}),e=r.map(function(t){return e[t]||0}),[t,e,function(t){var e=t.map(function(e,n){return 1==t.length&&i&&(e=Math.max(e,0)),a.numberToString(e)+r[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(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","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),a.addPropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","text-indent","top","vertical-align","word-spacing"])}(d,f),function(t,e){function i(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.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,function(n){var r=n?e:i;if("auto"==r)return"auto";var o=t.mergeDimensions(r,r);return 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.addPropertiesHandler(n,a,["clip"])}(d,f),function(t,e){function i(t){return function(e){var i=0;return t.map(function(t){return t===f?e[i++]:t})}}function n(t){return 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.length<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.parseLengthOrPercent,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.decompositionPair!==i){e.decompositionPair=i;var n=t.makeMatrixDecomposition(e)}if(i.decompositionPair!==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].push(0),r[0].push(1),[n,r,function(e){var i=t.quat(n[0][3],r[0][3],e[5]),a=t.composeMatrix(e[0],e[1],e[2],i,e[4]),s=a.map(o).join(",");return s}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function 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="scale"==c.substr(0,5)?1:0;i.push({t:c,d:f.map(function(t){if("number"==typeof t)return 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++){var 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(",").length&&(_[e][0]="matrix3d"),_[e][0]+"("+i+")"}).join(" ")}]}var f=null,l={px:0},h={deg:0},m={matrix:["NNNNNN",[f,f,0,0,f,f,0,0,0,0,1,0,f,f,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",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.addPropertiesHandler(r,c,["transform"])}(d,f),function(t,e){function i(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(n[t]=e)})}var n={};i("transform",["webkitTransform","msTransform"]),i("transformOrigin",["webkitTransformOrigin"]),i("perspective",["webkitPerspective"]),i("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t}}(d,f)}(),!function(){if(void 0===document.createElement("div").animate([]).oncancel){var t;if(window.performance&&performance.now)var t=function(){return performance.now()};else var t=function(){return Date.now()};var e=function(t,e,i){this.target=t,this.currentTime=e,this.timelineTime=i,this.type="cancel",this.bubbles=!1,this.cancelable=!1,+this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},i=window.Element.prototype.animate;window.Element.prototype.animate=function(n,r){var o=i.call(this,n,r);o._cancelHandlers=[],o.oncancel=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(function(){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._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=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).getPropertyValue("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.Element.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.length?o=!1:requestAnimationFrame(n)}var r=window.requestAnimationFrame;window.requestAnimationFrame=function(t){return r(function(i){e.timeline._updateAnimationsPromises(),t(i),e.timeline._updateAnimationsPromises()})},e.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animationsWithPromises.filter(function(t){return t._updatePromises()})},_discardAnimations: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.restartWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updatePromises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var o=!1;e.restartWebAnimationsNextTick=function(){o||(o=!0,requestAnimationFrame(n))};var a=new e.AnimationTimeline;e.timeline=a;try{Object.defineProperty(window.document,"timeline",{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.Animation=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 supported");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updatePromises:function(){var t=this._oldPlayState,e=this.playState;return this._readyPromise&&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(),this._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finished"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||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._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffect(this.effect),e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=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.playState){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){this._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.groupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if(this.effect&&this._isGroup)for(var e=0;e<this.effect.children.length;e++)this.effect.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.playbackRate=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?this._animation.playState:"idle"},get finished(){return window.Promise?(this._finishedPromise||(e.animationsWithPromises.indexOf(this)==-1&&e.animationsWithPromises.push(this),this._finishedPromise=new Promise(function(t,e){this._resolveFinishedPromise=function(){t(this)},this._rejectFinishedPromise=function(){e({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"finished"==this.playState&&this._resolveFinishedPromise()),this._finishedPromise):(console.warn("Animation 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=function(){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._animation.onfinish=function(e){e.target=this,t.call(this,e)}.bind(this):this._animation.onfinish=t},get oncancel(){return this._animation.oncancel},set oncancel(t){"function"==typeof t?this._animation.oncancel=function(e){e.target=this,t.call(this,e)}.bind(this):this._animation.oncancel=t},get currentTime(){this._updatePromises();var t=this._animation.currentTime;return this._updatePromises(),t},set 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._animation.startTime},set startTime(t){this._updatePromises(),this._animation.startTime=isFinite(t)?t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChild(function(e,i){e.startTime=t+i}),this._updatePromises()},get playbackRate(){return 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),this._register(),e.awaitStartTime(this),this._forEachChild(function(t){var e=t.currentTime;t.play(),t.currentTime=e}),this._updatePromises()},pause:function(){this._updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._animation.pause(),this._register(),this._forEachChild(function(t){t.pause()}),this._paused=!0,this._updatePromises()},finish:function(){this._updatePromises(),this._animation.finish(),this._register(),this._updatePromises()},cancel:function(){this._updatePromises(),this._animation.cancel(),this._register(),this._removeChildAnimations(),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()},addEventListener: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._wrapper||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(this,t,i),this.effect instanceof window.SequenceEffect&&(i+=t.effect.activeDuration)}.bind(this)),"pending"!=this.playState){var n=this.effect._timing,r=this.currentTime;null!==r&&(r=t.calculateIterationProgress(t.calculateActiveDuration(n),r,n)),(null==r||isNaN(r))&&this._removeChildAnimations()}}},window.Animation=e.Animation}(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.SequenceEffect||t instanceof window.GroupEffect)for(var e=0;e<t.children.length;e++)o(t.children[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.splice(n._parent.children.indexOf(n),1),n._parent=null,o(n)):n._animation&&n._animation.effect==n&&(n._animation.cancel(),n._animation.effect=new KeyframeEffect(null,[]),n._animation._callback&&(n._animation._callback._animation=null),n._animation._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.numericTimingToObject(r),this._timingInput=t.cloneTimingInput(r),this._timing=t.normalizeTimingInput(r),this.timing=t.makeTiming(r,!1,this),this.timing._effect=this,"function"==typeof i?(t.deprecated("Custom KeyframeEffect","2015-06-22","Use KeyframeEffect.onsample instead."),this._normalizedKeyframes=i):this._normalizedKeyframes=new n(i),this._keyframes=i,this.activeDuration=t.calculateActiveDuration(this._timing),this._id=o,this},e.KeyframeEffect.prototype={getFrames:function(){return"function"==typeof this._normalizedKeyframes?this._normalizedKeyframes:this._normalizedKeyframes._frames},set onsample(t){if("function"==typeof this.getFrames())throw new Error("Setting onsample on custom effect KeyframeEffect is not supported.");this._onsample=t,this._animation&&this._animation._rebuildUnderlyingAnimation()},get parent(){return this._parent},clone:function(){if("function"==typeof this.getFrames())throw new Error("Cloning custom effects is not supported.");var e=new KeyframeEffect(this.target,[],t.cloneTimingInput(this._timingInput),this._id);return e._normalizedKeyframes=this._normalizedKeyframes,e._keyframes=this._keyframes,e},remove:function(){e.removeMulti([this])}};var a=Element.prototype.animate;Element.prototype.animate=function(t,i){var n="";return i&&i.id&&(n=i.id),e.timeline._play(new e.KeyframeEffect(this,t,i,n))};var s=document.createElementNS("http://www.w3.org/1999/xhtml","div");e.newUnderlyingAnimationForKeyframeEffect=function(t){if(t){var e=t.target||s,i=t._keyframes;"function"==typeof i&&(i=[]);var n=t._timingInput;n.id=t._id}else var e=s,i=[],n=0;return a.apply(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&&requestAnimationFrame(r),u.push(t))};var c=window.getComputedStyle;Object.defineProperty(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.effect&&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._sequenceNumber}),e=e.filter(function(t){t();var e=t._animation?t._animation.playState:"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.createElementNS("http://www.w3.org/1999/xhtml","div"),0);e.bindAnimationForCustomEffect=function(e){var i,r=e.effect.target,a="function"==typeof e.effect.getFrames();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.currentTime: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._animation)),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=null,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.SequenceEffect=function(){r.apply(this,arguments)},window.GroupEffect=function(){r.apply(this,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._animation&&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.HIERARCHY_REQUEST_ERR,name:"HierarchyRequestError",message:i};for(var n=0;n<t.length;n++)e?this.children.push(t[n]):this.children.unshift(t[n]);this._reparent(t),this._rebuild()},append:function(){this._putChild(arguments,!0)},prepend:function(){this._putChild(arguments,!1)},get parent(){return this._parent},get firstChild(){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.length;n++)i.push(this.children[n].clone());return this instanceof GroupEffect?new GroupEffect(i,e):new SequenceEffect(i,e)},remove:function(){e.removeMulti([this])}},window.SequenceEffect.prototype=Object.create(r.prototype),Object.defineProperty(window.SequenceEffect.prototype,"activeDuration",{get:function(){var t=0;return this.children.forEach(function(e){t+=n(e)}),Math.max(t,0)}}),window.GroupEffect.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.calculateActiveDuration(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.bindAnimationForGroup=function(t){t._animation._wrapper=t,t._isGroup=!0,e.awaitStartTime(t),t._constructChildAnimations(),t._setExternalAnimation(t)},e.groupChildDuration=n}(c,e,f),b.true=a}({},function(){return this}());\ No newline at end of filediff --git a/frontend/bower_components/webcomponentsjs/webcomponents-lite.min.js b/frontend/bower_components/webcomponentsjs/webcomponents-lite.min.jsindex 2e98cb0e5..739307b86 100644--- a/frontend/bower_components/webcomponentsjs/webcomponents-lite.min.js+++ b/frontend/bower_components/webcomponentsjs/webcomponents-lite.min.js@@ -1,12 +1,2 @@-/**- * @license- * Copyright (c) 2014 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- */-// @version 0.7.23-!function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomponents-lite.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var t,o=e.split("=");o[0]&&(t=o[0].match(/wc-(.+)/))&&(n[t[1]]=o[1]||!0)}),t)for(var o,r=0;o=t.attributes[r];r++)"src"!==o.name&&(n[o.name]=o.value||!0);if(n.log&&n.log.split){var i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}}n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=n.register),WebComponents.flags=n}(),function(e){"use strict";function t(e){return void 0!==h[e]}function n(){s.call(this),this._isInvalid=!0}function o(e){return""==e&&n.call(this),e.toLowerCase()}function r(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function a(e,a,s){function c(e){g.push(e)}var d=a||"scheme start",l=0,u="",w=!1,_=!1,g=[];e:for(;(e[l-1]!=p||0==l)&&!this._isInvalid;){var b=e[l];switch(d){case"scheme start":if(!b||!m.test(b)){if(a){c("Invalid scheme.");break e}u="",d="no scheme";continue}u+=b.toLowerCase(),d="scheme";break;case"scheme":if(b&&v.test(b))u+=b.toLowerCase();else{if(":"!=b){if(a){if(p==b)break e;c("Code point not allowed in scheme: "+b);break e}u="",l=0,d="no scheme";continue}if(this._scheme=u,u="",a)break e;t(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&s&&s._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==b?(this._query="?",d="query"):"#"==b?(this._fragment="#",d="fragment"):p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._schemeData+=r(b));break;case"no scheme":if(s&&t(s._scheme)){d="relative";continue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!=b||"/"!=e[l+1]){c("Expected /, got: "+b),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=s._scheme),p==b){this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._username=s._username,this._password=s._password;break e}if("/"==b||"\\"==b)"\\"==b&&c("\\ is an invalid code point."),d="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query="?",this._username=s._username,this._password=s._password,d="query";else{if("#"!=b){var y=e[l+1],E=e[l+2];("file"!=this._scheme||!m.test(b)||":"!=y&&"|"!=y||p!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password,this._path=s._path.slice(),this._path.pop()),d="relative path";continue}this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._fragment="#",this._username=s._username,this._password=s._password,d="fragment"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password),d="relative path";continue}"\\"==b&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=b){c("Expected '/', got: "+b),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=b){c("Expected '/', got: "+b);continue}break;case"authority ignore slashes":if("/"!=b&&"\\"!=b){d="authority";continue}c("Expected authority, got: "+b);break;case"authority":if("@"==b){w&&(c("@ already seen."),u+="%40"),w=!0;for(var L=0;L<u.length;L++){var N=u[L];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var M=r(N);null!==this._password?this._password+=M:this._username+=M}else this._password="";else c("Invalid whitespace in authority.")}u=""}else{if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b){l-=u.length,u="",d="host";continue}u+=b}break;case"file host":if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b){2!=u.length||!m.test(u[0])||":"!=u[1]&&"|"!=u[1]?0==u.length?d="relative path start":(this._host=o.call(this,u),u="",d="relative path start"):d="relative path";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid whitespace in file host."):u+=b;break;case"host":case"hostname":if(":"!=b||_){if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b){if(this._host=o.call(this,u),u="",d="relative path start",a)break e;continue}"\t"!=b&&"\n"!=b&&"\r"!=b?("["==b?_=!0:"]"==b&&(_=!1),u+=b):c("Invalid code point in host/hostname: "+b)}else if(this._host=o.call(this,u),u="",d="port","hostname"==a)break e;break;case"port":if(/[0-9]/.test(b))u+=b;else{if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b||a){if(""!=u){var T=parseInt(u,10);T!=h[this._scheme]&&(this._port=T+""),u=""}if(a)break e;d="relative path start";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid code point in port: "+b):n.call(this)}break;case"relative path start":if("\\"==b&&c("'\\' not allowed in path."),d="relative path","/"!=b&&"\\"!=b)continue;break;case"relative path":if(p!=b&&"/"!=b&&"\\"!=b&&(a||"?"!=b&&"#"!=b))"\t"!=b&&"\n"!=b&&"\r"!=b&&(u+=r(b));else{"\\"==b&&c("\\ not allowed in relative path.");var O;(O=f[u.toLowerCase()])&&(u=O),".."==u?(this._path.pop(),"/"!=b&&"\\"!=b&&this._path.push("")):"."==u&&"/"!=b&&"\\"!=b?this._path.push(""):"."!=u&&("file"==this._scheme&&0==this._path.length&&2==u.length&&m.test(u[0])&&"|"==u[1]&&(u=u[0]+":"),this._path.push(u)),u="","?"==b?(this._query="?",d="query"):"#"==b&&(this._fragment="#",d="fragment")}break;case"query":a||"#"!=b?p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._query+=i(b)):(this._fragment="#",d="fragment");break;case"fragment":p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._fragment+=b)}l++}}function s(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function c(e,t){void 0===t||t instanceof c||(t=new c(String(t))),this._url=e,s.call(this);var n=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");a.call(this,n,null,t)}var d=!1;if(!e.forceJURL)try{var l=new URL("b","http://a");l.pathname="c%20d",d="http://a/c%20d"===l.href}catch(u){}if(!d){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.http=80,h.https=443,h.ws=80,h.wss=443;var f=Object.create(null);f["%2e"]=".",f[".%2e"]="..",f["%2e."]="..",f["%2e%2e"]="..";var p=void 0,m=/[a-zA-Z]/,v=/[a-zA-Z0-9\+\-\.]/;c.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){s.call(this),a.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||a.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return e=this.host,e?this._scheme+"://"+e:""}};var w=e.URL;w&&(c.createObjectURL=function(e){return w.createObjectURL.apply(w,arguments)},c.revokeObjectURL=function(e){w.revokeObjectURL(e)}),e.URL=c}}(self),"undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){b.push(e),g||(g=!0,m(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){g=!1;var e=b;b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++y}function s(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function c(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function d(e,t){return E=new s(e,t)}function l(e){return L?L:(L=c(E),L.oldValue=e,L)}function u(){E=L=void 0}function h(e){return e===L||e===E}function f(e,t){return e===t?e:L&&h(e)?L:null}function p(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var m,v=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))m=setTimeout;else if(window.setImmediate)m=window.setImmediate;else{var w=[],_=String(Math.random());window.addEventListener("message",function(e){if(e.data===_){var t=w;w=[],t.forEach(function(e){e()})}}),m=function(e){w.push(e),window.postMessage(_,"*")}}var g=!1,b=[],y=0;a.prototype={observe:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var o=v.get(e);o||v.set(e,o=[]);for(var r,i=0;i<o.length;i++)if(o[i].observer===this){r=o[i],r.removeListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this.nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this){o.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}};var E,L;p.prototype={enqueue:function(e){var n=this.observer.records_,o=n.length;if(n.length>0){var r=n[o-1],i=f(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target,r=new d("attributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(o,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||e.attributeFilter.indexOf(t)!==-1||e.attributeFilter.indexOf(n)!==-1))return e.attributeOldValue?l(a):r});break;case"DOMCharacterDataModified":var o=e.target,r=d("characterData",o),a=e.prevValue;i(o,function(e){if(e.characterData)return e.characterDataOldValue?l(a):r});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var s,c,h=e.target;"DOMNodeInserted"===e.type?(s=[h],c=[]):(s=[],c=[h]);var f=h.previousSibling,p=h.nextSibling,r=d("childList",e.target.parentNode);r.addedNodes=s,r.removedNodes=c,r.previousSibling=f,r.nextSibling=p,i(e.relatedNode,function(e){if(e.childList)return r})}u()}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(self),function(){function e(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}}function t(t){return t.replace(u,e)}var n="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&!function(){var e=document.importNode;document.importNode=function(){var t=e.apply(document,arguments);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocumentFragment();return n.appendChild(t),n}return t}}();var o=function(){if(!n){var e=document.createElement("template"),t=document.createElement("template");t.content.appendChild(document.createElement("div")),e.content.appendChild(t);var o=e.cloneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.content.childNodes.length}}(),r="template",i=function(){};if(n){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent=r+"{display:none;}";var d=document.head;d.insertBefore(c,d.firstElementChild),i.prototype=Object.create(HTMLElement.prototype),i.decorate=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(e.cloneNode=function(e){return i.cloneNode(this,e)},s)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",n=this.content.firstChild;n;n=n.nextSibling)e+=n.outerHTML||t(n.data);return e},set:function(e){for(a.body.innerHTML=e,i.bootstrap(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})}catch(o){s=!1}i.bootstrap(e.content)}},i.bootstrap=function(e){for(var t,n=e.querySelectorAll(r),o=0,a=n.length;o<a&&(t=n[o]);o++)i.decorate(t)},document.addEventListener("DOMContentLoaded",function(){i.bootstrap(document)});var l=document.createElement;document.createElement=function(){"use strict";var e=l.apply(document,arguments);return"template"===e.localName&&i.decorate(e),e};var u=/[&\u00A0<>]/g}if(n||o){var h=Node.prototype.cloneNode;i.cloneNode=function(e,t){var n=h.call(e,!1);return this.decorate&&this.decorate(n),t&&(n.content.appendChild(h.call(e.content,!0)),this.fixClonedDom(n.content,e.content)),n},i.fixClonedDom=function(e,t){if(t.querySelectorAll)for(var n,o,i=t.querySelectorAll(r),a=e.querySelectorAll(r),s=0,c=a.length;s<c;s++)o=i[s],n=a[s],this.decorate&&this.decorate(o),n.parentNode.replaceChild(o.cloneNode(!0),n)};var f=document.importNode;Node.prototype.cloneNode=function(e){var t=h.call(this,e);return e&&i.fixClonedDom(t,this),t},document.importNode=function(e,t){if(e.localName===r)return i.cloneNode(e,t);var n=f.call(document,e,t);return t&&i.fixClonedDom(n,e),n},o&&(HTMLTemplateElement.prototype.cloneNode=function(e){return i.cloneNode(this,e)})}n&&(window.HTMLTemplateElement=i)}(),function(e){"use strict";if(!window.performance||!window.performance.now){var t=Date.now();window.performance={now:function(){return Date.now()-t}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return e?function(t){return e(function(){t(performance.now())})}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}}());var n=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}();if(!n){var o=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(o.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||r&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||r&&"function"!=typeof window.Event){var i=window.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.prototype=i.prototype}}(window.WebComponents),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){function t(e,t){t=t||p,o(function(){i(e,t)},t)}function n(e){return"complete"===e.readyState||e.readyState===w}function o(e,t){if(n(t))e&&e();else{var r=function(){"complete"!==t.readyState&&t.readyState!==w||(t.removeEventListener(_,r),o(e,t))};t.addEventListener(_,r)}}function r(e){e.target.__loaded=!0}function i(e,t){function n(){c==d&&e&&e({allImports:s,loadedImports:l,errorImports:u})}function o(e){r(e),l.push(this),c++,n()}function i(e){u.push(this),c++,n()}var s=t.querySelectorAll("link[rel=import]"),c=0,d=s.length,l=[],u=[];if(d)for(var h,f=0;f<d&&(h=s[f]);f++)a(h)?(l.push(this),c++,n()):(h.addEventListener("load",o),h.addEventListener("error",i));else n()}function a(e){return u?e.__loaded||e["import"]&&"loading"!==e["import"].readyState:e.__importParsed}function s(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)c(t)&&d(t)}function c(e){return"link"===e.localName&&"import"===e.rel}function d(e){var t=e["import"];t?r({target:e}):(e.addEventListener("load",r),e.addEventListener("error",r))}var l="import",u=Boolean(l in document.createElement("link")),h=Boolean(window.ShadowDOMPolyfill),f=function(e){return h?window.ShadowDOMPolyfill.wrapIfNeeded(e):e},p=f(document),m={get:function(){var e=window.HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);return f(e)},configurable:!0};Object.defineProperty(document,"_currentScript",m),Object.defineProperty(p,"_currentScript",m);var v=/Trident/.test(navigator.userAgent),w=v?"complete":"interactive",_="readystatechange";u&&(new MutationObserver(function(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[rel=import]"),n=0,o=t.length;n<o&&(e=t[n]);n++)d(e)}()),t(function(e){window.HTMLImports.ready=!0,window.HTMLImports.readyTime=(new Date).getTime();var t=p.createEvent("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),p.dispatchEvent(t)}),e.IMPORT_LINK_TYPE=l,e.useNative=u,e.rootDocument=p,e.whenReady=t,e.isIE=v}(window.HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=function(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(window.HTMLImports),window.HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e,t){var n=e.ownerDocument,o=n.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textContent,t,o),e},resolveUrlsInCssText:function(e,o,r){var i=this.replaceUrls(e,r,o,t);return i=this.replaceUrls(i,r,o,n)},replaceUrls:function(e,t,n,o){return e.replace(o,function(e,o,r,i){var a=r.replace(/["']/g,"");return n&&(a=new URL(a,n).href),t.href=a,a=t.href,o+"'"+a+"'"+i})}};e.path=o}),window.HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,o,r){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr(0,1)?location.origin+a:a)}catch(e){console.error(e.message)}o.call(r,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){if(this.pending[e])return this.pending[e].push(t),!0;return this.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,o){if(n.load&&console.log("fetch",e,o),e)if(e.match(/^data:/)){var r=e.split(","),i=r[0],a=r[1];a=i.indexOf(";base64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,null,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;for(var i,a=this.pending[e],s=0,c=a.length;s<c&&(i=a[s]);s++)this.onload(e,i,o,n,r),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=o}),window.HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handler.bind(this))};t.prototype={handler:function(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNodes)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.Observer=t}),window.HTMLImports.addModule(function(e){function t(e){return"link"===e.localName&&e.rel===l}function n(e){var t=o(e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function o(e){return e.textContent+r(e)}function r(e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,o=t.__importedScripts?"-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+o+".js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textContent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,c=e.flags,d=e.isIE,l=e.IMPORT_LINK_TYPE,u="link[rel="+l+"]",h={documentSelectors:u,importsSelectors:[u,"link[rel=stylesheet]:not([type])","style:not([type])","script:not([type])",'script[type="application/javascript"]','script[type="text/javascript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){if(this.isParsed(e))return void(c.parse&&console.log("[%s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext()},markParsing:function(e){c.parse&&console.log("parsing",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElement=null,c.parse&&console.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(e["import"]=e.__doc,window.HTMLImports.__importsParsingHook&&window.HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispatchEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,o=function(r){e.removeEventListener("load",o),e.removeEventListener("error",o),t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",o),e.addEventListener("error",o),d&&"style"===e.localName){var r=!1;if(e.textContent.indexOf("@import")==-1)r=!0;else if(e.sheet){r=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,c=0;c<s&&(i=a[c]);c++)i.type===CSSRule.IMPORT_RULE&&(r=r&&Boolean(i.styleSheet))}r&&setTimeout(function(){e.dispatchEvent(new CustomEvent("load",{bubbles:!1}))})}},parseScript:function(t){var o=document.createElement("script");o.__importElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,this.trackElement(o,function(t){o.parentNode&&o.parentNode.removeChild(o),e.currentScript=null}),this.addElementToDocument(o)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDynamic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var o,r=e.querySelectorAll(this.parseSelectorsForNode(e)),i=0,a=r.length;i<a&&(o=r[i]);i++)if(!this.isParsed(o))return this.hasResource(o)?t(o)?this.nextToParseInDoc(o.__doc,o):o:void 0}return n},nextToParseDynamic:function(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return!t(e)||void 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=u}),window.HTMLImports.addModule(function(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function o(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}function r(e,t){var n=document.implementation.createHTMLDocument(a);n._URL=t;var r=n.createElement("base");r.setAttribute("href",t),n.baseURI||o(n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");return i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild(r),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPORT_SELECTOR,c=e.rootDocument,d=e.Loader,l=e.Observer,u=e.parser,h={documents:{},documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:function(e){f.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);f.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===c?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,o,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=o,n.__error=a,t(n)){var c=this.documents[e];void 0===c&&(c=a?null:r(o,s||e),c&&(c.__importLink=n,this.bootDocument(c)),this.documents[e]=c),n.__doc=c}u.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:function(){u.parseNext()}},f=new d(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observer=new l,!document.baseURI){var p={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",p),Object.defineProperty(c,"baseURI",p)}e.importer=h,e.importLoader=f}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,o={added:function(e){for(var o,r,i,a,s=0,c=e.length;s<c&&(a=e[s]);s++)o||(o=a.ownerDocument,r=t.isParsed(o)),i=this.shouldLoadNode(a),i&&n.loadNode(a),this.shouldParseNode(a)&&r&&t.parseDynamic(a,i)},shouldLoadNode:function(e){return 1===e.nodeType&&r.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){return 1===e.nodeType&&r.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallback=o.added.bind(o);var r=HTMLElement.prototype.matches||HTMLElement.prototype.matchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){function t(){window.HTMLImports.importer.bootDocument(o)}var n=e.initializeModules;e.isIE;if(!e.useNative){n();var o=e.rootDocument;"complete"===document.readyState||"interactive"===document.readyState&&!window.attachEvent?t():document.addEventListener("DOMContentLoaded",t)}}(window.HTMLImports),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=function(e){n.push(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.initializeModules=r,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule(function(e){function t(e,t){n(e,function(e){return!!t(e)||void o(e,t)}),o(e,t)}function n(e,t,o){var r=e.firstElementChild;if(!r)for(r=e.firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;for(;r;)t(r,o)!==!0&&n(r,t,o),r=r.nextElementSibling;return null}function o(e,n){for(var o=e.shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){i(e,t,[])}function i(e,t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var o,r=e.querySelectorAll("link[rel="+a+"]"),s=0,c=r.length;s<c&&(o=r[s]);s++)o["import"]&&i(o["import"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addModule(function(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return!!e.upgrade(t,n)||void(n&&a(t))}function o(e,t){g(e,function(e){if(n(e,t))return!0})}function r(e){L.push(e),E||(E=!0,setTimeout(i))}function i(){E=!1;for(var e,t=L,n=0,o=t.length;n<o&&(e=t[n]);n++)e();L=[]}function a(e){y?r(function(){s(e);-}):s(e)}function s(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function c(e){d(e),g(e,function(e){d(e)})}function d(e){y?r(function(){l(e)}):l(e)}function l(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function u(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function h(e){if(e.shadowRoot&&!e.shadowRoot.__watched){_.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)m(t),t=t.olderShadowRoot}}function f(e,n){if(_.dom){var o=n[0];if(o&&"childList"===o.type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNodes[0];r&&r!==document&&!r.host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&r.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.length,i||"")}var a=u(e);n.forEach(function(e){"childList"===e.type&&(N(e.addedNodes,function(e){e.localName&&t(e,a)}),N(e.removedNodes,function(e){e.localName&&c(e)}))}),_.dom&&console.groupEnd()}function p(e){for(e=window.wrap(e),e||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(f(e,t.takeRecords()),i())}function m(e){if(!e.__observer){var t=new MutationObserver(f.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e=window.wrap(e),_.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop());var n=e===window.wrap(document);t(e,n),m(e),_.dom&&console.groupEnd()}function w(e){b(e,v)}var _=e.flags,g=e.forSubtree,b=e.forDocumentTree,y=window.MutationObserver._isPolyfilled&&_["throttle-attached"];e.hasPolyfillMutations=y,e.hasThrottledAttached=y;var E=!1,L=[],N=Array.prototype.forEach.call.bind(Array.prototype.forEach),M=Element.prototype.createShadowRoot;M&&(Element.prototype.createShadowRoot=function(){var e=M.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=h,e.upgradeDocumentTree=w,e.upgradeDocument=v,e.upgradeSubtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=p}),window.CustomElements.addModule(function(e){function t(t,o){if("template"===t.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.getAttribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinition(r);if(i&&(r&&i.tag==t.localName||!r&&!i["extends"]))return n(t,i,o)}}function n(t,n,r){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtree(t,r),a.upgrade&&console.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),s=0;i=a[s];s++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=o}),window.CustomElements.addModule(function(e){function t(t,o){var c=o||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(d(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return c.prototype||(c.prototype=Object.create(HTMLElement.prototype)),c.__name=t.toLowerCase(),c["extends"]&&(c["extends"]=c["extends"].toLowerCase()),c.lifecycle=c.lifecycle||{},c.ancestry=i(c["extends"]),a(c),s(c),n(c.prototype),l(c.__name,c),c.ctor=u(c),c.ctor.prototype=c.prototype,c.prototype.constructor=c.ctor,e.ready&&v(document),c.ctor}function n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){o.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){o.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=this.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attributeChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){for(var t=0;t<y.length;t++)if(e===y[t])return!0}function i(e){var t=d(e);return t?i(t["extends"]).concat([t]):[]}function a(e){for(var t,n=e["extends"],o=0;t=e.ancestry[o];o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function s(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=e.prototype,i=!1;r;)r==t&&(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r=o;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e["native"]=t}}function c(e){return _(N(e.tag),e)}function d(e){if(e)return E[e.toLowerCase()]}function l(e,t){E[e]=t}function u(e){return function(){return c(e)}}function h(e,t,n){return e===L?f(t,n):M(e,t)}function f(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n=d(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=f(e),o.setAttribute("is",t),o):(o=N(e),e.indexOf("-")>=0&&g(o,HTMLElement),o)}function p(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return w(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),w=e.upgradeAll,_=e.upgradeWithDefinition,g=e.implementPrototype,b=e.useNative,y=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],E={},L="http://www.w3.org/1999/xhtml",N=document.createElement.bind(document),M=document.createElementNS.bind(document);m=Object.__proto__||b?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},p(Node.prototype,"cloneNode"),p(document,"importNode"),document.registerElement=t,document.createElement=f,document.createElementNS=h,e.registry=E,e["instanceof"]=m,e.reservedTagList=y,e.getRegisteredDefinition=d,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.initializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceof"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements),function(e){var t=document.createElement("style");t.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var n=document.querySelector("head");n.insertBefore(t,n.firstChild)}(window.WebComponents);\ No newline at end of file+!function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomponents-lite.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var t,o=e.split("=");o[0]&&(t=o[0].match(/wc-(.+)/))&&(n[t[1]]=o[1]||!0)}),t)for(var o,r=0;o=t.attributes[r];r++)"src"!==o.name&&(n[o.name]=o.value||!0);if(n.log&&n.log.split){var i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}}n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=n.register),WebComponents.flags=n}(),function(e){"use strict";function t(e){return void 0!==u[e]}function n(){s.call(this),this._isInvalid=!0}function o(e){return""==e&&n.call(this),e.toLowerCase()}function r(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function a(e,a,s){function c(e){g.push(e)}var d=a||"scheme start",l=0,v="",w=!1,_=!1,g=[];e:for(;(e[l-1]!=f||0==l)&&!this._isInvalid;){var b=e[l];switch(d){case"scheme start":if(!b||!p.test(b)){if(a){c("Invalid scheme.");break e}v="",d="no scheme";continue}v+=b.toLowerCase(),d="scheme";break;case"scheme":if(b&&m.test(b))v+=b.toLowerCase();else{if(":"!=b){if(a){if(f==b)break e;c("Code point not allowed in scheme: "+b);break e}v="",l=0,d="no scheme";continue}if(this._scheme=v,v="",a)break e;t(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&s&&s._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==b?(this._query="?",d="query"):"#"==b?(this._fragment="#",d="fragment"):f!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._schemeData+=r(b));break;case"no scheme":if(s&&t(s._scheme)){d="relative";continue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!=b||"/"!=e[l+1]){c("Expected /, got: "+b),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=s._scheme),f==b){this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._username=s._username,this._password=s._password;break e}if("/"==b||"\\"==b)"\\"==b&&c("\\ is an invalid code point."),d="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query="?",this._username=s._username,this._password=s._password,d="query";else{if("#"!=b){var y=e[l+1],E=e[l+2];("file"!=this._scheme||!p.test(b)||":"!=y&&"|"!=y||f!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password,this._path=s._path.slice(),this._path.pop()),d="relative path";continue}this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._fragment="#",this._username=s._username,this._password=s._password,d="fragment"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password),d="relative path";continue}"\\"==b&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=b){c("Expected '/', got: "+b),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=b){c("Expected '/', got: "+b);continue}break;case"authority ignore slashes":if("/"!=b&&"\\"!=b){d="authority";continue}c("Expected authority, got: "+b);break;case"authority":if("@"==b){w&&(c("@ already seen."),v+="%40"),w=!0;for(var L=0;L<v.length;L++){var N=v[L];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var M=r(N);null!==this._password?this._password+=M:this._username+=M}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(f==b||"/"==b||"\\"==b||"?"==b||"#"==b){l-=v.length,v="",d="host";continue}v+=b}break;case"file host":if(f==b||"/"==b||"\\"==b||"?"==b||"#"==b){2!=v.length||!p.test(v[0])||":"!=v[1]&&"|"!=v[1]?0==v.length?d="relative path start":(this._host=o.call(this,v),v="",d="relative path start"):d="relative path";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid whitespace in file host."):v+=b;break;case"host":case"hostname":if(":"!=b||_){if(f==b||"/"==b||"\\"==b||"?"==b||"#"==b){if(this._host=o.call(this,v),v="",d="relative path start",a)break e;continue}"\t"!=b&&"\n"!=b&&"\r"!=b?("["==b?_=!0:"]"==b&&(_=!1),v+=b):c("Invalid code point in host/hostname: "+b)}else if(this._host=o.call(this,v),v="",d="port","hostname"==a)break e;break;case"port":if(/[0-9]/.test(b))v+=b;else{if(f==b||"/"==b||"\\"==b||"?"==b||"#"==b||a){if(""!=v){var T=parseInt(v,10);T!=u[this._scheme]&&(this._port=T+""),v=""}if(a)break e;d="relative path start";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid code point in port: "+b):n.call(this)}break;case"relative path start":if("\\"==b&&c("'\\' not allowed in path."),d="relative path","/"!=b&&"\\"!=b)continue;break;case"relative path":if(f!=b&&"/"!=b&&"\\"!=b&&(a||"?"!=b&&"#"!=b))"\t"!=b&&"\n"!=b&&"\r"!=b&&(v+=r(b));else{"\\"==b&&c("\\ not allowed in relative path.");var O;(O=h[v.toLowerCase()])&&(v=O),".."==v?(this._path.pop(),"/"!=b&&"\\"!=b&&this._path.push("")):"."==v&&"/"!=b&&"\\"!=b?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&p.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==b?(this._query="?",d="query"):"#"==b&&(this._fragment="#",d="fragment")}break;case"query":a||"#"!=b?f!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._query+=i(b)):(this._fragment="#",d="fragment");break;case"fragment":f!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._fragment+=b)}l++}}function s(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function c(e,t){void 0===t||t instanceof c||(t=new c(String(t))),this._url=e,s.call(this);var n=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");a.call(this,n,null,t)}var d=!1;if(!e.forceJURL)try{var l=new URL("b","http://a");l.pathname="c%20d",d="http://a/c%20d"===l.href}catch(e){}if(!d){var u=Object.create(null);u.ftp=21,u.file=0,u.gopher=70,u.http=80,u.https=443,u.ws=80,u.wss=443;var h=Object.create(null);h["%2e"]=".",h[".%2e"]="..",h["%2e."]="..",h["%2e%2e"]="..";var f=void 0,p=/[a-zA-Z]/,m=/[a-zA-Z0-9\+\-\.]/;c.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){s.call(this),a.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||a.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return e=this.host,e?this._scheme+"://"+e:""}};var v=e.URL;v&&(c.createObjectURL=function(e){return v.createObjectURL.apply(v,arguments)},c.revokeObjectURL=function(e){v.revokeObjectURL(e)}),e.URL=c}}(self),"undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){b.push(e),g||(g=!0,m(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){g=!1;var e=b;b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++y}function s(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function c(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function d(e,t){return E=new s(e,t)}function l(e){return L?L:(L=c(E),L.oldValue=e,L)}function u(){E=L=void 0}function h(e){return e===L||e===E}function f(e,t){return e===t?e:L&&h(e)?L:null}function p(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var m,v=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))m=setTimeout;else if(window.setImmediate)m=window.setImmediate;else{var w=[],_=String(Math.random());window.addEventListener("message",function(e){if(e.data===_){var t=w;w=[],t.forEach(function(e){e()})}}),m=function(e){w.push(e),window.postMessage(_,"*")}}var g=!1,b=[],y=0;a.prototype={observe:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var o=v.get(e);o||v.set(e,o=[]);for(var r,i=0;i<o.length;i++)if(o[i].observer===this){r=o[i],r.removeListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this.nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this){o.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}};var E,L;p.prototype={enqueue:function(e){var n=this.observer.records_,o=n.length;if(n.length>0){var r=n[o-1],i=f(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target,r=new d("attributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(o,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||e.attributeFilter.indexOf(t)!==-1||e.attributeFilter.indexOf(n)!==-1))return e.attributeOldValue?l(a):r});break;case"DOMCharacterDataModified":var o=e.target,r=d("characterData",o),a=e.prevValue;i(o,function(e){if(e.characterData)return e.characterDataOldValue?l(a):r});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var s,c,h=e.target;"DOMNodeInserted"===e.type?(s=[h],c=[]):(s=[],c=[h]);var f=h.previousSibling,p=h.nextSibling,r=d("childList",e.target.parentNode);r.addedNodes=s,r.removedNodes=c,r.previousSibling=f,r.nextSibling=p,i(e.relatedNode,function(e){if(e.childList)return r})}u()}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(self),function(){function e(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}}function t(t){return t.replace(u,e)}var n="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&!function(){var e=document.importNode;document.importNode=function(){var t=e.apply(document,arguments);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocumentFragment();return n.appendChild(t),n}return t}}();var o=function(){if(!n){var e=document.createElement("template"),t=document.createElement("template");t.content.appendChild(document.createElement("div")),e.content.appendChild(t);var o=e.cloneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.content.childNodes.length}}(),r="template",i=function(){};if(n){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent=r+"{display:none;}";var d=document.head;d.insertBefore(c,d.firstElementChild),i.prototype=Object.create(HTMLElement.prototype),i.decorate=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(e.cloneNode=function(e){return i.cloneNode(this,e)},s)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",n=this.content.firstChild;n;n=n.nextSibling)e+=n.outerHTML||t(n.data);return e},set:function(e){for(a.body.innerHTML=e,i.bootstrap(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})}catch(e){s=!1}i.bootstrap(e.content)}},i.bootstrap=function(e){for(var t,n=e.querySelectorAll(r),o=0,a=n.length;o<a&&(t=n[o]);o++)i.decorate(t)},document.addEventListener("DOMContentLoaded",function(){i.bootstrap(document)});var l=document.createElement;document.createElement=function(){"use strict";var e=l.apply(document,arguments);return"template"===e.localName&&i.decorate(e),e};var u=/[&\u00A0<>]/g}if(n||o){var h=Node.prototype.cloneNode;i.cloneNode=function(e,t){var n=h.call(e,!1);return this.decorate&&this.decorate(n),t&&(n.content.appendChild(h.call(e.content,!0)),this.fixClonedDom(n.content,e.content)),n},i.fixClonedDom=function(e,t){if(t.querySelectorAll)for(var n,o,i=t.querySelectorAll(r),a=e.querySelectorAll(r),s=0,c=a.length;s<c;s++)o=i[s],n=a[s],this.decorate&&this.decorate(o),n.parentNode.replaceChild(o.cloneNode(!0),n)};var f=document.importNode;Node.prototype.cloneNode=function(e){var t=h.call(this,e);return e&&i.fixClonedDom(t,this),t},document.importNode=function(e,t){if(e.localName===r)return i.cloneNode(e,t);var n=f.call(document,e,t);return t&&i.fixClonedDom(n,e),n},o&&(HTMLTemplateElement.prototype.cloneNode=function(e){return i.cloneNode(this,e)})}n&&(window.HTMLTemplateElement=i)}(),function(e){"use strict";if(!window.performance||!window.performance.now){var t=Date.now();window.performance={now:function(){return Date.now()-t}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return e?function(t){return e(function(){t(performance.now())})}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}}());var n=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}();if(!n){var o=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(o.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||r&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||r&&"function"!=typeof window.Event){var i=window.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.prototype=i.prototype}}(window.WebComponents),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){function t(e,t){t=t||p,o(function(){i(e,t)},t)}function n(e){return"complete"===e.readyState||e.readyState===w}function o(e,t){if(n(t))e&&e();else{var r=function(){"complete"!==t.readyState&&t.readyState!==w||(t.removeEventListener(_,r),o(e,t))};t.addEventListener(_,r)}}function r(e){e.target.__loaded=!0}function i(e,t){function n(){c==d&&e&&e({allImports:s,loadedImports:l,errorImports:u})}function o(e){r(e),l.push(this),c++,n()}function i(e){u.push(this),c++,n()}var s=t.querySelectorAll("link[rel=import]"),c=0,d=s.length,l=[],u=[];if(d)for(var h,f=0;f<d&&(h=s[f]);f++)a(h)?(l.push(this),c++,n()):(h.addEventListener("load",o),h.addEventListener("error",i));else n()}function a(e){return u?e.__loaded||e.import&&"loading"!==e.import.readyState:e.__importParsed}function s(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)c(t)&&d(t)}function c(e){return"link"===e.localName&&"import"===e.rel}function d(e){var t=e.import;t?r({target:e}):(e.addEventListener("load",r),e.addEventListener("error",r))}var l="import",u=Boolean(l in document.createElement("link")),h=Boolean(window.ShadowDOMPolyfill),f=function(e){return h?window.ShadowDOMPolyfill.wrapIfNeeded(e):e},p=f(document),m={get:function(){var e=window.HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);return f(e)},configurable:!0};Object.defineProperty(document,"_currentScript",m),Object.defineProperty(p,"_currentScript",m);var v=/Trident/.test(navigator.userAgent),w=v?"complete":"interactive",_="readystatechange";u&&(new MutationObserver(function(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[rel=import]"),n=0,o=t.length;n<o&&(e=t[n]);n++)d(e)}()),t(function(e){window.HTMLImports.ready=!0,window.HTMLImports.readyTime=(new Date).getTime();var t=p.createEvent("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),p.dispatchEvent(t)}),e.IMPORT_LINK_TYPE=l,e.useNative=u,e.rootDocument=p,e.whenReady=t,e.isIE=v}(window.HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=function(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(window.HTMLImports),window.HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e,t){var n=e.ownerDocument,o=n.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textContent,t,o),e},resolveUrlsInCssText:function(e,o,r){var i=this.replaceUrls(e,r,o,t);return i=this.replaceUrls(i,r,o,n)},replaceUrls:function(e,t,n,o){return e.replace(o,function(e,o,r,i){var a=r.replace(/["']/g,"");return n&&(a=new URL(a,n).href),t.href=a,a=t.href,o+"'"+a+"'"+i})}};e.path=o}),window.HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,o,r){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr(0,1)?location.origin+a:a)}catch(e){console.error(e.message)}o.call(r,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){return this.pending[e]?(this.pending[e].push(t),!0):this.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,o){if(n.load&&console.log("fetch",e,o),e)if(e.match(/^data:/)){var r=e.split(","),i=r[0],a=r[1];a=i.indexOf(";base64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,null,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;for(var i,a=this.pending[e],s=0,c=a.length;s<c&&(i=a[s]);s++)this.onload(e,i,o,n,r),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=o}),window.HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handler.bind(this))};t.prototype={handler:function(e){for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNodes)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0,o=e.length;n<o&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.Observer=t}),window.HTMLImports.addModule(function(e){function t(e){return"link"===e.localName&&e.rel===l}function n(e){var t=o(e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function o(e){return e.textContent+r(e)}function r(e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,o=t.__importedScripts?"-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+o+".js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textContent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,c=e.flags,d=e.isIE,l=e.IMPORT_LINK_TYPE,u="link[rel="+l+"]",h={documentSelectors:u,importsSelectors:[u,"link[rel=stylesheet]:not([type])","style:not([type])","script:not([type])",'script[type="application/javascript"]','script[type="text/javascript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){if(this.isParsed(e))return void(c.parse&&console.log("[%s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext()},markParsing:function(e){c.parse&&console.log("parsing",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElement=null,c.parse&&console.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(e.import=e.__doc,window.HTMLImports.__importsParsingHook&&window.HTMLImports.__importsParsingHook(e),e.import&&(e.import.__importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispatchEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,o=function(r){e.removeEventListener("load",o),e.removeEventListener("error",o),t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",o),e.addEventListener("error",o),d&&"style"===e.localName){var r=!1;if(e.textContent.indexOf("@import")==-1)r=!0;else if(e.sheet){r=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,c=0;c<s&&(i=a[c]);c++)i.type===CSSRule.IMPORT_RULE&&(r=r&&Boolean(i.styleSheet))}r&&setTimeout(function(){e.dispatchEvent(new CustomEvent("load",{bubbles:!1}))})}},parseScript:function(t){var o=document.createElement("script");o.__importElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,this.trackElement(o,function(t){o.parentNode&&o.parentNode.removeChild(o),e.currentScript=null}),this.addElementToDocument(o)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDynamic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var o,r=e.querySelectorAll(this.parseSelectorsForNode(e)),i=0,a=r.length;i<a&&(o=r[i]);i++)if(!this.isParsed(o))return this.hasResource(o)?t(o)?this.nextToParseInDoc(o.__doc,o):o:void 0}return n},nextToParseDynamic:function(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return!t(e)||void 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=u}),window.HTMLImports.addModule(function(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function o(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}function r(e,t){var n=document.implementation.createHTMLDocument(a);n._URL=t;var r=n.createElement("base");r.setAttribute("href",t),n.baseURI||o(n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");return i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild(r),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPORT_SELECTOR,c=e.rootDocument,d=e.Loader,l=e.Observer,u=e.parser,h={documents:{},documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:function(e){f.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);f.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===c?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,o,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=o,n.__error=a,t(n)){var c=this.documents[e];void 0===c&&(c=a?null:r(o,s||e),c&&(c.__importLink=n,this.bootDocument(c)),this.documents[e]=c),n.__doc=c}u.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:function(){u.parseNext()}},f=new d(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observer=new l,!document.baseURI){var p={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",p),Object.defineProperty(c,"baseURI",p)}e.importer=h,e.importLoader=f}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,o={added:function(e){for(var o,r,i,a,s=0,c=e.length;s<c&&(a=e[s]);s++)o||(o=a.ownerDocument,r=t.isParsed(o)),i=this.shouldLoadNode(a),i&&n.loadNode(a),this.shouldParseNode(a)&&r&&t.parseDynamic(a,i)},shouldLoadNode:function(e){return 1===e.nodeType&&r.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){return 1===e.nodeType&&r.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallback=o.added.bind(o);var r=HTMLElement.prototype.matches||HTMLElement.prototype.matchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){function t(){window.HTMLImports.importer.bootDocument(o)}var n=e.initializeModules;if(e.isIE,!e.useNative){n();var o=e.rootDocument;"complete"===document.readyState||"interactive"===document.readyState&&!window.attachEvent?t():document.addEventListener("DOMContentLoaded",t)}}(window.HTMLImports),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=function(e){n.push(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.initializeModules=r,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule(function(e){function t(e,t){n(e,function(e){return!!t(e)||void o(e,t)}),o(e,t)}function n(e,t,o){var r=e.firstElementChild;if(!r)for(r=e.firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;for(;r;)t(r,o)!==!0&&n(r,t,o),r=r.nextElementSibling;return null}function o(e,n){for(var o=e.shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){i(e,t,[])}function i(e,t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var o,r=e.querySelectorAll("link[rel="+a+"]"),s=0,c=r.length;s<c&&(o=r[s]);s++)o.import&&i(o.import,t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addModule(function(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return!!e.upgrade(t,n)||void(n&&a(t))}function o(e,t){g(e,function(e){if(n(e,t))return!0})}function r(e){L.push(e),E||(E=!0,setTimeout(i))}function i(){E=!1;for(var e,t=L,n=0,o=t.length;n<o&&(e=t[n]);n++)e();L=[]}function a(e){y?r(function(){s(e)}):s(e)}function s(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,+e.attachedCallback&&e.attachedCallback())}function c(e){d(e),g(e,function(e){d(e)})}function d(e){y?r(function(){l(e)}):l(e)}function l(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function u(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function h(e){if(e.shadowRoot&&!e.shadowRoot.__watched){_.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)m(t),t=t.olderShadowRoot}}function f(e,n){if(_.dom){var o=n[0];if(o&&"childList"===o.type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNodes[0];r&&r!==document&&!r.host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&r.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.length,i||"")}var a=u(e);n.forEach(function(e){"childList"===e.type&&(N(e.addedNodes,function(e){e.localName&&t(e,a)}),N(e.removedNodes,function(e){e.localName&&c(e)}))}),_.dom&&console.groupEnd()}function p(e){for(e=window.wrap(e),e||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(f(e,t.takeRecords()),i())}function m(e){if(!e.__observer){var t=new MutationObserver(f.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e=window.wrap(e),_.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop());var n=e===window.wrap(document);t(e,n),m(e),_.dom&&console.groupEnd()}function w(e){b(e,v)}var _=e.flags,g=e.forSubtree,b=e.forDocumentTree,y=window.MutationObserver._isPolyfilled&&_["throttle-attached"];e.hasPolyfillMutations=y,e.hasThrottledAttached=y;var E=!1,L=[],N=Array.prototype.forEach.call.bind(Array.prototype.forEach),M=Element.prototype.createShadowRoot;M&&(Element.prototype.createShadowRoot=function(){var e=M.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=h,e.upgradeDocumentTree=w,e.upgradeDocument=v,e.upgradeSubtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=p}),window.CustomElements.addModule(function(e){function t(t,o){if("template"===t.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.getAttribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinition(r);if(i&&(r&&i.tag==t.localName||!r&&!i.extends))return n(t,i,o)}}function n(t,n,r){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtree(t,r),a.upgrade&&console.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t.native),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),s=0;i=a[s];s++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=o}),window.CustomElements.addModule(function(e){function t(t,o){var c=o||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(d(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return c.prototype||(c.prototype=Object.create(HTMLElement.prototype)),c.__name=t.toLowerCase(),c.extends&&(c.extends=c.extends.toLowerCase()),c.lifecycle=c.lifecycle||{},c.ancestry=i(c.extends),a(c),s(c),n(c.prototype),l(c.__name,c),c.ctor=u(c),c.ctor.prototype=c.prototype,c.prototype.constructor=c.ctor,e.ready&&v(document),c.ctor}function n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){o.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){o.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=this.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attributeChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){for(var t=0;t<y.length;t++)if(e===y[t])return!0}function i(e){var t=d(e);return t?i(t.extends).concat([t]):[]}function a(e){for(var t,n=e.extends,o=0;t=e.ancestry[o];o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function s(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=e.prototype,i=!1;r;)r==t&&(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r=o;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e.native=t}}function c(e){return _(N(e.tag),e)}function d(e){if(e)return E[e.toLowerCase()]}function l(e,t){E[e]=t}function u(e){return function(){return c(e)}}function h(e,t,n){return e===L?f(t,n):M(e,t)}function f(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n=d(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=f(e),o.setAttribute("is",t),o):(o=N(e),e.indexOf("-")>=0&&g(o,HTMLElement),o)}function p(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return w(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),w=e.upgradeAll,_=e.upgradeWithDefinition,g=e.implementPrototype,b=e.useNative,y=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],E={},L="http://www.w3.org/1999/xhtml",N=document.createElement.bind(document),M=document.createElementNS.bind(document);m=Object.__proto__||b?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},p(Node.prototype,"cloneNode"),p(document,"importNode"),document.registerElement=t,document.createElement=f,document.createElementNS=h,e.registry=E,e.instanceof=m,e.reservedTagList=y,e.getRegisteredDefinition=d,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.initializeModules;if(e.isIE,n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e.instanceof=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e.import&&a(wrap(e.import))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements),function(e){var t=document.createElement("style");t.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var n=document.querySelector("head");n.insertBefore(t,n.firstChild)}(window.WebComponents);\ No newline at end of filediff --git a/frontend/images/bg-image.jpg b/frontend/images/bg-image.jpgnew file mode 100644index 000000000..e2f1eb06eBinary files /dev/null and b/frontend/images/bg-image.jpg differdiff --git a/frontend/index.html b/frontend/index.htmlindex 9e277aebf..cd0648617 100644--- a/frontend/index.html+++ b/frontend/index.html@@ -16,7 +16,7 @@<style>html{height:100%;- background: url(images/bg-image.jpeg) no-repeat center center fixed;+ background: url(images/bg-image.jpg) no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;diff --git a/frontend/src/components/input-speed.html b/frontend/src/components/input-dropdown.htmlsimilarity index 56%rename from frontend/src/components/input-speed.htmlrename to frontend/src/components/input-dropdown.htmlindex 9589912ae..75d1f9552 100644--- a/frontend/src/components/input-speed.html+++ b/frontend/src/components/input-dropdown.html@@ -1,31 +1,31 @@<html><head><link rel="import" href="../../bower_components/paper-item/paper-item.html"><link rel="import" href="../../bower_components/paper-listbox/paper-listbox.html"><link rel="import" href="../../bower_components/paper-dropdown-menu/paper-dropdown-menu.html">-</head><body><dom-module id="input-speed">+</head><body><dom-module id="input-dropdown" attributes={"data", "active"}><template><style type="text/css">- paper-dropdown-menu.speed{+ paper-dropdown-menu.custom{background-color: #374c4f;}- paper-dropdown-menu.speed{+ paper-dropdown-menu.custom{width:80px;}.paper-input{padding:0;}- paper-dropdown-menu.speed > ::content paper-input-container{+ paper-dropdown-menu.custom > ::content paper-input-container{padding:0;margin:5px 0;}- paper-dropdown-menu.speed > ::content .floated-label-placeholder{+ paper-dropdown-menu.custom > ::content .floated-label-placeholder{display: none;}- paper-dropdown-menu.speed > ::content .label-and-input-container input{+ paper-dropdown-menu.custom > ::content .label-and-input-container input{text-align: center;}- paper-dropdown-menu.speed {+ paper-dropdown-menu.custom {--paper-input-container-input: {color:#FFFFFF;}@@ -42,15 +42,14 @@}};</style>- <paper-dropdown-menu class="speed">- <paper-listbox class="dropdown-content">- <paper-item>Auto</paper-item>- <paper-item>Low</paper-item>- <paper-item>Medium</paper-item>- <paper-item>High</paper-item>+ <paper-dropdown-menu class="custom">+ <paper-listbox class="dropdown-content" attr-for-selected="label" selected="{{active}}">+ <template is="dom-repeat" items="{{data}}">+ <paper-item label="{{item}}" >{{item}}</paper-item>+ </template></paper-listbox></paper-dropdown-menu></template>- <script>Polymer({is:"input-speed"});</script>+ <script>Polymer({is:"input-dropdown"});</script></dom-module></body></html>\ No newline at end of filediff --git a/frontend/src/components/input-switch-blok.html b/frontend/src/components/input-switch-blok.htmlindex d4ff54810..61ddbc871 100644--- a/frontend/src/components/input-switch-blok.html+++ b/frontend/src/components/input-switch-blok.html@@ -1,6 +1,6 @@<html><head><link rel="import" href="../../bower_components/paper-radio-button/paper-radio-button.html"><link rel="import" href="../../bower_components/paper-radio-group/paper-radio-group.html">-</head><body><dom-module id="input-switch-blok">+</head><body><dom-module id="input-switch-blok" attributes={"active"}><template><style type="text/css">paper-radio-group.square-group{@@ -55,12 +55,12 @@padding: 20px;}</style>- <paper-radio-group selected="morning" class="square-group" allow-empty-selection="">+ <paper-radio-group selected="{{active}}" class="square-group" allow-empty-selection=""><content>- <paper-radio-button class="square" name="morning"><strong>Morning</strong></paper-radio-button>- <paper-radio-button class="square" name="away"><strong>Away</strong></paper-radio-button>- <paper-radio-button class="square break" name="evening">Expected<br><strong>Evening</strong><br> at 18:11</paper-radio-button>- <paper-radio-button class="square" name="night">Expected<br><strong>Night</strong><br> at 23:45</paper-radio-button>+ <paper-radio-button class="square" name="Morning"><strong>Morning</strong></paper-radio-button>+ <paper-radio-button class="square" name="Away"><strong>Away</strong></paper-radio-button>+ <paper-radio-button class="square break" name="Evening"><strong>Evening</strong></paper-radio-button>+ <paper-radio-button class="square" name="Night"><strong>Night</strong></paper-radio-button></content></paper-radio-group></template>diff --git a/frontend/src/components/input-temperature.html b/frontend/src/components/input-temperature.htmlindex 055a43c66..e4af99996 100644--- a/frontend/src/components/input-temperature.html+++ b/frontend/src/components/input-temperature.html@@ -1,7 +1,7 @@<html><head><link rel="import" href="../../bower_components/paper-item/paper-item.html"><link rel="import" href="../../bower_components/paper-listbox/paper-listbox.html"><link rel="import" href="../../bower_components/paper-dropdown-menu/paper-dropdown-menu.html">-</head><body><dom-module id="input-temperature" attributes="size">+</head><body><dom-module id="input-temperature" attributes={"size", "active", "data"}><template><style type="text/css">paper-dropdown-menu.custom{@@ -51,23 +51,10 @@</style><paper-dropdown-menu class$="custom {{size}}">- <paper-listbox class="dropdown-content">- <paper-item>17.0</paper-item>- <paper-item>17.5</paper-item>- <paper-item>18.0</paper-item>- <paper-item>18.5</paper-item>- <paper-item>19.0</paper-item>- <paper-item>19.5</paper-item>- <paper-item>20.0</paper-item>- <paper-item>20.5</paper-item>- <paper-item>21.0</paper-item>- <paper-item>21.5</paper-item>- <paper-item>22.0</paper-item>- <paper-item>22.5</paper-item>- <paper-item>23.0</paper-item>- <paper-item>23.5</paper-item>- <paper-item>24.0</paper-item>- <paper-item>24.5</paper-item>+ <paper-listbox class="dropdown-content" attr-for-selected="label" selected="{{active}}">+ <template is="dom-repeat" items="{{data}}">+ <paper-item label="{{item}}" >{{item}}</paper-item>+ </template></paper-listbox></paper-dropdown-menu></template>diff --git a/frontend/src/components/table-schedule.html b/frontend/src/components/table-schedule.htmlindex d7a21081c..e62b1df40 100644--- a/frontend/src/components/table-schedule.html+++ b/frontend/src/components/table-schedule.html@@ -1,4 +1,4 @@-<html><head></head><body><dom-module id="table-schedule">+<html><head></head><body><dom-module id="table-schedule" attributes={"data", "header"}><template><style type="text/css">table{@@ -10,76 +10,38 @@border-spacing:0px;border-bottom: 1px solid #e4e4e4;border-right: 1px solid #e4e4e4;-+ font-weight: normal;text-align: center;}th {background-color: #c0d62e;color: white;+ padding:5px 0;+ }+ th:first-child{+ background-color: #FFFFFF;}td:first-child{background-color:#e4e4e4;border-bottom: 1px solid #FFFFFF;+ padding:10px 0;}</style><table style="width: 100%" border="0"><tbody><tr>- <th> </th>- <th>Morning</th>- <th>Away</th>- <th>Evening</th>- <th>Night</th>- </tr>- <tr>- <td>Mon</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Tue</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Wed</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Thu</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Fri</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Sat</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>- <tr>- <td>Sun</td>- <td> </td>- <td> </td>- <td> </td>- <td> </td>- </tr>+ <th></th>+ <template is="dom-repeat" items="{{header}}">+ <th>{{item}}</th>+ </template>+ </tr>+ <template is="dom-repeat" items="{{data}}">+ <tr>+ <template is="dom-repeat" items="{{item}}">+ <td>{{item}}</td>+ </template>+ </tr>+ </template></tbody></table></template>diff --git a/frontend/src/components/template-scenes-input.html b/frontend/src/components/template-scenes-input.htmlindex 1d91db34d..311702c4f 100644--- a/frontend/src/components/template-scenes-input.html+++ b/frontend/src/components/template-scenes-input.html@@ -22,6 +22,7 @@.container-column {box-sizing: border-box;padding: 0 5px;+ height:60px;}.container-column:first-child{padding-right:20px;@@ -33,12 +34,20 @@margin-left: auto;}</style>+ <div class="container">+ <div class="container-column">+ <iron-icon class="small" src="../../images/panel/temperature_gauge_100.png"></iron-icon>+ </div>+ <div class="container-column">Living Room</div>+ <div class="container-column">+ <input-temperature size="small"></input-temperature>+ </div>+ </div><div class="container"><div class="container-column"><iron-icon class="small" src="../../images/panel/temperature_gauge_100.png"></iron-icon></div><div class="container-column">Bedroom</div>- <div class="container-column">21,0</div><div class="container-column"><input-temperature size="small"></input-temperature></div>@@ -48,11 +57,19 @@<iron-icon class="small" src="../../images/panel/temperature_gauge_100.png"></iron-icon></div><div class="container-column">Bathroom</div>- <div class="container-column">21,0</div><div class="container-column"><input-temperature size="small"></input-temperature></div></div>+ <div class="container">+ <div class="container-column">+ <iron-icon class="small" src="../../images/panel/alarm_off.png"></iron-icon>+ </div>+ <div class="container-column">Alarm</div>+ <div class="container-column">+ <paper-toggle-button class="green"></paper-toggle-button>+ </div>+ </div></template><script>Polymer({is:"template-scenes-input"});</script>diff --git a/frontend/src/openremote-app.html b/frontend/src/openremote-app.htmlindex cd735d501..6ace4eb5c 100644--- a/frontend/src/openremote-app.html+++ b/frontend/src/openremote-app.html@@ -3,12 +3,14 @@<link rel="import" href="../bower_components/app-layout/app-header/app-header.html"><link rel="import" href="../bower_components/app-layout/app-header-layout/app-header-layout.html"><link rel="import" href="../bower_components/app-layout/app-toolbar/app-toolbar.html">+<link rel="import" href="../bower_components/app-route/app-location.html"><link rel="import" href="../bower_components/app-route/app-route.html"><link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout.html"><link rel="import" href="../bower_components/iron-icons/iron-icons.html"><link rel="import" href="../bower_components/iron-media-query/iron-media-query.html"><link rel="import" href="../bower_components/iron-pages/iron-pages.html">+<link rel="import" href="../bower_components/iron-ajax/iron-ajax.html"><link rel="import" href="../bower_components/iron-resizable-behavior/iron-resizable-behavior.html"><link rel="import" href="../bower_components/paper-icon-button/paper-icon-button.html">@@ -24,13 +26,15 @@<link rel="import" href="openremote-login.html"><link rel="import" href="openremote-intro.html"><link rel="import" href="components/input-temperature.html">-<link rel="import" href="components/input-speed.html">+<link rel="import" href="components/input-dropdown.html"><link rel="import" href="components/input-switch-blok.html"><link rel="import" href="components/table-schedule.html"></head><body><dom-module id="openremote-app"><template>+ <iron-ajax auto url="../../../api/settings/current/get_current_settings.json" on-response="handleResponse" handle-as="json"></iron-ajax>+<style>app-drawer-layout{position: relative;@@ -96,6 +100,9 @@margin:10px;border-radius: 5px;}+ .panel.transparent{+ background-color: transparent;+ }.inner-panel{padding:15px;}@@ -156,44 +163,57 @@.container-column:last-child{margin-left: auto;}+ #settings-btn{+ color:#FFFFFF;+ }+ .tab-link{+ text-decoration: none;+ color:#000000;+ display: flex;+ font-weight: normal;+ -ms-flex-direction: row;+ -webkit-flex-direction: row;+ flex-direction: row;+ -ms-flex-align: center;+ -webkit-align-items: center;+ align-items: center;+ -ms-flex-pack: center;+ -webkit-justify-content: center;+ justify-content: center;+ -ms-flex: 1 1 auto;+ -webkit-flex: 1 1 auto;+ flex: 1 1 auto;++ }}</style>- <app-location route="{{route}}"></app-location>- <app-route route="{{route}}" pattern="/:view" data="{{selected}}"></app-route>+ <app-location use-hash-as-path route="{{route}}"></app-location>+ <app-route+ route="{{route}}"+ pattern="/:view"+ data="{{routeData}}"+ tail="{{subroute}}">+ </app-route>- <app-drawer-layout force-narrow="">- <app-drawer>- <paper-item name="full-smart"> <span>Full Smart</span><paper-toggle-button class="green"></paper-toggle-button></paper-item>- <hr>- <paper-menu selected="{{selected}}" attr-for-selected="name">- <template is="dom-repeat" items="{{items}}">- <paper-item name="{{item}}">{{item}}</paper-item>- </template>- <hr>- <paper-item name="Account">Account</paper-item>- <paper-item name="log-out">Log out</paper-item>- </paper-menu>- </app-drawer><app-header-layout><app-header id="header" effects="waterfall" fixed=""><app-toolbar><div main-title="">Smart 61</div>- <a id="settings-btn">+ <a id="settings-btn" href="#/Settings"><paper-icon-button icon="settings"></paper-icon-button></a></app-toolbar>- <paper-tabs selected="{{selected}}" attr-for-selected="name">- <template is="dom-repeat" items="{{items}}">- <paper-tab name="{{item}}">{{item}}</paper-tab>+ <paper-tabs selected="[[routeData.view]]" attr-for-selected="name" autoselect autoselect-delay="1000">+ <template is="dom-repeat" items="{{data.menu}}">+ <paper-tab name="{{item}}"><a class="tab-link" href="#/{{item}}">{{item}}</a></paper-tab></template></paper-tabs></app-header></app-header-layout>- </app-drawer-layout>- <iron-pages id="pages" selected="{{selected}}" attr-for-selected="name">- <div name="Login" class="page-overlay">+ <iron-pages id="pages" selected="[[routeData.view]]" attr-for-selected="name" fallback-selection="Login">+ <div name="Login" class="page-overlay" route="{{subroute}}"><div class="page-overlay-inner"><app-toolbar><div main-title="">Smart 61</div>@@ -205,44 +225,40 @@</div></div></div>- <div name="Intro" class="page-overlay">+ <div name="Intro" class="page-overlay" route="{{subroute}}"><div class="page-overlay-inner"><app-toolbar><div main-title="">Smart 61</div></app-toolbar>- <div class="panel">- <div class="inner-panel">+ <div class="panel transparent"><openremote-intro></openremote-intro>- </div></div></div></div>--- <div name="Home">+ <div name="Home" route="{{subroute}}"><div class="panel"><div class="inner-panel"><div class="row"><iron-icon class="normal" src="../images/panel/light_off.png"></iron-icon><span>Full Smart 61</span>- <paper-toggle-button class="green"></paper-toggle-button>+ <paper-toggle-button data-target="smart.fullsmart" checked="[[checkStatus(data.current_scene.smart.fullsmart)]]" class="green"></paper-toggle-button></div></div></div><div class="panel"><div class="inner-panel"><label class="center">Scenes</label>- <input-switch-blok></input-switch-blok>+ <input-switch-blok active="{{data.current_scene.label}}"></input-switch-blok></div></div></div>- <div name="Light">+ <div name="Light" route="{{subroute}}"><div class="panel"><div class="inner-panel"><div class="row"><iron-icon class="normal" src="../images/panel/light_off.png"></iron-icon><span>Smart 61 - Lighting</span>- <paper-toggle-button class="green"></paper-toggle-button>+ <paper-toggle-button data-target="smart.light" checked="[[checkStatus(data.current_scene.smart.light)]]" class="green"></paper-toggle-button></div></div></div>@@ -252,47 +268,38 @@</div></div></div>- <div name="Start">+ <div name="Start" route="{{subroute}}"><div class="panel"><div class="inner-panel"><div class="row"><iron-icon class="normal" src="../images/panel/home_on.png"></iron-icon><span>Smart - Smart Start</span>- <paper-toggle-button class="green"></paper-toggle-button>+ <paper-toggle-button data-target="smart.start" checked="[[checkStatus(data.current_scene.smart.start)]]" class="green"></paper-toggle-button></div></div></div><div class="panel"><div class="inner-panel"><span class="center">Smart Start Devices</span>- <div class="container">- <div class="container-column">- <iron-icon class="normal" src="../images/panel/home_on.png"></iron-icon>- </div>- <div class="container-column">- <span>Dishwasher</span>- </div>- <div class="container-column">- <input type="time">- </div>- <div class="container-column">- <paper-toggle-button class="green"></paper-toggle-button>- </div>- </div>- <div class="container">- <div class="container-column">- <iron-icon class="normal" src="../images/panel/home_on.png"></iron-icon>- </div>- <div class="container-column">- <span>Washing</span>- </div>- <div class="container-column">- <input type="time">- </div>- <div class="container-column">- <paper-toggle-button class="green"></paper-toggle-button>- </div>- </div>+ <template is="dom-repeat" index="i" items="{{data.current_scene.start_devices}}">+ <div class="container">+ <div class="container-column">+ <iron-icon class="normal" src="../images/panel/home_on.png"></iron-icon>+ </div>++ <div class="container-column">+ <span>{{item.label}}</span>+ </div>+ <div class="container-column">+ <template is="dom-if" if="[[checkStatus(item.status)]]">+ <input type="time" value="{{item.time}}">+ </template>+ </div>+ <div class="container-column">+ <paper-toggle-button data-target="start_devices.1.status" checked="[[checkStatus(item.status)]]" class="green"></paper-toggle-button>+ </div>+ </div>+ </template></div></div>@@ -303,13 +310,13 @@</div></div>- <div name="Safety">+ <div name="Safety" route="{{subroute}}"><div class="panel"><div class="inner-panel"><div class="row"><iron-icon class="normal" src="../images/panel/alarm_large_off.png"></iron-icon><span>Smart - Safety</span>- <paper-toggle-button class="green"></paper-toggle-button>+ <paper-toggle-button data-target="smart.safety" checked="[[checkStatus(data.current_scene.smart.safety)]]" class="green"></paper-toggle-button></div></div></div>@@ -318,19 +325,19 @@<span class="center">Alarm</span><div class="row"><iron-icon class="big" src="../images/panel/alarm_large_off.png"></iron-icon>- <paper-toggle-button class="green center"></paper-toggle-button>+ <paper-toggle-button data-target="alarm" checked="[[checkStatus(data.current_scene.alarm)]]" class="green center"></paper-toggle-button></div></div></div></div>- <div name="Climate">+ <div name="Climate" route="{{subroute}}"><div class="panel"><div class="inner-panel"><div class="row"><iron-icon class="small" src="../images/panel/temperature_gauge_100.png"></iron-icon><span>Smart - Climate</span>- <paper-toggle-button class="green"></paper-toggle-button>+ <paper-toggle-button data-target="smart.climate" checked="[[checkStatus(data.current_scene.smart.climate)]]" class="green"></paper-toggle-button></div></div></div>@@ -338,9 +345,9 @@<div class="inner-panel"><span class="center">Heating</span><div class="container">- <div class="item"><span style="float:left">Living Room</span><span style="font-size:62px">18.0</span></div>+ <div class="item"><span style="float:left">Living Room</span><span style="font-size:62px">{{data.current_scene.temperature_actual.living_room}}</span></div><div class="item">- <input-temperature size="large"></input-temperature>+ <input-temperature size="large" data="{{temperatures}}" active="{{data.current_scene.temperature_program.living_room}}"></input-temperature></div></div></div>@@ -353,9 +360,9 @@<iron-icon class="small" src="../images/panel/temperature_gauge_100.png"></iron-icon></div><div class="container-column">Bedroom</div>- <div class="container-column">21,0</div>+ <div class="container-column">{{data.current_scene.temperature_actual.bedroom}}</div><div class="container-column">- <input-temperature size="small"></input-temperature>+ <input-temperature size="small" data="{{temperatures}}" active="{{data.current_scene.temperature_program.bedroom}}"></input-temperature></div></div><div class="container">@@ -363,9 +370,9 @@<iron-icon class="small" src="../images/panel/temperature_gauge_100.png"></iron-icon></div><div class="container-column">Bathroom</div>- <div class="container-column">21,0</div>+ <div class="container-column">{{data.current_scene.temperature_actual.bathroom}}</div><div class="container-column">- <input-temperature size="small"></input-temperature>+ <input-temperature size="small" data="{{temperatures}}" active="{{data.current_scene.temperature_program.bathroom}}"></input-temperature></div></div></div>@@ -380,14 +387,14 @@</div><div class="container-column">Air flow speed</div><div class="container-column">- <input-speed></input-speed>+ <input-dropdown data="{{ventilation_options}}" active="{{data.current_scene.ventilation}}"></input-dropdown></div></div></div></div></div>- <div name="Account" class="page-overlay">+ <div name="Settings" class="page-overlay" route="{{subroute}}"><div class="page-overlay-inner"><app-toolbar><paper-icon-button class="back-btn" icon="arrow-back" drawer-toggle=""></paper-icon-button>@@ -395,36 +402,96 @@</app-toolbar><div class="panel"><div class="inner-panel">- <span class="center">Account</span>+ <span class="center">Vacation Settings</span></div></div>- </div>- </div>-- <div name="Settings" class="page-overlay">- <div class="page-overlay-inner">- <app-toolbar>- <paper-icon-button class="back-btn" icon="arrow-back" drawer-toggle=""></paper-icon-button>- <div main-title="">Home</div>- </app-toolbar><div class="panel"><div class="inner-panel">- <span class="center">Vacation Settings</span>+ <span class="center">Predicted Week Schedule:</span>+ <table-schedule data="{{data.predicted_schedule.data}}" header="{{data.predicted_schedule.header}}"></table-schedule></div></div><div class="panel"><div class="inner-panel">- <span class="center">Current predicted weekschedule:</span>- <table-schedule></table-schedule>+ <span class="center">Scene settings</span>+ <table-schedule data="{{data.scenes.data}}" header="{{data.scenes.header}}"></table-schedule>+ <paper-button name="">Scene Wizard</paper-button></div></div></div></div>-</iron-pages></template>- <script>if(Math.random()>.5)var menu=["Home","Light","Start","Safety","Climate"];else var menu=["Home","Start","Safety","Climate"];Polymer({ready:function(){var e=document.querySelector("#pages"),t=document.querySelector("#settings-btn");t.addEventListener("click",function(){e.selected="Settings"});for(var n=function(){e.selectPrevious()},r=document.getElementsByClassName("back-btn"),a=0;a<r.length;a++)r[a].addEventListener("click",n,!1)},is:"openremote-app",properties:{selected:{type:String,value:"Intro"},wideLayout:{type:Boolean,value:!1,observer:"onLayoutChange"},behaviors:[Polymer.IronOverlayBehavior],items:{type:Array,value:function(){return menu}}},onLayoutChange:function(e){var t=this.$.drawer;e&&t.opened&&(t.opened=!1)}});</script>+ <script>+ Polymer({+ ready: function() {+ var backFunction = function() {+ history.go(-1);+ }+ var backbtn = document.getElementsByClassName("back-btn");+ for (var i = 0; i < backbtn.length; i++) {+ backbtn[i].addEventListener('click', backFunction, false);+ }++ var toggle = document.querySelectorAll("paper-toggle-button");+ for (var i = 0; i < toggle.length; i++) {+ toggle[i].addEventListener('change', this.changeToggle, false);+ }++ },+ is: "openremote-app",+ properties: {+ data: Array,+ ventilation_options: Array,+ temperatures: Array,+ behaviors: [+ Polymer.IronOverlayBehavior,+ ],+ },+ setValueToDict: function(value, stringPath){+ var path = stringPath.split(".");+ if(path.length == 1){+ self.data.current_scene[path[0]] = value;+ }else if(path.length == 2){;+ self.data.current_scene[path[0]][path[1]] = value;+ }else if(path.length == 3){;+ self.data.current_scene[path[0]][path[1]][path[2]] = value;+ }else if(path.length == 4){;+ self.data.current_scene[path[0]][path[1]][path[2]][path[4]] = value;+ }+ },+ changeToggle:function(event) {+ console.log(this.dataset.target);+ if (this.checked) {+ self.setValueToDict("true", this.dataset.target);+ } else {+ self.setValueToDict("false", this.dataset.target);+ }+ },+ checkStatus: function(status){+ if(status == "true"){+ var s = true;+ }else{+ var s = false;+ }+ return s;+ },+ handleResponse: function (data) {+ if (localStorage.jwt && localStorage.settings) {+ this.set('routeData.view', 'Home');+ }else if(localStorage.jwt){+ this.set('routeData.view', 'Intro');+ }else{+ this.set('routeData.view', 'Login');+ }+ this.temperatures = ["17.0","17.5","18.0","18.5","19.0","19.5","20.0","20.5","21.0","21.5","22.0","22.5","23.0","23.5","24.0","24.5","25.0"];+ this.ventilation_options = ['Auto', 'Low', 'Medium', 'High'];+ this.data = data.detail.response;+ self = this;+ }+ });+</script></dom-module></body></html>\ No newline at end of filediff --git a/frontend/src/openremote-intro.html b/frontend/src/openremote-intro.htmlindex 9e21572aa..6bb0d2582 100644--- a/frontend/src/openremote-intro.html+++ b/frontend/src/openremote-intro.html@@ -8,23 +8,72 @@<style is="custom-style">#stepper {background-color: transparent;+ box-shadow: none;}paper-button.default-button {background: #c0d62e;color:#FFFFFF;float:right;}+ paper-step > ::content #buttonsWrapper.step-vertical > #continueButton.step-vertical{+ margin-right: 0;+ margin-left: auto;+ }+ paper-step > ::content #textWrapper.step-vertical{+ width: 100%;+ text-align: center;+ padding:12px 0;+ }+ paper-step > ::content #badge.step-vertical{+ margin:0;+ }+ paper-step > ::content #contentConnectorLine.step-vertical{+ margin-left: 0;+ background: none;+ }+ paper-step > ::content #stepWrapper{+ padding-top:10px;+ }+ paper-step > ::content #badge.step-vertical{+ background-color: transparent;+ border:2px solid #c0d62e;+ width: 20px;+ height: 20px;+ }+ paper-step > ::content #label:hover #badge.step-vertical{+ background-color: #c0d62e;+ }+ paper-step > ::content #connectedBadge{+ position: absolute;+ right:20px;+ }+ paper-step{+ background-color: #FFFFFF;+ border-radius: 5px;+ margin-bottom: 10px;++ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);+ }</style>- <paper-stepper id="stepper" vertical="">- <paper-step label="Home" editable=""><template-scenes-input></template-scenes-input></paper-step>- <paper-step label="Away" editable=""><template-scenes-input></template-scenes-input></paper-step>- <paper-step label="Evening" editable=""><template-scenes-input></template-scenes-input></paper-step>- <paper-step label="Night" editable=""><template-scenes-input></template-scenes-input></paper-step>+ <paper-stepper on-paper-stepper-completed="completed" id="stepper" vertical="" continue-text="Next" finish-text="Finish">+ <paper-step label="Home"><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Away" ><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Evening" ><template-scenes-input></template-scenes-input></paper-step>+ <paper-step label="Night" ><template-scenes-input></template-scenes-input></paper-step></paper-stepper>- <paper-button class="default-button" raised="" name="Home" onclick="_changeToApp(event)" id="finish">Finish</paper-button>- <script>function _changeToApp(e){var c=document.querySelector("#pages");c.selected="Home"}</script></template>- <script>Polymer({is:"openremote-intro"});</script>+ <script>Polymer({+ is:"openremote-intro",+ listeners: {+ 'completed': 'completed',+ },++ completed: function(e) {+ localStorage.setItem("settings", "qweqweqwe");+ window.location = '#/Home'+ },+ });+ </script></dom-module></body></html>\ No newline at end of filediff --git a/frontend/src/openremote-login.html b/frontend/src/openremote-login.htmlindex 42050b4ba..b6223542b 100644--- a/frontend/src/openremote-login.html+++ b/frontend/src/openremote-login.html@@ -45,7 +45,30 @@<paper-button raised="" onclick="_reset(event)">Reset</paper-button><div class="output"></div></form>- <script>function _delayedSubmit(e){spinner.active=!0,spinner.hidden=!1,eventsDemoSubmit.disabled=!0,setTimeout(function(){var e=document.querySelector("#pages");e.selected="Intro"},1e3)}function _reset(e){var t=Polymer.dom(e).localTarget.parentElement;t.reset(),t.querySelector(".output").innerHTML=""}eventsDemo.addEventListener("change",function(e){eventsDemoSubmit.disabled=!eventsDemo.validate()}),document.getElementById("eventsDemo").addEventListener("iron-form-submit",function(e){spinner.active=!1,spinner.hidden=!0,eventsDemoSubmit.disabled=!1,this.querySelector(".output").innerHTML=JSON.stringify(e.detail)});</script>+ <script> eventsDemo.addEventListener('change', function(event) {+ eventsDemoSubmit.disabled = !eventsDemo.validate();+ });+ function _delayedSubmit(event) {+ spinner.active = true;+ spinner.hidden = false;+ eventsDemoSubmit.disabled = true;+ setTimeout(function() {+ localStorage.setItem("jwt", "WQEOqweoopiasopi293812903iopweopqweipqwei");+ window.location = '#/Intro'+ }, 1000);+ }+ function _reset(event) {+ var form = Polymer.dom(event).localTarget.parentElement+ form.reset();+ form.querySelector('.output').innerHTML = '';+ }+ document.getElementById('eventsDemo').addEventListener('iron-form-submit', function(event) {+ spinner.active = false;+ spinner.hidden = true;+ eventsDemoSubmit.disabled = false;+ this.querySelector('.output').innerHTML = JSON.stringify(event.detail);+ });+ </script></template><script>Polymer({is:"openremote-login"});</script>