jekyll-polymer-magazine 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +45 -0
- data/_includes/disqus.html +24 -0
- data/_includes/head.html +21 -0
- data/_includes/javascripts.html +9 -0
- data/_layouts/default.html +4 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +95 -0
- data/assets/bower.json +29 -0
- data/assets/bower_components/app-layout/.bower.json +55 -0
- data/assets/bower_components/app-layout/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/app-layout/.gitignore +1 -0
- data/assets/bower_components/app-layout/.travis.yml +23 -0
- data/assets/bower_components/app-layout/CONTRIBUTING.md +77 -0
- data/assets/bower_components/app-layout/README.md +106 -0
- data/assets/bower_components/app-layout/app-box/README.md +69 -0
- data/assets/bower_components/app-layout/app-box/app-box.html +238 -0
- data/assets/bower_components/app-layout/app-box/demo/document-scroll.html +216 -0
- data/assets/bower_components/app-layout/app-box/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-box/demo/scrolling-region.html +230 -0
- data/assets/bower_components/app-layout/app-drawer-layout/README.md +93 -0
- data/assets/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html +277 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/simple-drawer.html +67 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/two-drawers.html +70 -0
- data/assets/bower_components/app-layout/app-drawer-layout/test/app-drawer-layout.html +234 -0
- data/assets/bower_components/app-layout/app-drawer-layout/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-drawer/README.md +37 -0
- data/assets/bower_components/app-layout/app-drawer/app-drawer.html +690 -0
- data/assets/bower_components/app-layout/app-drawer/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-drawer/demo/left-drawer.html +70 -0
- data/assets/bower_components/app-layout/app-drawer/demo/right-drawer.html +94 -0
- data/assets/bower_components/app-layout/app-drawer/test/app-drawer.html +794 -0
- data/assets/bower_components/app-layout/app-drawer/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-grid/README.md +124 -0
- data/assets/bower_components/app-layout/app-grid/app-grid-style.html +196 -0
- data/assets/bower_components/app-layout/app-grid/demo/aspect-ratio.html +113 -0
- data/assets/bower_components/app-layout/app-grid/demo/flickr-grid-layout.html +264 -0
- data/assets/bower_components/app-layout/app-grid/demo/index.html +41 -0
- data/assets/bower_components/app-layout/app-grid/demo/md-grid-layout.html +159 -0
- data/assets/bower_components/app-layout/app-grid/demo/simple-responsive-grid.html +124 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-1.html +154 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-2.html +157 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-3.html +159 -0
- data/assets/bower_components/app-layout/app-grid/test/index.html +29 -0
- data/assets/bower_components/app-layout/app-header-layout/README.md +42 -0
- data/assets/bower_components/app-layout/app-header-layout/app-header-layout.html +228 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/footer.html +90 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/index.html +42 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/music.html +239 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/scrolling-region.html +87 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/simple.html +74 -0
- data/assets/bower_components/app-layout/app-header-layout/test/app-header-layout.html +152 -0
- data/assets/bower_components/app-layout/app-header-layout/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-header/README.md +199 -0
- data/assets/bower_components/app-layout/app-header/app-header.html +715 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-1.html +109 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-2.html +113 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-3.html +110 -0
- data/assets/bower_components/app-layout/app-header/demo/contacts.html +124 -0
- data/assets/bower_components/app-layout/app-header/demo/custom-sticky-element-1.html +82 -0
- data/assets/bower_components/app-layout/app-header/demo/custom-sticky-element-2.html +89 -0
- data/assets/bower_components/app-layout/app-header/demo/give.html +115 -0
- data/assets/bower_components/app-layout/app-header/demo/index.html +48 -0
- data/assets/bower_components/app-layout/app-header/demo/music.html +235 -0
- data/assets/bower_components/app-layout/app-header/demo/no-effects.html +64 -0
- data/assets/bower_components/app-layout/app-header/demo/notes.html +174 -0
- data/assets/bower_components/app-layout/app-header/test/app-header.html +512 -0
- data/assets/bower_components/app-layout/app-header/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-layout.html +19 -0
- data/assets/bower_components/app-layout/app-scroll-effects/README.md +84 -0
- data/assets/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.html +392 -0
- data/assets/bower_components/app-layout/app-scroll-effects/app-scroll-effects.html +17 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/blend-background.html +42 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/fade-background.html +53 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/material.html +30 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/parallax-background.html +55 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/resize-snapped-title.html +64 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/resize-title.html +85 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/waterfall.html +26 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/app-scroll-effects-behavior.html +217 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/blend-background.html +90 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/fade-background.html +99 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/index.html +37 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/parallax-background.html +85 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/resize-snapped-title.html +93 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/resize-title.html +100 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/utils.html +43 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/waterfall.html +87 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/x-container.html +100 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/README.md +35 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/app-scrollpos-control.html +107 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/demo/index.html +82 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/test/app-scrollpos-control.html +69 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-toolbar/README.md +43 -0
- data/assets/bower_components/app-layout/app-toolbar/app-toolbar.html +117 -0
- data/assets/bower_components/app-layout/app-toolbar/demo/index.html +97 -0
- data/assets/bower_components/app-layout/app-toolbar/test/app-toolbar.html +88 -0
- data/assets/bower_components/app-layout/app-toolbar/test/index.html +25 -0
- data/assets/bower_components/app-layout/bower.json +45 -0
- data/assets/bower_components/app-layout/build.sh +22 -0
- data/assets/bower_components/app-layout/demo/contacts.json +11002 -0
- data/assets/bower_components/app-layout/demo/demo1.html +109 -0
- data/assets/bower_components/app-layout/demo/demo2.html +76 -0
- data/assets/bower_components/app-layout/demo/demo3.html +79 -0
- data/assets/bower_components/app-layout/demo/demo4.html +173 -0
- data/assets/bower_components/app-layout/demo/demo5.html +126 -0
- data/assets/bower_components/app-layout/demo/demo6.html +126 -0
- data/assets/bower_components/app-layout/demo/demo7.html +76 -0
- data/assets/bower_components/app-layout/demo/sample-content.html +102 -0
- data/assets/bower_components/app-layout/docs.html +30 -0
- data/assets/bower_components/app-layout/helpers/helpers.html +130 -0
- data/assets/bower_components/app-layout/helpers/test/index.html +27 -0
- data/assets/bower_components/app-layout/helpers/test/register-effect.html +49 -0
- data/assets/bower_components/app-layout/helpers/test/scroll.html +114 -0
- data/assets/bower_components/app-layout/index.html +428 -0
- data/assets/bower_components/app-layout/patterns/expand-card/index.html +73 -0
- data/assets/bower_components/app-layout/patterns/transform-navigation/index.html +39 -0
- data/assets/bower_components/app-layout/patterns/transform-navigation/x-app.html +132 -0
- data/assets/bower_components/app-layout/site/device-viewer/device-layout-viewer.html +196 -0
- data/assets/bower_components/app-layout/site/device-viewer/device-view.html +194 -0
- data/assets/bower_components/app-layout/site/device-viewer/index.html +42 -0
- data/assets/bower_components/app-layout/site/images/cds2015.png +0 -0
- data/assets/bower_components/app-layout/site/images/getting-started.png +0 -0
- data/assets/bower_components/app-layout/site/images/io2016.png +0 -0
- data/assets/bower_components/app-layout/site/images/landing-page.png +0 -0
- data/assets/bower_components/app-layout/site/images/pesto.png +0 -0
- data/assets/bower_components/app-layout/site/images/pica.png +0 -0
- data/assets/bower_components/app-layout/site/images/polymer-summit.png +0 -0
- data/assets/bower_components/app-layout/site/images/polymer.svg +46 -0
- data/assets/bower_components/app-layout/site/images/publishing.png +0 -0
- data/assets/bower_components/app-layout/site/images/shrine.png +0 -0
- data/assets/bower_components/app-layout/site/images/test-drive.png +0 -0
- data/assets/bower_components/app-layout/site/resources.json +76 -0
- data/assets/bower_components/app-layout/templates/getting-started/bower.json +13 -0
- data/assets/bower_components/app-layout/templates/getting-started/index.html +39 -0
- data/assets/bower_components/app-layout/templates/getting-started/x-app.html +75 -0
- data/assets/bower_components/app-layout/templates/landing-page/bower.json +14 -0
- data/assets/bower_components/app-layout/templates/landing-page/index.html +39 -0
- data/assets/bower_components/app-layout/templates/landing-page/x-app.html +186 -0
- data/assets/bower_components/app-layout/templates/pesto/bower.json +24 -0
- data/assets/bower_components/app-layout/templates/pesto/data/recipes.json +402 -0
- data/assets/bower_components/app-layout/templates/pesto/index.html +55 -0
- data/assets/bower_components/app-layout/templates/pesto/manifest.json +15 -0
- data/assets/bower_components/app-layout/templates/pesto/src/app-icons.html +27 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-app.html +210 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-detail.html +224 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-list.html +190 -0
- data/assets/bower_components/app-layout/templates/publishing/bower.json +23 -0
- data/assets/bower_components/app-layout/templates/publishing/data/articles.json +111 -0
- data/assets/bower_components/app-layout/templates/publishing/index.html +49 -0
- data/assets/bower_components/app-layout/templates/publishing/manifest.json +21 -0
- data/assets/bower_components/app-layout/templates/publishing/src/app-icons.html +20 -0
- data/assets/bower_components/app-layout/templates/publishing/src/article-detail.html +119 -0
- data/assets/bower_components/app-layout/templates/publishing/src/article-headline.html +69 -0
- data/assets/bower_components/app-layout/templates/publishing/src/blog-app.html +331 -0
- data/assets/bower_components/app-layout/templates/publishing/src/two-columns-grid.html +142 -0
- data/assets/bower_components/app-layout/templates/shrine/bower.json +21 -0
- data/assets/bower_components/app-layout/templates/shrine/data/featured.json +72 -0
- data/assets/bower_components/app-layout/templates/shrine/data/items.json +192 -0
- data/assets/bower_components/app-layout/templates/shrine/index.html +48 -0
- data/assets/bower_components/app-layout/templates/shrine/manifest.json +22 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-app.html +397 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-detail.html +297 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-featured-item.html +210 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-item.html +136 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-list.html +127 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-simple-item.html +82 -0
- data/assets/bower_components/app-layout/templates/test-drive/bower.json +14 -0
- data/assets/bower_components/app-layout/templates/test-drive/index.html +40 -0
- data/assets/bower_components/app-layout/templates/test-drive/test-app.html +233 -0
- data/assets/bower_components/app-layout/test/index.html +33 -0
- data/assets/bower_components/font-roboto/.bower.json +31 -0
- data/assets/bower_components/font-roboto/README.md +1 -0
- data/assets/bower_components/font-roboto/bower.json +22 -0
- data/assets/bower_components/font-roboto/roboto.html +11 -0
- data/assets/bower_components/iron-a11y-announcer/.bower.json +43 -0
- data/assets/bower_components/iron-a11y-announcer/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-a11y-announcer/.gitignore +1 -0
- data/assets/bower_components/iron-a11y-announcer/.travis.yml +23 -0
- data/assets/bower_components/iron-a11y-announcer/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-a11y-announcer/README.md +55 -0
- data/assets/bower_components/iron-a11y-announcer/bower.json +33 -0
- data/assets/bower_components/iron-a11y-announcer/demo/index.html +38 -0
- data/assets/bower_components/iron-a11y-announcer/demo/x-announces.html +60 -0
- data/assets/bower_components/iron-a11y-announcer/index.html +28 -0
- data/assets/bower_components/iron-a11y-announcer/iron-a11y-announcer.html +124 -0
- data/assets/bower_components/iron-a11y-announcer/test/index.html +24 -0
- data/assets/bower_components/iron-a11y-announcer/test/iron-a11y-announcer.html +56 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.bower.json +43 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.travis.yml +25 -0
- data/assets/bower_components/iron-a11y-keys-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-a11y-keys-behavior/README.md +58 -0
- data/assets/bower_components/iron-a11y-keys-behavior/bower.json +33 -0
- data/assets/bower_components/iron-a11y-keys-behavior/demo/index.html +24 -0
- data/assets/bower_components/iron-a11y-keys-behavior/demo/x-key-aware.html +105 -0
- data/assets/bower_components/iron-a11y-keys-behavior/index.html +24 -0
- data/assets/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html +496 -0
- data/assets/bower_components/iron-a11y-keys-behavior/test/basic-test.html +445 -0
- data/assets/bower_components/iron-a11y-keys-behavior/test/index.html +28 -0
- data/assets/bower_components/iron-autogrow-textarea/.bower.json +48 -0
- data/assets/bower_components/iron-autogrow-textarea/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-autogrow-textarea/.gitignore +1 -0
- data/assets/bower_components/iron-autogrow-textarea/.travis.yml +23 -0
- data/assets/bower_components/iron-autogrow-textarea/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-autogrow-textarea/README.md +41 -0
- data/assets/bower_components/iron-autogrow-textarea/bower.json +39 -0
- data/assets/bower_components/iron-autogrow-textarea/demo/index.html +111 -0
- data/assets/bower_components/iron-autogrow-textarea/hero.svg +33 -0
- data/assets/bower_components/iron-autogrow-textarea/index.html +30 -0
- data/assets/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html +361 -0
- data/assets/bower_components/iron-autogrow-textarea/test/basic.html +190 -0
- data/assets/bower_components/iron-autogrow-textarea/test/index.html +24 -0
- data/assets/bower_components/iron-behaviors/.bower.json +42 -0
- data/assets/bower_components/iron-behaviors/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-behaviors/.gitignore +1 -0
- data/assets/bower_components/iron-behaviors/.travis.yml +23 -0
- data/assets/bower_components/iron-behaviors/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-behaviors/README.md +22 -0
- data/assets/bower_components/iron-behaviors/bower.json +32 -0
- data/assets/bower_components/iron-behaviors/demo/index.html +48 -0
- data/assets/bower_components/iron-behaviors/demo/simple-button.html +66 -0
- data/assets/bower_components/iron-behaviors/index.html +27 -0
- data/assets/bower_components/iron-behaviors/iron-button-state.html +228 -0
- data/assets/bower_components/iron-behaviors/iron-control-state.html +110 -0
- data/assets/bower_components/iron-behaviors/test/active-state.html +280 -0
- data/assets/bower_components/iron-behaviors/test/disabled-state.html +82 -0
- data/assets/bower_components/iron-behaviors/test/focused-state.html +161 -0
- data/assets/bower_components/iron-behaviors/test/index.html +27 -0
- data/assets/bower_components/iron-behaviors/test/test-elements.html +91 -0
- data/assets/bower_components/iron-checked-element-behavior/.bower.json +43 -0
- data/assets/bower_components/iron-checked-element-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-checked-element-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-checked-element-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-checked-element-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-checked-element-behavior/README.md +27 -0
- data/assets/bower_components/iron-checked-element-behavior/bower.json +34 -0
- data/assets/bower_components/iron-checked-element-behavior/demo/index.html +39 -0
- data/assets/bower_components/iron-checked-element-behavior/demo/simple-checkbox.html +65 -0
- data/assets/bower_components/iron-checked-element-behavior/index.html +30 -0
- data/assets/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html +120 -0
- data/assets/bower_components/iron-checked-element-behavior/test/basic.html +152 -0
- data/assets/bower_components/iron-checked-element-behavior/test/index.html +31 -0
- data/assets/bower_components/iron-checked-element-behavior/test/simple-checkbox.html +26 -0
- data/assets/bower_components/iron-collapse/.bower.json +43 -0
- data/assets/bower_components/iron-collapse/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-collapse/.gitignore +1 -0
- data/assets/bower_components/iron-collapse/.travis.yml +24 -0
- data/assets/bower_components/iron-collapse/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-collapse/README.md +66 -0
- data/assets/bower_components/iron-collapse/bower.json +34 -0
- data/assets/bower_components/iron-collapse/demo/index.html +104 -0
- data/assets/bower_components/iron-collapse/hero.svg +23 -0
- data/assets/bower_components/iron-collapse/index.html +31 -0
- data/assets/bower_components/iron-collapse/iron-collapse.html +302 -0
- data/assets/bower_components/iron-collapse/test/a11y.html +74 -0
- data/assets/bower_components/iron-collapse/test/basic.html +199 -0
- data/assets/bower_components/iron-collapse/test/flex.html +152 -0
- data/assets/bower_components/iron-collapse/test/horizontal.html +97 -0
- data/assets/bower_components/iron-collapse/test/index.html +35 -0
- data/assets/bower_components/iron-collapse/test/nested.html +131 -0
- data/assets/bower_components/iron-dropdown/.bower.json +47 -0
- data/assets/bower_components/iron-dropdown/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-dropdown/.gitignore +1 -0
- data/assets/bower_components/iron-dropdown/.travis.yml +23 -0
- data/assets/bower_components/iron-dropdown/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-dropdown/README.md +46 -0
- data/assets/bower_components/iron-dropdown/bower.json +38 -0
- data/assets/bower_components/iron-dropdown/demo/grow-height-animation.html +36 -0
- data/assets/bower_components/iron-dropdown/demo/index.html +160 -0
- data/assets/bower_components/iron-dropdown/demo/x-select.html +80 -0
- data/assets/bower_components/iron-dropdown/index.html +24 -0
- data/assets/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html +350 -0
- data/assets/bower_components/iron-dropdown/iron-dropdown.html +347 -0
- data/assets/bower_components/iron-dropdown/test/index.html +28 -0
- data/assets/bower_components/iron-dropdown/test/iron-dropdown-scroll-manager.html +187 -0
- data/assets/bower_components/iron-dropdown/test/iron-dropdown.html +519 -0
- data/assets/bower_components/iron-dropdown/test/x-scrollable-element.html +53 -0
- data/assets/bower_components/iron-fit-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-fit-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-fit-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-fit-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-fit-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-fit-behavior/README.md +57 -0
- data/assets/bower_components/iron-fit-behavior/bower.json +31 -0
- data/assets/bower_components/iron-fit-behavior/demo/index.html +166 -0
- data/assets/bower_components/iron-fit-behavior/demo/simple-fit.html +41 -0
- data/assets/bower_components/iron-fit-behavior/index.html +30 -0
- data/assets/bower_components/iron-fit-behavior/iron-fit-behavior.html +598 -0
- data/assets/bower_components/iron-fit-behavior/test/index.html +31 -0
- data/assets/bower_components/iron-fit-behavior/test/iron-fit-behavior.html +949 -0
- data/assets/bower_components/iron-fit-behavior/test/test-fit.html +41 -0
- data/assets/bower_components/iron-flex-layout/.bower.json +41 -0
- data/assets/bower_components/iron-flex-layout/.gitignore +2 -0
- data/assets/bower_components/iron-flex-layout/.travis.yml +25 -0
- data/assets/bower_components/iron-flex-layout/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-flex-layout/README.md +55 -0
- data/assets/bower_components/iron-flex-layout/bower.json +31 -0
- data/assets/bower_components/iron-flex-layout/classes/iron-flex-layout.html +311 -0
- data/assets/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html +307 -0
- data/assets/bower_components/iron-flex-layout/demo/index.html +396 -0
- data/assets/bower_components/iron-flex-layout/index.html +24 -0
- data/assets/bower_components/iron-flex-layout/iron-flex-layout-classes.html +431 -0
- data/assets/bower_components/iron-flex-layout/iron-flex-layout.html +399 -0
- data/assets/bower_components/iron-flex-layout/test/index.html +31 -0
- data/assets/bower_components/iron-flex-layout/test/iron-flex-layout-classes.html +412 -0
- data/assets/bower_components/iron-flex-layout/test/iron-flex-layout.html +434 -0
- data/assets/bower_components/iron-form-element-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-form-element-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-form-element-behavior/.travis.yml +22 -0
- data/assets/bower_components/iron-form-element-behavior/CONTRIBUTING.md +72 -0
- data/assets/bower_components/iron-form-element-behavior/README.md +23 -0
- data/assets/bower_components/iron-form-element-behavior/bower.json +31 -0
- data/assets/bower_components/iron-form-element-behavior/demo/index.html +67 -0
- data/assets/bower_components/iron-form-element-behavior/demo/simple-element.html +27 -0
- data/assets/bower_components/iron-form-element-behavior/demo/simple-form.html +53 -0
- data/assets/bower_components/iron-form-element-behavior/index.html +30 -0
- data/assets/bower_components/iron-form-element-behavior/iron-form-element-behavior.html +86 -0
- data/assets/bower_components/iron-form-element-behavior/test/basic.html +71 -0
- data/assets/bower_components/iron-form-element-behavior/test/index.html +24 -0
- data/assets/bower_components/iron-form-element-behavior/test/simple-element.html +23 -0
- data/assets/bower_components/iron-form-element-behavior/test/simple-form.html +19 -0
- data/assets/bower_components/iron-icon/.bower.json +45 -0
- data/assets/bower_components/iron-icon/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-icon/.gitignore +1 -0
- data/assets/bower_components/iron-icon/.travis.yml +23 -0
- data/assets/bower_components/iron-icon/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-icon/README.md +22 -0
- data/assets/bower_components/iron-icon/bower.json +35 -0
- data/assets/bower_components/iron-icon/demo/async.html +62 -0
- data/assets/bower_components/iron-icon/demo/index.html +48 -0
- data/assets/bower_components/iron-icon/demo/location.png +0 -0
- data/assets/bower_components/iron-icon/hero.svg +19 -0
- data/assets/bower_components/iron-icon/index.html +26 -0
- data/assets/bower_components/iron-icon/iron-icon.html +210 -0
- data/assets/bower_components/iron-icon/test/index.html +27 -0
- data/assets/bower_components/iron-icon/test/iron-icon.html +246 -0
- data/assets/bower_components/iron-icons/.bower.json +48 -0
- data/assets/bower_components/iron-icons/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-icons/.gitignore +3 -0
- data/assets/bower_components/iron-icons/.travis.yml +24 -0
- data/assets/bower_components/iron-icons/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-icons/README.md +49 -0
- data/assets/bower_components/iron-icons/av-icons.html +96 -0
- data/assets/bower_components/iron-icons/bower.json +38 -0
- data/assets/bower_components/iron-icons/communication-icons.html +66 -0
- data/assets/bower_components/iron-icons/demo/index.html +116 -0
- data/assets/bower_components/iron-icons/device-icons.html +95 -0
- data/assets/bower_components/iron-icons/editor-icons.html +84 -0
- data/assets/bower_components/iron-icons/hardware-icons.html +64 -0
- data/assets/bower_components/iron-icons/hero.svg +35 -0
- data/assets/bower_components/iron-icons/image-icons.html +171 -0
- data/assets/bower_components/iron-icons/index.html +26 -0
- data/assets/bower_components/iron-icons/iron-icons.html +353 -0
- data/assets/bower_components/iron-icons/maps-icons.html +84 -0
- data/assets/bower_components/iron-icons/notification-icons.html +70 -0
- data/assets/bower_components/iron-icons/places-icons.html +35 -0
- data/assets/bower_components/iron-icons/social-icons.html +46 -0
- data/assets/bower_components/iron-iconset-svg/.bower.json +44 -0
- data/assets/bower_components/iron-iconset-svg/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-iconset-svg/.gitignore +1 -0
- data/assets/bower_components/iron-iconset-svg/.travis.yml +23 -0
- data/assets/bower_components/iron-iconset-svg/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-iconset-svg/README.md +56 -0
- data/assets/bower_components/iron-iconset-svg/bower.json +34 -0
- data/assets/bower_components/iron-iconset-svg/demo/index.html +70 -0
- data/assets/bower_components/iron-iconset-svg/demo/svg-sample-icons.html +81 -0
- data/assets/bower_components/iron-iconset-svg/index.html +26 -0
- data/assets/bower_components/iron-iconset-svg/iron-iconset-svg.html +241 -0
- data/assets/bower_components/iron-iconset-svg/test/index.html +27 -0
- data/assets/bower_components/iron-iconset-svg/test/iron-iconset-svg.html +233 -0
- data/assets/bower_components/iron-image/.bower.json +43 -0
- data/assets/bower_components/iron-image/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-image/.gitignore +1 -0
- data/assets/bower_components/iron-image/.travis.yml +23 -0
- data/assets/bower_components/iron-image/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-image/README.md +86 -0
- data/assets/bower_components/iron-image/bower.json +33 -0
- data/assets/bower_components/iron-image/demo/index.html +266 -0
- data/assets/bower_components/iron-image/demo/loading.png +0 -0
- data/assets/bower_components/iron-image/demo/polymer.svg +175 -0
- data/assets/bower_components/iron-image/index.html +24 -0
- data/assets/bower_components/iron-image/iron-image.html +404 -0
- data/assets/bower_components/iron-image/test/index.html +23 -0
- data/assets/bower_components/iron-image/test/iron-image.html +338 -0
- data/assets/bower_components/iron-input/.bower.json +44 -0
- data/assets/bower_components/iron-input/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-input/.gitignore +1 -0
- data/assets/bower_components/iron-input/.travis.yml +23 -0
- data/assets/bower_components/iron-input/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-input/README.md +59 -0
- data/assets/bower_components/iron-input/bower.json +35 -0
- data/assets/bower_components/iron-input/demo/index.html +87 -0
- data/assets/bower_components/iron-input/hero.svg +19 -0
- data/assets/bower_components/iron-input/index.html +30 -0
- data/assets/bower_components/iron-input/iron-input.html +306 -0
- data/assets/bower_components/iron-input/test/disabled-input.html +32 -0
- data/assets/bower_components/iron-input/test/index.html +24 -0
- data/assets/bower_components/iron-input/test/iron-input.html +281 -0
- data/assets/bower_components/iron-input/test/letters-only.html +30 -0
- data/assets/bower_components/iron-media-query/.bower.json +41 -0
- data/assets/bower_components/iron-media-query/.gitignore +1 -0
- data/assets/bower_components/iron-media-query/.travis.yml +22 -0
- data/assets/bower_components/iron-media-query/CONTRIBUTING.md +72 -0
- data/assets/bower_components/iron-media-query/README.md +28 -0
- data/assets/bower_components/iron-media-query/bower.json +32 -0
- data/assets/bower_components/iron-media-query/demo/index.html +93 -0
- data/assets/bower_components/iron-media-query/hero.svg +29 -0
- data/assets/bower_components/iron-media-query/index.html +29 -0
- data/assets/bower_components/iron-media-query/iron-media-query.html +121 -0
- data/assets/bower_components/iron-media-query/test/basic.html +118 -0
- data/assets/bower_components/iron-media-query/test/index.html +26 -0
- data/assets/bower_components/iron-menu-behavior/.bower.json +46 -0
- data/assets/bower_components/iron-menu-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-menu-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-menu-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-menu-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-menu-behavior/README.md +30 -0
- data/assets/bower_components/iron-menu-behavior/bower.json +37 -0
- data/assets/bower_components/iron-menu-behavior/demo/index.html +118 -0
- data/assets/bower_components/iron-menu-behavior/demo/simple-menu.html +48 -0
- data/assets/bower_components/iron-menu-behavior/demo/simple-menubar.html +52 -0
- data/assets/bower_components/iron-menu-behavior/index.html +30 -0
- data/assets/bower_components/iron-menu-behavior/iron-menu-behavior.html +376 -0
- data/assets/bower_components/iron-menu-behavior/iron-menubar-behavior.html +81 -0
- data/assets/bower_components/iron-menu-behavior/test/index.html +33 -0
- data/assets/bower_components/iron-menu-behavior/test/iron-menu-behavior.html +559 -0
- data/assets/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html +162 -0
- data/assets/bower_components/iron-menu-behavior/test/test-menu.html +46 -0
- data/assets/bower_components/iron-menu-behavior/test/test-menubar.html +46 -0
- data/assets/bower_components/iron-menu-behavior/test/test-nested-menu.html +44 -0
- data/assets/bower_components/iron-meta/.bower.json +40 -0
- data/assets/bower_components/iron-meta/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-meta/.gitignore +1 -0
- data/assets/bower_components/iron-meta/.travis.yml +23 -0
- data/assets/bower_components/iron-meta/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-meta/README.md +110 -0
- data/assets/bower_components/iron-meta/bower.json +30 -0
- data/assets/bower_components/iron-meta/demo/index.html +76 -0
- data/assets/bower_components/iron-meta/hero.svg +33 -0
- data/assets/bower_components/iron-meta/index.html +27 -0
- data/assets/bower_components/iron-meta/iron-meta.html +333 -0
- data/assets/bower_components/iron-meta/test/basic.html +48 -0
- data/assets/bower_components/iron-meta/test/index.html +29 -0
- data/assets/bower_components/iron-meta/test/iron-meta.html +195 -0
- data/assets/bower_components/iron-overlay-behavior/.bower.json +47 -0
- data/assets/bower_components/iron-overlay-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-overlay-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-overlay-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-overlay-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-overlay-behavior/README.md +78 -0
- data/assets/bower_components/iron-overlay-behavior/bower.json +37 -0
- data/assets/bower_components/iron-overlay-behavior/demo/index.html +188 -0
- data/assets/bower_components/iron-overlay-behavior/demo/simple-overlay.html +46 -0
- data/assets/bower_components/iron-overlay-behavior/index.html +30 -0
- data/assets/bower_components/iron-overlay-behavior/iron-focusables-helper.html +220 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html +168 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-behavior.html +638 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-manager.html +362 -0
- data/assets/bower_components/iron-overlay-behavior/test/index.html +33 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-focusables-helper.html +182 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-overlay-backdrop.html +85 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-overlay-behavior.html +1250 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-buttons-wrapper.html +39 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-buttons.html +34 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-menu-button.html +38 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-overlay.html +101 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-overlay2.html +52 -0
- data/assets/bower_components/iron-range-behavior/.bower.json +39 -0
- data/assets/bower_components/iron-range-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-range-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-range-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-range-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-range-behavior/README.md +24 -0
- data/assets/bower_components/iron-range-behavior/bower.json +29 -0
- data/assets/bower_components/iron-range-behavior/demo/index.html +80 -0
- data/assets/bower_components/iron-range-behavior/index.html +24 -0
- data/assets/bower_components/iron-range-behavior/iron-range-behavior.html +121 -0
- data/assets/bower_components/iron-range-behavior/test/basic.html +180 -0
- data/assets/bower_components/iron-range-behavior/test/index.html +24 -0
- data/assets/bower_components/iron-range-behavior/test/x-progressbar.html +19 -0
- data/assets/bower_components/iron-resizable-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-resizable-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-resizable-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-resizable-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-resizable-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-resizable-behavior/README.md +36 -0
- data/assets/bower_components/iron-resizable-behavior/bower.json +31 -0
- data/assets/bower_components/iron-resizable-behavior/demo/index.html +29 -0
- data/assets/bower_components/iron-resizable-behavior/demo/src/x-app.html +105 -0
- data/assets/bower_components/iron-resizable-behavior/index.html +25 -0
- data/assets/bower_components/iron-resizable-behavior/iron-resizable-behavior.html +195 -0
- data/assets/bower_components/iron-resizable-behavior/test/basic.html +223 -0
- data/assets/bower_components/iron-resizable-behavior/test/index.html +29 -0
- data/assets/bower_components/iron-resizable-behavior/test/iron-resizable-behavior.html +88 -0
- data/assets/bower_components/iron-resizable-behavior/test/test-elements.html +193 -0
- data/assets/bower_components/iron-scroll-target-behavior/.bower.json +40 -0
- data/assets/bower_components/iron-scroll-target-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-scroll-target-behavior/.gitignore +2 -0
- data/assets/bower_components/iron-scroll-target-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-scroll-target-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-scroll-target-behavior/README.md +28 -0
- data/assets/bower_components/iron-scroll-target-behavior/bower.json +31 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/document.html +39 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/scrolling-region.html +51 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/x-scrollable.html +101 -0
- data/assets/bower_components/iron-scroll-target-behavior/index.html +28 -0
- data/assets/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html +260 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/basic.html +317 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/index.html +32 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/x-nested-scrollable.html +39 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/x-scrollable.html +65 -0
- data/assets/bower_components/iron-selector/.bower.json +42 -0
- data/assets/bower_components/iron-selector/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-selector/.gitignore +2 -0
- data/assets/bower_components/iron-selector/.travis.yml +23 -0
- data/assets/bower_components/iron-selector/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-selector/README.md +91 -0
- data/assets/bower_components/iron-selector/bower.json +33 -0
- data/assets/bower_components/iron-selector/demo/index.html +101 -0
- data/assets/bower_components/iron-selector/index.html +28 -0
- data/assets/bower_components/iron-selector/iron-multi-selectable.html +154 -0
- data/assets/bower_components/iron-selector/iron-selectable.html +388 -0
- data/assets/bower_components/iron-selector/iron-selection.html +119 -0
- data/assets/bower_components/iron-selector/iron-selector.html +87 -0
- data/assets/bower_components/iron-selector/test/activate-event.html +150 -0
- data/assets/bower_components/iron-selector/test/attr-for-selected-elements.html +30 -0
- data/assets/bower_components/iron-selector/test/attr-for-selected.html +229 -0
- data/assets/bower_components/iron-selector/test/basic.html +263 -0
- data/assets/bower_components/iron-selector/test/content-element.html +44 -0
- data/assets/bower_components/iron-selector/test/content.html +169 -0
- data/assets/bower_components/iron-selector/test/excluded-local-names.html +96 -0
- data/assets/bower_components/iron-selector/test/index.html +43 -0
- data/assets/bower_components/iron-selector/test/multi.html +375 -0
- data/assets/bower_components/iron-selector/test/next-previous.html +135 -0
- data/assets/bower_components/iron-selector/test/numeric-ids.html +73 -0
- data/assets/bower_components/iron-selector/test/selected-attribute.html +129 -0
- data/assets/bower_components/iron-selector/test/template-repeat.html +104 -0
- data/assets/bower_components/iron-validatable-behavior/.bower.json +42 -0
- data/assets/bower_components/iron-validatable-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-validatable-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-validatable-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-validatable-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-validatable-behavior/README.md +42 -0
- data/assets/bower_components/iron-validatable-behavior/bower.json +33 -0
- data/assets/bower_components/iron-validatable-behavior/demo/cats-only.html +46 -0
- data/assets/bower_components/iron-validatable-behavior/demo/index.html +71 -0
- data/assets/bower_components/iron-validatable-behavior/demo/validatable-input.html +46 -0
- data/assets/bower_components/iron-validatable-behavior/index.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/iron-validatable-behavior.html +149 -0
- data/assets/bower_components/iron-validatable-behavior/test/cats-only.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/test/dogs-only.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/test/index.html +32 -0
- data/assets/bower_components/iron-validatable-behavior/test/iron-validatable-behavior.html +88 -0
- data/assets/bower_components/iron-validatable-behavior/test/test-validatable.html +29 -0
- data/assets/bower_components/neon-animation/.bower.json +61 -0
- data/assets/bower_components/neon-animation/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/neon-animation/.gitignore +1 -0
- data/assets/bower_components/neon-animation/.travis.yml +23 -0
- data/assets/bower_components/neon-animation/CONTRIBUTING.md +77 -0
- data/assets/bower_components/neon-animation/README.md +306 -0
- data/assets/bower_components/neon-animation/animations/cascaded-animation.html +95 -0
- data/assets/bower_components/neon-animation/animations/fade-in-animation.html +49 -0
- data/assets/bower_components/neon-animation/animations/fade-out-animation.html +49 -0
- data/assets/bower_components/neon-animation/animations/hero-animation.html +83 -0
- data/assets/bower_components/neon-animation/animations/opaque-animation.html +46 -0
- data/assets/bower_components/neon-animation/animations/reverse-ripple-animation.html +87 -0
- data/assets/bower_components/neon-animation/animations/ripple-animation.html +93 -0
- data/assets/bower_components/neon-animation/animations/scale-down-animation.html +65 -0
- data/assets/bower_components/neon-animation/animations/scale-up-animation.html +65 -0
- data/assets/bower_components/neon-animation/animations/slide-down-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-from-bottom-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-from-left-animation.html +60 -0
- data/assets/bower_components/neon-animation/animations/slide-from-right-animation.html +60 -0
- data/assets/bower_components/neon-animation/animations/slide-from-top-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-left-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-right-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-up-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/transform-animation.html +70 -0
- data/assets/bower_components/neon-animation/bower.json +52 -0
- data/assets/bower_components/neon-animation/demo/card/index.html +166 -0
- data/assets/bower_components/neon-animation/demo/card/x-card.html +94 -0
- data/assets/bower_components/neon-animation/demo/card/x-cards-list.html +75 -0
- data/assets/bower_components/neon-animation/demo/declarative/index.html +132 -0
- data/assets/bower_components/neon-animation/demo/doc/index.html +70 -0
- data/assets/bower_components/neon-animation/demo/doc/my-animatable.html +68 -0
- data/assets/bower_components/neon-animation/demo/doc/my-dialog.html +94 -0
- data/assets/bower_components/neon-animation/demo/dropdown/animated-dropdown.html +90 -0
- data/assets/bower_components/neon-animation/demo/dropdown/index.html +54 -0
- data/assets/bower_components/neon-animation/demo/grid/animated-grid.html +164 -0
- data/assets/bower_components/neon-animation/demo/grid/fullsize-page-with-card.html +122 -0
- data/assets/bower_components/neon-animation/demo/grid/index.html +64 -0
- data/assets/bower_components/neon-animation/demo/index.html +45 -0
- data/assets/bower_components/neon-animation/demo/list/full-view.html +118 -0
- data/assets/bower_components/neon-animation/demo/list/index.html +35 -0
- data/assets/bower_components/neon-animation/demo/list/list-demo.html +102 -0
- data/assets/bower_components/neon-animation/demo/list/list-view.html +124 -0
- data/assets/bower_components/neon-animation/demo/load/animated-grid.html +146 -0
- data/assets/bower_components/neon-animation/demo/load/full-page.html +82 -0
- data/assets/bower_components/neon-animation/demo/load/index.html +48 -0
- data/assets/bower_components/neon-animation/demo/reprojection/animated-grid.html +167 -0
- data/assets/bower_components/neon-animation/demo/reprojection/fullsize-page-with-card.html +120 -0
- data/assets/bower_components/neon-animation/demo/reprojection/index.html +63 -0
- data/assets/bower_components/neon-animation/demo/reprojection/reprojected-pages.html +45 -0
- data/assets/bower_components/neon-animation/demo/shared-styles.html +47 -0
- data/assets/bower_components/neon-animation/demo/tiles/circles-page.html +107 -0
- data/assets/bower_components/neon-animation/demo/tiles/index.html +70 -0
- data/assets/bower_components/neon-animation/demo/tiles/squares-page.html +100 -0
- data/assets/bower_components/neon-animation/guides/neon-animation.md +314 -0
- data/assets/bower_components/neon-animation/index.html +30 -0
- data/assets/bower_components/neon-animation/neon-animatable-behavior.html +150 -0
- data/assets/bower_components/neon-animation/neon-animatable.html +54 -0
- data/assets/bower_components/neon-animation/neon-animated-pages.html +220 -0
- data/assets/bower_components/neon-animation/neon-animation-behavior.html +86 -0
- data/assets/bower_components/neon-animation/neon-animation-runner-behavior.html +129 -0
- data/assets/bower_components/neon-animation/neon-animation.html +18 -0
- data/assets/bower_components/neon-animation/neon-animations.html +29 -0
- data/assets/bower_components/neon-animation/neon-shared-element-animatable-behavior.html +43 -0
- data/assets/bower_components/neon-animation/neon-shared-element-animation-behavior.html +72 -0
- data/assets/bower_components/neon-animation/test/index.html +28 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages-descendant-selection.html +118 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages-lazy.html +73 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages.html +101 -0
- data/assets/bower_components/neon-animation/test/test-resizable-pages.html +58 -0
- data/assets/bower_components/neon-animation/web-animations.html +11 -0
- data/assets/bower_components/paper-badge/.bower.json +46 -0
- data/assets/bower_components/paper-badge/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-badge/.gitignore +1 -0
- data/assets/bower_components/paper-badge/.travis.yml +23 -0
- data/assets/bower_components/paper-badge/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-badge/README.md +67 -0
- data/assets/bower_components/paper-badge/bower.json +37 -0
- data/assets/bower_components/paper-badge/demo/index.html +112 -0
- data/assets/bower_components/paper-badge/demo/test-button.html +44 -0
- data/assets/bower_components/paper-badge/index.html +28 -0
- data/assets/bower_components/paper-badge/paper-badge.html +240 -0
- data/assets/bower_components/paper-badge/test/basic.html +278 -0
- data/assets/bower_components/paper-badge/test/index.html +24 -0
- data/assets/bower_components/paper-badge/test/test-button.html +36 -0
- data/assets/bower_components/paper-behaviors/.bower.json +51 -0
- data/assets/bower_components/paper-behaviors/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-behaviors/.gitignore +1 -0
- data/assets/bower_components/paper-behaviors/.travis.yml +23 -0
- data/assets/bower_components/paper-behaviors/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-behaviors/README.md +44 -0
- data/assets/bower_components/paper-behaviors/bower.json +42 -0
- data/assets/bower_components/paper-behaviors/demo/index.html +45 -0
- data/assets/bower_components/paper-behaviors/demo/paper-button.html +64 -0
- data/assets/bower_components/paper-behaviors/demo/paper-radio-button.html +112 -0
- data/assets/bower_components/paper-behaviors/index.html +26 -0
- data/assets/bower_components/paper-behaviors/paper-button-behavior.html +97 -0
- data/assets/bower_components/paper-behaviors/paper-checked-element-behavior.html +57 -0
- data/assets/bower_components/paper-behaviors/paper-inky-focus-behavior.html +51 -0
- data/assets/bower_components/paper-behaviors/paper-ripple-behavior.html +126 -0
- data/assets/bower_components/paper-behaviors/test/index.html +29 -0
- data/assets/bower_components/paper-behaviors/test/paper-button-behavior.html +113 -0
- data/assets/bower_components/paper-behaviors/test/paper-checked-element-behavior.html +94 -0
- data/assets/bower_components/paper-behaviors/test/paper-radio-button-behavior.html +58 -0
- data/assets/bower_components/paper-behaviors/test/paper-ripple-behavior.html +335 -0
- data/assets/bower_components/paper-behaviors/test/shadowed-ripple.html +55 -0
- data/assets/bower_components/paper-behaviors/test/test-button.html +34 -0
- data/assets/bower_components/paper-behaviors/test/test-radio-button.html +41 -0
- data/assets/bower_components/paper-button/.bower.json +50 -0
- data/assets/bower_components/paper-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-button/.gitignore +1 -0
- data/assets/bower_components/paper-button/.travis.yml +23 -0
- data/assets/bower_components/paper-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-button/README.md +73 -0
- data/assets/bower_components/paper-button/bower.json +41 -0
- data/assets/bower_components/paper-button/demo/index.html +138 -0
- data/assets/bower_components/paper-button/index.html +26 -0
- data/assets/bower_components/paper-button/paper-button.html +186 -0
- data/assets/bower_components/paper-button/test/index.html +24 -0
- data/assets/bower_components/paper-button/test/paper-button.html +108 -0
- data/assets/bower_components/paper-card/.bower.json +49 -0
- data/assets/bower_components/paper-card/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-card/.gitignore +1 -0
- data/assets/bower_components/paper-card/.travis.yml +23 -0
- data/assets/bower_components/paper-card/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-card/README.md +79 -0
- data/assets/bower_components/paper-card/bower.json +40 -0
- data/assets/bower_components/paper-card/demo/cafe.png +0 -0
- data/assets/bower_components/paper-card/demo/donuts.png +0 -0
- data/assets/bower_components/paper-card/demo/house.png +0 -0
- data/assets/bower_components/paper-card/demo/index.html +323 -0
- data/assets/bower_components/paper-card/demo/travel.png +0 -0
- data/assets/bower_components/paper-card/demo/trip.png +0 -0
- data/assets/bower_components/paper-card/index.html +28 -0
- data/assets/bower_components/paper-card/paper-card.html +254 -0
- data/assets/bower_components/paper-card/test/basic.html +109 -0
- data/assets/bower_components/paper-card/test/index.html +26 -0
- data/assets/bower_components/paper-chip/.bower.json +47 -0
- data/assets/bower_components/paper-chip/LICENSE +20 -0
- data/assets/bower_components/paper-chip/README.md +11 -0
- data/assets/bower_components/paper-chip/bower.json +37 -0
- data/assets/bower_components/paper-chip/demo/avatars.html +29 -0
- data/assets/bower_components/paper-chip/demo/index.html +173 -0
- data/assets/bower_components/paper-chip/gulpfile.js +125 -0
- data/assets/bower_components/paper-chip/index.html +18 -0
- data/assets/bower_components/paper-chip/package.json +43 -0
- data/assets/bower_components/paper-chip/paper-chip.html +459 -0
- data/assets/bower_components/paper-dropdown-menu/.bower.json +57 -0
- data/assets/bower_components/paper-dropdown-menu/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-dropdown-menu/.gitignore +1 -0
- data/assets/bower_components/paper-dropdown-menu/.travis.yml +24 -0
- data/assets/bower_components/paper-dropdown-menu/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-dropdown-menu/README.md +44 -0
- data/assets/bower_components/paper-dropdown-menu/bower.json +48 -0
- data/assets/bower_components/paper-dropdown-menu/demo/index.html +295 -0
- data/assets/bower_components/paper-dropdown-menu/index.html +24 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html +17 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-light.html +596 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html +78 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu.html +406 -0
- data/assets/bower_components/paper-dropdown-menu/test/index.html +26 -0
- data/assets/bower_components/paper-dropdown-menu/test/paper-dropdown-menu-light.html +219 -0
- data/assets/bower_components/paper-dropdown-menu/test/paper-dropdown-menu.html +220 -0
- data/assets/bower_components/paper-fab/.bower.json +49 -0
- data/assets/bower_components/paper-fab/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-fab/.gitignore +1 -0
- data/assets/bower_components/paper-fab/.travis.yml +23 -0
- data/assets/bower_components/paper-fab/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-fab/README.md +53 -0
- data/assets/bower_components/paper-fab/bower.json +39 -0
- data/assets/bower_components/paper-fab/demo/index.html +90 -0
- data/assets/bower_components/paper-fab/index.html +24 -0
- data/assets/bower_components/paper-fab/paper-fab.html +187 -0
- data/assets/bower_components/paper-fab/test/a11y.html +67 -0
- data/assets/bower_components/paper-fab/test/basic.html +141 -0
- data/assets/bower_components/paper-fab/test/index.html +26 -0
- data/assets/bower_components/paper-header-panel/.bower.json +43 -0
- data/assets/bower_components/paper-header-panel/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-header-panel/.gitignore +1 -0
- data/assets/bower_components/paper-header-panel/.travis.yml +23 -0
- data/assets/bower_components/paper-header-panel/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-header-panel/README.md +152 -0
- data/assets/bower_components/paper-header-panel/bower.json +33 -0
- data/assets/bower_components/paper-header-panel/demo/index.html +150 -0
- data/assets/bower_components/paper-header-panel/hero.svg +38 -0
- data/assets/bower_components/paper-header-panel/index.html +36 -0
- data/assets/bower_components/paper-header-panel/paper-header-panel.html +512 -0
- data/assets/bower_components/paper-header-panel/test/basic.html +156 -0
- data/assets/bower_components/paper-header-panel/test/index.html +31 -0
- data/assets/bower_components/paper-icon-button/.bower.json +50 -0
- data/assets/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-icon-button/.gitignore +1 -0
- data/assets/bower_components/paper-icon-button/.travis.yml +23 -0
- data/assets/bower_components/paper-icon-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-icon-button/README.md +95 -0
- data/assets/bower_components/paper-icon-button/bower.json +40 -0
- data/assets/bower_components/paper-icon-button/demo/index.html +103 -0
- data/assets/bower_components/paper-icon-button/demo/paper-icon-button-light.html +57 -0
- data/assets/bower_components/paper-icon-button/index.html +23 -0
- data/assets/bower_components/paper-icon-button/paper-icon-button-light.html +91 -0
- data/assets/bower_components/paper-icon-button/paper-icon-button.html +176 -0
- data/assets/bower_components/paper-icon-button/test/a11y.html +92 -0
- data/assets/bower_components/paper-icon-button/test/basic.html +75 -0
- data/assets/bower_components/paper-icon-button/test/index.html +26 -0
- data/assets/bower_components/paper-input/.bower.json +61 -0
- data/assets/bower_components/paper-input/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-input/.gitignore +1 -0
- data/assets/bower_components/paper-input/.travis.yml +24 -0
- data/assets/bower_components/paper-input/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-input/README.md +38 -0
- data/assets/bower_components/paper-input/all-imports.html +12 -0
- data/assets/bower_components/paper-input/bower.json +51 -0
- data/assets/bower_components/paper-input/demo/index.html +155 -0
- data/assets/bower_components/paper-input/demo/ssn-input.html +96 -0
- data/assets/bower_components/paper-input/demo/ssn-validator.html +27 -0
- data/assets/bower_components/paper-input/hero.svg +19 -0
- data/assets/bower_components/paper-input/index.html +28 -0
- data/assets/bower_components/paper-input/paper-input-addon-behavior.html +47 -0
- data/assets/bower_components/paper-input/paper-input-behavior.html +569 -0
- data/assets/bower_components/paper-input/paper-input-char-counter.html +99 -0
- data/assets/bower_components/paper-input/paper-input-container.html +626 -0
- data/assets/bower_components/paper-input/paper-input-error.html +94 -0
- data/assets/bower_components/paper-input/paper-input.html +170 -0
- data/assets/bower_components/paper-input/paper-textarea.html +144 -0
- data/assets/bower_components/paper-input/test/index.html +32 -0
- data/assets/bower_components/paper-input/test/letters-only.html +30 -0
- data/assets/bower_components/paper-input/test/paper-input-char-counter.html +109 -0
- data/assets/bower_components/paper-input/test/paper-input-container.html +302 -0
- data/assets/bower_components/paper-input/test/paper-input-error.html +68 -0
- data/assets/bower_components/paper-input/test/paper-input.html +398 -0
- data/assets/bower_components/paper-input/test/paper-textarea.html +233 -0
- data/assets/bower_components/paper-item/.bower.json +53 -0
- data/assets/bower_components/paper-item/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-item/.gitignore +1 -0
- data/assets/bower_components/paper-item/.travis.yml +23 -0
- data/assets/bower_components/paper-item/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-item/README.md +163 -0
- data/assets/bower_components/paper-item/all-imports.html +13 -0
- data/assets/bower_components/paper-item/bower.json +43 -0
- data/assets/bower_components/paper-item/demo/index.html +191 -0
- data/assets/bower_components/paper-item/index.html +30 -0
- data/assets/bower_components/paper-item/paper-icon-item.html +86 -0
- data/assets/bower_components/paper-item/paper-item-behavior.html +36 -0
- data/assets/bower_components/paper-item/paper-item-body.html +83 -0
- data/assets/bower_components/paper-item/paper-item-shared-styles.html +70 -0
- data/assets/bower_components/paper-item/paper-item.html +111 -0
- data/assets/bower_components/paper-item/test/index.html +31 -0
- data/assets/bower_components/paper-item/test/paper-item.html +218 -0
- data/assets/bower_components/paper-material/.bower.json +44 -0
- data/assets/bower_components/paper-material/.gitignore +1 -0
- data/assets/bower_components/paper-material/.travis.yml +25 -0
- data/assets/bower_components/paper-material/CONTRIBUTING.md +72 -0
- data/assets/bower_components/paper-material/README.md +35 -0
- data/assets/bower_components/paper-material/bower.json +35 -0
- data/assets/bower_components/paper-material/demo/index.html +84 -0
- data/assets/bower_components/paper-material/index.html +30 -0
- data/assets/bower_components/paper-material/paper-material-shared-styles.html +42 -0
- data/assets/bower_components/paper-material/paper-material.html +78 -0
- data/assets/bower_components/paper-material/test/index.html +24 -0
- data/assets/bower_components/paper-material/test/paper-material.html +88 -0
- data/assets/bower_components/paper-menu-button/.bower.json +56 -0
- data/assets/bower_components/paper-menu-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-menu-button/.gitignore +1 -0
- data/assets/bower_components/paper-menu-button/.travis.yml +23 -0
- data/assets/bower_components/paper-menu-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-menu-button/README.md +69 -0
- data/assets/bower_components/paper-menu-button/bower.json +47 -0
- data/assets/bower_components/paper-menu-button/demo/index.html +203 -0
- data/assets/bower_components/paper-menu-button/hero.svg +39 -0
- data/assets/bower_components/paper-menu-button/index.html +24 -0
- data/assets/bower_components/paper-menu-button/paper-menu-button-animations.html +109 -0
- data/assets/bower_components/paper-menu-button/paper-menu-button.html +479 -0
- data/assets/bower_components/paper-menu-button/test/index.html +24 -0
- data/assets/bower_components/paper-menu-button/test/paper-menu-button.html +199 -0
- data/assets/bower_components/paper-menu/.bower.json +49 -0
- data/assets/bower_components/paper-menu/.gitignore +1 -0
- data/assets/bower_components/paper-menu/.travis.yml +25 -0
- data/assets/bower_components/paper-menu/CONTRIBUTING.md +72 -0
- data/assets/bower_components/paper-menu/README.md +113 -0
- data/assets/bower_components/paper-menu/bower.json +39 -0
- data/assets/bower_components/paper-menu/demo/index.html +150 -0
- data/assets/bower_components/paper-menu/hero.svg +35 -0
- data/assets/bower_components/paper-menu/index.html +30 -0
- data/assets/bower_components/paper-menu/paper-menu-shared-styles.html +47 -0
- data/assets/bower_components/paper-menu/paper-menu.html +102 -0
- data/assets/bower_components/paper-menu/paper-submenu.html +231 -0
- data/assets/bower_components/paper-menu/test/index.html +37 -0
- data/assets/bower_components/paper-menu/test/paper-menu.html +64 -0
- data/assets/bower_components/paper-menu/test/paper-submenu.html +203 -0
- data/assets/bower_components/paper-progress/.bower.json +43 -0
- data/assets/bower_components/paper-progress/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-progress/.gitignore +1 -0
- data/assets/bower_components/paper-progress/.travis.yml +23 -0
- data/assets/bower_components/paper-progress/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-progress/README.md +49 -0
- data/assets/bower_components/paper-progress/bower.json +33 -0
- data/assets/bower_components/paper-progress/demo/index.html +127 -0
- data/assets/bower_components/paper-progress/hero.svg +21 -0
- data/assets/bower_components/paper-progress/index.html +28 -0
- data/assets/bower_components/paper-progress/paper-progress.html +354 -0
- data/assets/bower_components/paper-progress/test/basic.html +148 -0
- data/assets/bower_components/paper-progress/test/index.html +24 -0
- data/assets/bower_components/paper-ripple/.bower.json +45 -0
- data/assets/bower_components/paper-ripple/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-ripple/.gitignore +1 -0
- data/assets/bower_components/paper-ripple/.travis.yml +23 -0
- data/assets/bower_components/paper-ripple/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-ripple/README.md +40 -0
- data/assets/bower_components/paper-ripple/bower.json +35 -0
- data/assets/bower_components/paper-ripple/demo/index.html +415 -0
- data/assets/bower_components/paper-ripple/hero.svg +30 -0
- data/assets/bower_components/paper-ripple/index.html +27 -0
- data/assets/bower_components/paper-ripple/paper-ripple.html +763 -0
- data/assets/bower_components/paper-ripple/test/index.html +24 -0
- data/assets/bower_components/paper-ripple/test/paper-ripple.html +253 -0
- data/assets/bower_components/paper-spinner/.bower.json +47 -0
- data/assets/bower_components/paper-spinner/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-spinner/.gitignore +1 -0
- data/assets/bower_components/paper-spinner/.travis.yml +23 -0
- data/assets/bower_components/paper-spinner/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-spinner/README.md +49 -0
- data/assets/bower_components/paper-spinner/bower.json +38 -0
- data/assets/bower_components/paper-spinner/demo/index.html +97 -0
- data/assets/bower_components/paper-spinner/hero.svg +27 -0
- data/assets/bower_components/paper-spinner/index.html +30 -0
- data/assets/bower_components/paper-spinner/paper-spinner-behavior.html +87 -0
- data/assets/bower_components/paper-spinner/paper-spinner-lite.html +71 -0
- data/assets/bower_components/paper-spinner/paper-spinner-styles.html +341 -0
- data/assets/bower_components/paper-spinner/paper-spinner.html +91 -0
- data/assets/bower_components/paper-spinner/test/index.html +31 -0
- data/assets/bower_components/paper-spinner/test/paper-spinner.html +86 -0
- data/assets/bower_components/paper-styles/.bower.json +42 -0
- data/assets/bower_components/paper-styles/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-styles/README.md +49 -0
- data/assets/bower_components/paper-styles/bower.json +33 -0
- data/assets/bower_components/paper-styles/classes/global.html +96 -0
- data/assets/bower_components/paper-styles/classes/shadow-layout.html +307 -0
- data/assets/bower_components/paper-styles/classes/shadow.html +52 -0
- data/assets/bower_components/paper-styles/classes/typography.html +169 -0
- data/assets/bower_components/paper-styles/color.html +333 -0
- data/assets/bower_components/paper-styles/default-theme.html +72 -0
- data/assets/bower_components/paper-styles/demo-pages.html +72 -0
- data/assets/bower_components/paper-styles/demo.css +25 -0
- data/assets/bower_components/paper-styles/demo/index.html +339 -0
- data/assets/bower_components/paper-styles/index.html +24 -0
- data/assets/bower_components/paper-styles/paper-styles-classes.html +14 -0
- data/assets/bower_components/paper-styles/paper-styles.html +44 -0
- data/assets/bower_components/paper-styles/shadow.html +76 -0
- data/assets/bower_components/paper-styles/typography.html +169 -0
- data/assets/bower_components/paper-tabs/.bower.json +54 -0
- data/assets/bower_components/paper-tabs/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-tabs/.gitignore +1 -0
- data/assets/bower_components/paper-tabs/.travis.yml +24 -0
- data/assets/bower_components/paper-tabs/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-tabs/README.md +46 -0
- data/assets/bower_components/paper-tabs/bower.json +44 -0
- data/assets/bower_components/paper-tabs/demo/index.html +338 -0
- data/assets/bower_components/paper-tabs/hero.svg +23 -0
- data/assets/bower_components/paper-tabs/index.html +25 -0
- data/assets/bower_components/paper-tabs/paper-tab.html +176 -0
- data/assets/bower_components/paper-tabs/paper-tabs-icons.html +18 -0
- data/assets/bower_components/paper-tabs/paper-tabs.html +661 -0
- data/assets/bower_components/paper-tabs/test/attr-for-selected.html +82 -0
- data/assets/bower_components/paper-tabs/test/basic.html +394 -0
- data/assets/bower_components/paper-tabs/test/index.html +31 -0
- data/assets/bower_components/paper-tabs/test/links.html +163 -0
- data/assets/bower_components/paper-toolbar/.bower.json +47 -0
- data/assets/bower_components/paper-toolbar/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-toolbar/.gitignore +1 -0
- data/assets/bower_components/paper-toolbar/.travis.yml +23 -0
- data/assets/bower_components/paper-toolbar/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-toolbar/README.md +107 -0
- data/assets/bower_components/paper-toolbar/bower.json +37 -0
- data/assets/bower_components/paper-toolbar/demo/index.html +186 -0
- data/assets/bower_components/paper-toolbar/index.html +38 -0
- data/assets/bower_components/paper-toolbar/paper-toolbar.html +383 -0
- data/assets/bower_components/paper-toolbar/test/index.html +24 -0
- data/assets/bower_components/paper-toolbar/test/paper-toolbar.html +148 -0
- data/assets/bower_components/paper-tooltip/.bower.json +45 -0
- data/assets/bower_components/paper-tooltip/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-tooltip/.gitignore +1 -0
- data/assets/bower_components/paper-tooltip/.travis.yml +23 -0
- data/assets/bower_components/paper-tooltip/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-tooltip/README.md +62 -0
- data/assets/bower_components/paper-tooltip/bower.json +36 -0
- data/assets/bower_components/paper-tooltip/demo/index.html +133 -0
- data/assets/bower_components/paper-tooltip/demo/test-button.html +37 -0
- data/assets/bower_components/paper-tooltip/index.html +28 -0
- data/assets/bower_components/paper-tooltip/paper-tooltip.html +395 -0
- data/assets/bower_components/paper-tooltip/test/basic.html +501 -0
- data/assets/bower_components/paper-tooltip/test/index.html +24 -0
- data/assets/bower_components/paper-tooltip/test/test-button.html +43 -0
- data/assets/bower_components/paper-ui-elements/.bower.json +35 -0
- data/assets/bower_components/paper-ui-elements/README.md +2 -0
- data/assets/bower_components/paper-ui-elements/bower.json +24 -0
- data/assets/bower_components/polymer/.bower.json +45 -0
- data/assets/bower_components/polymer/LICENSE.txt +27 -0
- data/assets/bower_components/polymer/bower.json +35 -0
- data/assets/bower_components/polymer/build.log +626 -0
- data/assets/bower_components/polymer/polymer-micro.html +732 -0
- data/assets/bower_components/polymer/polymer-mini.html +2164 -0
- data/assets/bower_components/polymer/polymer.html +5414 -0
- data/assets/bower_components/web-animations-js/.bower.json +41 -0
- data/assets/bower_components/web-animations-js/CONTRIBUTING.md +105 -0
- data/assets/bower_components/web-animations-js/COPYING +202 -0
- data/assets/bower_components/web-animations-js/History.md +227 -0
- data/assets/bower_components/web-animations-js/README.md +172 -0
- data/assets/bower_components/web-animations-js/bower.json +31 -0
- data/assets/bower_components/web-animations-js/web-animations-next-lite.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations-next-lite.min.js.map +1 -0
- data/assets/bower_components/web-animations-js/web-animations-next.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations-next.min.js.map +1 -0
- data/assets/bower_components/web-animations-js/web-animations.html +50 -0
- data/assets/bower_components/web-animations-js/web-animations.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations.min.js.map +1 -0
- data/assets/bower_components/webcomponentsjs/.bower.json +30 -0
- data/assets/bower_components/webcomponentsjs/CustomElements.js +1029 -0
- data/assets/bower_components/webcomponentsjs/CustomElements.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/HTMLImports.js +1157 -0
- data/assets/bower_components/webcomponentsjs/HTMLImports.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/MutationObserver.js +350 -0
- data/assets/bower_components/webcomponentsjs/MutationObserver.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/README.md +155 -0
- data/assets/bower_components/webcomponentsjs/ShadowDOM.js +4496 -0
- data/assets/bower_components/webcomponentsjs/ShadowDOM.min.js +13 -0
- data/assets/bower_components/webcomponentsjs/bower.json +21 -0
- data/assets/bower_components/webcomponentsjs/build.log +527 -0
- data/assets/bower_components/webcomponentsjs/package.json +31 -0
- data/assets/bower_components/webcomponentsjs/webcomponents-lite.js +2505 -0
- data/assets/bower_components/webcomponentsjs/webcomponents-lite.min.js +12 -0
- data/assets/bower_components/webcomponentsjs/webcomponents.js +7209 -0
- data/assets/bower_components/webcomponentsjs/webcomponents.min.js +14 -0
- data/assets/css/highlighter.css +80 -0
- data/assets/css/simplegrid.css +287 -0
- data/assets/css/style.css +45 -0
- metadata +1078 -0
@@ -0,0 +1,172 @@
|
|
1
|
+
|
2
|
+
Quick Start
|
3
|
+
-----------
|
4
|
+
|
5
|
+
To provide native Chrome Web Animation features (`Element.animate` and Playback
|
6
|
+
Control) in other browsers, use `web-animations.min.js`. To explore all of the
|
7
|
+
proposed Web Animations API, use `web-animations-next.min.js`.
|
8
|
+
|
9
|
+
What is Web Animations?
|
10
|
+
-----------------------
|
11
|
+
|
12
|
+
Web Animations is a new JavaScript API for driving animated content on the web.
|
13
|
+
By unifying the animation features of SVG and CSS, Web Animations unlocks
|
14
|
+
features previously only usable declaratively, and exposes powerful,
|
15
|
+
high-performance animation capabilities to developers.
|
16
|
+
|
17
|
+
For more details see the
|
18
|
+
[W3C specification](http://w3c.github.io/web-animations/).
|
19
|
+
|
20
|
+
What is the polyfill?
|
21
|
+
---------------------
|
22
|
+
|
23
|
+
The polyfill is a JavaScript implementation of the Web Animations API. It is
|
24
|
+
supported on modern versions of all major browsers, including:
|
25
|
+
|
26
|
+
* Chrome
|
27
|
+
* Firefox 27+
|
28
|
+
* IE10+ (including Edge)
|
29
|
+
* Safari (iOS) 7.1+
|
30
|
+
* Safari (Mac) 9+
|
31
|
+
|
32
|
+
Getting Started
|
33
|
+
---------------
|
34
|
+
|
35
|
+
Here's a simple example of an animation that scales and changes the opacity of
|
36
|
+
a `<div>` over 0.5 seconds. The animation alternates producing a pulsing
|
37
|
+
effect.
|
38
|
+
|
39
|
+
```html
|
40
|
+
<script src="web-animations.min.js"></script>
|
41
|
+
<div class="pulse" style="width:150px;">Hello world!</div>
|
42
|
+
<script>
|
43
|
+
var elem = document.querySelector('.pulse');
|
44
|
+
var animation = elem.animate([
|
45
|
+
{opacity: 0.5, transform: "scale(0.5)"},
|
46
|
+
{opacity: 1.0, transform: "scale(1)"}
|
47
|
+
], {
|
48
|
+
direction: 'alternate',
|
49
|
+
duration: 500,
|
50
|
+
iterations: Infinity
|
51
|
+
});
|
52
|
+
</script>
|
53
|
+
```
|
54
|
+
|
55
|
+
Web Animations supports off-main-thread animations, and also allows procedural
|
56
|
+
generation of animations and fine-grained control of animation playback. See
|
57
|
+
<http://web-animations.github.io> for ideas and inspiration - or [web-animations-codelabs](https://github.com/web-animations/web-animations-codelabs).
|
58
|
+
|
59
|
+
Native Fallback
|
60
|
+
---------------
|
61
|
+
|
62
|
+
When the polyfill runs on a browser that implements `Element.animate` and
|
63
|
+
`Animation` Playback Control it will detect and use the underlying native
|
64
|
+
features.
|
65
|
+
|
66
|
+
Different Build Targets
|
67
|
+
-----------------------
|
68
|
+
|
69
|
+
### web-animations.min.js
|
70
|
+
|
71
|
+
Tracks the Web Animations features that are supported natively in browsers.
|
72
|
+
Today that means Element.animate and Playback Control in Chrome. If you’re not
|
73
|
+
sure what features you will need, start with this.
|
74
|
+
|
75
|
+
### web-animations-next.min.js
|
76
|
+
|
77
|
+
Contains all of web-animations.min.js plus features that are still undergoing
|
78
|
+
discussion or have yet to be implemented natively.
|
79
|
+
|
80
|
+
### web-animations-next-lite.min.js
|
81
|
+
|
82
|
+
A cut down version of web-animations-next, it removes several lesser used
|
83
|
+
property handlers and some of the larger and less used features such as matrix
|
84
|
+
interpolation/decomposition.
|
85
|
+
|
86
|
+
### Build Target Comparison
|
87
|
+
|
88
|
+
| | web-animations | web-animations-next | web-animations-next-lite |
|
89
|
+
|------------------------|:--------------:|:-------------------:|:------------------------:|
|
90
|
+
|Size (gzipped) | 15KB | 18KB | 15KB |
|
91
|
+
|Element.animate | ✔ | ✔ | ✔ |
|
92
|
+
|Timing input (easings, duration, fillMode, etc.) for animation effects| ✔ | ✔ | ✔ |
|
93
|
+
|Playback control | ✔ | ✔ | ✔ |
|
94
|
+
|Support for animating lengths, transforms and opacity| ✔ | ✔ | ✔ |
|
95
|
+
|Support for animating other CSS properties| ✔ | ✔ | 🚫 |
|
96
|
+
|Matrix fallback for transform animations | ✔ | ✔ | 🚫 |
|
97
|
+
|KeyframeEffect constructor | 🚫 | ✔ | ✔ |
|
98
|
+
|Simple GroupEffects & SequenceEffects | 🚫 | ✔ | ✔ |
|
99
|
+
|Custom Effects | 🚫 | ✔ | ✔ |
|
100
|
+
|Timing input (easings, duration, fillMode, etc.) for groups</div>| 🚫 | 🚫\* | 🚫 |
|
101
|
+
|Additive animation | 🚫\* | 🚫\* | 🚫 |
|
102
|
+
|Motion path | 🚫\* | 🚫\* | 🚫 |
|
103
|
+
|Modifiable keyframe effect timing| 🚫 | 🚫\* | 🚫\* |
|
104
|
+
|Modifiable group timing | 🚫 | 🚫\* | 🚫\* |
|
105
|
+
|Usable inline style\*\* | ✔ | ✔ | 🚫 |
|
106
|
+
|
107
|
+
\* support is planned for these features.
|
108
|
+
\*\* see inline style caveat below.
|
109
|
+
|
110
|
+
Caveats
|
111
|
+
-------
|
112
|
+
|
113
|
+
Some things won’t ever be faithful to the native implementation due to browser
|
114
|
+
and CSS API limitations. These include:
|
115
|
+
|
116
|
+
### Inline Style
|
117
|
+
|
118
|
+
Inline style modification is the mechanism used by the polyfill to animate
|
119
|
+
properties. Both web-animations and web-animations-next incorporate a module
|
120
|
+
that emulates a vanilla inline style object, so that style modification from
|
121
|
+
JavaScript can still work in the presence of animations. However, to keep the
|
122
|
+
size of web-animations-next-lite as small as possible, the style emulation
|
123
|
+
module is not included. When using this version of the polyfill, JavaScript
|
124
|
+
inline style modification will be overwritten by animations.
|
125
|
+
Due to browser constraints inline style modification is not supported on iOS 7
|
126
|
+
or Safari 6 (or earlier versions).
|
127
|
+
|
128
|
+
### Prefix handling
|
129
|
+
|
130
|
+
The polyfill will automatically detect the correctly prefixed name to use when
|
131
|
+
writing animated properties back to the platform. Where possible, the polyfill
|
132
|
+
will only accept unprefixed versions of experimental features. For example:
|
133
|
+
|
134
|
+
```js
|
135
|
+
var effect = new KeyframeEffect(elem, {"transform": "translate(100px, 100px)"}, 2000);
|
136
|
+
```
|
137
|
+
|
138
|
+
will work in all browsers that implement a conforming version of transform, but
|
139
|
+
|
140
|
+
```js
|
141
|
+
var effect = new KeyframeEffect(elem, {"-webkit-transform": "translate(100px, 100px)"}, 2000);
|
142
|
+
```
|
143
|
+
|
144
|
+
will not work anywhere.
|
145
|
+
|
146
|
+
API and Specification Feedback
|
147
|
+
------------------------------
|
148
|
+
|
149
|
+
File an issue on GitHub: <https://github.com/w3c/web-animations/issues/new>.
|
150
|
+
Alternatively, send an email to <public-fx@w3.org> with subject line
|
151
|
+
“[web-animations] … message topic …”
|
152
|
+
([archives](http://lists.w3.org/Archives/Public/public-fx/)).
|
153
|
+
|
154
|
+
Polyfill Issues
|
155
|
+
---------------
|
156
|
+
|
157
|
+
Report any issues with this implementation on GitHub:
|
158
|
+
<https://github.com/web-animations/web-animations-next/issues/new>.
|
159
|
+
|
160
|
+
Breaking changes
|
161
|
+
----------------
|
162
|
+
|
163
|
+
When we make a potentially breaking change to the polyfill's API
|
164
|
+
surface (like a rename) we will, where possible, continue supporting the
|
165
|
+
old version, deprecated, for three months, and ensure that there are
|
166
|
+
console warnings to indicate that a change is pending. After three
|
167
|
+
months, the old version of the API surface (e.g. the old version of a
|
168
|
+
function name) will be removed. *If you see deprecation warnings you
|
169
|
+
can't avoid it by not updating*.
|
170
|
+
|
171
|
+
We also announce anything that isn't a bug fix on
|
172
|
+
[web-animations-changes@googlegroups.com](https://groups.google.com/forum/#!forum/web-animations-changes).
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"name": "web-animations-js",
|
3
|
+
"description": "JavaScript implementation of the Web Animations API",
|
4
|
+
"homepage": "https://github.com/web-animations/web-animations-js",
|
5
|
+
"main": "web-animations.min.js",
|
6
|
+
"moduleType": [
|
7
|
+
"globals"
|
8
|
+
],
|
9
|
+
"keywords": [
|
10
|
+
"animations",
|
11
|
+
"polyfill"
|
12
|
+
],
|
13
|
+
"license": "Apache-2.0",
|
14
|
+
"ignore": [
|
15
|
+
"**/.*",
|
16
|
+
"node_modules",
|
17
|
+
"templates",
|
18
|
+
"test",
|
19
|
+
"src",
|
20
|
+
"Gruntfile.js",
|
21
|
+
"package.json",
|
22
|
+
"target-config.js",
|
23
|
+
"target-loader.js",
|
24
|
+
"web-animations.dev.html",
|
25
|
+
"web-animations.dev.js",
|
26
|
+
"web-animations-next.dev.html",
|
27
|
+
"web-animations-next.dev.js",
|
28
|
+
"web-animations-next-lite.dev.html",
|
29
|
+
"web-animations-next-lite.dev.js"
|
30
|
+
]
|
31
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Copyright 2014 Google Inc. All rights reserved.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
!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,
|
16
|
+
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}());
|
17
|
+
//# sourceMappingURL=web-animations-next-lite.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/keyframe-interpolations.js","src/web-animations-bonus-cancel-events.js","src/web-animations-bonus-object-form-keyframes.js","src/timeline.js","src/web-animations-next-animation.js","src/keyframe-effect-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","testing","cloneTimingInput","timingInput","clone","m","AnimationEffectTiming","this","_delay","_endDelay","_fill","_iterationStart","_iterations","_duration","_playbackRate","_direction","_easing","_easingFunction","linear","isInvalidTimingDeprecated","isDeprecated","makeTiming","forGroup","effect","timing","fill","duration","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","numericTimingToObject","normalizeTimingInput","cubic","a","b","c","d","x","f","start_gradient","end_gradient","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","normalizeEasing","easing","styleForCleaning","document","createElement","style","animationTimingFunction","normalizedEasing","TypeError","parseEasingFunction","cubicData","cubicBezierRe","exec","apply","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","playbackRate","iterations","calculatePhase","activeDuration","localTime","PhaseNone","endTime","delay","endDelay","min","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode","phase","calculateOverallProgress","iterationDuration","activeTime","iterationStart","overallProgress","calculateSimpleIterationProgress","simpleIterationProgress","Infinity","calculateCurrentIteration","floor","calculateDirectedProgress","playbackDirection","currentIteration","currentDirection","calculateIterationProgress","directedProgress","direction","split","prototype","_setMember","member","value","_effect","_timingInput","_timing","_animation","_rebuildUnderlyingAnimation","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","numberString","RegExp","antiAlias","aliases","isNotAnimatable","lastIndexOf","expandShorthandAndAntiAlias","result","longProperties","shorthandToLonghand","shorthandExpanderElem","i","longProperty","longhandValue","convertToArrayForm","effectInput","normalizedEffectInput","values","Array","isArray","keyframe","numKeyframes","length","offset","composite","push","sort","normalizeKeyframes","spaceKeyframes","keyframes","previousIndex","previousOffset","j","window","Symbol","iterator","from","originalKeyframe","memberValue","isFinite","type","DOMException","NOT_SUPPORTED_ERR","name","message","everyFrameHasOffset","filter","background","border","borderBottom","borderColor","borderLeft","borderRadius","borderRight","borderTop","borderWidth","flex","font","margin","outline","padding","createElementNS","borderWidthAliases","thin","medium","thick","borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","fontSize","xx-small","x-small","small","large","x-large","xx-large","fontWeight","normal","bold","outlineWidth","textShadow","none","boxShadow","silenced","feature","date","advice","plural","auxVerb","today","Date","expiry","setMonth","getMonth","console","warn","toDateString","deprecated","Error","matrixModulesLoaded","merged","makePropertySpecificKeyframeGroups","rightResult","propertySpecificKeyframeGroups","typeTo3D","rightArgs","propertySpecificKeyframe","groupName","group","tmp","leftResult","list","args","makeInterpolations","interpolations","types","join","px","startIndex","endIndex","startOffset","endOffset","applyTo","applyFrom","cast","easingFunction","interpolation","scope","propertyInterpolation","_","leftInterpolation","rightInterpolation","convertEffectInput","alias","fraction","offsetFraction","animate","oncancel","now","performance","AnimationCancelEvent","target","currentTime","timelineTime","bubbles","cancelable","currentTarget","defaultPrevented","eventPhase","Event","AT_TARGET","timeStamp","originalElementAnimate","Element","options","animation","call","_cancelHandlers","originalCancel","cancel","event","handlers","concat","setTimeout","handler","originalAddEventListener","addEventListener","originalRemoveEventListener","removeEventListener","index","splice","element","documentElement","animated","originalOpacity","getComputedStyle","getPropertyValue","testOpacity","opacity","error","webAnimationsNextTick","t","timeline","_discardAnimations","_animations","ticking","requestAnimationFrame","originalRequestAnimationFrame","_updateAnimationsPromises","AnimationTimeline","getAnimations","animationsWithPromises","_updatePromises","playState","_play","Animation","restartWebAnimationsNextTick","play","remove","defineProperty","configurable","get","e","id","_id","_timeline","_sequenceNumber","sequenceNumber","_holdTime","_paused","_isGroup","_childAnimations","_callback","_oldPlayState","oldPlayState","newPlayState","_readyPromise","_rejectReadyPromise","_resolveReadyPromise","_finishedPromise","_rejectFinishedPromise","_resolveFinishedPromise","oldPlaybackRate","oldPaused","oldStartTime","oldCurrentTime","hadUnderlying","startTime","_wrapper","KeyframeEffect","newUnderlyingAnimationForKeyframeEffect","bindAnimationForKeyframeEffect","SequenceEffect","GroupEffect","newUnderlyingAnimationForGroup","bindAnimationForGroup","_onsample","bindAnimationForCustomEffect","pause","_updateChildren","childAnimation","_arrangeChildren","groupChildDuration","bind","_setExternalAnimation","children","_constructChildAnimations","_removeChildAnimations","child","finished","Promise","resolve","reject","ABORT_ERR","ready","onfinish","v","sign","MAX_VALUE","_register","_forEachChild","awaitStartTime","time","finish","reverse","wrapped","pop","KeyframeList","_frames","updatePendingGroups","updated","pendingGroups","shift","disassociate","removeMulti","effects","oldParents","_parent","_rebuild","_normalizedKeyframes","_keyframes","getFrames","onsample","callback","parent","nullTarget","keyframeEffect","groupAnimation","originalGetComputedStyle","enumerable","arguments","register","_registered","callbacks","tick","updating","left","right","effectFunction","isKeyframeEffect","last","node","constructor","_reparent","_isAncestor","newChildren","_putChild","isAppend","HIERARCHY_REQUEST_ERR","unshift","append","prepend","firstChild","lastChild","clonedTiming","clonedChildren","create","total","max","underlyingAnimation","ticker","tf","underlyingEffect","exports"],"mappings":";;;;;;;;;;;;;;CAcA,SAAIA,EAAAA,GAAJ,GAAIA,MACAC,KACAC,KAGEC,EAAuB,MCL7B,SAAUC,EAAQC,GAMhB,QAASC,GAAiBC,GACxB,GAA0B,gBAAfA,GACT,MAAOA,EAET,IAAIC,KACJ,KAAK,GAAIC,KAAKF,GACZC,EAAMC,GAAKF,EAAYE,EAEzB,OAAOD,GAGT,QAASE,KACPC,KAAKC,OAAS,EACdD,KAAKE,UAAY,EACjBF,KAAKG,MAAQ,OACbH,KAAKI,gBAAkB,EACvBJ,KAAKK,YAAc,EACnBL,KAAKM,UAAY,EACjBN,KAAKO,cAAgB,EACrBP,KAAKQ,WAAa,SAClBR,KAAKS,QAAU,SACfT,KAAKU,gBAAkBC,EAGzB,QAASC,KACP,MAAOnB,GAAOoB,aAAa,wBAAyB,aAAc,gDAAA,GA8EpE,QAASC,GAAWlB,EAAamB,EAAUC,GACzC,GAAIC,GAAS,GAAIlB,EA4BjB,OA3BIgB,KACFE,EAAOC,KAAO,OACdD,EAAOE,SAAW,QAEM,gBAAfvB,IAA4BwB,MAAMxB,GAElByB,SAAhBzB,GACT0B,OAAOC,oBAAoB3B,GAAa4B,QAAQ,SAASC,GACvD,GAA6B,QAAzB7B,EAAY6B,GAAqB,CACnC,IAA+B,gBAApBR,GAAOQ,IAAqC,YAAZA,KAC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7BsE,EAAMlZ,KAAKkZ,IAAIA,EAAK5E,EAAmBM,MAElCsE,KAIf/L,EAAM2G,+BAAiC,SAAS9H,GAC9C,GAAImN,GACA9a,EAAS,KACT+a,EAAS,SAASC,GACpB,GAAItK,GAAYoK,EAAoB3F,QACpC,IAAKzE,GAGsB,WAAvBA,EAAUsC,WAGTtC,EAAU3Q,OAGf,MAAU,OAANib,MACFtK,GAAU4F,yBAQF,GAAN0E,GAAWtK,EAAU9M,aAAe,IACjC5D,IACHA,EAASxB,EAAOqC,qBAAqB6P,EAAU3Q,OAAOC,SAExDgb,EAAKxc,EAAOkH,2BAA2BlH,EAAOkF,wBAAwB1D,IAAAA,EAAaA,GAC/EG,MAAM6a,IAAa,MAANA,IACftK,EAAUyG,cAAc,SAASZ,GAC/BA,EAAM1G,aAAAA,QAERa,GAAU4F,0BATd,QAeE2E,EAAmB,GAAI7F,gBAAe,QAAUzH,EAAMvH,QAASuH,EAAMgG,IAGzE,OAFAsH,GAAiBxC,SAAWsC,EAC5BD,EAAsBhM,EAAMuD,SAASY,MAAMgI,IAI7CnM,EAAM4G,sBAAwB,SAAShF,GACrCA,EAAUrK,WAAW8O,SAAWzE,EAChCA,EAAUuD,UAAAA,EACVnF,EAAMsI,eAAe1G,GACrBA,EAAU2F,4BACV3F,EAAUyF,sBAAsBzF,IAGlC5B,EAAMmH,mBAAqBA,GAE1B7X,EAAqBE,EAAmBC,GX3LvCD,EAAAA,KAEJ4c,MACM3c,WAAAA,MAAuBQ","file":"web-animations-next-lite.min.js"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Copyright 2014 Google Inc. All rights reserved.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
!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){function c(a,b,c){c.enumerable=!0,c.configurable=!0,Object.defineProperty(a,b,c)}function d(a){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=a.style,this._length=0,this._isAnimatedProperty={};for(var b=0;b<this._style.length;b++){var c=this._style[b];this._surrogateStyle[c]=this._style[c]}this._updateIndices()}function e(a){if(!a._webAnimationsPatchedStyle){var b=new d(a);try{c(a,"style",{get:function(){return b}})}catch(b){a.style._set=function(b,c){a.style[b]=c},a.style._clear=function(b){a.style[b]=""}}a._webAnimationsPatchedStyle=a.style}}var f={cssText:1,length:1,parentRule:1},g={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},h={removeProperty:1,setProperty:1};d.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(a){for(var b={},c=0;c<this._surrogateStyle.length;c++)b[this._surrogateStyle[c]]=!0;this._surrogateStyle.cssText=a,this._updateIndices();for(var c=0;c<this._surrogateStyle.length;c++)b[this._surrogateStyle[c]]=!0;for(var d in b)this._isAnimatedProperty[d]||this._style.setProperty(d,this._surrogateStyle.getPropertyValue(d))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(a){return function(){return this._surrogateStyle[a]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(a,b){this._style[a]=b,this._isAnimatedProperty[a]=!0},_clear:function(a){this._style[a]=this._surrogateStyle[a],delete this._isAnimatedProperty[a]}};for(var i in g)d.prototype[i]=function(a,b){return function(){var c=this._surrogateStyle[a].apply(this._surrogateStyle,arguments);return b&&(this._isAnimatedProperty[arguments[0]]||this._style[a].apply(this._style,arguments),this._updateIndices()),c}}(i,i in h);for(var j in document.documentElement.style)j in f||j in g||!function(a){c(d.prototype,a,{get:function(){return this._surrogateStyle[a]},set:function(b){this._surrogateStyle[a]=b,this._updateIndices(),this._isAnimatedProperty[a]||(this._style[a]=b)}})}(j);a.apply=function(b,c,d){e(b),b.style._set(a.propertyName(c),d)},a.clear=function(b,c){b._webAnimationsPatchedStyle&&b.style._clear(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){function c(a,b,c){return Math.max(Math.min(a,c),b)}function d(b,d,e){var f=a.dot(b,d);f=c(f,-1,1);var g=[];if(1===f)g=b;else for(var h=Math.acos(f),i=1*Math.sin(e*h)/Math.sqrt(1-f*f),j=0;j<4;j++)g.push(b[j]*(Math.cos(e*h)-f*i)+d[j]*i);return g}var e=function(){function a(a,b){for(var c=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],d=0;d<4;d++)for(var e=0;e<4;e++)for(var f=0;f<4;f++)c[d][e]+=b[d][f]*a[f][e];return c}function b(a){return 0==a[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]}function c(c,d,e,f,g){for(var h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],i=0;i<4;i++)h[i][3]=g[i];for(var i=0;i<3;i++)for(var j=0;j<3;j++)h[3][i]+=c[j]*h[j][i];var k=f[0],l=f[1],m=f[2],n=f[3],o=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];o[0][0]=1-2*(l*l+m*m),o[0][1]=2*(k*l-m*n),o[0][2]=2*(k*m+l*n),o[1][0]=2*(k*l+m*n),o[1][1]=1-2*(k*k+m*m),o[1][2]=2*(l*m-k*n),o[2][0]=2*(k*m-l*n),o[2][1]=2*(l*m+k*n),o[2][2]=1-2*(k*k+l*l),h=a(h,o);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];e[2]&&(p[2][1]=e[2],h=a(h,p)),e[1]&&(p[2][1]=0,p[2][0]=e[0],h=a(h,p)),e[0]&&(p[2][0]=0,p[1][0]=e[0],h=a(h,p));for(var i=0;i<3;i++)for(var j=0;j<3;j++)h[i][j]*=d[i];return b(h)?[h[0][0],h[0][1],h[1][0],h[1][1],h[3][0],h[3][1]]:h[0].concat(h[1],h[2],h[3])}return c}();a.composeMatrix=e,a.quat=d}(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,b){function c(a,b){for(var c=0,d=0;d<a.length;d++)c+=a[d]*b[d];return c}function d(a,b){return[a[0]*b[0]+a[4]*b[1]+a[8]*b[2]+a[12]*b[3],a[1]*b[0]+a[5]*b[1]+a[9]*b[2]+a[13]*b[3],a[2]*b[0]+a[6]*b[1]+a[10]*b[2]+a[14]*b[3],a[3]*b[0]+a[7]*b[1]+a[11]*b[2]+a[15]*b[3],a[0]*b[4]+a[4]*b[5]+a[8]*b[6]+a[12]*b[7],a[1]*b[4]+a[5]*b[5]+a[9]*b[6]+a[13]*b[7],a[2]*b[4]+a[6]*b[5]+a[10]*b[6]+a[14]*b[7],a[3]*b[4]+a[7]*b[5]+a[11]*b[6]+a[15]*b[7],a[0]*b[8]+a[4]*b[9]+a[8]*b[10]+a[12]*b[11],a[1]*b[8]+a[5]*b[9]+a[9]*b[10]+a[13]*b[11],a[2]*b[8]+a[6]*b[9]+a[10]*b[10]+a[14]*b[11],a[3]*b[8]+a[7]*b[9]+a[11]*b[10]+a[15]*b[11],a[0]*b[12]+a[4]*b[13]+a[8]*b[14]+a[12]*b[15],a[1]*b[12]+a[5]*b[13]+a[9]*b[14]+a[13]*b[15],a[2]*b[12]+a[6]*b[13]+a[10]*b[14]+a[14]*b[15],a[3]*b[12]+a[7]*b[13]+a[11]*b[14]+a[15]*b[15]]}function e(a){var b=a.rad||0,c=a.deg||0,d=a.grad||0,e=a.turn||0,f=(c/360+d/400+e)*(2*Math.PI)+b;return f}function f(a){switch(a.t){case"rotatex":var b=e(a.d[0]);return[1,0,0,0,0,Math.cos(b),Math.sin(b),0,0,-Math.sin(b),Math.cos(b),0,0,0,0,1];case"rotatey":var b=e(a.d[0]);return[Math.cos(b),0,-Math.sin(b),0,0,1,0,0,Math.sin(b),0,Math.cos(b),0,0,0,0,1];case"rotate":case"rotatez":var b=e(a.d[0]);return[Math.cos(b),Math.sin(b),0,0,-Math.sin(b),Math.cos(b),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var c=a.d[0],d=a.d[1],f=a.d[2],b=e(a.d[3]),g=c*c+d*d+f*f;if(0===g)c=1,d=0,f=0;else if(1!==g){var h=Math.sqrt(g);c/=h,d/=h,f/=h}var i=Math.sin(b/2),j=i*Math.cos(b/2),k=i*i;return[1-2*(d*d+f*f)*k,2*(c*d*k+f*j),2*(c*f*k-d*j),0,2*(c*d*k-f*j),1-2*(c*c+f*f)*k,2*(d*f*k+c*j),0,2*(c*f*k+d*j),2*(d*f*k-c*j),1-2*(c*c+d*d)*k,0,0,0,0,1];case"scale":return[a.d[0],0,0,0,0,a.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[a.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,a.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,a.d[0],0,0,0,0,1];case"scale3d":return[a.d[0],0,0,0,0,a.d[1],0,0,0,0,a.d[2],0,0,0,0,1];case"skew":var l=e(a.d[0]),m=e(a.d[1]);return[1,Math.tan(m),0,0,Math.tan(l),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var b=e(a.d[0]);return[1,0,0,0,Math.tan(b),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var b=e(a.d[0]);return[1,Math.tan(b),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var c=a.d[0].px||0,d=a.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,d,0,1];case"translatex":var c=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,0,0,1];case"translatey":var d=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,d,0,1];case"translatez":var f=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,f,1];case"translate3d":var c=a.d[0].px||0,d=a.d[1].px||0,f=a.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,d,f,1];case"perspective":var n=a.d[0].px?-1/a.d[0].px:0;return[1,0,0,0,0,1,0,0,0,0,1,n,0,0,0,1];case"matrix":return[a.d[0],a.d[1],0,0,a.d[2],a.d[3],0,0,0,0,1,0,a.d[4],a.d[5],0,1];case"matrix3d":return a.d}}function g(a){return 0===a.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:a.map(f).reduce(d)}function h(a){return[i(g(a))]}var i=function(){function a(a){return a[0][0]*a[1][1]*a[2][2]+a[1][0]*a[2][1]*a[0][2]+a[2][0]*a[0][1]*a[1][2]-a[0][2]*a[1][1]*a[2][0]-a[1][2]*a[2][1]*a[0][0]-a[2][2]*a[0][1]*a[1][0]}function b(b){for(var c=1/a(b),d=b[0][0],e=b[0][1],f=b[0][2],g=b[1][0],h=b[1][1],i=b[1][2],j=b[2][0],k=b[2][1],l=b[2][2],m=[[(h*l-i*k)*c,(f*k-e*l)*c,(e*i-f*h)*c,0],[(i*j-g*l)*c,(d*l-f*j)*c,(f*g-d*i)*c,0],[(g*k-h*j)*c,(j*e-d*k)*c,(d*h-e*g)*c,0]],n=[],o=0;o<3;o++){for(var p=0,q=0;q<3;q++)p+=b[3][q]*m[q][o];n.push(p)}return n.push(1),m.push(n),m}function d(a){return[[a[0][0],a[1][0],a[2][0],a[3][0]],[a[0][1],a[1][1],a[2][1],a[3][1]],[a[0][2],a[1][2],a[2][2],a[3][2]],[a[0][3],a[1][3],a[2][3],a[3][3]]]}function e(a,b){for(var c=[],d=0;d<4;d++){for(var e=0,f=0;f<4;f++)e+=a[f]*b[f][d];c.push(e)}return c}function f(a){var b=g(a);return[a[0]/b,a[1]/b,a[2]/b]}function g(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2])}function h(a,b,c,d){return[c*a[0]+d*b[0],c*a[1]+d*b[1],c*a[2]+d*b[2]]}function i(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function j(j){var k=[j.slice(0,4),j.slice(4,8),j.slice(8,12),j.slice(12,16)];if(1!==k[3][3])return null;for(var l=[],m=0;m<4;m++)l.push(k[m].slice());for(var m=0;m<3;m++)l[m][3]=0;if(0===a(l))return!1;var n,o=[];if(k[0][3]||k[1][3]||k[2][3]){o.push(k[0][3]),o.push(k[1][3]),o.push(k[2][3]),o.push(k[3][3]);var p=b(l),q=d(p);n=e(o,q)}else n=[0,0,0,1];var r=k[3].slice(0,3),s=[];s.push(k[0].slice(0,3));var t=[];t.push(g(s[0])),s[0]=f(s[0]);var u=[];s.push(k[1].slice(0,3)),u.push(c(s[0],s[1])),s[1]=h(s[1],s[0],1,-u[0]),t.push(g(s[1])),s[1]=f(s[1]),u[0]/=t[1],s.push(k[2].slice(0,3)),u.push(c(s[0],s[2])),s[2]=h(s[2],s[0],1,-u[1]),u.push(c(s[1],s[2])),s[2]=h(s[2],s[1],1,-u[2]),t.push(g(s[2])),s[2]=f(s[2]),u[1]/=t[2],u[2]/=t[2];var v=i(s[1],s[2]);if(c(s[0],v)<0)for(var m=0;m<3;m++)t[m]*=-1,s[m][0]*=-1,s[m][1]*=-1,s[m][2]*=-1;var w,x,y=s[0][0]+s[1][1]+s[2][2]+1;return y>1e-4?(w=.5/Math.sqrt(y),x=[(s[2][1]-s[1][2])*w,(s[0][2]-s[2][0])*w,(s[1][0]-s[0][1])*w,.25/w]):s[0][0]>s[1][1]&&s[0][0]>s[2][2]?(w=2*Math.sqrt(1+s[0][0]-s[1][1]-s[2][2]),x=[.25*w,(s[0][1]+s[1][0])/w,(s[0][2]+s[2][0])/w,(s[2][1]-s[1][2])/w]):s[1][1]>s[2][2]?(w=2*Math.sqrt(1+s[1][1]-s[0][0]-s[2][2]),x=[(s[0][1]+s[1][0])/w,.25*w,(s[1][2]+s[2][1])/w,(s[0][2]-s[2][0])/w]):(w=2*Math.sqrt(1+s[2][2]-s[0][0]-s[1][1]),x=[(s[0][2]+s[2][0])/w,(s[1][2]+s[2][1])/w,.25*w,(s[1][0]-s[0][1])/w]),[r,t,u,x,n]}return j}();a.dot=c,a.makeMatrixDecomposition=h}(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];
|
16
|
+
}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){function b(a){var b=Number(a);if(!(isNaN(b)||b<100||b>900||b%100!==0))return b}function c(b){return b=100*Math.round(b/100),b=a.clamp(100,900,b),400===b?"normal":700===b?"bold":String(b)}function d(a,b){return[a,b,c]}a.addPropertiesHandler(b,d,["font-weight"])}(d),function(a){function b(a){var b={};for(var c in a)b[c]=-a[c];return b}function c(b){return a.consumeToken(/^(left|center|right|top|bottom)\b/i,b)||a.consumeLengthOrPercent(b)}function d(b,d){var e=a.consumeRepeated(c,/^/,d);if(e&&""==e[1]){var f=e[0];if(f[0]=f[0]||"center",f[1]=f[1]||"center",3==b&&(f[2]=f[2]||{px:0}),f.length==b){if(/top|bottom/.test(f[0])||/left|right/.test(f[1])){var h=f[0];f[0]=f[1],f[1]=h}if(/left|right|center|Object/.test(f[0])&&/top|bottom|center|Object/.test(f[1]))return f.map(function(a){return"object"==typeof a?a:g[a]})}}}function e(d){var e=a.consumeRepeated(c,/^/,d);if(e){for(var f=e[0],h=[{"%":50},{"%":50}],i=0,j=!1,k=0;k<f.length;k++){var l=f[k];"string"==typeof l?(j=/bottom|right/.test(l),i={left:0,right:0,center:i,top:1,bottom:1}[l],h[i]=g[l],"center"==l&&i++):(j&&(l=b(l),l["%"]=(l["%"]||0)+100),h[i]=l,i++,j=!1)}return[h,e[1]]}}function f(b){var c=a.consumeRepeated(e,/^,/,b);if(c&&""==c[1])return c[0]}var g={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},h=a.mergeNestedRepeated.bind(null,a.mergeDimensions," ");a.addPropertiesHandler(d.bind(null,3),h,["transform-origin"]),a.addPropertiesHandler(d.bind(null,2),h,["perspective-origin"]),a.consumePosition=e,a.mergeOffsetList=h;var i=a.mergeNestedRepeated.bind(null,h,", ");a.addPropertiesHandler(f,i,["background-position","object-position"])}(d),function(a){function b(b){var c=a.consumeToken(/^circle/,b);if(c&&c[0])return["circle"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),d,a.ignore(a.consumeToken.bind(void 0,/^at/)),a.consumePosition,a.ignore(a.consumeToken.bind(void 0,/^\)/))],c[1]));var f=a.consumeToken(/^ellipse/,b);if(f&&f[0])return["ellipse"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),e,a.ignore(a.consumeToken.bind(void 0,/^at/)),a.consumePosition,a.ignore(a.consumeToken.bind(void 0,/^\)/))],f[1]));var g=a.consumeToken(/^polygon/,b);return g&&g[0]?["polygon"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),a.optional(a.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),a.consumeSizePairList,a.ignore(a.consumeToken.bind(void 0,/^\)/))],g[1])):void 0}function c(b,c){if(b[0]===c[0])return"circle"==b[0]?a.mergeList(b.slice(1),c.slice(1),["circle(",a.mergeDimensions," at ",a.mergeOffsetList,")"]):"ellipse"==b[0]?a.mergeList(b.slice(1),c.slice(1),["ellipse(",a.mergeNonNegativeSizePair," at ",a.mergeOffsetList,")"]):"polygon"==b[0]&&b[1]==c[1]?a.mergeList(b.slice(2),c.slice(2),["polygon(",b[1],g,")"]):void 0}var d=a.consumeParenthesised.bind(null,a.parseLengthOrPercent),e=a.consumeRepeated.bind(void 0,d,/^/),f=a.mergeNestedRepeated.bind(void 0,a.mergeDimensions," "),g=a.mergeNestedRepeated.bind(void 0,f,",");a.addPropertiesHandler(b,c,["shape-outside"])}(d),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}());
|
17
|
+
//# sourceMappingURL=web-animations-next.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/keyframe-interpolations.js","src/property-interpolation.js","src/keyframe-effect.js","src/apply-preserving-inline-style.js","src/element-animatable.js","src/interpolation.js","src/matrix-interpolation.js","src/animation.js","src/tick.js","src/web-animations-bonus-cancel-events.js","src/web-animations-bonus-object-form-keyframes.js","src/timeline.js","src/web-animations-next-animation.js","src/keyframe-effect-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","testing","cloneTimingInput","timingInput","clone","m","AnimationEffectTiming","this","_delay","_endDelay","_fill","_iterationStart","_iterations","_duration","_playbackRate","_direction","_easing","_easingFunction","linear","isInvalidTimingDeprecated","isDeprecated","makeTiming","forGroup","effect","timing","fill","duration","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","numericTimingToObject","normalizeTimingInput","cubic","a","b","c","d","x","f","start_gradient","end_gradient","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","normalizeEasing","easing","styleForCleaning","document","createElement","style","animationTimingFunction","normalizedEasing","TypeError","parseEasingFunction","cubicData","cubicBezierRe","exec","apply","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","playbackRate","iterations","calculatePhase","activeDuration","localTime","PhaseNone","endTime","delay","endDelay","min","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode","phase","calculateOverallProgress","iterationDuration","activeTime","iterationStart","overallProgress","calculateSimpleIterationProgress","simpleIterationProgress","Infinity","calculateCurrentIteration","floor","calculateDirectedProgress","playbackDirection","currentIteration","currentDirection","calculateIterationProgress","directedProgress","direction","split","prototype","_setMember","member","value","_effect","_timingInput","_timing","_animation","_rebuildUnderlyingAnimation","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","numberString","RegExp","antiAlias","aliases","isNotAnimatable","lastIndexOf","expandShorthandAndAntiAlias","result","longProperties","shorthandToLonghand","shorthandExpanderElem","i","longProperty","longhandValue","convertToArrayForm","effectInput","normalizedEffectInput","values","Array","isArray","keyframe","numKeyframes","length","offset","composite","push","sort","normalizeKeyframes","spaceKeyframes","keyframes","previousIndex","previousOffset","j","window","Symbol","iterator","from","originalKeyframe","memberValue","isFinite","type","DOMException","NOT_SUPPORTED_ERR","name","message","everyFrameHasOffset","filter","background","border","borderBottom","borderColor","borderLeft","borderRadius","borderRight","borderTop","borderWidth","flex","font","margin","outline","padding","createElementNS","borderWidthAliases","thin","medium","thick","borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","fontSize","xx-small","x-small","small","large","x-large","xx-large","fontWeight","normal","bold","outlineWidth","textShadow","none","boxShadow","silenced","feature","date","advice","plural","auxVerb","today","Date","expiry","setMonth","getMonth","console","warn","toDateString","deprecated","Error","scope","left","makePropertySpecificKeyframeGroups","lengthReconstitution","propertySpecificKeyframeGroups","mergedDimensions","mergeDimensions","lengths","right","propertySpecificKeyframe","groupName","group","colorReconstitution","makeInterpolations","interpolations","color","startIndex","endIndex","startOffset","endOffset","applyFrom","applyTo","mergeNestedRepeated","easingFunction","interpolation","propertyInterpolation","string","leftInterpolation","rightInterpolation","convertEffectInput","mergePositiveIntegers","numberToString","fraction","max","offsetFraction","localDuration","scaledLocalTime","target","parseNumber","toCamelCase","replace","_","toUpperCase","addPropertyHandler","merger","propertyHandlers","parser","fillStyle","addPropertiesHandler","properties","fillRect","ucProperty","clearRect","pixelColor","alpha","initialValues","v","handlers","canvas","parsedLeft","parsedRight","interpolationArgs","mergeColors","t","Interpolation","consumeColor","bool","backgroundColor","parseDimension","backgroundPosition","borderBottomColor","trim","toLowerCase","borderBottomLeftRadius","search","borderBottomRightRadius","px","test","borderLeftColor","borderRightColor","borderSpacing","matchedUnits","borderTopColor","match","borderTopLeftRadius","borderTopRightRadius","taggedUnitRegExp","letterSpacing","lineHeight","marginBottom","marginLeft","reductions","marginRight","maxHeight","typeCheck","maxWidth","minHeight","minWidth","opacity","outlineColor","unit","outlineOffset","paddingBottom","paddingLeft","paddingRight","paddingTop","textIndent","top","verticalAlign","width","wordSpacing","zIndex","units","EffectTime","effectTime","_totalDuration","KeyframeEffect","join","timeFraction","keyframeEffect","parseLengthOrPercent","_update","parseAngle","_clear","_hasSameTarget","consumeParenthesised","bind","_target","NullEffect","clear","consumeRepeated","consumeSizePairList","nullEffect","consumeSizePair","parseSizePairList","configureProperty","descriptor","enumerable","mergeDimensionsNonNegative","AnimatedCSSStyleDeclaration","_surrogateStyle","element","_isAnimatedProperty","_style","_updateIndices","ensureStyleIsPatched","_webAnimationsPatchedStyle","animatedStyle","styleAttributes","cssText","styleMethods","getPropertyCSSValue","getPropertyPriority","getPropertyValue","item","removeProperty","setProperty","styleMutatingMethods","text","consumeToken","isAffectedProperty","parentRule","_length","defineProperty","configurable","get","index","mergeWrappedNestedRepeated","cast","pattern","method","prevLastIndex","modifiesStyle","arguments","documentElement","parsedArg","T","_set","propertyName","mergeMatrices","Element","options","id","timeline","_play","rightArgs","leftArgs","interpolate","quat","composeMatrix","list","to","r","typeTo3D","convertToString","matrixModulesLoaded","clamp","fromQ","toQ","product","dot","args","theta","acos","arg","w","rt","multiply","leftResult","rightResult","types","k","merged","translate","scale","skew","perspective","matrix","leftFunctionData","transformFunctions","isMatrixOrPerspective","leftType","z","rotMatrix","y","rightFunctionData","typeTo2D","rightType","temp","is2D","stringConversions","merge","sequenceNumber","AnimationEvent","currentTime","timelineTime","bubbles","cancelable","currentTarget","defaultPrevented","eventPhase","Event","AT_TARGET","now","Animation","_id","_sequenceNumber","_currentTime","_startTime","_paused","Opx","_inTimeline","onfinish","_finishHandlers","_idle","_currentTimePending","rotate3d","_ensureAlive","_inEffect","_finishedFlag","_animations","_tickCurrentTime","newTime","ignoreLimit","_isFinished","restart","_timeline","toCss","parse","applyDirtiedAnimation","startTime","oldCurrentTime","tokens","playState","slots","position","%","bottomOrRight","_rewind","center","token","out","offsetMap","negateDimension","play","consumePosition","pause","mergePositionList","reverse","addEventListener","input","handler","circle","removeEventListener","ignore","splice","_fireEvents","baseTime","ellipse","event","concat","setTimeout","call","_tick","isAnimationFrame","_needsTick","pending","running","mergeShapes","_targetAnimations","_activeAnimations","_markTarget","animations","mergeNonNegativeSizePair","_unmarkTarget","mergeOffsetList","processRafCallbacks","processing","rafCallbacks","compareAnimations","entry","applyPendingEffects","leftAnimation","rightAnimation","InternalTimeline","performance","alias","pendingEffects","tick","inTick","hasRestartedThisFrame","ticking","newPendingClears","newPendingEffects","activeAnimations","animate","oncancel","AnimationCancelEvent","timeStamp","originalElementAnimate","animation","_cancelHandlers","originalCancel","cancel","originalAddEventListener","originalRemoveEventListener","animated","originalOpacity","getComputedStyle","testOpacity","error","webAnimationsNextTick","_discardAnimations","requestAnimationFrame","originalRequestAnimationFrame","_updateAnimationsPromises","AnimationTimeline","getAnimations","animationsWithPromises","_updatePromises","restartWebAnimationsNextTick","remove","e","_holdTime","_isGroup","_childAnimations","_callback","_oldPlayState","oldPlayState","newPlayState","_readyPromise","_rejectReadyPromise","_resolveReadyPromise","_finishedPromise","_rejectFinishedPromise","_resolveFinishedPromise","oldPlaybackRate","oldPaused","oldStartTime","hadUnderlying","_wrapper","newUnderlyingAnimationForKeyframeEffect","bindAnimationForKeyframeEffect","SequenceEffect","GroupEffect","newUnderlyingAnimationForGroup","bindAnimationForGroup","_onsample","bindAnimationForCustomEffect","_updateChildren","childAnimation","_arrangeChildren","groupChildDuration","_setExternalAnimation","children","_constructChildAnimations","_removeChildAnimations","child","finished","Promise","resolve","reject","ABORT_ERR","ready","sign","MAX_VALUE","_register","_forEachChild","awaitStartTime","time","finish","wrapped","pop","KeyframeList","_frames","updatePendingGroups","updated","pendingGroups","shift","disassociate","removeMulti","effects","oldParents","_parent","_rebuild","_normalizedKeyframes","_keyframes","getFrames","onsample","callback","parent","nullTarget","groupAnimation","originalGetComputedStyle","register","_registered","callbacks","updating","effectFunction","isKeyframeEffect","last","node","constructor","_reparent","_isAncestor","newChildren","_putChild","isAppend","HIERARCHY_REQUEST_ERR","unshift","append","prepend","firstChild","lastChild","clonedTiming","clonedChildren","create","total","underlyingAnimation","ticker","tf","underlyingEffect","exports"],"mappings":";;;;;;;;;;;;;;CAcA,SAAIA,EAAAA,GAAJ,GAAIA,MACAC,KACAC,KAGEC,EAAuB,MCL7B,SAAUC,EAAQC,GAMhB,QAASC,GAAiBC,GACxB,GAA0B,gBAAfA,GACT,MAAOA,EAET,IAAIC,KACJ,KAAK,GAAIC,KAAKF,GACZC,EAAMC,GAAKF,EAAYE,EAEzB,OAAOD,GAGT,QAASE,KACPC,KAAKC,OAAS,EACdD,KAAKE,UAAY,EACjBF,KAAKG,MAAQ,OACbH,KAAKI,gBAAkB,EACvBJ,KAAKK,YAAc,EACnBL,KAAKM,UAAY,EACjBN,KAAKO,cAAgB,EACrBP,KAAKQ,WAAa,SAClBR,KAAKS,QAAU,SACfT,KAAKU,gBAAkBC,EAGzB,QAASC,KACP,MAAOnB,GAAOoB,aAAa,wBAAyB,aAAc,gDAAA,GA8EpE,QAASC,GAAWlB,EAAamB,EAAUC,GACzC,GAAIC,GAAS,GAAIlB,EA4BjB,OA3BIgB,KACFE,EAAOC,KAAO,OACdD,EAAOE,SAAW,QAEM,gBAAfvB,IAA4BwB,MAAMxB,GAElByB,S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1D,IAAAA,EAAaA,GAC/EG,MAAM2pB,IAAa,MAANA,IACfxH,EAAUmE,cAAc,SAASV,GAC/BA,EAAMnK,aAAAA,QAER0G,GAAUwD,0BATd,QAeEiE,EAAmB,GAAIzV,gBAAe,QAAUzG,EAAMzH,QAASyH,EAAM0O,IAGzE,OAFAwN,GAAiBjC,SAAW+B,EAC5BD,EAAsB1c,EAAMuL,SAASC,MAAMqR,IAI7C7c,EAAMkY,sBAAwB,SAAS9C,GACrCA,EAAUjc,WAAWye,SAAWxC,EAChCA,EAAUwB,UAAAA,EACV5W,EAAMwZ,eAAepE,GACrBA,EAAUuD,4BACVvD,EAAUqD,sBAAsBrD,IAGlCpV,EAAMwY,mBAAqBA,GAE1BtnB,EAAqBE,EAAmBC,GnB3LvCD,EAAAA,KAEJ0rB,MACMzrB,WAAAA,MAAuBQ","file":"web-animations-next.min.js"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright 2014 Google Inc. All rights reserved.
|
3
|
+
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
you may not use this file except in compliance with the License.
|
6
|
+
You may obtain a copy of the License at
|
7
|
+
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
See the License for the specific language governing permissions and
|
14
|
+
limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<!-- WARNING: This file is DEPRECATED, for development purposes use
|
18
|
+
web-animations*.dev.html instead or depend on
|
19
|
+
web-animations*.min.js in the web-animations-js
|
20
|
+
repository -->
|
21
|
+
|
22
|
+
<script src="src/dev.js"></script>
|
23
|
+
<script src="src/scope.js"></script>
|
24
|
+
<script src="src/deprecation.js"></script>
|
25
|
+
<script src="src/timing-utilities.js"></script>
|
26
|
+
<script src="src/normalize-keyframes.js"></script>
|
27
|
+
<script src="src/animation-node.js"></script>
|
28
|
+
<script src="src/effect.js"></script>
|
29
|
+
<script src="src/property-interpolation.js"></script>
|
30
|
+
<script src="src/animation.js"></script>
|
31
|
+
<script src="src/apply.js"></script>
|
32
|
+
<script src="src/element-animatable.js"></script>
|
33
|
+
<script src="src/interpolation.js"></script>
|
34
|
+
<script src="src/player.js"></script>
|
35
|
+
<script src="src/tick.js"></script>
|
36
|
+
<script src="src/handler-utils.js"></script>
|
37
|
+
<script src="src/shadow-handler.js"></script>
|
38
|
+
<script src="src/number-handler.js"></script>
|
39
|
+
<script src="src/visibility-handler.js"></script>
|
40
|
+
<script src="src/color-handler.js"></script>
|
41
|
+
<script src="src/dimension-handler.js"></script>
|
42
|
+
<script src="src/box-handler.js"></script>
|
43
|
+
<script src="src/transform-handler.js"></script>
|
44
|
+
<script src="src/property-names.js"></script>
|
45
|
+
<script src="src/timeline.js"></script>
|
46
|
+
<script src="src/maxifill-player.js"></script>
|
47
|
+
<script src="src/animation-constructor.js"></script>
|
48
|
+
<script src="src/effect-callback.js"></script>
|
49
|
+
<script src="src/group-constructors.js"></script>
|
50
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Copyright 2014 Google Inc. All rights reserved.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
!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){function c(a,b,c){c.enumerable=!0,c.configurable=!0,Object.defineProperty(a,b,c)}function d(a){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=a.style,this._length=0,this._isAnimatedProperty={};for(var b=0;b<this._style.length;b++){var c=this._style[b];this._surrogateStyle[c]=this._style[c]}this._updateIndices()}function e(a){if(!a._webAnimationsPatchedStyle){var b=new d(a);try{c(a,"style",{get:function(){return b}})}catch(b){a.style._set=function(b,c){a.style[b]=c},a.style._clear=function(b){a.style[b]=""}}a._webAnimationsPatchedStyle=a.style}}var f={cssText:1,length:1,parentRule:1},g={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},h={removeProperty:1,setProperty:1};d.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(a){for(var b={},c=0;c<this._surrogateStyle.length;c++)b[this._surrogateStyle[c]]=!0;this._surrogateStyle.cssText=a,this._updateIndices();for(var c=0;c<this._surrogateStyle.length;c++)b[this._surrogateStyle[c]]=!0;for(var d in b)this._isAnimatedProperty[d]||this._style.setProperty(d,this._surrogateStyle.getPropertyValue(d))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(a){return function(){return this._surrogateStyle[a]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(a,b){this._style[a]=b,this._isAnimatedProperty[a]=!0},_clear:function(a){this._style[a]=this._surrogateStyle[a],delete this._isAnimatedProperty[a]}};for(var i in g)d.prototype[i]=function(a,b){return function(){var c=this._surrogateStyle[a].apply(this._surrogateStyle,arguments);return b&&(this._isAnimatedProperty[arguments[0]]||this._style[a].apply(this._style,arguments),this._updateIndices()),c}}(i,i in h);for(var j in document.documentElement.style)j in f||j in g||!function(a){c(d.prototype,a,{get:function(){return this._surrogateStyle[a]},set:function(b){this._surrogateStyle[a]=b,this._updateIndices(),this._isAnimatedProperty[a]||(this._style[a]=b)}})}(j);a.apply=function(b,c,d){e(b),b.style._set(a.propertyName(c),d)},a.clear=function(b,c){b._webAnimationsPatchedStyle&&b.style._clear(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){function c(a,b,c){return Math.max(Math.min(a,c),b)}function d(b,d,e){var f=a.dot(b,d);f=c(f,-1,1);var g=[];if(1===f)g=b;else for(var h=Math.acos(f),i=1*Math.sin(e*h)/Math.sqrt(1-f*f),j=0;j<4;j++)g.push(b[j]*(Math.cos(e*h)-f*i)+d[j]*i);return g}var e=function(){function a(a,b){for(var c=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],d=0;d<4;d++)for(var e=0;e<4;e++)for(var f=0;f<4;f++)c[d][e]+=b[d][f]*a[f][e];return c}function b(a){return 0==a[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]}function c(c,d,e,f,g){for(var h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],i=0;i<4;i++)h[i][3]=g[i];for(var i=0;i<3;i++)for(var j=0;j<3;j++)h[3][i]+=c[j]*h[j][i];var k=f[0],l=f[1],m=f[2],n=f[3],o=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];o[0][0]=1-2*(l*l+m*m),o[0][1]=2*(k*l-m*n),o[0][2]=2*(k*m+l*n),o[1][0]=2*(k*l+m*n),o[1][1]=1-2*(k*k+m*m),o[1][2]=2*(l*m-k*n),o[2][0]=2*(k*m-l*n),o[2][1]=2*(l*m+k*n),o[2][2]=1-2*(k*k+l*l),h=a(h,o);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];e[2]&&(p[2][1]=e[2],h=a(h,p)),e[1]&&(p[2][1]=0,p[2][0]=e[0],h=a(h,p)),e[0]&&(p[2][0]=0,p[1][0]=e[0],h=a(h,p));for(var i=0;i<3;i++)for(var j=0;j<3;j++)h[i][j]*=d[i];return b(h)?[h[0][0],h[0][1],h[1][0],h[1][1],h[3][0],h[3][1]]:h[0].concat(h[1],h[2],h[3])}return c}();a.composeMatrix=e,a.quat=d}(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,b){function c(a,b){for(var c=0,d=0;d<a.length;d++)c+=a[d]*b[d];return c}function d(a,b){return[a[0]*b[0]+a[4]*b[1]+a[8]*b[2]+a[12]*b[3],a[1]*b[0]+a[5]*b[1]+a[9]*b[2]+a[13]*b[3],a[2]*b[0]+a[6]*b[1]+a[10]*b[2]+a[14]*b[3],a[3]*b[0]+a[7]*b[1]+a[11]*b[2]+a[15]*b[3],a[0]*b[4]+a[4]*b[5]+a[8]*b[6]+a[12]*b[7],a[1]*b[4]+a[5]*b[5]+a[9]*b[6]+a[13]*b[7],a[2]*b[4]+a[6]*b[5]+a[10]*b[6]+a[14]*b[7],a[3]*b[4]+a[7]*b[5]+a[11]*b[6]+a[15]*b[7],a[0]*b[8]+a[4]*b[9]+a[8]*b[10]+a[12]*b[11],a[1]*b[8]+a[5]*b[9]+a[9]*b[10]+a[13]*b[11],a[2]*b[8]+a[6]*b[9]+a[10]*b[10]+a[14]*b[11],a[3]*b[8]+a[7]*b[9]+a[11]*b[10]+a[15]*b[11],a[0]*b[12]+a[4]*b[13]+a[8]*b[14]+a[12]*b[15],a[1]*b[12]+a[5]*b[13]+a[9]*b[14]+a[13]*b[15],a[2]*b[12]+a[6]*b[13]+a[10]*b[14]+a[14]*b[15],a[3]*b[12]+a[7]*b[13]+a[11]*b[14]+a[15]*b[15]]}function e(a){var b=a.rad||0,c=a.deg||0,d=a.grad||0,e=a.turn||0,f=(c/360+d/400+e)*(2*Math.PI)+b;return f}function f(a){switch(a.t){case"rotatex":var b=e(a.d[0]);return[1,0,0,0,0,Math.cos(b),Math.sin(b),0,0,-Math.sin(b),Math.cos(b),0,0,0,0,1];case"rotatey":var b=e(a.d[0]);return[Math.cos(b),0,-Math.sin(b),0,0,1,0,0,Math.sin(b),0,Math.cos(b),0,0,0,0,1];case"rotate":case"rotatez":var b=e(a.d[0]);return[Math.cos(b),Math.sin(b),0,0,-Math.sin(b),Math.cos(b),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var c=a.d[0],d=a.d[1],f=a.d[2],b=e(a.d[3]),g=c*c+d*d+f*f;if(0===g)c=1,d=0,f=0;else if(1!==g){var h=Math.sqrt(g);c/=h,d/=h,f/=h}var i=Math.sin(b/2),j=i*Math.cos(b/2),k=i*i;return[1-2*(d*d+f*f)*k,2*(c*d*k+f*j),2*(c*f*k-d*j),0,2*(c*d*k-f*j),1-2*(c*c+f*f)*k,2*(d*f*k+c*j),0,2*(c*f*k+d*j),2*(d*f*k-c*j),1-2*(c*c+d*d)*k,0,0,0,0,1];case"scale":return[a.d[0],0,0,0,0,a.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[a.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,a.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,a.d[0],0,0,0,0,1];case"scale3d":return[a.d[0],0,0,0,0,a.d[1],0,0,0,0,a.d[2],0,0,0,0,1];case"skew":var l=e(a.d[0]),m=e(a.d[1]);return[1,Math.tan(m),0,0,Math.tan(l),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var b=e(a.d[0]);return[1,0,0,0,Math.tan(b),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var b=e(a.d[0]);return[1,Math.tan(b),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var c=a.d[0].px||0,d=a.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,d,0,1];case"translatex":var c=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,0,0,1];case"translatey":var d=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,d,0,1];case"translatez":var f=a.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,f,1];case"translate3d":var c=a.d[0].px||0,d=a.d[1].px||0,f=a.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,c,d,f,1];case"perspective":var n=a.d[0].px?-1/a.d[0].px:0;return[1,0,0,0,0,1,0,0,0,0,1,n,0,0,0,1];case"matrix":return[a.d[0],a.d[1],0,0,a.d[2],a.d[3],0,0,0,0,1,0,a.d[4],a.d[5],0,1];case"matrix3d":return a.d}}function g(a){return 0===a.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:a.map(f).reduce(d)}function h(a){return[i(g(a))]}var i=function(){function a(a){return a[0][0]*a[1][1]*a[2][2]+a[1][0]*a[2][1]*a[0][2]+a[2][0]*a[0][1]*a[1][2]-a[0][2]*a[1][1]*a[2][0]-a[1][2]*a[2][1]*a[0][0]-a[2][2]*a[0][1]*a[1][0]}function b(b){for(var c=1/a(b),d=b[0][0],e=b[0][1],f=b[0][2],g=b[1][0],h=b[1][1],i=b[1][2],j=b[2][0],k=b[2][1],l=b[2][2],m=[[(h*l-i*k)*c,(f*k-e*l)*c,(e*i-f*h)*c,0],[(i*j-g*l)*c,(d*l-f*j)*c,(f*g-d*i)*c,0],[(g*k-h*j)*c,(j*e-d*k)*c,(d*h-e*g)*c,0]],n=[],o=0;o<3;o++){for(var p=0,q=0;q<3;q++)p+=b[3][q]*m[q][o];n.push(p)}return n.push(1),m.push(n),m}function d(a){return[[a[0][0],a[1][0],a[2][0],a[3][0]],[a[0][1],a[1][1],a[2][1],a[3][1]],[a[0][2],a[1][2],a[2][2],a[3][2]],[a[0][3],a[1][3],a[2][3],a[3][3]]]}function e(a,b){for(var c=[],d=0;d<4;d++){for(var e=0,f=0;f<4;f++)e+=a[f]*b[f][d];c.push(e)}return c}function f(a){var b=g(a);return[a[0]/b,a[1]/b,a[2]/b]}function g(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2])}function h(a,b,c,d){return[c*a[0]+d*b[0],c*a[1]+d*b[1],c*a[2]+d*b[2]]}function i(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function j(j){var k=[j.slice(0,4),j.slice(4,8),j.slice(8,12),j.slice(12,16)];if(1!==k[3][3])return null;for(var l=[],m=0;m<4;m++)l.push(k[m].slice());for(var m=0;m<3;m++)l[m][3]=0;if(0===a(l))return!1;var n,o=[];if(k[0][3]||k[1][3]||k[2][3]){o.push(k[0][3]),o.push(k[1][3]),o.push(k[2][3]),o.push(k[3][3]);var p=b(l),q=d(p);n=e(o,q)}else n=[0,0,0,1];var r=k[3].slice(0,3),s=[];s.push(k[0].slice(0,3));var t=[];t.push(g(s[0])),s[0]=f(s[0]);var u=[];s.push(k[1].slice(0,3)),u.push(c(s[0],s[1])),s[1]=h(s[1],s[0],1,-u[0]),t.push(g(s[1])),s[1]=f(s[1]),u[0]/=t[1],s.push(k[2].slice(0,3)),u.push(c(s[0],s[2])),s[2]=h(s[2],s[0],1,-u[1]),u.push(c(s[1],s[2])),s[2]=h(s[2],s[1],1,-u[2]),t.push(g(s[2])),s[2]=f(s[2]),u[1]/=t[2],u[2]/=t[2];var v=i(s[1],s[2]);if(c(s[0],v)<0)for(var m=0;m<3;m++)t[m]*=-1,s[m][0]*=-1,s[m][1]*=-1,s[m][2]*=-1;var w,x,y=s[0][0]+s[1][1]+s[2][2]+1;return y>1e-4?(w=.5/Math.sqrt(y),x=[(s[2][1]-s[1][2])*w,(s[0][2]-s[2][0])*w,(s[1][0]-s[0][1])*w,.25/w]):s[0][0]>s[1][1]&&s[0][0]>s[2][2]?(w=2*Math.sqrt(1+s[0][0]-s[1][1]-s[2][2]),x=[.25*w,(s[0][1]+s[1][0])/w,(s[0][2]+s[2][0])/w,(s[2][1]-s[1][2])/w]):s[1][1]>s[2][2]?(w=2*Math.sqrt(1+s[1][1]-s[0][0]-s[2][2]),x=[(s[0][1]+s[1][0])/w,.25*w,(s[1][2]+s[2][1])/w,(s[0][2]-s[2][0])/w]):(w=2*Math.sqrt(1+s[2][2]-s[0][0]-s[1][1]),x=[(s[0][2]+s[2][0])/w,(s[1][2]+s[2][1])/w,.25*w,(s[1][0]-s[0][1])/w]),[r,t,u,x,n]}return j}();a.dot=c,a.makeMatrixDecomposition=h}(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];
|
16
|
+
}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){function b(a){var b=Number(a);if(!(isNaN(b)||b<100||b>900||b%100!==0))return b}function c(b){return b=100*Math.round(b/100),b=a.clamp(100,900,b),400===b?"normal":700===b?"bold":String(b)}function d(a,b){return[a,b,c]}a.addPropertiesHandler(b,d,["font-weight"])}(d),function(a){function b(a){var b={};for(var c in a)b[c]=-a[c];return b}function c(b){return a.consumeToken(/^(left|center|right|top|bottom)\b/i,b)||a.consumeLengthOrPercent(b)}function d(b,d){var e=a.consumeRepeated(c,/^/,d);if(e&&""==e[1]){var f=e[0];if(f[0]=f[0]||"center",f[1]=f[1]||"center",3==b&&(f[2]=f[2]||{px:0}),f.length==b){if(/top|bottom/.test(f[0])||/left|right/.test(f[1])){var h=f[0];f[0]=f[1],f[1]=h}if(/left|right|center|Object/.test(f[0])&&/top|bottom|center|Object/.test(f[1]))return f.map(function(a){return"object"==typeof a?a:g[a]})}}}function e(d){var e=a.consumeRepeated(c,/^/,d);if(e){for(var f=e[0],h=[{"%":50},{"%":50}],i=0,j=!1,k=0;k<f.length;k++){var l=f[k];"string"==typeof l?(j=/bottom|right/.test(l),i={left:0,right:0,center:i,top:1,bottom:1}[l],h[i]=g[l],"center"==l&&i++):(j&&(l=b(l),l["%"]=(l["%"]||0)+100),h[i]=l,i++,j=!1)}return[h,e[1]]}}function f(b){var c=a.consumeRepeated(e,/^,/,b);if(c&&""==c[1])return c[0]}var g={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},h=a.mergeNestedRepeated.bind(null,a.mergeDimensions," ");a.addPropertiesHandler(d.bind(null,3),h,["transform-origin"]),a.addPropertiesHandler(d.bind(null,2),h,["perspective-origin"]),a.consumePosition=e,a.mergeOffsetList=h;var i=a.mergeNestedRepeated.bind(null,h,", ");a.addPropertiesHandler(f,i,["background-position","object-position"])}(d),function(a){function b(b){var c=a.consumeToken(/^circle/,b);if(c&&c[0])return["circle"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),d,a.ignore(a.consumeToken.bind(void 0,/^at/)),a.consumePosition,a.ignore(a.consumeToken.bind(void 0,/^\)/))],c[1]));var f=a.consumeToken(/^ellipse/,b);if(f&&f[0])return["ellipse"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),e,a.ignore(a.consumeToken.bind(void 0,/^at/)),a.consumePosition,a.ignore(a.consumeToken.bind(void 0,/^\)/))],f[1]));var g=a.consumeToken(/^polygon/,b);return g&&g[0]?["polygon"].concat(a.consumeList([a.ignore(a.consumeToken.bind(void 0,/^\(/)),a.optional(a.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),a.consumeSizePairList,a.ignore(a.consumeToken.bind(void 0,/^\)/))],g[1])):void 0}function c(b,c){if(b[0]===c[0])return"circle"==b[0]?a.mergeList(b.slice(1),c.slice(1),["circle(",a.mergeDimensions," at ",a.mergeOffsetList,")"]):"ellipse"==b[0]?a.mergeList(b.slice(1),c.slice(1),["ellipse(",a.mergeNonNegativeSizePair," at ",a.mergeOffsetList,")"]):"polygon"==b[0]&&b[1]==c[1]?a.mergeList(b.slice(2),c.slice(2),["polygon(",b[1],g,")"]):void 0}var d=a.consumeParenthesised.bind(null,a.parseLengthOrPercent),e=a.consumeRepeated.bind(void 0,d,/^/),f=a.mergeNestedRepeated.bind(void 0,a.mergeDimensions," "),g=a.mergeNestedRepeated.bind(void 0,f,",");a.addPropertiesHandler(b,c,["shape-outside"])}(d),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),b.true=a}({},function(){return this}());
|
17
|
+
//# sourceMappingURL=web-animations.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/keyframe-interpolations.js","src/property-interpolation.js","src/keyframe-effect.js","src/apply-preserving-inline-style.js","src/element-animatable.js","src/interpolation.js","src/matrix-interpolation.js","src/animation.js","src/tick.js","src/web-animations-bonus-cancel-events.js","src/web-animations-bonus-object-form-keyframes.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","testing","cloneTimingInput","timingInput","clone","m","AnimationEffectTiming","this","_delay","_endDelay","_fill","_iterationStart","_iterations","_duration","_playbackRate","_direction","_easing","_easingFunction","linear","isInvalidTimingDeprecated","isDeprecated","makeTiming","forGroup","effect","timing","fill","duration","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","numericTimingToObject","normalizeTimingInput","cubic","a","b","c","d","x","f","start_gradient","end_gradient","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","normalizeEasing","easing","styleForCleaning","document","createElement","style","animationTimingFunction","normalizedEasing","TypeError","parseEasingFunction","cubicData","cubicBezierRe","exec","apply","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","playbackRate","iterations","calculatePhase","activeDuration","localTime","PhaseNone","endTime","delay","endDelay","min","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode","phase","calculateOverallProgress","iterationDuration","activeTime","iterationStart","overallProgress","calculateSimpleIterationProgress","simpleIterationProgress","Infinity","calculateCurrentIteration","floor","calculateDirectedProgress","playbackDirection","currentIteration","currentDirection","calculateIterationProgress","directedProgress","direction","split","prototype","_setMember","member","value","_effect","_timingInput","_timing","_animation","_rebuildUnderlyingAnimation","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","numberString","RegExp","antiAlias","aliases","isNotAnimatable","lastIndexOf","expandShorthandAndAntiAlias","result","longProperties","shorthandToLonghand","shorthandExpanderElem","i","longProperty","longhandValue","convertToArrayForm","effectInput","normalizedEffectInput","values","Array","isArray","keyframe","numKeyframes","length","offset","composite","push","sort","normalizeKeyframes","spaceKeyframes","keyframes","previousIndex","previousOffset","j","window","Symbol","iterator","from","originalKeyframe","memberValue","isFinite","type","DOMException","NOT_SUPPORTED_ERR","name","message","everyFrameHasOffset","filter","background","border","borderBottom","borderColor","borderLeft","borderRadius","borderRight","borderTop","borderWidth","flex","font","margin","outline","padding","createElementNS","borderWidthAliases","thin","medium","thick","borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","fontSize","xx-small","x-small","small","large","x-large","xx-large","fontWeight","normal","bold","outlineWidth","textShadow","none","boxShadow","silenced","feature","date","advice","plural","auxVerb","today","Date","expiry","setMonth","getMonth","console","warn","toDateString","deprecated","Error","scope","left","makePropertySpecificKeyframeGroups","lengthReconstitution","propertySpecificKeyframeGroups","mergedDimensions","mergeDimensions","lengths","right","propertySpecificKeyframe","groupName","group","colorReconstitution","makeInterpolations","interpolations","color","startIndex","endIndex","startOffset","endOffset","applyFrom","applyTo","mergeNestedRepeated","easingFunction","interpolation","propertyInterpolation","string","leftInterpolation","rightInterpolation","convertEffectInput","mergePositiveIntegers","numberToString","fraction","max","offsetFraction","localDuration","scaledLocalTime","target","parseNumber","toCamelCase","replace","_","toUpperCase","addPropertyHandler","merger","propertyHandlers","parser","fillStyle","addPropertiesHandler","properties","fillRect","ucProperty","clearRect","pixelColor","alpha","initialValues","v","handlers","canvas","parsedLeft","parsedRight","interpolationArgs","mergeColors","t","Interpolation","consumeColor","bool","backgroundColor","parseDimension","backgroundPosition","borderBottomColor","trim","toLowerCase","borderBottomLeftRadius","search","borderBottomRightRadius","px","test","borderLeftColor","borderRightColor","borderSpacing","matchedUnits","borderTopColor","match","borderTopLeftRadius","borderTopRightRadius","taggedUnitRegExp","letterSpacing","lineHeight","marginBottom","marginLeft","reductions","marginRight","maxHeight","typeCheck","maxWidth","minHeight","minWidth","opacity","outlineColor","unit","outlineOffset","paddingBottom","paddingLeft","paddingRight","paddingTop","textIndent","top","verticalAlign","width","wordSpacing","zIndex","units","EffectTime","effectTime","_totalDuration","KeyframeEffect","join","timeFraction","keyframeEffect","parseLengthOrPercent","_update","parseAngle","_clear","_hasSameTarget","consumeParenthesised","bind","_target","NullEffect","clear","consumeRepeated","consumeSizePairList","nullEffect","consumeSizePair","parseSizePairList","configureProperty","descriptor","enumerable","mergeDimensionsNonNegative","AnimatedCSSStyleDeclaration","_surrogateStyle","element","_isAnimatedProperty","_style","_updateIndices","ensureStyleIsPatched","_webAnimationsPatchedStyle","animatedStyle","styleAttributes","cssText","styleMethods","getPropertyCSSValue","getPropertyPriority","getPropertyValue","item","removeProperty","setProperty","styleMutatingMethods","text","consumeToken","isAffectedProperty","parentRule","_length","defineProperty","configurable","get","index","mergeWrappedNestedRepeated","cast","pattern","method","prevLastIndex","modifiesStyle","arguments","documentElement","parsedArg","T","_set","propertyName","mergeMatrices","Element","options","id","timeline","_play","rightArgs","leftArgs","interpolate","quat","composeMatrix","list","to","r","typeTo3D","convertToString","matrixModulesLoaded","clamp","fromQ","toQ","product","dot","args","theta","acos","arg","w","rt","multiply","leftResult","rightResult","types","k","merged","translate","scale","skew","perspective","matrix","leftFunctionData","transformFunctions","isMatrixOrPerspective","leftType","z","rotMatrix","y","rightFunctionData","typeTo2D","rightType","temp","is2D","stringConversions","merge","sequenceNumber","AnimationEvent","currentTime","timelineTime","bubbles","cancelable","currentTarget","defaultPrevented","eventPhase","Event","AT_TARGET","now","Animation","_id","_sequenceNumber","_currentTime","_startTime","_paused","Opx","_inTimeline","onfinish","_finishHandlers","_idle","_currentTimePending","rotate3d","_ensureAlive","_inEffect","_finishedFlag","_animations","_tickCurrentTime","newTime","ignoreLimit","_isFinished","restart","_timeline","toCss","parse","applyDirtiedAnimation","startTime","oldCurrentTime","tokens","playState","slots","position","%","bottomOrRight","_rewind","center","token","out","offsetMap","negateDimension","play","consumePosition","pause","mergePositionList","reverse","addEventListener","input","handler","circle","removeEventListener","ignore","splice","_fireEvents","baseTime","ellipse","event","concat","setTimeout","call","_tick","isAnimationFrame","_needsTick","pending","running","mergeShapes","_targetAnimations","_activeAnimations","_markTarget","animations","mergeNonNegativeSizePair","_unmarkTarget","mergeOffsetList","processRafCallbacks","processing","rafCallbacks","compareAnimations","entry","applyPendingEffects","leftAnimation","rightAnimation","InternalTimeline","performance","alias","pendingEffects","tick","inTick","hasRestartedThisFrame","ticking","newPendingClears","newPendingEffects","activeAnimations","animate","oncancel","AnimationCancelEvent","timeStamp","originalElementAnimate","animation","_cancelHandlers","originalCancel","cancel","originalAddEventListener","originalRemoveEventListener","animated","originalOpacity","getComputedStyle","testOpacity","error","exports"],"mappings":";;;;;;;;;;;;;;CAcA,SAAIA,EAAAA,GAAJ,GAAIA,MACAC,KACAC,KAGEC,EAAuB,MCL7B,SAAUC,EAAQC,GAMhB,QAASC,GAAiBC,GACxB,GAA0B,gBAAfA,GACT,MAAOA,EAET,IAAIC,KACJ,KAAK,GAAIC,KAAKF,GACZC,EAAMC,GAAKF,EAAYE,EAEzB,OAAOD,GAGT,QAASE,KACPC,KAAKC,OAAS,EACdD,KAAKE,UAAY,EACjBF,KAAKG,MAAQ,OACbH,KAAKI,gBAAkB,EACvBJ,KAAKK,YAAc,EACnBL,KAAKM,UAAY,EACjBN,KAAKO,cAAgB,EACrBP,KAAKQ,WAAa,SAClBR,KAAKS,QAAU,SACfT,KAAKU,gBAAkBC,EAGzB,QAASC,KACP,MAAOnB,GAAOoB,aAAa,wBAAyB,aAAc,gDAAA,GA8EpE,QAASC,GAAWlB,EAAamB,EAAUC,GACzC,GAAIC,GAAS,GAAIlB,EA4BjB,OA3BIgB,KACFE,EAAOC,KAAO,OACdD,EAAOE,SAAW,QAEM,gBAAfvB,IAA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AEJ2kB,MACM1kB,WAAAA,MAAuBQ","file":"web-animations.min.js"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"name": "webcomponentsjs",
|
3
|
+
"main": "webcomponents.js",
|
4
|
+
"version": "0.7.23",
|
5
|
+
"homepage": "http://webcomponents.org",
|
6
|
+
"authors": [
|
7
|
+
"The Polymer Authors"
|
8
|
+
],
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/webcomponents/webcomponentsjs.git"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"webcomponents"
|
15
|
+
],
|
16
|
+
"license": "BSD",
|
17
|
+
"ignore": [],
|
18
|
+
"devDependencies": {
|
19
|
+
"web-component-tester": "^4.0.1"
|
20
|
+
},
|
21
|
+
"_release": "0.7.23",
|
22
|
+
"_resolution": {
|
23
|
+
"type": "version",
|
24
|
+
"tag": "v0.7.23",
|
25
|
+
"commit": "9d6cb3a3571241e4cda0617e043629c5c9002b34"
|
26
|
+
},
|
27
|
+
"_source": "https://github.com/Polymer/webcomponentsjs.git",
|
28
|
+
"_target": "^0.7.20",
|
29
|
+
"_originalSource": "webcomponentsjs"
|
30
|
+
}
|
@@ -0,0 +1,1029 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
4
|
+
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
* Code distributed by Google as part of the polymer project is also
|
8
|
+
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
*/
|
10
|
+
// @version 0.7.23
|
11
|
+
if (typeof WeakMap === "undefined") {
|
12
|
+
(function() {
|
13
|
+
var defineProperty = Object.defineProperty;
|
14
|
+
var counter = Date.now() % 1e9;
|
15
|
+
var WeakMap = function() {
|
16
|
+
this.name = "__st" + (Math.random() * 1e9 >>> 0) + (counter++ + "__");
|
17
|
+
};
|
18
|
+
WeakMap.prototype = {
|
19
|
+
set: function(key, value) {
|
20
|
+
var entry = key[this.name];
|
21
|
+
if (entry && entry[0] === key) entry[1] = value; else defineProperty(key, this.name, {
|
22
|
+
value: [ key, value ],
|
23
|
+
writable: true
|
24
|
+
});
|
25
|
+
return this;
|
26
|
+
},
|
27
|
+
get: function(key) {
|
28
|
+
var entry;
|
29
|
+
return (entry = key[this.name]) && entry[0] === key ? entry[1] : undefined;
|
30
|
+
},
|
31
|
+
"delete": function(key) {
|
32
|
+
var entry = key[this.name];
|
33
|
+
if (!entry || entry[0] !== key) return false;
|
34
|
+
entry[0] = entry[1] = undefined;
|
35
|
+
return true;
|
36
|
+
},
|
37
|
+
has: function(key) {
|
38
|
+
var entry = key[this.name];
|
39
|
+
if (!entry) return false;
|
40
|
+
return entry[0] === key;
|
41
|
+
}
|
42
|
+
};
|
43
|
+
window.WeakMap = WeakMap;
|
44
|
+
})();
|
45
|
+
}
|
46
|
+
|
47
|
+
(function(global) {
|
48
|
+
if (global.JsMutationObserver) {
|
49
|
+
return;
|
50
|
+
}
|
51
|
+
var registrationsTable = new WeakMap();
|
52
|
+
var setImmediate;
|
53
|
+
if (/Trident|Edge/.test(navigator.userAgent)) {
|
54
|
+
setImmediate = setTimeout;
|
55
|
+
} else if (window.setImmediate) {
|
56
|
+
setImmediate = window.setImmediate;
|
57
|
+
} else {
|
58
|
+
var setImmediateQueue = [];
|
59
|
+
var sentinel = String(Math.random());
|
60
|
+
window.addEventListener("message", function(e) {
|
61
|
+
if (e.data === sentinel) {
|
62
|
+
var queue = setImmediateQueue;
|
63
|
+
setImmediateQueue = [];
|
64
|
+
queue.forEach(function(func) {
|
65
|
+
func();
|
66
|
+
});
|
67
|
+
}
|
68
|
+
});
|
69
|
+
setImmediate = function(func) {
|
70
|
+
setImmediateQueue.push(func);
|
71
|
+
window.postMessage(sentinel, "*");
|
72
|
+
};
|
73
|
+
}
|
74
|
+
var isScheduled = false;
|
75
|
+
var scheduledObservers = [];
|
76
|
+
function scheduleCallback(observer) {
|
77
|
+
scheduledObservers.push(observer);
|
78
|
+
if (!isScheduled) {
|
79
|
+
isScheduled = true;
|
80
|
+
setImmediate(dispatchCallbacks);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
function wrapIfNeeded(node) {
|
84
|
+
return window.ShadowDOMPolyfill && window.ShadowDOMPolyfill.wrapIfNeeded(node) || node;
|
85
|
+
}
|
86
|
+
function dispatchCallbacks() {
|
87
|
+
isScheduled = false;
|
88
|
+
var observers = scheduledObservers;
|
89
|
+
scheduledObservers = [];
|
90
|
+
observers.sort(function(o1, o2) {
|
91
|
+
return o1.uid_ - o2.uid_;
|
92
|
+
});
|
93
|
+
var anyNonEmpty = false;
|
94
|
+
observers.forEach(function(observer) {
|
95
|
+
var queue = observer.takeRecords();
|
96
|
+
removeTransientObserversFor(observer);
|
97
|
+
if (queue.length) {
|
98
|
+
observer.callback_(queue, observer);
|
99
|
+
anyNonEmpty = true;
|
100
|
+
}
|
101
|
+
});
|
102
|
+
if (anyNonEmpty) dispatchCallbacks();
|
103
|
+
}
|
104
|
+
function removeTransientObserversFor(observer) {
|
105
|
+
observer.nodes_.forEach(function(node) {
|
106
|
+
var registrations = registrationsTable.get(node);
|
107
|
+
if (!registrations) return;
|
108
|
+
registrations.forEach(function(registration) {
|
109
|
+
if (registration.observer === observer) registration.removeTransientObservers();
|
110
|
+
});
|
111
|
+
});
|
112
|
+
}
|
113
|
+
function forEachAncestorAndObserverEnqueueRecord(target, callback) {
|
114
|
+
for (var node = target; node; node = node.parentNode) {
|
115
|
+
var registrations = registrationsTable.get(node);
|
116
|
+
if (registrations) {
|
117
|
+
for (var j = 0; j < registrations.length; j++) {
|
118
|
+
var registration = registrations[j];
|
119
|
+
var options = registration.options;
|
120
|
+
if (node !== target && !options.subtree) continue;
|
121
|
+
var record = callback(options);
|
122
|
+
if (record) registration.enqueue(record);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
var uidCounter = 0;
|
128
|
+
function JsMutationObserver(callback) {
|
129
|
+
this.callback_ = callback;
|
130
|
+
this.nodes_ = [];
|
131
|
+
this.records_ = [];
|
132
|
+
this.uid_ = ++uidCounter;
|
133
|
+
}
|
134
|
+
JsMutationObserver.prototype = {
|
135
|
+
observe: function(target, options) {
|
136
|
+
target = wrapIfNeeded(target);
|
137
|
+
if (!options.childList && !options.attributes && !options.characterData || options.attributeOldValue && !options.attributes || options.attributeFilter && options.attributeFilter.length && !options.attributes || options.characterDataOldValue && !options.characterData) {
|
138
|
+
throw new SyntaxError();
|
139
|
+
}
|
140
|
+
var registrations = registrationsTable.get(target);
|
141
|
+
if (!registrations) registrationsTable.set(target, registrations = []);
|
142
|
+
var registration;
|
143
|
+
for (var i = 0; i < registrations.length; i++) {
|
144
|
+
if (registrations[i].observer === this) {
|
145
|
+
registration = registrations[i];
|
146
|
+
registration.removeListeners();
|
147
|
+
registration.options = options;
|
148
|
+
break;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
if (!registration) {
|
152
|
+
registration = new Registration(this, target, options);
|
153
|
+
registrations.push(registration);
|
154
|
+
this.nodes_.push(target);
|
155
|
+
}
|
156
|
+
registration.addListeners();
|
157
|
+
},
|
158
|
+
disconnect: function() {
|
159
|
+
this.nodes_.forEach(function(node) {
|
160
|
+
var registrations = registrationsTable.get(node);
|
161
|
+
for (var i = 0; i < registrations.length; i++) {
|
162
|
+
var registration = registrations[i];
|
163
|
+
if (registration.observer === this) {
|
164
|
+
registration.removeListeners();
|
165
|
+
registrations.splice(i, 1);
|
166
|
+
break;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}, this);
|
170
|
+
this.records_ = [];
|
171
|
+
},
|
172
|
+
takeRecords: function() {
|
173
|
+
var copyOfRecords = this.records_;
|
174
|
+
this.records_ = [];
|
175
|
+
return copyOfRecords;
|
176
|
+
}
|
177
|
+
};
|
178
|
+
function MutationRecord(type, target) {
|
179
|
+
this.type = type;
|
180
|
+
this.target = target;
|
181
|
+
this.addedNodes = [];
|
182
|
+
this.removedNodes = [];
|
183
|
+
this.previousSibling = null;
|
184
|
+
this.nextSibling = null;
|
185
|
+
this.attributeName = null;
|
186
|
+
this.attributeNamespace = null;
|
187
|
+
this.oldValue = null;
|
188
|
+
}
|
189
|
+
function copyMutationRecord(original) {
|
190
|
+
var record = new MutationRecord(original.type, original.target);
|
191
|
+
record.addedNodes = original.addedNodes.slice();
|
192
|
+
record.removedNodes = original.removedNodes.slice();
|
193
|
+
record.previousSibling = original.previousSibling;
|
194
|
+
record.nextSibling = original.nextSibling;
|
195
|
+
record.attributeName = original.attributeName;
|
196
|
+
record.attributeNamespace = original.attributeNamespace;
|
197
|
+
record.oldValue = original.oldValue;
|
198
|
+
return record;
|
199
|
+
}
|
200
|
+
var currentRecord, recordWithOldValue;
|
201
|
+
function getRecord(type, target) {
|
202
|
+
return currentRecord = new MutationRecord(type, target);
|
203
|
+
}
|
204
|
+
function getRecordWithOldValue(oldValue) {
|
205
|
+
if (recordWithOldValue) return recordWithOldValue;
|
206
|
+
recordWithOldValue = copyMutationRecord(currentRecord);
|
207
|
+
recordWithOldValue.oldValue = oldValue;
|
208
|
+
return recordWithOldValue;
|
209
|
+
}
|
210
|
+
function clearRecords() {
|
211
|
+
currentRecord = recordWithOldValue = undefined;
|
212
|
+
}
|
213
|
+
function recordRepresentsCurrentMutation(record) {
|
214
|
+
return record === recordWithOldValue || record === currentRecord;
|
215
|
+
}
|
216
|
+
function selectRecord(lastRecord, newRecord) {
|
217
|
+
if (lastRecord === newRecord) return lastRecord;
|
218
|
+
if (recordWithOldValue && recordRepresentsCurrentMutation(lastRecord)) return recordWithOldValue;
|
219
|
+
return null;
|
220
|
+
}
|
221
|
+
function Registration(observer, target, options) {
|
222
|
+
this.observer = observer;
|
223
|
+
this.target = target;
|
224
|
+
this.options = options;
|
225
|
+
this.transientObservedNodes = [];
|
226
|
+
}
|
227
|
+
Registration.prototype = {
|
228
|
+
enqueue: function(record) {
|
229
|
+
var records = this.observer.records_;
|
230
|
+
var length = records.length;
|
231
|
+
if (records.length > 0) {
|
232
|
+
var lastRecord = records[length - 1];
|
233
|
+
var recordToReplaceLast = selectRecord(lastRecord, record);
|
234
|
+
if (recordToReplaceLast) {
|
235
|
+
records[length - 1] = recordToReplaceLast;
|
236
|
+
return;
|
237
|
+
}
|
238
|
+
} else {
|
239
|
+
scheduleCallback(this.observer);
|
240
|
+
}
|
241
|
+
records[length] = record;
|
242
|
+
},
|
243
|
+
addListeners: function() {
|
244
|
+
this.addListeners_(this.target);
|
245
|
+
},
|
246
|
+
addListeners_: function(node) {
|
247
|
+
var options = this.options;
|
248
|
+
if (options.attributes) node.addEventListener("DOMAttrModified", this, true);
|
249
|
+
if (options.characterData) node.addEventListener("DOMCharacterDataModified", this, true);
|
250
|
+
if (options.childList) node.addEventListener("DOMNodeInserted", this, true);
|
251
|
+
if (options.childList || options.subtree) node.addEventListener("DOMNodeRemoved", this, true);
|
252
|
+
},
|
253
|
+
removeListeners: function() {
|
254
|
+
this.removeListeners_(this.target);
|
255
|
+
},
|
256
|
+
removeListeners_: function(node) {
|
257
|
+
var options = this.options;
|
258
|
+
if (options.attributes) node.removeEventListener("DOMAttrModified", this, true);
|
259
|
+
if (options.characterData) node.removeEventListener("DOMCharacterDataModified", this, true);
|
260
|
+
if (options.childList) node.removeEventListener("DOMNodeInserted", this, true);
|
261
|
+
if (options.childList || options.subtree) node.removeEventListener("DOMNodeRemoved", this, true);
|
262
|
+
},
|
263
|
+
addTransientObserver: function(node) {
|
264
|
+
if (node === this.target) return;
|
265
|
+
this.addListeners_(node);
|
266
|
+
this.transientObservedNodes.push(node);
|
267
|
+
var registrations = registrationsTable.get(node);
|
268
|
+
if (!registrations) registrationsTable.set(node, registrations = []);
|
269
|
+
registrations.push(this);
|
270
|
+
},
|
271
|
+
removeTransientObservers: function() {
|
272
|
+
var transientObservedNodes = this.transientObservedNodes;
|
273
|
+
this.transientObservedNodes = [];
|
274
|
+
transientObservedNodes.forEach(function(node) {
|
275
|
+
this.removeListeners_(node);
|
276
|
+
var registrations = registrationsTable.get(node);
|
277
|
+
for (var i = 0; i < registrations.length; i++) {
|
278
|
+
if (registrations[i] === this) {
|
279
|
+
registrations.splice(i, 1);
|
280
|
+
break;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}, this);
|
284
|
+
},
|
285
|
+
handleEvent: function(e) {
|
286
|
+
e.stopImmediatePropagation();
|
287
|
+
switch (e.type) {
|
288
|
+
case "DOMAttrModified":
|
289
|
+
var name = e.attrName;
|
290
|
+
var namespace = e.relatedNode.namespaceURI;
|
291
|
+
var target = e.target;
|
292
|
+
var record = new getRecord("attributes", target);
|
293
|
+
record.attributeName = name;
|
294
|
+
record.attributeNamespace = namespace;
|
295
|
+
var oldValue = e.attrChange === MutationEvent.ADDITION ? null : e.prevValue;
|
296
|
+
forEachAncestorAndObserverEnqueueRecord(target, function(options) {
|
297
|
+
if (!options.attributes) return;
|
298
|
+
if (options.attributeFilter && options.attributeFilter.length && options.attributeFilter.indexOf(name) === -1 && options.attributeFilter.indexOf(namespace) === -1) {
|
299
|
+
return;
|
300
|
+
}
|
301
|
+
if (options.attributeOldValue) return getRecordWithOldValue(oldValue);
|
302
|
+
return record;
|
303
|
+
});
|
304
|
+
break;
|
305
|
+
|
306
|
+
case "DOMCharacterDataModified":
|
307
|
+
var target = e.target;
|
308
|
+
var record = getRecord("characterData", target);
|
309
|
+
var oldValue = e.prevValue;
|
310
|
+
forEachAncestorAndObserverEnqueueRecord(target, function(options) {
|
311
|
+
if (!options.characterData) return;
|
312
|
+
if (options.characterDataOldValue) return getRecordWithOldValue(oldValue);
|
313
|
+
return record;
|
314
|
+
});
|
315
|
+
break;
|
316
|
+
|
317
|
+
case "DOMNodeRemoved":
|
318
|
+
this.addTransientObserver(e.target);
|
319
|
+
|
320
|
+
case "DOMNodeInserted":
|
321
|
+
var changedNode = e.target;
|
322
|
+
var addedNodes, removedNodes;
|
323
|
+
if (e.type === "DOMNodeInserted") {
|
324
|
+
addedNodes = [ changedNode ];
|
325
|
+
removedNodes = [];
|
326
|
+
} else {
|
327
|
+
addedNodes = [];
|
328
|
+
removedNodes = [ changedNode ];
|
329
|
+
}
|
330
|
+
var previousSibling = changedNode.previousSibling;
|
331
|
+
var nextSibling = changedNode.nextSibling;
|
332
|
+
var record = getRecord("childList", e.target.parentNode);
|
333
|
+
record.addedNodes = addedNodes;
|
334
|
+
record.removedNodes = removedNodes;
|
335
|
+
record.previousSibling = previousSibling;
|
336
|
+
record.nextSibling = nextSibling;
|
337
|
+
forEachAncestorAndObserverEnqueueRecord(e.relatedNode, function(options) {
|
338
|
+
if (!options.childList) return;
|
339
|
+
return record;
|
340
|
+
});
|
341
|
+
}
|
342
|
+
clearRecords();
|
343
|
+
}
|
344
|
+
};
|
345
|
+
global.JsMutationObserver = JsMutationObserver;
|
346
|
+
if (!global.MutationObserver) {
|
347
|
+
global.MutationObserver = JsMutationObserver;
|
348
|
+
JsMutationObserver._isPolyfilled = true;
|
349
|
+
}
|
350
|
+
})(self);
|
351
|
+
|
352
|
+
(function(scope) {
|
353
|
+
"use strict";
|
354
|
+
if (!(window.performance && window.performance.now)) {
|
355
|
+
var start = Date.now();
|
356
|
+
window.performance = {
|
357
|
+
now: function() {
|
358
|
+
return Date.now() - start;
|
359
|
+
}
|
360
|
+
};
|
361
|
+
}
|
362
|
+
if (!window.requestAnimationFrame) {
|
363
|
+
window.requestAnimationFrame = function() {
|
364
|
+
var nativeRaf = window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;
|
365
|
+
return nativeRaf ? function(callback) {
|
366
|
+
return nativeRaf(function() {
|
367
|
+
callback(performance.now());
|
368
|
+
});
|
369
|
+
} : function(callback) {
|
370
|
+
return window.setTimeout(callback, 1e3 / 60);
|
371
|
+
};
|
372
|
+
}();
|
373
|
+
}
|
374
|
+
if (!window.cancelAnimationFrame) {
|
375
|
+
window.cancelAnimationFrame = function() {
|
376
|
+
return window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || function(id) {
|
377
|
+
clearTimeout(id);
|
378
|
+
};
|
379
|
+
}();
|
380
|
+
}
|
381
|
+
var workingDefaultPrevented = function() {
|
382
|
+
var e = document.createEvent("Event");
|
383
|
+
e.initEvent("foo", true, true);
|
384
|
+
e.preventDefault();
|
385
|
+
return e.defaultPrevented;
|
386
|
+
}();
|
387
|
+
if (!workingDefaultPrevented) {
|
388
|
+
var origPreventDefault = Event.prototype.preventDefault;
|
389
|
+
Event.prototype.preventDefault = function() {
|
390
|
+
if (!this.cancelable) {
|
391
|
+
return;
|
392
|
+
}
|
393
|
+
origPreventDefault.call(this);
|
394
|
+
Object.defineProperty(this, "defaultPrevented", {
|
395
|
+
get: function() {
|
396
|
+
return true;
|
397
|
+
},
|
398
|
+
configurable: true
|
399
|
+
});
|
400
|
+
};
|
401
|
+
}
|
402
|
+
var isIE = /Trident/.test(navigator.userAgent);
|
403
|
+
if (!window.CustomEvent || isIE && typeof window.CustomEvent !== "function") {
|
404
|
+
window.CustomEvent = function(inType, params) {
|
405
|
+
params = params || {};
|
406
|
+
var e = document.createEvent("CustomEvent");
|
407
|
+
e.initCustomEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable), params.detail);
|
408
|
+
return e;
|
409
|
+
};
|
410
|
+
window.CustomEvent.prototype = window.Event.prototype;
|
411
|
+
}
|
412
|
+
if (!window.Event || isIE && typeof window.Event !== "function") {
|
413
|
+
var origEvent = window.Event;
|
414
|
+
window.Event = function(inType, params) {
|
415
|
+
params = params || {};
|
416
|
+
var e = document.createEvent("Event");
|
417
|
+
e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable));
|
418
|
+
return e;
|
419
|
+
};
|
420
|
+
window.Event.prototype = origEvent.prototype;
|
421
|
+
}
|
422
|
+
})(window.WebComponents);
|
423
|
+
|
424
|
+
window.CustomElements = window.CustomElements || {
|
425
|
+
flags: {}
|
426
|
+
};
|
427
|
+
|
428
|
+
(function(scope) {
|
429
|
+
var flags = scope.flags;
|
430
|
+
var modules = [];
|
431
|
+
var addModule = function(module) {
|
432
|
+
modules.push(module);
|
433
|
+
};
|
434
|
+
var initializeModules = function() {
|
435
|
+
modules.forEach(function(module) {
|
436
|
+
module(scope);
|
437
|
+
});
|
438
|
+
};
|
439
|
+
scope.addModule = addModule;
|
440
|
+
scope.initializeModules = initializeModules;
|
441
|
+
scope.hasNative = Boolean(document.registerElement);
|
442
|
+
scope.isIE = /Trident/.test(navigator.userAgent);
|
443
|
+
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || window.HTMLImports.useNative);
|
444
|
+
})(window.CustomElements);
|
445
|
+
|
446
|
+
window.CustomElements.addModule(function(scope) {
|
447
|
+
var IMPORT_LINK_TYPE = window.HTMLImports ? window.HTMLImports.IMPORT_LINK_TYPE : "none";
|
448
|
+
function forSubtree(node, cb) {
|
449
|
+
findAllElements(node, function(e) {
|
450
|
+
if (cb(e)) {
|
451
|
+
return true;
|
452
|
+
}
|
453
|
+
forRoots(e, cb);
|
454
|
+
});
|
455
|
+
forRoots(node, cb);
|
456
|
+
}
|
457
|
+
function findAllElements(node, find, data) {
|
458
|
+
var e = node.firstElementChild;
|
459
|
+
if (!e) {
|
460
|
+
e = node.firstChild;
|
461
|
+
while (e && e.nodeType !== Node.ELEMENT_NODE) {
|
462
|
+
e = e.nextSibling;
|
463
|
+
}
|
464
|
+
}
|
465
|
+
while (e) {
|
466
|
+
if (find(e, data) !== true) {
|
467
|
+
findAllElements(e, find, data);
|
468
|
+
}
|
469
|
+
e = e.nextElementSibling;
|
470
|
+
}
|
471
|
+
return null;
|
472
|
+
}
|
473
|
+
function forRoots(node, cb) {
|
474
|
+
var root = node.shadowRoot;
|
475
|
+
while (root) {
|
476
|
+
forSubtree(root, cb);
|
477
|
+
root = root.olderShadowRoot;
|
478
|
+
}
|
479
|
+
}
|
480
|
+
function forDocumentTree(doc, cb) {
|
481
|
+
_forDocumentTree(doc, cb, []);
|
482
|
+
}
|
483
|
+
function _forDocumentTree(doc, cb, processingDocuments) {
|
484
|
+
doc = window.wrap(doc);
|
485
|
+
if (processingDocuments.indexOf(doc) >= 0) {
|
486
|
+
return;
|
487
|
+
}
|
488
|
+
processingDocuments.push(doc);
|
489
|
+
var imports = doc.querySelectorAll("link[rel=" + IMPORT_LINK_TYPE + "]");
|
490
|
+
for (var i = 0, l = imports.length, n; i < l && (n = imports[i]); i++) {
|
491
|
+
if (n.import) {
|
492
|
+
_forDocumentTree(n.import, cb, processingDocuments);
|
493
|
+
}
|
494
|
+
}
|
495
|
+
cb(doc);
|
496
|
+
}
|
497
|
+
scope.forDocumentTree = forDocumentTree;
|
498
|
+
scope.forSubtree = forSubtree;
|
499
|
+
});
|
500
|
+
|
501
|
+
window.CustomElements.addModule(function(scope) {
|
502
|
+
var flags = scope.flags;
|
503
|
+
var forSubtree = scope.forSubtree;
|
504
|
+
var forDocumentTree = scope.forDocumentTree;
|
505
|
+
function addedNode(node, isAttached) {
|
506
|
+
return added(node, isAttached) || addedSubtree(node, isAttached);
|
507
|
+
}
|
508
|
+
function added(node, isAttached) {
|
509
|
+
if (scope.upgrade(node, isAttached)) {
|
510
|
+
return true;
|
511
|
+
}
|
512
|
+
if (isAttached) {
|
513
|
+
attached(node);
|
514
|
+
}
|
515
|
+
}
|
516
|
+
function addedSubtree(node, isAttached) {
|
517
|
+
forSubtree(node, function(e) {
|
518
|
+
if (added(e, isAttached)) {
|
519
|
+
return true;
|
520
|
+
}
|
521
|
+
});
|
522
|
+
}
|
523
|
+
var hasThrottledAttached = window.MutationObserver._isPolyfilled && flags["throttle-attached"];
|
524
|
+
scope.hasPolyfillMutations = hasThrottledAttached;
|
525
|
+
scope.hasThrottledAttached = hasThrottledAttached;
|
526
|
+
var isPendingMutations = false;
|
527
|
+
var pendingMutations = [];
|
528
|
+
function deferMutation(fn) {
|
529
|
+
pendingMutations.push(fn);
|
530
|
+
if (!isPendingMutations) {
|
531
|
+
isPendingMutations = true;
|
532
|
+
setTimeout(takeMutations);
|
533
|
+
}
|
534
|
+
}
|
535
|
+
function takeMutations() {
|
536
|
+
isPendingMutations = false;
|
537
|
+
var $p = pendingMutations;
|
538
|
+
for (var i = 0, l = $p.length, p; i < l && (p = $p[i]); i++) {
|
539
|
+
p();
|
540
|
+
}
|
541
|
+
pendingMutations = [];
|
542
|
+
}
|
543
|
+
function attached(element) {
|
544
|
+
if (hasThrottledAttached) {
|
545
|
+
deferMutation(function() {
|
546
|
+
_attached(element);
|
547
|
+
});
|
548
|
+
} else {
|
549
|
+
_attached(element);
|
550
|
+
}
|
551
|
+
}
|
552
|
+
function _attached(element) {
|
553
|
+
if (element.__upgraded__ && !element.__attached) {
|
554
|
+
element.__attached = true;
|
555
|
+
if (element.attachedCallback) {
|
556
|
+
element.attachedCallback();
|
557
|
+
}
|
558
|
+
}
|
559
|
+
}
|
560
|
+
function detachedNode(node) {
|
561
|
+
detached(node);
|
562
|
+
forSubtree(node, function(e) {
|
563
|
+
detached(e);
|
564
|
+
});
|
565
|
+
}
|
566
|
+
function detached(element) {
|
567
|
+
if (hasThrottledAttached) {
|
568
|
+
deferMutation(function() {
|
569
|
+
_detached(element);
|
570
|
+
});
|
571
|
+
} else {
|
572
|
+
_detached(element);
|
573
|
+
}
|
574
|
+
}
|
575
|
+
function _detached(element) {
|
576
|
+
if (element.__upgraded__ && element.__attached) {
|
577
|
+
element.__attached = false;
|
578
|
+
if (element.detachedCallback) {
|
579
|
+
element.detachedCallback();
|
580
|
+
}
|
581
|
+
}
|
582
|
+
}
|
583
|
+
function inDocument(element) {
|
584
|
+
var p = element;
|
585
|
+
var doc = window.wrap(document);
|
586
|
+
while (p) {
|
587
|
+
if (p == doc) {
|
588
|
+
return true;
|
589
|
+
}
|
590
|
+
p = p.parentNode || p.nodeType === Node.DOCUMENT_FRAGMENT_NODE && p.host;
|
591
|
+
}
|
592
|
+
}
|
593
|
+
function watchShadow(node) {
|
594
|
+
if (node.shadowRoot && !node.shadowRoot.__watched) {
|
595
|
+
flags.dom && console.log("watching shadow-root for: ", node.localName);
|
596
|
+
var root = node.shadowRoot;
|
597
|
+
while (root) {
|
598
|
+
observe(root);
|
599
|
+
root = root.olderShadowRoot;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}
|
603
|
+
function handler(root, mutations) {
|
604
|
+
if (flags.dom) {
|
605
|
+
var mx = mutations[0];
|
606
|
+
if (mx && mx.type === "childList" && mx.addedNodes) {
|
607
|
+
if (mx.addedNodes) {
|
608
|
+
var d = mx.addedNodes[0];
|
609
|
+
while (d && d !== document && !d.host) {
|
610
|
+
d = d.parentNode;
|
611
|
+
}
|
612
|
+
var u = d && (d.URL || d._URL || d.host && d.host.localName) || "";
|
613
|
+
u = u.split("/?").shift().split("/").pop();
|
614
|
+
}
|
615
|
+
}
|
616
|
+
console.group("mutations (%d) [%s]", mutations.length, u || "");
|
617
|
+
}
|
618
|
+
var isAttached = inDocument(root);
|
619
|
+
mutations.forEach(function(mx) {
|
620
|
+
if (mx.type === "childList") {
|
621
|
+
forEach(mx.addedNodes, function(n) {
|
622
|
+
if (!n.localName) {
|
623
|
+
return;
|
624
|
+
}
|
625
|
+
addedNode(n, isAttached);
|
626
|
+
});
|
627
|
+
forEach(mx.removedNodes, function(n) {
|
628
|
+
if (!n.localName) {
|
629
|
+
return;
|
630
|
+
}
|
631
|
+
detachedNode(n);
|
632
|
+
});
|
633
|
+
}
|
634
|
+
});
|
635
|
+
flags.dom && console.groupEnd();
|
636
|
+
}
|
637
|
+
function takeRecords(node) {
|
638
|
+
node = window.wrap(node);
|
639
|
+
if (!node) {
|
640
|
+
node = window.wrap(document);
|
641
|
+
}
|
642
|
+
while (node.parentNode) {
|
643
|
+
node = node.parentNode;
|
644
|
+
}
|
645
|
+
var observer = node.__observer;
|
646
|
+
if (observer) {
|
647
|
+
handler(node, observer.takeRecords());
|
648
|
+
takeMutations();
|
649
|
+
}
|
650
|
+
}
|
651
|
+
var forEach = Array.prototype.forEach.call.bind(Array.prototype.forEach);
|
652
|
+
function observe(inRoot) {
|
653
|
+
if (inRoot.__observer) {
|
654
|
+
return;
|
655
|
+
}
|
656
|
+
var observer = new MutationObserver(handler.bind(this, inRoot));
|
657
|
+
observer.observe(inRoot, {
|
658
|
+
childList: true,
|
659
|
+
subtree: true
|
660
|
+
});
|
661
|
+
inRoot.__observer = observer;
|
662
|
+
}
|
663
|
+
function upgradeDocument(doc) {
|
664
|
+
doc = window.wrap(doc);
|
665
|
+
flags.dom && console.group("upgradeDocument: ", doc.baseURI.split("/").pop());
|
666
|
+
var isMainDocument = doc === window.wrap(document);
|
667
|
+
addedNode(doc, isMainDocument);
|
668
|
+
observe(doc);
|
669
|
+
flags.dom && console.groupEnd();
|
670
|
+
}
|
671
|
+
function upgradeDocumentTree(doc) {
|
672
|
+
forDocumentTree(doc, upgradeDocument);
|
673
|
+
}
|
674
|
+
var originalCreateShadowRoot = Element.prototype.createShadowRoot;
|
675
|
+
if (originalCreateShadowRoot) {
|
676
|
+
Element.prototype.createShadowRoot = function() {
|
677
|
+
var root = originalCreateShadowRoot.call(this);
|
678
|
+
window.CustomElements.watchShadow(this);
|
679
|
+
return root;
|
680
|
+
};
|
681
|
+
}
|
682
|
+
scope.watchShadow = watchShadow;
|
683
|
+
scope.upgradeDocumentTree = upgradeDocumentTree;
|
684
|
+
scope.upgradeDocument = upgradeDocument;
|
685
|
+
scope.upgradeSubtree = addedSubtree;
|
686
|
+
scope.upgradeAll = addedNode;
|
687
|
+
scope.attached = attached;
|
688
|
+
scope.takeRecords = takeRecords;
|
689
|
+
});
|
690
|
+
|
691
|
+
window.CustomElements.addModule(function(scope) {
|
692
|
+
var flags = scope.flags;
|
693
|
+
function upgrade(node, isAttached) {
|
694
|
+
if (node.localName === "template") {
|
695
|
+
if (window.HTMLTemplateElement && HTMLTemplateElement.decorate) {
|
696
|
+
HTMLTemplateElement.decorate(node);
|
697
|
+
}
|
698
|
+
}
|
699
|
+
if (!node.__upgraded__ && node.nodeType === Node.ELEMENT_NODE) {
|
700
|
+
var is = node.getAttribute("is");
|
701
|
+
var definition = scope.getRegisteredDefinition(node.localName) || scope.getRegisteredDefinition(is);
|
702
|
+
if (definition) {
|
703
|
+
if (is && definition.tag == node.localName || !is && !definition.extends) {
|
704
|
+
return upgradeWithDefinition(node, definition, isAttached);
|
705
|
+
}
|
706
|
+
}
|
707
|
+
}
|
708
|
+
}
|
709
|
+
function upgradeWithDefinition(element, definition, isAttached) {
|
710
|
+
flags.upgrade && console.group("upgrade:", element.localName);
|
711
|
+
if (definition.is) {
|
712
|
+
element.setAttribute("is", definition.is);
|
713
|
+
}
|
714
|
+
implementPrototype(element, definition);
|
715
|
+
element.__upgraded__ = true;
|
716
|
+
created(element);
|
717
|
+
if (isAttached) {
|
718
|
+
scope.attached(element);
|
719
|
+
}
|
720
|
+
scope.upgradeSubtree(element, isAttached);
|
721
|
+
flags.upgrade && console.groupEnd();
|
722
|
+
return element;
|
723
|
+
}
|
724
|
+
function implementPrototype(element, definition) {
|
725
|
+
if (Object.__proto__) {
|
726
|
+
element.__proto__ = definition.prototype;
|
727
|
+
} else {
|
728
|
+
customMixin(element, definition.prototype, definition.native);
|
729
|
+
element.__proto__ = definition.prototype;
|
730
|
+
}
|
731
|
+
}
|
732
|
+
function customMixin(inTarget, inSrc, inNative) {
|
733
|
+
var used = {};
|
734
|
+
var p = inSrc;
|
735
|
+
while (p !== inNative && p !== HTMLElement.prototype) {
|
736
|
+
var keys = Object.getOwnPropertyNames(p);
|
737
|
+
for (var i = 0, k; k = keys[i]; i++) {
|
738
|
+
if (!used[k]) {
|
739
|
+
Object.defineProperty(inTarget, k, Object.getOwnPropertyDescriptor(p, k));
|
740
|
+
used[k] = 1;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
p = Object.getPrototypeOf(p);
|
744
|
+
}
|
745
|
+
}
|
746
|
+
function created(element) {
|
747
|
+
if (element.createdCallback) {
|
748
|
+
element.createdCallback();
|
749
|
+
}
|
750
|
+
}
|
751
|
+
scope.upgrade = upgrade;
|
752
|
+
scope.upgradeWithDefinition = upgradeWithDefinition;
|
753
|
+
scope.implementPrototype = implementPrototype;
|
754
|
+
});
|
755
|
+
|
756
|
+
window.CustomElements.addModule(function(scope) {
|
757
|
+
var isIE = scope.isIE;
|
758
|
+
var upgradeDocumentTree = scope.upgradeDocumentTree;
|
759
|
+
var upgradeAll = scope.upgradeAll;
|
760
|
+
var upgradeWithDefinition = scope.upgradeWithDefinition;
|
761
|
+
var implementPrototype = scope.implementPrototype;
|
762
|
+
var useNative = scope.useNative;
|
763
|
+
function register(name, options) {
|
764
|
+
var definition = options || {};
|
765
|
+
if (!name) {
|
766
|
+
throw new Error("document.registerElement: first argument `name` must not be empty");
|
767
|
+
}
|
768
|
+
if (name.indexOf("-") < 0) {
|
769
|
+
throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '" + String(name) + "'.");
|
770
|
+
}
|
771
|
+
if (isReservedTag(name)) {
|
772
|
+
throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '" + String(name) + "'. The type name is invalid.");
|
773
|
+
}
|
774
|
+
if (getRegisteredDefinition(name)) {
|
775
|
+
throw new Error("DuplicateDefinitionError: a type with name '" + String(name) + "' is already registered");
|
776
|
+
}
|
777
|
+
if (!definition.prototype) {
|
778
|
+
definition.prototype = Object.create(HTMLElement.prototype);
|
779
|
+
}
|
780
|
+
definition.__name = name.toLowerCase();
|
781
|
+
if (definition.extends) {
|
782
|
+
definition.extends = definition.extends.toLowerCase();
|
783
|
+
}
|
784
|
+
definition.lifecycle = definition.lifecycle || {};
|
785
|
+
definition.ancestry = ancestry(definition.extends);
|
786
|
+
resolveTagName(definition);
|
787
|
+
resolvePrototypeChain(definition);
|
788
|
+
overrideAttributeApi(definition.prototype);
|
789
|
+
registerDefinition(definition.__name, definition);
|
790
|
+
definition.ctor = generateConstructor(definition);
|
791
|
+
definition.ctor.prototype = definition.prototype;
|
792
|
+
definition.prototype.constructor = definition.ctor;
|
793
|
+
if (scope.ready) {
|
794
|
+
upgradeDocumentTree(document);
|
795
|
+
}
|
796
|
+
return definition.ctor;
|
797
|
+
}
|
798
|
+
function overrideAttributeApi(prototype) {
|
799
|
+
if (prototype.setAttribute._polyfilled) {
|
800
|
+
return;
|
801
|
+
}
|
802
|
+
var setAttribute = prototype.setAttribute;
|
803
|
+
prototype.setAttribute = function(name, value) {
|
804
|
+
changeAttribute.call(this, name, value, setAttribute);
|
805
|
+
};
|
806
|
+
var removeAttribute = prototype.removeAttribute;
|
807
|
+
prototype.removeAttribute = function(name) {
|
808
|
+
changeAttribute.call(this, name, null, removeAttribute);
|
809
|
+
};
|
810
|
+
prototype.setAttribute._polyfilled = true;
|
811
|
+
}
|
812
|
+
function changeAttribute(name, value, operation) {
|
813
|
+
name = name.toLowerCase();
|
814
|
+
var oldValue = this.getAttribute(name);
|
815
|
+
operation.apply(this, arguments);
|
816
|
+
var newValue = this.getAttribute(name);
|
817
|
+
if (this.attributeChangedCallback && newValue !== oldValue) {
|
818
|
+
this.attributeChangedCallback(name, oldValue, newValue);
|
819
|
+
}
|
820
|
+
}
|
821
|
+
function isReservedTag(name) {
|
822
|
+
for (var i = 0; i < reservedTagList.length; i++) {
|
823
|
+
if (name === reservedTagList[i]) {
|
824
|
+
return true;
|
825
|
+
}
|
826
|
+
}
|
827
|
+
}
|
828
|
+
var reservedTagList = [ "annotation-xml", "color-profile", "font-face", "font-face-src", "font-face-uri", "font-face-format", "font-face-name", "missing-glyph" ];
|
829
|
+
function ancestry(extnds) {
|
830
|
+
var extendee = getRegisteredDefinition(extnds);
|
831
|
+
if (extendee) {
|
832
|
+
return ancestry(extendee.extends).concat([ extendee ]);
|
833
|
+
}
|
834
|
+
return [];
|
835
|
+
}
|
836
|
+
function resolveTagName(definition) {
|
837
|
+
var baseTag = definition.extends;
|
838
|
+
for (var i = 0, a; a = definition.ancestry[i]; i++) {
|
839
|
+
baseTag = a.is && a.tag;
|
840
|
+
}
|
841
|
+
definition.tag = baseTag || definition.__name;
|
842
|
+
if (baseTag) {
|
843
|
+
definition.is = definition.__name;
|
844
|
+
}
|
845
|
+
}
|
846
|
+
function resolvePrototypeChain(definition) {
|
847
|
+
if (!Object.__proto__) {
|
848
|
+
var nativePrototype = HTMLElement.prototype;
|
849
|
+
if (definition.is) {
|
850
|
+
var inst = document.createElement(definition.tag);
|
851
|
+
nativePrototype = Object.getPrototypeOf(inst);
|
852
|
+
}
|
853
|
+
var proto = definition.prototype, ancestor;
|
854
|
+
var foundPrototype = false;
|
855
|
+
while (proto) {
|
856
|
+
if (proto == nativePrototype) {
|
857
|
+
foundPrototype = true;
|
858
|
+
}
|
859
|
+
ancestor = Object.getPrototypeOf(proto);
|
860
|
+
if (ancestor) {
|
861
|
+
proto.__proto__ = ancestor;
|
862
|
+
}
|
863
|
+
proto = ancestor;
|
864
|
+
}
|
865
|
+
if (!foundPrototype) {
|
866
|
+
console.warn(definition.tag + " prototype not found in prototype chain for " + definition.is);
|
867
|
+
}
|
868
|
+
definition.native = nativePrototype;
|
869
|
+
}
|
870
|
+
}
|
871
|
+
function instantiate(definition) {
|
872
|
+
return upgradeWithDefinition(domCreateElement(definition.tag), definition);
|
873
|
+
}
|
874
|
+
var registry = {};
|
875
|
+
function getRegisteredDefinition(name) {
|
876
|
+
if (name) {
|
877
|
+
return registry[name.toLowerCase()];
|
878
|
+
}
|
879
|
+
}
|
880
|
+
function registerDefinition(name, definition) {
|
881
|
+
registry[name] = definition;
|
882
|
+
}
|
883
|
+
function generateConstructor(definition) {
|
884
|
+
return function() {
|
885
|
+
return instantiate(definition);
|
886
|
+
};
|
887
|
+
}
|
888
|
+
var HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
|
889
|
+
function createElementNS(namespace, tag, typeExtension) {
|
890
|
+
if (namespace === HTML_NAMESPACE) {
|
891
|
+
return createElement(tag, typeExtension);
|
892
|
+
} else {
|
893
|
+
return domCreateElementNS(namespace, tag);
|
894
|
+
}
|
895
|
+
}
|
896
|
+
function createElement(tag, typeExtension) {
|
897
|
+
if (tag) {
|
898
|
+
tag = tag.toLowerCase();
|
899
|
+
}
|
900
|
+
if (typeExtension) {
|
901
|
+
typeExtension = typeExtension.toLowerCase();
|
902
|
+
}
|
903
|
+
var definition = getRegisteredDefinition(typeExtension || tag);
|
904
|
+
if (definition) {
|
905
|
+
if (tag == definition.tag && typeExtension == definition.is) {
|
906
|
+
return new definition.ctor();
|
907
|
+
}
|
908
|
+
if (!typeExtension && !definition.is) {
|
909
|
+
return new definition.ctor();
|
910
|
+
}
|
911
|
+
}
|
912
|
+
var element;
|
913
|
+
if (typeExtension) {
|
914
|
+
element = createElement(tag);
|
915
|
+
element.setAttribute("is", typeExtension);
|
916
|
+
return element;
|
917
|
+
}
|
918
|
+
element = domCreateElement(tag);
|
919
|
+
if (tag.indexOf("-") >= 0) {
|
920
|
+
implementPrototype(element, HTMLElement);
|
921
|
+
}
|
922
|
+
return element;
|
923
|
+
}
|
924
|
+
var domCreateElement = document.createElement.bind(document);
|
925
|
+
var domCreateElementNS = document.createElementNS.bind(document);
|
926
|
+
var isInstance;
|
927
|
+
if (!Object.__proto__ && !useNative) {
|
928
|
+
isInstance = function(obj, ctor) {
|
929
|
+
if (obj instanceof ctor) {
|
930
|
+
return true;
|
931
|
+
}
|
932
|
+
var p = obj;
|
933
|
+
while (p) {
|
934
|
+
if (p === ctor.prototype) {
|
935
|
+
return true;
|
936
|
+
}
|
937
|
+
p = p.__proto__;
|
938
|
+
}
|
939
|
+
return false;
|
940
|
+
};
|
941
|
+
} else {
|
942
|
+
isInstance = function(obj, base) {
|
943
|
+
return obj instanceof base;
|
944
|
+
};
|
945
|
+
}
|
946
|
+
function wrapDomMethodToForceUpgrade(obj, methodName) {
|
947
|
+
var orig = obj[methodName];
|
948
|
+
obj[methodName] = function() {
|
949
|
+
var n = orig.apply(this, arguments);
|
950
|
+
upgradeAll(n);
|
951
|
+
return n;
|
952
|
+
};
|
953
|
+
}
|
954
|
+
wrapDomMethodToForceUpgrade(Node.prototype, "cloneNode");
|
955
|
+
wrapDomMethodToForceUpgrade(document, "importNode");
|
956
|
+
document.registerElement = register;
|
957
|
+
document.createElement = createElement;
|
958
|
+
document.createElementNS = createElementNS;
|
959
|
+
scope.registry = registry;
|
960
|
+
scope.instanceof = isInstance;
|
961
|
+
scope.reservedTagList = reservedTagList;
|
962
|
+
scope.getRegisteredDefinition = getRegisteredDefinition;
|
963
|
+
document.register = document.registerElement;
|
964
|
+
});
|
965
|
+
|
966
|
+
(function(scope) {
|
967
|
+
var useNative = scope.useNative;
|
968
|
+
var initializeModules = scope.initializeModules;
|
969
|
+
var isIE = scope.isIE;
|
970
|
+
if (useNative) {
|
971
|
+
var nop = function() {};
|
972
|
+
scope.watchShadow = nop;
|
973
|
+
scope.upgrade = nop;
|
974
|
+
scope.upgradeAll = nop;
|
975
|
+
scope.upgradeDocumentTree = nop;
|
976
|
+
scope.upgradeSubtree = nop;
|
977
|
+
scope.takeRecords = nop;
|
978
|
+
scope.instanceof = function(obj, base) {
|
979
|
+
return obj instanceof base;
|
980
|
+
};
|
981
|
+
} else {
|
982
|
+
initializeModules();
|
983
|
+
}
|
984
|
+
var upgradeDocumentTree = scope.upgradeDocumentTree;
|
985
|
+
var upgradeDocument = scope.upgradeDocument;
|
986
|
+
if (!window.wrap) {
|
987
|
+
if (window.ShadowDOMPolyfill) {
|
988
|
+
window.wrap = window.ShadowDOMPolyfill.wrapIfNeeded;
|
989
|
+
window.unwrap = window.ShadowDOMPolyfill.unwrapIfNeeded;
|
990
|
+
} else {
|
991
|
+
window.wrap = window.unwrap = function(node) {
|
992
|
+
return node;
|
993
|
+
};
|
994
|
+
}
|
995
|
+
}
|
996
|
+
if (window.HTMLImports) {
|
997
|
+
window.HTMLImports.__importsParsingHook = function(elt) {
|
998
|
+
if (elt.import) {
|
999
|
+
upgradeDocument(wrap(elt.import));
|
1000
|
+
}
|
1001
|
+
};
|
1002
|
+
}
|
1003
|
+
function bootstrap() {
|
1004
|
+
upgradeDocumentTree(window.wrap(document));
|
1005
|
+
window.CustomElements.ready = true;
|
1006
|
+
var requestAnimationFrame = window.requestAnimationFrame || function(f) {
|
1007
|
+
setTimeout(f, 16);
|
1008
|
+
};
|
1009
|
+
requestAnimationFrame(function() {
|
1010
|
+
setTimeout(function() {
|
1011
|
+
window.CustomElements.readyTime = Date.now();
|
1012
|
+
if (window.HTMLImports) {
|
1013
|
+
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
|
1014
|
+
}
|
1015
|
+
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
|
1016
|
+
bubbles: true
|
1017
|
+
}));
|
1018
|
+
});
|
1019
|
+
});
|
1020
|
+
}
|
1021
|
+
if (document.readyState === "complete" || scope.flags.eager) {
|
1022
|
+
bootstrap();
|
1023
|
+
} else if (document.readyState === "interactive" && !window.attachEvent && (!window.HTMLImports || window.HTMLImports.ready)) {
|
1024
|
+
bootstrap();
|
1025
|
+
} else {
|
1026
|
+
var loadEvent = window.HTMLImports && !window.HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
|
1027
|
+
window.addEventListener(loadEvent, bootstrap);
|
1028
|
+
}
|
1029
|
+
})(window.CustomElements);
|