jekyll-theme-hydejack 9.0.4 → 9.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +5 -4
- data/_includes/body/breadcrumbs.html +19 -0
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +3 -2
- data/_includes/body/main.html +1 -0
- data/_includes/body/nav.html +2 -2
- data/_includes/body/scripts.html +2 -2
- data/_includes/body/sidebar.html +1 -1
- data/_includes/components/dingbat.html +12 -0
- data/_includes/components/post.html +30 -10
- data/_includes/head/links-static.html +2 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/scripts.html +7 -2
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +33 -0
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/smart-url +10 -1
- data/_includes/styles/page-style.scss +1 -0
- data/_includes/styles/variables.scss +4 -2
- data/_includes/templates/animation.html +1 -0
- data/_includes/templates/index.html +20 -2
- data/_layouts/about.html +4 -1
- data/_layouts/base.html +3 -7
- data/_layouts/compress.html +1 -1
- data/_layouts/list.html +1 -1
- data/_layouts/page.html +4 -2
- data/_layouts/plain.html +29 -0
- data/_layouts/post.html +1 -1
- data/_sass/_mixins.scss +8 -2
- data/_sass/hydejack/__inline__/_base.scss +23 -1
- data/_sass/hydejack/__inline__/_content.scss +5 -1
- data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
- data/_sass/hydejack/__inline__/_toc.scss +9 -5
- data/_sass/hydejack/__inline__/_utilities.scss +25 -0
- data/_sass/hydejack/__link__/_base.scss +1 -1
- data/_sass/hydejack/__link__/_break-layout.scss +8 -1
- data/_sass/hydejack/__link__/_images.scss +1 -1
- data/_sass/hydejack/__link__/_sidebar.scss +15 -5
- data/_sass/hydejack/__link__/_toc.scss +4 -4
- data/_sass/hydejack/__link__/_utilities.scss +25 -0
- data/_sass/hydejack/_base.pre.scss +23 -1
- data/_sass/hydejack/_break-layout.pre.scss +8 -1
- data/_sass/hydejack/_content.pre.scss +5 -1
- data/_sass/hydejack/_images.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +29 -5
- data/_sass/hydejack/_toc.pre.scss +12 -6
- data/_sass/hydejack/_utilities.pre.scss +25 -0
- data/_sass/pooleparty/__inline__/_base.scss +2 -0
- data/_sass/pooleparty/__inline__/_code.scss +1 -1
- data/_sass/pooleparty/__inline__/_message.scss +1 -1
- data/_sass/pooleparty/__inline__/_posts.scss +16 -3
- data/_sass/pooleparty/__inline__/_type.scss +2 -2
- data/_sass/pooleparty/__link__/_code.scss +138 -27
- data/_sass/pooleparty/__link__/_posts.scss +12 -0
- data/_sass/pooleparty/__link__/_read-more.scss +1 -0
- data/_sass/pooleparty/__link__/_table.scss +30 -36
- data/_sass/pooleparty/__link__/_type.scss +2 -2
- data/_sass/pooleparty/_base.pre.scss +2 -0
- data/_sass/pooleparty/_code.pre.scss +138 -27
- data/_sass/pooleparty/_message.pre.scss +1 -1
- data/_sass/pooleparty/_posts.pre.scss +28 -3
- data/_sass/pooleparty/_read-more.pre.scss +1 -0
- data/_sass/pooleparty/_table.pre.scss +30 -36
- data/_sass/pooleparty/_type.pre.scss +4 -4
- data/assets/bower.json +2 -1
- data/assets/bower_components/MathJax/.bower.json +5 -5
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
- data/assets/bower_components/MathJax/es5/core.js +1 -1
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
- data/assets/bower_components/MathJax/es5/latest.js +1 -1
- data/assets/bower_components/MathJax/es5/loader.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/node-main.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
- data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
- data/assets/bower_components/MathJax/es5/startup.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
- data/assets/bower_components/MathJax/package.json +3 -3
- data/assets/bower_components/katex/.bower.json +5 -5
- data/assets/bower_components/katex/LICENSE +1 -1
- data/assets/bower_components/katex/dist/contrib/auto-render.js +14 -3
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/auto-render.mjs +14 -3
- data/assets/bower_components/katex/dist/contrib/mhchem.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +870 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +753 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/katex.css +25 -11
- data/assets/bower_components/katex/dist/katex.js +2437 -1938
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +2449 -1880
- data/assets/bower_components/katex/docs/cli.md.template +21 -0
- data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
- data/assets/bower_components/katex/yarn.lock +389 -276
- data/assets/css/{hydejack-9.0.4.css → hydejack-9.1.0.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +6 -3
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +17 -8
- data/assets/icons/icon-128x128.png +0 -0
- data/assets/icons/icon-144x144.png +0 -0
- data/assets/icons/icon-152x152.png +0 -0
- data/assets/icons/icon-192x192.png +0 -0
- data/assets/icons/icon-384x384.png +0 -0
- data/assets/icons/icon-512x512.png +0 -0
- data/assets/icons/icon-96x96.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +1 -22
- data/assets/js/LEGACY-clap-button-hydejack-9.1.0.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.0.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.0.4.js → LEGACY-fetch-hydejack-9.1.0.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.0.js +27 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.0.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.0.js +14 -0
- data/assets/js/{resize-observer-hydejack-9.0.4.js → LEGACY-resize-observer-hydejack-9.1.0.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.0.4.js → LEGACY-shadydom-hydejack-9.1.0.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.0.js +182 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.0.js +48 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.0.js +214 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.0.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.0.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.0.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.0.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.4.js → LEGACY-vendors~webanimations-hydejack-9.1.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.4.js → LEGACY-vendors~webcomponents-hydejack-9.1.0.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.0.4.js → LEGACY-webcomponents-hydejack-9.1.0.js} +2 -2
- data/assets/js/clap-button-hydejack-9.1.0.js +14 -0
- data/assets/js/drawer-hydejack-9.1.0.js +14 -0
- data/assets/js/{shadydom-hydejack-9.0.4.js → fetch-hydejack-9.1.0.js} +2 -2
- data/assets/js/hydejack-9.1.0.js +28 -0
- data/assets/js/navbar-hydejack-9.1.0.js +14 -0
- data/assets/js/push-state-hydejack-9.1.0.js +14 -0
- data/assets/js/{LEGACY-resize-observer-hydejack-9.0.4.js → resize-observer-hydejack-9.1.0.js} +2 -2
- data/assets/js/{fetch-hydejack-9.0.4.js → shadydom-hydejack-9.1.0.js} +2 -2
- data/assets/js/vendors~clap-button-hydejack-9.1.0.js +222 -0
- data/assets/js/vendors~drawer-hydejack-9.1.0.js +48 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.1.0.js +163 -0
- data/assets/js/vendors~fetch-hydejack-9.1.0.js +14 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.1.0.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.1.0.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.0.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.0.4.js → vendors~webanimations-hydejack-9.1.0.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.0.4.js → webcomponents-hydejack-9.1.0.js} +2 -2
- data/assets/site.webmanifest +1 -1
- data/assets/version.json +2 -2
- metadata +54 -47
- data/_includes/templates/back.html +0 -6
- data/_includes/templates/forward.html +0 -6
- data/assets/js/LEGACY-drawer-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-hydejack-9.0.4.js +0 -28
- data/assets/js/LEGACY-navbar-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-search-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-toc-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.4.js +0 -47
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.4.js +0 -215
- data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -151
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.4.js +0 -33
- data/assets/js/LEGACY-vendors~search-hydejack-9.0.4.js +0 -40
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.4.js +0 -155
- data/assets/js/drawer-hydejack-9.0.4.js +0 -14
- data/assets/js/hydejack-9.0.4.js +0 -28
- data/assets/js/navbar-hydejack-9.0.4.js +0 -14
- data/assets/js/push-state-hydejack-9.0.4.js +0 -14
- data/assets/js/search-hydejack-9.0.4.js +0 -14
- data/assets/js/toc-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.0.4.js +0 -47
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.4.js +0 -163
- data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -124
- data/assets/js/vendors~fetch-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~intersection-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.0.4.js +0 -33
- data/assets/js/vendors~search-hydejack-9.0.4.js +0 -40
- data/assets/js/vendors~shadydom-hydejack-9.0.4.js +0 -146
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{301:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r,i;i={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={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"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,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:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={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",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},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(t){return function(){return this._surrogateStyle[t]}}(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(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.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,t.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,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["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"]),t.addPropertiesHandler(u,o,["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","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{351:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r,i;i={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={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"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,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:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={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",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},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(t){return function(){return this._surrogateStyle[t]}}(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(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.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,t.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,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["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"]),t.addPropertiesHandler(u,o,["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","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{330:function(t,e){
|
15
15
|
/**
|
16
16
|
* @license
|
17
17
|
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* Code distributed by Google as part of the polymer project is also
|
22
22
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
23
23
|
*/
|
24
|
-
!function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},
|
24
|
+
!function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},331:function(t,e){Window.prototype.forceJURL=!1,function(t){"use strict";var e=!1;if(!t.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",e="http://a/c%20d"===n.href}catch(t){}if(!e){var o=Object.create(null);o.ftp=21,o.file=0,o.gopher=70,o.http=80,o.https=443,o.ws=80,o.wss=443;var r=Object.create(null);r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var i=void 0,a=/[a-zA-Z]/,s=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var t="";return""==this._username&&null==this._password||(t=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+t+this.host:"")+this.pathname+this._query+this._fragment},set href(t){m.call(this),d.call(this,t)},get protocol(){return this._scheme+":"},set protocol(t){this._isInvalid||d.call(this,t+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"host")},get hostname(){return this._host},set hostname(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"hostname")},get port(){return this._port},set port(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(t){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,t,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(t){!this._isInvalid&&this._isRelative&&(this._query="?","?"==t[0]&&(t=t.slice(1)),d.call(this,t,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(t){this._isInvalid||(t?(this._fragment="#","#"==t[0]&&(t=t.slice(1)),d.call(this,t,"fragment")):this._fragment="")},get origin(){var t;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this._scheme+"://"+t:""}};var c=t.URL;c&&(v.createObjectURL=function(t){return c.createObjectURL.apply(c,arguments)},v.revokeObjectURL=function(t){c.revokeObjectURL(t)}),t.URL=v}function l(t){return void 0!==o[t]}function h(){m.call(this),this._isInvalid=!0}function u(t){return""==t&&h.call(this),t.toLowerCase()}function p(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function f(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function d(t,e,n){function c(t){w.push(t)}var d=e||"scheme start",m=0,v="",_=!1,y=!1,w=[];t:for(;(t[m-1]!=i||0==m)&&!this._isInvalid;){var g=t[m];switch(d){case"scheme start":if(!g||!a.test(g)){if(e){c("Invalid scheme.");break t}v="",d="no scheme";continue}v+=g.toLowerCase(),d="scheme";break;case"scheme":if(g&&s.test(g))v+=g.toLowerCase();else{if(":"!=g){if(e){if(i==g)break t;c("Code point not allowed in scheme: "+g);break t}v="",m=0,d="no scheme";continue}if(this._scheme=v,v="",e)break t;l(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this._query="?",d="query"):"#"==g?(this._fragment="#",d="fragment"):i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._schemeData+=p(g));break;case"no scheme":if(n&&l(n._scheme)){d="relative";continue}c("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!=g||"/"!=t[m+1]){c("Expected /, got: "+g),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==g){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break t}if("/"==g||"\\"==g)"\\"==g&&c("\\ is an invalid code point."),d="relative slash";else if("?"==g)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,d="query";else{if("#"!=g){var b=t[m+1],E=t[m+2];("file"!=this._scheme||!a.test(g)||":"!=b&&"|"!=b||i!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),d="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,d="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),d="relative path";continue}"\\"==g&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){c("Expected '/', got: "+g),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=g){c("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){d="authority";continue}c("Expected authority, got: "+g);break;case"authority":if("@"==g){_&&(c("@ already seen."),v+="%40"),_=!0;for(var C=0;C<v.length;C++){var N=v[C];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var D=p(N);null!==this._password?this._password+=D:this._username+=D}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){m-=v.length,v="",d="host";continue}v+=g}break;case"file host":if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=v.length||!a.test(v[0])||":"!=v[1]&&"|"!=v[1]?(0==v.length||(this._host=u.call(this,v),v=""),d="relative path start"):d="relative path";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid whitespace in file host."):v+=g;break;case"host":case"hostname":if(":"!=g||y){if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this._host=u.call(this,v),v="",d="relative path start",e)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?y=!0:"]"==g&&(y=!1),v+=g):c("Invalid code point in host/hostname: "+g)}else if(this._host=u.call(this,v),v="",d="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(g))v+=g;else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g||e){if(""!=v){var T=parseInt(v,10);T!=o[this._scheme]&&(this._port=T+""),v=""}if(e)break t;d="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid code point in port: "+g):h.call(this)}break;case"relative path start":if("\\"==g&&c("'\\' not allowed in path."),d="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":var k;if(i!=g&&"/"!=g&&"\\"!=g&&(e||"?"!=g&&"#"!=g))"\t"!=g&&"\n"!=g&&"\r"!=g&&(v+=p(g));else"\\"==g&&c("\\ not allowed in relative path."),(k=r[v.toLowerCase()])&&(v=k),".."==v?(this._path.pop(),"/"!=g&&"\\"!=g&&this._path.push("")):"."==v&&"/"!=g&&"\\"!=g?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&a.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==g?(this._query="?",d="query"):"#"==g&&(this._fragment="#",d="fragment");break;case"query":e||"#"!=g?i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._query+=f(g)):(this._fragment="#",d="fragment");break;case"fragment":i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._fragment+=g)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(t,e){void 0===e||e instanceof v||(e=new v(String(e))),this._url=""+t,m.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,n,null,e)}}(window)},332:function(t,e){
|
25
25
|
/**
|
26
26
|
* @license
|
27
27
|
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
@@ -31,4 +31,4 @@
|
|
31
31
|
* Code distributed by Google as part of the polymer project is also
|
32
32
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
33
33
|
*/
|
34
|
-
!function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},329:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
|
34
|
+
!function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},333:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
|
data/assets/js/{LEGACY-webcomponents-hydejack-9.0.4.js → LEGACY-webcomponents-hydejack-9.1.0.js}
RENAMED
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{319:function(e,n,t){"use strict";t.r(n);t(330),t(331),t(332),t(333);var o=window.customElements,d=!1,l=null;function a(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),l&&l(),d=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}o.polyfillWrapFlushCallback&&o.polyfillWrapFlushCallback((function(e){l=e,d&&e()})),"complete"!==document.readyState?(window.addEventListener("load",a),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",a),a()}))):a()}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{153:function(n,e,i){"use strict";i.r(e);var o,t=i(15);function r(n,e,i,o,t,r,l){try{var s=n[r](l),u=s.value}catch(n){return void i(n)}s.done?e(u):Promise.resolve(u).then(o,t)}(o=function*(){yield Promise.all([..."customElements"in window?[]:[i.e(16).then(i.bind(null,175)).then(()=>Promise.all([i.e(14),i.e(8)]).then(i.bind(null,176)))]]),yield t.t,yield t.s,window.GET_CLAPS_API||(window.GET_CLAPS_API="https://worker.getclaps.app"),Promise.resolve().then(i.bind(null,181))},function(){var n=this,e=arguments;return new Promise((function(i,t){var l=o.apply(n,e);function s(n){r(l,i,t,s,u,"next",n)}function u(n){r(l,i,t,s,u,"throw",n)}s(void 0)}))})()}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{154:function(e,t,a){"use strict";a.r(t);var n,i=a(97),r=a(179),c=a(157),l=a(210),o=a(96),s=a(178),d=a(25),p=a(198),u=a(99),b=a(98),h=a(95),w=a(211),v=a(15);function m(e,t,a,n,i,r,c){try{var l=e[r](c),o=l.value}catch(e){return void a(e)}l.done?t(o):Promise.resolve(o).then(n,i)}(n=function*(){var e;yield Promise.all([..."customElements"in window?[]:[a.e(16).then(a.bind(null,175)).then(()=>Promise.all([a.e(14),a.e(8)]).then(a.bind(null,176)))],..."ResizeObserver"in window?[]:[a.e(7).then(a.bind(null,193))]]),yield v.t,yield v.s;var t=document.getElementById("_drawer"),n=document.getElementById("_sidebar"),m=null==n?void 0:n.querySelector(".sidebar-sticky");if(t&&n&&m){null===(e=document.getElementById("_menu"))||void 0===e||e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),t.toggle()}),n.querySelectorAll('a[href^="/"]:not(.external)').forEach(e=>e.addEventListener("click",()=>t.close())),v.p&&t.setAttribute("threshold","0"),v.n||t.setAttribute("mouseevents","");var[y,O]=v.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],j=Object(r.a)(Object(v.g)(window.matchMedia(v.a)),Object(v.g)(window.matchMedia(v.b))).pipe(Object(s.a)({}),Object(d.a)(()=>window.matchMedia(v.b).matches?3:window.matchMedia(v.a).matches?2:1)),g=Object(c.a)(t,"peek-width-change").pipe(Object(d.a)(e=>e.detail)),f=Object(c.a)(window,"resize",{passive:!0}).pipe(Object(s.a)({}),Object(d.a)(v.i)),S=Object(l.a)(g,f).pipe(Object(d.a)(e=>{var[t,a]=e;return a/2-t/2})),E=Object(r.a)(S.pipe(Object(d.a)(()=>void 0!==t.opacity?1-t.opacity:L?0:1)),Object(c.a)(t,"hy-drawer-move").pipe(Object(d.a)(e=>{var{detail:{opacity:t}}=e;return 1-t})));t.addEventListener("hy-drawer-prepare",()=>{n.style.willChange="transform",m.style.willChange="opacity"}),t.addEventListener("hy-drawer-transitioned",()=>{n.style.willChange="",m.style.willChange=""});var C=Object(v.h)(),L=t.classList.contains("cover")&&C<=0&&!(history.state&&history.state.closedOnce);L||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,t.removeAttribute("opened"));var _,k=Object(c.a)(t,"hy-drawer-transitioned").pipe(Object(d.a)(e=>e.detail),Object(p.a)(),Object(u.a)(e=>{var t,a;e||(null==(a=document.getElementById("_swipe"))||null===(t=a.parentNode)||void 0===t||t.removeChild(a),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)}),Object(s.a)(L)),B=L?null:t.getBoundingClientRect().height;t.addEventListener("hy-drawer-init",()=>{t.classList.add("loaded"),function(e){var t=document.getElementById("_hrefSwipeSVG");if(t){var a,n=document.createElement("img");n.id="_swipe",n.src=t.href,n.alt="Swipe image",n.addEventListener("click",()=>e.close()),null===(a=document.getElementById("_sidebar"))||void 0===a||a.appendChild(n)}}(t),B&&C>=B&&window.scrollTo(0,C-B)},{once:!0}),yield Promise.resolve().then(a.bind(null,195)),window._drawer=t,E.pipe(Object(b.a)(j,S),Object(u.a)(e=>((e,t,a)=>{var i=a*e,r=t>=2?1:1-e;v.j?(y[0].x.value=i,O.value=r,n.attributeStyleMap.set("transform",y),m.attributeStyleMap.set("opacity",O)):(n.style.transform="translateX(".concat(i,"px)"),m.style.opacity=r)})(...e))).subscribe(),g.pipe(Object(b.a)(j),Object(d.a)(e=>function(e,t){return t>=2?[0,e]:v.o?[35,150]:[0,150]}(...e)),Object(u.a)(e=>{t.range=e})).subscribe(),Object(c.a)(document,"wheel",{passive:!1}).pipe((_=k,e=>_.pipe(Object(o.a)(t=>t?e:i.a))),Object(h.a)(e=>e.deltaY>0),Object(u.a)(e=>{t.translateX>0&&e.preventDefault()}),Object(w.a)(500),Object(u.a)(()=>t.close())).subscribe()}},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function c(e){m(r,a,i,c,l,"next",e)}function l(e){m(r,a,i,c,l,"throw",e)}c(void 0)}))})()}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{209:function(n,w,o){"use strict";o.r(w);o(191),o(192)}}]);
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/!function(t){function n(n){for(var e,o,i=n[0],u=n[1],c=0,s=[];c<i.length;c++)o=i[c],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&s.push(r[o][0]),r[o]=0;for(e in u)Object.prototype.hasOwnProperty.call(u,e)&&(t[e]=u[e]);for(a&&a(n);s.length;)s.shift()()}var e={},r={4:0};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var n=[],e=r[t];if(0!==e)if(e)n.push(e[2]);else{var i=new Promise((function(n,o){e=r[t]=[n,o]}));n.push(e[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(t){return o.p+""+({0:"vendors~drawer~push-state",1:"clap-button",2:"drawer",3:"fetch",5:"navbar",6:"push-state",7:"resize-observer",8:"shadydom",9:"vendors~clap-button",10:"vendors~drawer",11:"vendors~fetch",12:"vendors~intersection-observer",13:"vendors~push-state",14:"vendors~shadydom",15:"vendors~webanimations",16:"webcomponents"}[t]||t)+"-hydejack-9.1.0.js"}(t);var a=new Error;u=function(n){c.onerror=c.onload=null,clearTimeout(s);var e=r[t];if(0!==e){if(e){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,e[1](a)}r[t]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(n)},o.m=t,o.c=e,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/assets/js/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=n,i=i.slice();for(var c=0;c<i.length;c++)n(i[c]);var a=u;o(o.s=100)}([function(t,n,e){"use strict";function r(t){return"function"==typeof t}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"f",(function(){return o})),e.d(n,"e",(function(){return i})),e.d(n,"b",(function(){return u})),e.d(n,"g",(function(){return c})),e.d(n,"j",(function(){return a})),e.d(n,"h",(function(){return s})),e.d(n,"i",(function(){return f})),e.d(n,"a",(function(){return l})),e.d(n,"c",(function(){return d})),e.d(n,"d",(function(){return p}));
|
14
|
+
/*! *****************************************************************************
|
15
|
+
Copyright (c) Microsoft Corporation.
|
16
|
+
|
17
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
18
|
+
purpose with or without fee is hereby granted.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
21
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
22
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
23
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
24
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
25
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
26
|
+
PERFORMANCE OF THIS SOFTWARE.
|
27
|
+
***************************************************************************** */
|
28
|
+
var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function o(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}function i(t,n,e,r){var o,i=arguments.length,u=i<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(u=(i<3?o(u):i>3?o(n,e,u):o(n,e))||u);return i>3&&u&&Object.defineProperty(n,e,u),u}function u(t,n,e,r){return new(e||(e=Promise))((function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}a((r=r.apply(t,n||[])).next())}))}function c(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function a(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function f(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(s(arguments[n]));return t}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=a(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}}function d(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)}function p(t,n,e){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,e),e}},function(t,n,e){"use strict";e.d(n,"a",(function(){return f}));var r=e(40),o=e(7),i=e(21),u=e(20);function c(t){return 0===t.length?u.a:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}var a=e(17),s=e(0),f=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(t,n,e){var i,u=(i=t)&&i instanceof r.b||function(t){return t&&Object(s.a)(t.next)&&Object(s.a)(t.error)&&Object(s.a)(t.complete)}(i)&&Object(o.c)(i)?t:new r.a(t,n,e),c=this.operator,f=this.source;return u.add(c?c.call(u,f):f||a.a.useDeprecatedSynchronousErrorHandling?this._subscribe(u):this._trySubscribe(u)),u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){if(a.a.useDeprecatedSynchronousErrorHandling)throw n;t.error(n)}},t.prototype.forEach=function(t,n){var e=this;return new(n=l(n))((function(n,r){var o;o=e.subscribe((function(n){try{t(n)}catch(t){r(t),null==o||o.unsubscribe()}}),r,n)}))},t.prototype._subscribe=function(t){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(t)},t.prototype[i.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length?c(t)(this):this},t.prototype.toPromise=function(t){var n=this;return new(t=l(t))((function(t,e){var r;n.subscribe((function(t){return r=t}),(function(t){return e(t)}),(function(){return t(r)}))}))},t.create=function(n){return new t(n)},t}();function l(t){var n;return null!==(n=null!=t?t:a.a.Promise)&&void 0!==n?n:Promise}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(1),o=function(t){function n(n,e,r,o,i){var u=t.call(this,n)||this;return u.onUnsubscribe=i,e&&(u._next=function(t){try{e(t)}catch(t){this.destination.error(t)}}),r&&(u._error=function(t){try{r(t)}catch(t){this.destination.error(t)}this.unsubscribe()}),o&&(u._complete=function(){try{o()}catch(t){this.destination.error(t)}this.unsubscribe()}),u}return Object(r.f)(n,t),n.prototype.unsubscribe=function(){var n;!this.closed&&(null===(n=this.onUnsubscribe)||void 0===n||n.call(this)),t.prototype.unsubscribe.call(this)},n}(e(40).b)},function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i}));var r=e(0);function o(t){return Object(r.a)(null==t?void 0:t.lift)}function i(t){return function(n){if(o(n))return n.lift((function(n){try{return t(n,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(44)("wks"),o=e(35),i=e(5).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"a",(function(){return s})),e.d(n,"c",(function(){return f}));var r=e(1),o=e(0),i=e(74),u=Object(i.a)((function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}})),c=e(39),a=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}var n;return t.prototype.unsubscribe=function(){var t,n,e,i,c;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var s=Object(r.j)(a),f=s.next();!f.done;f=s.next()){f.value.remove(this)}}catch(n){t={error:n}}finally{try{f&&!f.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else null==a||a.remove(this);var d=this.initialTeardown;if(Object(o.a)(d))try{d()}catch(t){c=t instanceof u?t.errors:[t]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var v=Object(r.j)(p),h=v.next();!h.done;h=v.next()){var b=h.value;try{l(b)}catch(t){c=null!=c?c:[],t instanceof u?c=Object(r.i)(c,t.errors):c.push(t)}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(i=v.return)&&i.call(v)}finally{if(e)throw e.error}}}if(c)throw new u(c)}},t.prototype.add=function(n){var e;if(n&&n!==this)if(this.closed)l(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(n)}},t.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},t.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},t.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Object(c.a)(n,t)},t.prototype.remove=function(n){var e=this._teardowns;e&&Object(c.a)(e,n),n instanceof t&&n._removeParent(this)},t.EMPTY=((n=new t).closed=!0,n),t}(),s=a.EMPTY;function f(t){return t instanceof a||t&&"closed"in t&&Object(o.a)(t.remove)&&Object(o.a)(t.add)&&Object(o.a)(t.unsubscribe)}function l(t){Object(o.a)(t)?t():t.unsubscribe()}},function(t,n,e){t.exports=!e(12)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(5),o=e(33),i=e(19),u=e(22),c=e(45),a=function t(n,e,a){var s,f,l,d,p=n&t.F,v=n&t.G,h=n&t.P,b=n&t.B,y=v?r:n&t.S?r[e]||(r[e]={}):(r[e]||{}).prototype,m=v?o:o[e]||(o[e]={}),g=m.prototype||(m.prototype={});for(s in v&&(a=e),a)l=((f=!p&&y&&void 0!==y[s])?y:a)[s],d=b&&f?c(l,r):h&&"function"==typeof l?c(Function.call,l):l,y&&u(y,s,l,n&t.U),m[s]!=l&&i(m,s,d),h&&g[s]!=l&&(g[s]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return m})),e.d(n,"c",(function(){return g})),e.d(n,"b",(function(){return w}));var r=e(1),o=e(31),i=e(0);function u(t){return Object(i.a)(null==t?void 0:t.then)}var c="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",a=e(21),s=e(2),f=e(7);var l=e(32);function d(t){return Object(i.a)(t[a.a])}function p(t){return Object(i.a)(null==t?void 0:t[c])}function v(t){return Symbol.asyncIterator&&Object(i.a)(null==t?void 0:t[Symbol.asyncIterator])}function h(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, AsyncIterable, or Iterable.")}function b(t,n){if(null!=t){if(d(t))return function(t,n){return new s.a((function(e){var r=new f.b;return r.add(n.schedule((function(){var o=t[a.a]();r.add(o.subscribe({next:function(t){r.add(n.schedule((function(){return e.next(t)})))},error:function(t){r.add(n.schedule((function(){return e.error(t)})))},complete:function(){r.add(n.schedule((function(){return e.complete()})))}}))}))),r}))}(t,n);if(Object(o.a)(t))return Object(l.a)(t,n);if(u(t))return function(t,n){return new s.a((function(e){return n.schedule((function(){return t.then((function(t){e.add(n.schedule((function(){e.next(t),e.add(n.schedule((function(){return e.complete()})))})))}),(function(t){e.add(n.schedule((function(){return e.error(t)})))}))}))}))}(t,n);if(v(t))return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new s.a((function(e){var r=new f.b;return r.add(n.schedule((function(){var o=t[Symbol.asyncIterator]();r.add(n.schedule((function(){var t=this;o.next().then((function(n){n.done?e.complete():(e.next(n.value),t.schedule())}))})))}))),r}))}(t,n);if(p(t))return function(t,n){return new s.a((function(e){var r;return e.add(n.schedule((function(){r=t[c](),function(t,n,e,r){void 0===r&&(r=0);var o=n.schedule((function(){try{e.call(this)}catch(n){t.error(n)}}),r);t.add(o)}(e,n,(function(){var t=r.next(),n=t.value;t.done?e.complete():(e.next(n),this.schedule())}))}))),function(){return Object(i.a)(null==r?void 0:r.return)&&r.return()}}))}(t,n)}throw h(t)}var y=e(54);function m(t,n){return n?b(t,n):g(t)}function g(t){if(t instanceof s.a)return t;if(null!=t){if(d(t))return l=t,new s.a((function(t){var n=l[a.a]();if(Object(i.a)(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Object(o.a)(t))return w(t);if(u(t))return f=t,new s.a((function(t){f.then((function(n){t.closed||(t.next(n),t.complete())}),(function(n){return t.error(n)})).then(null,y.a)}));if(v(t))return e=t,new s.a((function(t){(function(t,n){var e,o,i,u;return Object(r.b)(this,void 0,void 0,(function(){var c,a;return Object(r.g)(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),e=Object(r.a)(t),s.label=1;case 1:return[4,e.next()];case 2:if((o=s.sent()).done)return[3,4];c=o.value,n.next(c),s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=s.sent(),i={error:a},[3,11];case 6:return s.trys.push([6,,9,10]),o&&!o.done&&(u=e.return)?[4,u.call(e)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}}))}))})(e,t).catch((function(n){return t.error(n)}))}));if(p(t))return n=t,new s.a((function(t){for(var e=n[c]();!t.closed;){var r=e.next(),o=r.done,u=r.value;o?t.complete():t.next(u)}return function(){return Object(i.a)(null==e?void 0:e.return)&&e.return()}}))}var n,e,f,l;throw h(t)}function w(t){return new s.a((function(n){for(var e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()}))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(10),o=e(76),i=e(34),u=Object.defineProperty;n.f=e(8)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return s})),e.d(n,"b",(function(){return f})),e.d(n,"p",(function(){return d})),e.d(n,"n",(function(){return p})),e.d(n,"o",(function(){return v})),e.d(n,"j",(function(){return h})),e.d(n,"t",(function(){return b})),e.d(n,"s",(function(){return y})),e.d(n,"r",(function(){return m})),e.d(n,"k",(function(){return g})),e.d(n,"d",(function(){return w})),e.d(n,"c",(function(){return x})),e.d(n,"l",(function(){return O})),e.d(n,"i",(function(){return j})),e.d(n,"q",(function(){return E})),e.d(n,"m",(function(){return P}));var r=e(70),o=e(2),i=e(42);e.d(n,"h",(function(){return i.c}));var u=e(58);e.d(n,"g",(function(){return u.b})),e.d(n,"e",(function(){return u.a}));var c=e(57);e.d(n,"f",(function(){return c.b}));e(73);var a=getComputedStyle(document.documentElement),s="(min-width: ".concat(a.getPropertyValue("--break-point-3"),")"),f="(min-width: ".concat(a.getPropertyValue("--break-point-dynamic"),")"),l=(parseFloat(a.getPropertyValue("--content-width-5")),parseFloat(a.getPropertyValue("--content-margin-5")),parseFloat(a.getPropertyValue("--sidebar-width")),parseFloat(a.getPropertyValue("--half-content")),navigator.userAgent.toLowerCase()),d=l.indexOf("safari")>0&&l.indexOf("chrome")<0,p=l.indexOf("mobile")>0,v=d&&p,h=(l.indexOf("ucbrowser"),l.indexOf("firefox"),l.indexOf("fxios")>0&&l.indexOf("safari"),"attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number),b=new Promise(t=>{"customElements"in window?t(!0):document.addEventListener("WebComponentsReady",t)}),y=new Promise((function t(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=document.querySelector("hy-drawer");o?getComputedStyle(o).getPropertyValue("--hy-drawer-width")?n(!0):r<=0?e(Error("Stylesheet not loaded within 10 seconds")):setTimeout(()=>t(n,e,r-1),1e3/3):n(!0)})),m=(t,n)=>new Promise(e=>t.addEventListener(n,e,{once:!0}));function g(t){return!window.Modernizr||[...t].every(t=>{var n=window.Modernizr[t];return n})}function w(){for(;null!=this&&this.firstChild;)this.removeChild(this.firstChild)}function x(t,n,e){return t?o.a.create(r=>{var o=t.animate(n,e);return o.addEventListener("finish",t=>{r.next(t),requestAnimationFrame(()=>{requestAnimationFrame(()=>r.complete())})}),()=>{"finished"!==o.playState&&o.cancel()}}):Object(r.a)(new CustomEvent("finish"))}function O(t){var n=document.getElementById(t);return n&&document.importNode(n.content,!0)}var _=document.body||document.documentElement,j=()=>window.innerWidth||_.clientWidth;var S=t=>n=>new Promise(e=>t(n).addEventListener("load",e)),E=(S(window.loadJS),S(window.loadCSS));function P(t,n){return new Promise(e=>{var r=new IntersectionObserver(n=>{n.some(t=>t.isIntersecting)&&(t.forEach(t=>r.unobserve(t)),e(n.find(t=>t.isIntersecting)))},n);t.forEach(t=>r.observe(t))})}},function(t,n,e){"use strict";function r(){}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},function(t,n,e){var r=e(38);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(13),o=e(43);t.exports=e(8)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){"use strict";function r(t){return t}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,n,e){var r=e(5),o=e(19),i=e(23),u=e(35)("src"),c=e(102),a=(""+c).split("toString");e(33).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var s="function"==typeof e;s&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(s&&(i(e,u)||o(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(4),o=e(3);function i(t,n){return Object(r.b)((function(e,r){var i=0;e.subscribe(new o.a(r,(function(e){r.next(t.call(n,e,i++))})))}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(25),o=e(11),i=e(4),u=e(3);var c=e(0);function a(t,n,e){return void 0===e&&(e=1/0),Object(c.a)(n)?a((function(e,i){return Object(r.a)((function(t,r){return n(e,t,i,r)}))(Object(o.c)(t(e,i)))}),e):("number"==typeof n&&(e=n),Object(i.b)((function(n,r){return function(t,n,e,r,i,c,a,s){var f=[],l=0,d=0,p=!1,v=function(){!p||f.length||l||n.complete()},h=function(t){return l<r?b(t):f.push(t)},b=function t(s){c&&n.next(s),l++,Object(o.c)(e(s,d++)).subscribe(new u.a(n,(function(t){null==i||i(t),c?h(t):n.next(t)}),void 0,(function(){l--;for(var e=function(){var e=f.shift();a?n.add(a.schedule((function(){return t(e)}))):t(e)};f.length&&l<r;)e();v()})))};return t.subscribe(new u.a(n,h,void 0,(function(){p=!0,v()}))),function(){f=null,null==s||s()}}(n,r,t,e)})))}},function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return a}));var r=e(0),o=e(56);function i(t){return t[t.length-1]}function u(t){return Object(r.a)(i(t))?t.pop():void 0}function c(t){return Object(o.a)(i(t))?t.pop():void 0}function a(t,n){return"number"==typeof i(t)?t.pop():n}},function(t,n,e){var r=e(46),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(107),o=e(38);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(32),o=e(11);function i(t,n){return n?Object(r.a)(t,n):Object(o.b)(t)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(2);function o(t,n){return new r.a((function(e){var r=0;return n.schedule((function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())}))}))}},function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(14);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=!1},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){"use strict";function r(t,n){if(t){var e=t.indexOf(n);0<=e&&t.splice(e,1)}}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"b",(function(){return d})),e.d(n,"a",(function(){return p}));var r=e(1),o=e(0),i=e(7),u=e(17),c=e(54),a=e(16),s=f("C",void 0,void 0);function f(t,n,e){return{kind:t,value:n,error:e}}var l=e(55),d=function(t){function n(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,Object(i.c)(n)&&n.add(e)):e.destination=b,e}return Object(r.f)(n,t),n.create=function(t,n,e){return new p(t,n,e)},n.prototype.next=function(t){this.isStopped?h(function(t){return f("N",t,void 0)}(t),this):this._next(t)},n.prototype.error=function(t){this.isStopped?h(f("E",void 0,t),this):(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped?h(s,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n}(i.b),p=function(t){function n(n,e,r){var i=t.call(this)||this;if(i.destination=b,(n||e||r)&&n!==b){var c=void 0;if(Object(o.a)(n))c=n;else if(n){var s;c=n.next,e=n.error,r=n.complete,i&&u.a.useDeprecatedNextContext?(s=Object.create(n)).unsubscribe=function(){return i.unsubscribe()}:s=n,c=null==c?void 0:c.bind(s),e=null==e?void 0:e.bind(s),r=null==r?void 0:r.bind(s)}i.destination={next:c||a.a,error:e||v,complete:r||a.a}}return i}return Object(r.f)(n,t),n}(d);function v(t){if(u.a.useDeprecatedSynchronousErrorHandling)throw t;Object(c.a)(t)}function h(t,n){var e=u.a.onStoppedNotification;e&&l.a.setTimeout((function(){return e(t,n)}))}var b={closed:!0,next:a.a,error:v,complete:a.a}},,function(t,n,e){"use strict";function r(){var t=document.documentElement,n=document.body,e="scrollHeight";return t[e]||n[e]}function o(){return window.pageYOffset||document.body.scrollTop}e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return u})),e.d(n,"a",(function(){return c}));var i=(t,n)=>(t.matches||t.msMatchesSelector).call(t,n);function u(t,n){for(var e=t;null!=e;){if(i(e,n))return e;e=e.parentNode instanceof Element?e.parentNode:null}return null}function c(){var t,n,e=new Promise((e,r)=>(t=e,n=r));return e.resolve=t,e.reject=n,e}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(33),o=e(5),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(36)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(24);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(80),o=e(63);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){"use strict";t.exports=e(36)||!e(12)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete e(5)[t]}))},function(t,n,e){var r=e(66),o=e(43),i=e(29),u=e(34),c=e(23),a=e(76),s=Object.getOwnPropertyDescriptor;n.f=e(8)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){"use strict";var r=e(10);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";var r=e(128),o=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,e){"use strict";e(129);var r=e(22),o=e(19),i=e(12),u=e(38),c=e(6),a=e(69),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var d=c(t),p=!i((function(){var n={};return n[d]=function(){return 7},7!=""[t](n)})),v=p?!i((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[s]=function(){return e}),e[d](""),!n})):void 0;if(!p||!v||"replace"===t&&!f||"split"===t&&!l){var h=/./[d],b=e(u,d,""[t],(function(t,n,e,r,o){return n.exec===a?p&&!o?{done:!0,value:h.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),y=b[0],m=b[1];r(String.prototype,t,y),o(RegExp.prototype,d,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i}));var r=e(92),o=new(e(94).a)(r.a),i=o},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(17),o=e(55);function i(t){o.a.setTimeout((function(){var n=r.a.onUnhandledError;if(!n)throw t;n(t)}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(1),o={setTimeout:function(t){function n(){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=o.delegate;return((null==e?void 0:e.setTimeout)||setTimeout).apply(void 0,Object(r.i)(t))})),clearTimeout:function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t){var n=o.delegate;return((null==n?void 0:n.clearTimeout)||clearTimeout)(t)})),delegate:void 0}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(0);function o(t){return t&&Object(r.a)(t.schedule)}},function(t,n,e){"use strict";e.d(n,"c",(function(){return f})),e.d(n,"b",(function(){return l})),e.d(n,"a",(function(){return d}));var r=e(97),o=e(96),i=e(98),u=e(95),c=e(25),a=e(99),s=e(152);function f(t){return n=>t.pipe(Object(o.a)(t=>t?n:r.a))}function l(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return n=>0===e.length?n.pipe(Object(i.a)(t),Object(u.a)(t=>{var[,n]=t;return n}),Object(c.a)(t=>{var[n]=t;return n})):n.pipe(Object(i.a)(t,...e),Object(u.a)(t=>{var[,...n]=t;return n.every(t=>t)}),Object(c.a)(t=>{var[n]=t;return n}))}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n=>{var e=[];return n.pipe(Object(a.a)(t=>e.push(t)),Object(s.a)(t),Object(c.a)(()=>e),Object(a.a)(()=>e=[]))}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return m})),e.d(n,"b",(function(){return g})),e.d(n,"c",(function(){return w}));var r=e(2),o=e(7),i={now:function(){return(i.delegate||performance).now()},delegate:void 0},u=e(89);function c(t){var n=u.a.schedule;return new r.a((function(e){var r=new o.b,u=t||i,c=u.now();return r.add(n((function o(i){var a=u.now();e.next({timestamp:t?a:i,elapsed:a-c}),e.closed||r.add(n(o))}))),r}))}var a=c(),s=e(25),f=e(4),l=e(3);var d=e(1),p=e(75),v=e(70);function h(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function b(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?h(Object(e),!0).forEach((function(n){y(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function y(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function m(t,n){return new r.a(e=>{var r=new AbortController,{signal:o}=r,i=null;return fetch(t,b(b({},n),{},{signal:o})).then(t=>{i=t,e.next(t),e.complete()}).catch(t=>e.error(t)),()=>{i||r.abort()}})}function g(t){return new r.a(n=>{var e=n.next.bind(n);return t.onchange?t.addEventListener("change",e):t.addListener(e),()=>{t.onchange?t.removeEventListener("change",e):t.removeListener(e)}})}function w(t,n,e,r,o){return(h?c(h):a).pipe(Object(s.a)(t=>{var{elapsed:n}=t;return n}),(i=t=>t<r,void 0===u&&(u=!1),Object(f.b)((function(t,n){var e=0;t.subscribe(new l.a(n,(function(t){var r=i(t,e++);(r||u)&&n.next(t),!r&&n.complete()})))}))),function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return Object(p.a)(n,v.a.apply(void 0,Object(d.i)(t)))}}(r),Object(s.a)(i=>t(i,n,e,r,o)));var i,u,h}},function(t,n,e){var r=e(14),o=e(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(37);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n){t.exports={}},function(t,n,e){var r=e(44)("keys"),o=e(35);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(13).f,o=e(23),i=e(6)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(23),o=e(18),i=e(62)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(80),o=e(63).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){"use strict";var r=e(127)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){"use strict";var r,o,i=e(50),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(a=function(t){var n,e,r,o,a=this;return f&&(e=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),s&&(n=a.lastIndex),r=u.call(a,t),s&&r&&(a.lastIndex=a.global?r.index+r[0].length:n),f&&r&&r.length>1&&c.call(r[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=a},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(30),o=e(32),i=e(27);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=Object(i.c)(t);return e?Object(o.a)(t,e):Object(r.a)(t)}},,function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(26),o=e(20);function i(t){return void 0===t&&(t=1/0),Object(r.a)(o.a,t)}},function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i}));var r=e(2);function o(t){return new r.a(n=>{var e=new ResizeObserver(t=>t.forEach(t=>n.next(t)));return e.observe(t),()=>{e.unobserve(t)}})}function i(t,n){return new r.a(e=>{var r=new MutationObserver(t=>t.forEach(t=>e.next(t)));return r.observe(t,n),()=>{r.disconnect()}})}},function(t,n,e){"use strict";function r(t){var n=t((function(t){Error.call(t),t.stack=(new Error).stack}));return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(72);function o(){return Object(r.a)(1)}var i=e(30),u=e(27);function c(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o()(Object(i.a)(t,Object(u.c)(t)))}},function(t,n,e){t.exports=!e(8)&&!e(12)((function(){return 7!=Object.defineProperty(e(59)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(6)("unscopables"),o=Array.prototype;null==o[r]&&e(19)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n,e){"use strict";var r=e(77),o=e(106),i=e(61),u=e(29);t.exports=e(108)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(10),o=e(110),i=e(63),u=e(62)("IE_PROTO"),c=function(){},a=function(){var t,n=e(59)("iframe"),r=i.length;for(n.style.display="none",e(81).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(23),o=e(29),i=e(111)(!1),u=e(62)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(5).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(10),o=e(24),i=e(6)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[i])?n:o(e)}},function(t,n,e){var r=e(14),o=e(37),i=e(6)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){e(8)&&"g"!=/./g.flags&&e(13).f(RegExp.prototype,"flags",{configurable:!0,get:e(50)})},function(t,n,e){n.f=e(6)},function(t,n,e){var r=e(5),o=e(33),i=e(36),u=e(85),c=e(13).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(9),o=e(38),i=e(12),u=e(141),c="["+u+"]",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),f=function(t,n,e){var o={},c=i((function(){return!!u[t]()||"
"!="
"[t]()})),a=o[t]=c?n(l):u[t];e&&(o[e]=a),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};t.exports=f},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(1),o=e(7),i={schedule:function(t){var n=requestAnimationFrame,e=cancelAnimationFrame,r=i.delegate;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);var u=n((function(n){e=void 0,t(n)}));return new o.b((function(){return null==e?void 0:e(u)}))},requestAnimationFrame:function(t){function n(){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=i.delegate;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame).apply(void 0,Object(r.i)(t))})),cancelAnimationFrame:function(t){function n(){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=i.delegate;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,Object(r.i)(t))})),delegate:void 0}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(1),o=e(25),i=Array.isArray;function u(t){return Object(o.a)((function(n){return function(t,n){return i(n)?t.apply(void 0,Object(r.i)(n)):t(n)}(t,n)}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(1),o=function(t){function n(n,e){return t.call(this)||this}return Object(r.f)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(e(7).b),i={setInterval:function(t){function n(){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=i.delegate;return((null==e?void 0:e.setInterval)||setInterval).apply(void 0,Object(r.i)(t))})),clearInterval:function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t){var n=i.delegate;return((null==n?void 0:n.clearInterval)||clearInterval)(t)})),delegate:void 0},u=e(39),c=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r.pending=!1,r}return Object(r.f)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),i.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!=e&&this.delay===e&&!1===this.pending)return n;i.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e,r=!1;try{this.work(t)}catch(t){r=!0,e=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),e},n.prototype.unsubscribe=function(){if(!this.closed){var n=this.id,e=this.scheduler,r=e.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Object(u.a)(r,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},n}(o)},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(2),o=e(53),i=e(56);function u(t,n,e){void 0===t&&(t=0),void 0===e&&(e=o.a);var u=-1;return null!=n&&(Object(i.a)(n)?e=n:u=n),new r.a((function(n){var r,o=(r=t)instanceof Date&&!isNaN(r)?+t-e.now():t;o<0&&(o=0);var i=0;return e.schedule((function(){n.closed||(n.next(i++),0<=u?this.schedule(void 0,u):n.complete())}),o)}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(1),o=e(90),i=function(){function t(n,e){void 0===e&&(e=t.now),this.schedulerActionCtor=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.schedulerActionCtor(this,t).schedule(e,n)},t.now=o.a.now,t}(),u=function(t){function n(n,e){void 0===e&&(e=i.now);var r=t.call(this,n,e)||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return Object(r.f)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(i)},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(4),o=e(3);function i(t,n){return Object(r.b)((function(e,r){var i=0;e.subscribe(new o.a(r,(function(e){return t.call(n,e,i++)&&r.next(e)})))}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(11),o=e(4),i=e(3);function u(t,n){return Object(o.b)((function(e,o){var u=null,c=0,a=!1,s=function(){return a&&!u&&o.complete()};e.subscribe(new i.a(o,(function(e){null==u||u.unsubscribe();var a=0,f=c++;Object(r.c)(t(e,f)).subscribe(u=new i.a(o,(function(t){return o.next(n?n(e,t,f,a++):t)}),void 0,(function(){u=null,s()})))}),void 0,(function(){a=!0,s()})))}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(2),o=e(16),i=new r.a(o.a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return f}));var r=e(1),o=e(4),i=e(3),u=e(11),c=e(20),a=e(16),s=e(27);function f(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=Object(s.b)(t);return Object(o.b)((function(n,o){for(var s=t.length,f=new Array(s),l=t.map((function(){return!1})),d=!1,p=function(n){Object(u.c)(t[n]).subscribe(new i.a(o,(function(t){f[n]=t,d||l[n]||(l[n]=!0,(d=l.every(c.a))&&(l=null))}),void 0,a.a))},v=0;v<s;v++)p(v);n.subscribe(new i.a(o,(function(t){if(d){var n=Object(r.i)([t],f);o.next(e?e.apply(void 0,Object(r.i)(n)):n)}})))}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(0),o=e(4),i=e(3),u=e(20);function c(t,n,e){var c=Object(r.a)(t)||n||e?{next:t,error:n,complete:e}:t;return c?Object(o.b)((function(t,n){t.subscribe(new i.a(n,(function(t){var e;null===(e=c.next)||void 0===e||e.call(c,t),n.next(t)}),(function(t){var e;null===(e=c.error)||void 0===e||e.call(c,t),n.error(t)}),(function(){var t;null===(t=c.complete)||void 0===t||t.call(c),n.complete()})))})):u.a}},function(t,n,e){"use strict";e.r(n);e(101),e(78),e(113),e(115),e(116),e(117),e(118),e(119),e(122),e(84),e(126),e(130),e(131),e(132),e(134),e(135),e(139),e(140),e(142),e(143),e(145),e(148),e(149),e(150);var r=e(15);e.p=window._publicPath;Object(r.k)(["classlist","eventlistener","queryselector","template"])&&(Promise.resolve().then(e.bind(null,151)),window._noNavbar||e.e(5).then(e.bind(null,156)),window._clapButton&&Object(r.k)(["customproperties","cssanimations","cssremunit"])&&Promise.all([e.e(9),e.e(1)]).then(e.bind(null,153)),!window._noDrawer&&Object(r.k)(["customproperties","history","matchmedia","opacity"])&&Promise.all([e.e(0),e.e(10),e.e(2)]).then(e.bind(null,154)),!window._noPushState&&Object(r.k)(["history","matchmedia","opacity","cssanimations","cssremunit","documentfragment"])&&Promise.all([e.e(0),e.e(13),e.e(6)]).then(e.bind(null,155)))},function(t,n,e){"use strict";var r=e(9),o=e(103),i=e(18),u=e(28),c=e(24),a=e(104);r(r.P,"Array",{flatMap:function(t){var n,e,r=i(this);return c(t),n=u(r.length),e=a(r,0),o(e,r,r,n,0,1,t,arguments[1]),e}}),e(77)("flatMap")},function(t,n,e){t.exports=e(44)("native-function-to-string",Function.toString)},function(t,n,e){"use strict";var r=e(60),o=e(14),i=e(28),u=e(45),c=e(6)("isConcatSpreadable");t.exports=function t(n,e,a,s,f,l,d,p){for(var v,h,b=f,y=0,m=!!d&&u(d,p,3);y<s;){if(y in a){if(v=m?m(a[y],y,e):a[y],h=!1,o(v)&&(h=void 0!==(h=v[c])?!!h:r(v)),h&&l>0)b=t(n,e,v,i(v.length),b,l-1)-1;else{if(b>=9007199254740991)throw TypeError();n[b]=v}b++}y++}return b}},function(t,n,e){var r=e(105);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(14),o=e(60),i=e(6)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(36),o=e(9),i=e(22),u=e(19),c=e(61),a=e(109),s=e(64),f=e(65),l=e(6)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,v,h,b,y){a(e,n,v);var m,g,w,x=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",_="values"==h,j=!1,S=t.prototype,E=S[l]||S["@@iterator"]||h&&S[h],P=E||x(h),A=h?_?x("entries"):P:void 0,T="Array"==n&&S.entries||E;if(T&&(w=f(T.call(new t)))!==Object.prototype&&w.next&&(s(w,O,!0),r||"function"==typeof w[l]||u(w,l,p)),_&&E&&"values"!==E.name&&(j=!0,P=function(){return E.call(this)}),r&&!y||!d&&!j&&S[l]||u(S,l,P),c[n]=P,c[O]=p,h)if(m={values:_?P:x("values"),keys:b?P:x("keys"),entries:A},y)for(g in m)g in S||i(S,g,m[g]);else o(o.P+o.F*(d||j),n,m);return m}},function(t,n,e){"use strict";var r=e(79),o=e(43),i=e(64),u={};e(19)(u,e(6)("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(13),o=e(10),i=e(47);t.exports=e(8)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},function(t,n,e){var r=e(29),o=e(28),i=e(112);t.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(46),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){"use strict";var r=e(9),o=e(24),i=e(18),u=e(12),c=[].sort,a=[1,2,3];r(r.P+r.F*(u((function(){a.sort(void 0)}))||!u((function(){a.sort(null)}))||!e(114)(c)),"Array",{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,n,e){"use strict";var r=e(12);t.exports=function(t,n){return!!t&&r((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},function(t,n,e){"use strict";var r=e(9),o=e(18),i=e(24),u=e(13);e(8)&&r(r.P+e(48),"Object",{__defineGetter__:function(t,n){u.f(o(this),t,{get:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(9),o=e(18),i=e(24),u=e(13);e(8)&&r(r.P+e(48),"Object",{__defineSetter__:function(t,n){u.f(o(this),t,{set:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(9),o=e(18),i=e(34),u=e(65),c=e(49).f;e(8)&&r(r.P+e(48),"Object",{__lookupGetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.get}while(e=u(e))}})},function(t,n,e){"use strict";var r=e(9),o=e(18),i=e(34),u=e(65),c=e(49).f;e(8)&&r(r.P+e(48),"Object",{__lookupSetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.set}while(e=u(e))}})},function(t,n,e){"use strict";var r=e(9),o=e(33),i=e(5),u=e(82),c=e(120);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return c(n,t()).then((function(){return e}))}:t,e?function(e){return c(n,t()).then((function(){throw e}))}:t)}})},function(t,n,e){var r=e(10),o=e(14),i=e(121);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(24);function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(5),o=e(123),i=e(13).f,u=e(67).f,c=e(83),a=e(50),s=r.RegExp,f=s,l=s.prototype,d=/a/g,p=/a/g,v=new s(d)!==d;if(e(8)&&(!v||e(12)((function(){return p[e(6)("match")]=!1,s(d)!=d||s(p)==p||"/a/i"!=s(d,"i")})))){s=function(t,n){var e=this instanceof s,r=c(t),i=void 0===n;return!e&&r&&t.constructor===s&&i?t:o(v?new f(r&&!i?t.source:t,n):f((r=t instanceof s)?t.source:t,r&&i?a.call(t):n),e?this:l,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},b=u(f),y=0;b.length>y;)h(b[y++]);l.constructor=s,s.prototype=l,e(22)(r,"RegExp",s)}e(125)("RegExp")},function(t,n,e){var r=e(14),o=e(124).set;t.exports=function(t,n,e){var i,u=n.constructor;return u!==e&&"function"==typeof u&&(i=u.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},function(t,n,e){var r=e(14),o=e(10),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(45)(Function.call,e(49).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){"use strict";var r=e(5),o=e(13),i=e(8),u=e(6)("species");t.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){"use strict";var r=e(10),o=e(28),i=e(68),u=e(51);e(52)("match",1,(function(t,n,e,c){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=c(e,t,this);if(n.done)return n.value;var a=r(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,d=[],p=0;null!==(l=u(a,s));){var v=String(l[0]);d[p]=v,""===v&&(a.lastIndex=i(s,o(a.lastIndex),f)),p++}return 0===p?null:d}]}))},function(t,n,e){var r=e(46),o=e(38);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,n,e){var r=e(37),o=e(6)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){"use strict";var r=e(69);e(9)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){"use strict";var r=e(10),o=e(18),i=e(28),u=e(46),c=e(68),a=e(51),s=Math.max,f=Math.min,l=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;e(52)("replace",2,(function(t,n,e,v){return[function(r,o){var i=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},function(t,n){var o=v(e,t,this,n);if(o.done)return o.value;var l=r(t),d=String(this),p="function"==typeof n;p||(n=String(n));var b=l.global;if(b){var y=l.unicode;l.lastIndex=0}for(var m=[];;){var g=a(l,d);if(null===g)break;if(m.push(g),!b)break;""===String(g[0])&&(l.lastIndex=c(d,i(l.lastIndex),y))}for(var w,x="",O=0,_=0;_<m.length;_++){g=m[_];for(var j=String(g[0]),S=s(f(u(g.index),d.length),0),E=[],P=1;P<g.length;P++)E.push(void 0===(w=g[P])?w:String(w));var A=g.groups;if(p){var T=[j].concat(E,S,d);void 0!==A&&T.push(A);var I=String(n.apply(void 0,T))}else I=h(j,d,S,E,A,n);S>=O&&(x+=d.slice(O,S)+I,O=S+j.length)}return x+d.slice(O)}];function h(t,n,r,i,u,c){var a=r+t.length,s=i.length,f=p;return void 0!==u&&(u=o(u),f=d),e.call(c,f,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>s){var d=l(f/10);return 0===d?e:d<=s?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):e}c=i[f-1]}return void 0===c?"":c}))}}))},function(t,n,e){"use strict";var r=e(83),o=e(10),i=e(82),u=e(68),c=e(28),a=e(51),s=e(69),f=e(12),l=Math.min,d=[].push,p="length",v=!f((function(){RegExp(4294967295,"y")}));e(52)("split",2,(function(t,n,e,f){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(o,t,n);for(var i,u,c,a=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,v=void 0===n?4294967295:n>>>0,h=new RegExp(t.source,f+"g");(i=s.call(h,o))&&!((u=h.lastIndex)>l&&(a.push(o.slice(l,i.index)),i[p]>1&&i.index<o[p]&&d.apply(a,i.slice(1)),c=i[0][p],l=u,a[p]>=v));)h.lastIndex===i.index&&h.lastIndex++;return l===o[p]?!c&&h.test("")||a.push(""):a.push(o.slice(l)),a[p]>v?a.slice(0,v):a}:"0".split(void 0,0)[p]?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var o=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,o,r):h.call(String(o),e,r)},function(t,n){var r=f(h,t,this,n,h!==e);if(r.done)return r.value;var s=o(t),d=String(this),p=i(s,RegExp),b=s.unicode,y=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(v?"y":"g"),m=new p(v?s:"^(?:"+s.source+")",y),g=void 0===n?4294967295:n>>>0;if(0===g)return[];if(0===d.length)return null===a(m,d)?[d]:[];for(var w=0,x=0,O=[];x<d.length;){m.lastIndex=v?x:0;var _,j=a(m,v?d:d.slice(x));if(null===j||(_=l(c(m.lastIndex+(v?0:x)),d.length))===w)x=u(d,x,b);else{if(O.push(d.slice(w,x)),O.length===g)return O;for(var S=1;S<=j.length-1;S++)if(O.push(j[S]),O.length===g)return O;x=w=_}}return O.push(d.slice(w)),O}]}))},function(t,n,e){"use strict";var r=e(10),o=e(133),i=e(51);e(52)("search",1,(function(t,n,e,u){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var c=r(t),a=String(this),s=c.lastIndex;o(s,0)||(c.lastIndex=0);var f=i(c,a);return o(c.lastIndex,s)||(c.lastIndex=s),null===f?-1:f.index}]}))},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){"use strict";e(84);var r=e(10),o=e(50),i=e(8),u=/./.toString,c=function(t){e(22)(RegExp.prototype,"toString",t,!0)};e(12)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,e){"use strict";var r=e(5),o=e(23),i=e(8),u=e(9),c=e(22),a=e(136).KEY,s=e(12),f=e(44),l=e(64),d=e(35),p=e(6),v=e(85),h=e(86),b=e(137),y=e(60),m=e(10),g=e(14),w=e(18),x=e(29),O=e(34),_=e(43),j=e(79),S=e(138),E=e(49),P=e(87),A=e(13),T=e(47),I=E.f,L=A.f,k=S.f,F=r.Symbol,C=r.JSON,M=C&&C.stringify,D=p("_hidden"),N=p("toPrimitive"),R={}.propertyIsEnumerable,q=f("symbol-registry"),B=f("symbols"),H=f("op-symbols"),G=Object.prototype,V="function"==typeof F&&!!P.f,J=r.QObject,z=!J||!J.prototype||!J.prototype.findChild,U=i&&s((function(){return 7!=j(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=I(G,n);r&&delete G[n],L(t,n,e),r&&t!==G&&L(G,n,r)}:L,W=function(t){var n=B[t]=j(F.prototype);return n._k=t,n},$=V&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Y=function(t,n,e){return t===G&&Y(H,n,e),m(t),n=O(n,!0),m(e),o(B,n)?(e.enumerable?(o(t,D)&&t[D][n]&&(t[D][n]=!1),e=j(e,{enumerable:_(0,!1)})):(o(t,D)||L(t,D,_(1,{})),t[D][n]=!0),U(t,n,e)):L(t,n,e)},K=function(t,n){m(t);for(var e,r=b(n=x(n)),o=0,i=r.length;i>o;)Y(t,e=r[o++],n[e]);return t},Z=function(t){var n=R.call(this,t=O(t,!0));return!(this===G&&o(B,t)&&!o(H,t))&&(!(n||!o(this,t)||!o(B,t)||o(this,D)&&this[D][t])||n)},Q=function(t,n){if(t=x(t),n=O(n,!0),t!==G||!o(B,n)||o(H,n)){var e=I(t,n);return!e||!o(B,n)||o(t,D)&&t[D][n]||(e.enumerable=!0),e}},X=function(t){for(var n,e=k(x(t)),r=[],i=0;e.length>i;)o(B,n=e[i++])||n==D||n==a||r.push(n);return r},tt=function(t){for(var n,e=t===G,r=k(e?H:x(t)),i=[],u=0;r.length>u;)!o(B,n=r[u++])||e&&!o(G,n)||i.push(B[n]);return i};V||(c((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),n=function n(e){this===G&&n.call(H,e),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),U(this,t,_(1,e))};return i&&z&&U(G,t,{configurable:!0,set:n}),W(t)}).prototype,"toString",(function(){return this._k})),E.f=Q,A.f=Y,e(67).f=S.f=X,e(66).f=Z,P.f=tt,i&&!e(36)&&c(G,"propertyIsEnumerable",Z,!0),v.f=function(t){return W(p(t))}),u(u.G+u.W+u.F*!V,{Symbol:F});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)p(nt[et++]);for(var rt=T(p.store),ot=0;rt.length>ot;)h(rt[ot++]);u(u.S+u.F*!V,"Symbol",{for:function(t){return o(q,t+="")?q[t]:q[t]=F(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var n in q)if(q[n]===t)return n},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!V,"Object",{create:function(t,n){return void 0===n?j(t):K(j(t),n)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:tt});var it=s((function(){P.f(1)}));u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),C&&u(u.S+u.F*(!V||s((function(){var t=F();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))}))),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(g(n)||void 0!==t)&&!$(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!$(n))return n}),r[1]=n,M.apply(C,r)}}),F.prototype[N]||e(19)(F.prototype,N,F.prototype.valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){var r=e(35)("meta"),o=e(14),i=e(23),u=e(13).f,c=0,a=Object.isExtensible||function(){return!0},s=!e(12)((function(){return a(Object.preventExtensions({}))})),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,n,e){var r=e(47),o=e(87),i=e(66);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,e){var r=e(29),o=e(67).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n,e){e(86)("asyncIterator")},function(t,n,e){"use strict";e(88)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){"use strict";e(88)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,e){var r=e(5),o=e(9),i=e(144),u=[].slice,c=/MSIE .\./.test(i),a=function(t){return function(n,e){var r=arguments.length>2,o=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,o)}:n,e)}};o(o.G+o.B+o.F*c,{setTimeout:a(r.setTimeout),setInterval:a(r.setInterval)})},function(t,n,e){var r=e(5).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){var r=e(9),o=e(146);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,n,e){var r,o,i,u=e(45),c=e(147),a=e(81),s=e(59),f=e(5),l=f.process,d=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,b=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){m.call(t.data)};d&&p||(d=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++b]=function(){c("function"==typeof t?t:Function(t),n)},r(b),b},p=function(t){delete y[t]},"process"==e(37)(l)?r=function(t){l.nextTick(u(m,t,1))}:h&&h.now?r=function(t){h.now(u(m,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:d,clear:p}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){for(var r=e(78),o=e(47),i=e(22),u=e(5),c=e(19),a=e(61),s=e(6),f=s("iterator"),l=s("toStringTag"),d=a.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(p),h=0;h<v.length;h++){var b,y=v[h],m=p[y],g=u[y],w=g&&g.prototype;if(w&&(w[f]||c(w,f,d),w[l]||c(w,l,y),a[y]=d,m))for(b in r)w[b]||i(w,b,r[b],!0)}},function(t,n){console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v9.1.0 <https://hydejack.com/>")},function(t,n){},function(t,n,e){"use strict";e.r(n);var r=e(15),o=e(157),i=e(158),u=Array.isArray||(t=>"[object Array]"===Object.prototype.toString.call(t)),c=t=>"[object HTMLCollection]"===Object.prototype.toString.call(t),a=t=>"[object NodeList]"===Object.prototype.toString.call(t),s=/on([A-Z][A-Za-z]+)/,f=(t,n)=>{function e(t){"string"==typeof t?this.appendChild(n(t)):null!=t&&this.appendChild(t)}return function(n,r){var o=t(n);for(var i in r){var f=void 0;if(f=s.exec(i)){var[,l]=f;o.addEventListener(l.toLowerCase(),r[i])}else o.setAttribute(i,r[i])}for(var d=arguments.length,p=new Array(d>2?d-2:0),v=2;v<d;v++)p[v-2]=arguments[v];var h,b=p[0];return u(b)||(h=c(b))||(h=a(b))?(h&&(b=Array.prototype.slice.call(b,0)),Array.prototype.forEach.call(b,e,o)):Array.prototype.forEach.call(p,e,o),o}},l=f(document.createElement.bind(document),document.createTextNode.bind(document));function d(t,n,e,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void e(t)}c.done?n(a):Promise.resolve(a).then(r,o)}function p(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function u(t){d(i,r,o,u,c,"next",t)}function c(t){d(i,r,o,u,c,"throw",t)}u(void 0)}))}}p((function*(){yield Promise.all([..."animate"in Element.prototype?[]:[e.e(15).then(e.t.bind(null,207,7))],..."IntersectionObserver"in window?[]:[e.e(12).then(e.t.bind(null,208,7))]]),yield r.s;var t=/(?:title|file):[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*["'`](((?:(?!["'\\`])[\s\S])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["'`]/i,n=[{opacity:0},{opacity:1}],u={fill:"forwards",duration:500,easing:"ease"},c=document.querySelector("hy-push-state");var a,s,f=!0;a=e=>{if(e){e.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]").forEach(t=>{var n=Object(r.l)("_permalink-template");n.querySelector(".permalink").href="#".concat(t.id),t.appendChild(n)});var o=e.querySelector("#markdown-toc");o&&o.classList.add("toc-hide"),"clipboard"in navigator&&Array.from(e.querySelectorAll("pre.highlight > code")).forEach(t=>{var n,e=null==t||null===(n=t.parentNode)||void 0===n?void 0:n.parentNode,r=l("button",{onClick:function(){var n=p((function*(){yield navigator.clipboard.writeText(t.innerText),function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];t.classList.remove(...e),t.offsetWidth,t.classList.add(...e)}(r,"copy-success")}));return function(){return n.apply(this,arguments)}}()},l("small",{class:"icon-copy",title:"Copy"}),l("small",{class:"icon-checkmark",title:"Done"}));null==e||e.appendChild(r)}),Array.from(e.querySelectorAll("pre.highlight > code")).map(t=>t.children[0]).forEach(n=>{var e=t.exec(null==n?void 0:n.innerText);if(e){var[,r]=e,o=n.parentNode,i=n.childNodes[0],u=i.wholeText.indexOf("\n");if(u>-1){var c=i.splitText(u);o.insertBefore(c,o.firstChild)}o.removeChild(n),o.childNodes[0].splitText(1),o.removeChild(o.childNodes[0]);var a=o.parentNode.parentNode,s=l("div",{class:"pre-header break-layout"},l("span",{},l("small",{class:"icon-file-empty"})," ",r));a.insertBefore(s,a.firstChild)}}),"complete"in HTMLImageElement.prototype&&(e.querySelectorAll("img[width][height][loading=lazy]").forEach(t=>{f&&t.complete||(t.style.opacity="0",t.addEventListener("load",()=>t.animate(n,u),{once:!0}))}),f=!1)}},c&&!window._noPushState&&c.addEventListener("hy-push-state-ready",t=>{var{detail:{replaceEls:[n]}}=t;return a(n)},s),a(document.getElementById("_main"));var d=null;!function(t,n){c&&!window._noPushState&&c.addEventListener("hy-push-state-load",()=>t(document.getElementById("_main")),n),t(document.getElementById("_main"))}(()=>{var t,n=document.getElementById("_main");if(n){var e=n.querySelector("#markdown-toc");e&&(e.classList.remove("toc-hide"),e.classList.add("toc-show")),n.querySelectorAll("li[id^='fn:']").forEach(t=>t.tabIndex=0),n.querySelectorAll("a[href^='#fn:']").forEach(t=>t.addEventListener("click",t=>{var n;return null===(n=document.getElementById(t.currentTarget.getAttribute("href").substr(1)))||void 0===n?void 0:n.focus()})),n.querySelectorAll('pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"]').forEach(t=>t.addEventListener("touchstart",n=>t.scrollLeft>0&&n.stopPropagation(),{passive:!1}));var o=null===(t=document.getElementById("_katexPreload"))||void 0===t?void 0:t.href;!d&&o&&Object(r.m)(n.querySelectorAll(".katex"),{rootMargin:"1440px"}).then(()=>{d=Object(r.q)(o)})}});var v=document.getElementById("_MathJax");if(c&&v){var h=t=>{var{detail:{replaceEls:[n]}}=t;n.querySelectorAll('script[type="math/tex; mode=display"]').forEach(t=>{t.outerHTML=t.innerText.replace("% <![CDATA[","\\[").replace("%]]>","\\]")}),n.querySelectorAll('script[type="math/tex"]').forEach(t=>{t.outerHTML="\\(".concat(t.innerText,"\\)")})};h({detail:{replaceEls:[document]}}),"MathJax"in window||(yield Object(r.r)(v,"load")),yield MathJax.typesetPromise(),window._noPushState||(c.addEventListener("ready",h),Object(o.a)(c,"after").pipe(Object(i.a)(()=>MathJax.typesetPromise())).subscribe())}}))()},function(t,n,e){"use strict";e.d(n,"a",(function(){return s}));var r=e(53),o=e(4),i=e(16),u=e(3),c=e(11);var a=e(93);function s(t,n){void 0===n&&(n=r.b);var e,s=Object(a.a)(t,n);return e=function(){return s},Object(o.b)((function(t,n){var r=!1,o=null,a=null,s=function(){if(null==a||a.unsubscribe(),a=null,r){r=!1;var t=o;o=null,n.next(t)}};t.subscribe(new u.a(n,(function(t){null==a||a.unsubscribe(),r=!0,o=t,a=new u.a(n,s,void 0,i.a),Object(c.c)(e(t)).subscribe(a)}),void 0,(function(){s(),n.complete()}),(function(){o=a=null})))}))}},,,,,function(t,n,e){"use strict";e.d(n,"a",(function(){return p}));var r=e(1),o=e(2),i=e(26),u=e(31),c=e(0),a=e(91),s=e(30),f=["addListener","removeListener"],l=["addEventListener","removeEventListener"],d=["on","off"];function p(t,n,e,h){if(Object(c.a)(e)&&(h=e,e=void 0),h)return p(t,n,e).pipe(Object(a.a)(h));var b=Object(r.h)(function(t){return Object(c.a)(t.addEventListener)&&Object(c.a)(t.removeEventListener)}(t)?l.map((function(r){return function(o){return t[r](n,o,e)}})):function(t){return Object(c.a)(t.addListener)&&Object(c.a)(t.removeListener)}(t)?f.map(v(t,n)):function(t){return Object(c.a)(t.on)&&Object(c.a)(t.off)}(t)?d.map(v(t,n)):[],2),y=b[0],m=b[1];return!y&&Object(u.a)(t)?Object(i.a)((function(t){return p(t,n,e)}))(Object(s.a)(t)):new o.a((function(t){if(!y)throw new TypeError("Invalid event target");var n=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1<n.length?n:n[0])};return y(n),function(){return m(n)}}))}function v(t,n){return function(e){return function(r){return t[e](n,r)}}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(26),o=e(0);function i(t,n){return Object(o.a)(n)?Object(r.a)(t,n,1):Object(r.a)(t,1)}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{156:function(t,e,n){"use strict";n.r(e);var r=n(157),o=n(179),i=n(25),c=n(95),u=n(197),s=n(96),a=n(152),b=n(177),f=n(178),l=n(180),h=n(1),p=n(4),v=n(165),d=n(30),j=n(72),O=n(27);function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(O.c)(t),r=Object(O.a)(t,1/0);return t=Object(v.a)(t),Object(p.b)((function(e,o){Object(j.a)(r)(Object(d.a)(Object(h.i)([e],t),n)).subscribe(o)}))}var y,_=n(99),S=n(15);function m(t,e,n,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}(y=function*(){yield S.s;var t=document.getElementById("_navbar");if(t){var e=t.clientHeight,n=0,p=S.j?new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]):null,v=Object(r.a)(window,"hashchange").pipe(Object(i.a)(t=>new URL(t.newURL).hash),Object(c.a)(t=>""!==t&&"#_search-input"!==t),Object(u.a)()),d=v.pipe(Object(s.a)(()=>Object(r.a)(document,"scroll").pipe(Object(a.a)(50),Object(b.a)(!0),Object(f.a)(!1))),Object(f.a)(!0)),j=Object(o.a)(Object(r.a)(t,"focus",{capture:!0}).pipe(Object(b.a)(2*e)),v.pipe(Object(b.a)(-2*e)));Object(r.a)(document,"scroll",{passive:!0}).pipe(Object(S.f)(d),Object(i.a)(S.h),Object(c.a)(t=>t>=0),Object(l.a)(),Object(i.a)(t=>{var[e,n]=t;return e-n}),Object(c.a)(()=>{var t;return!(null!==(t=document.activeElement)&&void 0!==t&&t.classList.contains("nav-btn"))}),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return w.apply(void 0,Object(h.i)(t))}(j),Object(_.a)(r=>{n+=r,n=Math.max(-e,Math.min(0,n)),S.j?(p[0].y.value=n,t.attributeStyleMap.set("transform",p)):t.style.transform="translateY(".concat(n,"px)")})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,r){var o=y.apply(t,e);function i(t){m(o,n,r,i,c,"next",t)}function c(t){m(o,n,r,i,c,"throw",t)}i(void 0)}))})()},165:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=Array.isArray;function o(t){return 1===t.length&&r(t[0])?t[0]:t}},166:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),o=new r.a((function(t){return t.complete()}))},169:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),o=n(2),i=n(7),c=n(74),u=Object(c.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),s=n(39),a=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.f)(e,t),e.prototype.lift=function(t){var e=new b(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new u},e.prototype.next=function(t){var e,n;if(this._throwIfClosed(),!this.isStopped){var o=this.observers.slice();try{for(var i=Object(r.j)(o),c=i.next();!c.done;c=i.next()){c.value.next(t)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}},e.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var e=this.observers;e.length;)e.shift().error(t)}},e.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this.hasError,r=this.isStopped,o=this.observers;return n||r?i.a:(o.push(t),new i.b((function(){return Object(s.a)(e.observers,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,r=this.isStopped;e?t.error(n):r&&t.complete()},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new b(t,e)},e}(o.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.f)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:i.a},e}(a)},177:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(t){return Object(r.b)((function(e,n){e.subscribe(new o.a(n,(function(){return n.next(t)})))}))}},178:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(75),o=n(27),i=n(4);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(o.c)(t);return Object(i.b)((function(e,o){(n?Object(r.a)(t,e,n):Object(r.a)(t,e)).subscribe(o)}))}},179:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(72),o=n(30),i=n(165),c=n(11),u=n(166),s=n(27);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(s.c)(t),a=Object(s.a)(t,1/0),b=Object(i.a)(t);return b.length?1===b.length?Object(c.c)(b[0]):Object(r.a)(a)(Object(o.a)(b,n)):u.a}},180:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4),o=n(3);function i(){return Object(r.b)((function(t,e){var n,r=!1;t.subscribe(new o.a(e,(function(t){var o=n;n=t,r&&e.next([o,t]),r=!0})))}))}},197:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(2),i=n(7),c=n(4),u=n(3);function s(){return Object(c.b)((function(t,e){var n=null;t._refCount++;var r=new u.a(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var r=t._connection,o=n;n=null,!r||o&&r!==o||r.unsubscribe(),e.unsubscribe()}}));t.subscribe(r),r.closed||(n=t.connect())}))}var a=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,r}return Object(r.f)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new i.b;var n=this.getSubject();e.add(this.source.subscribe(new u.a(n,void 0,(function(e){t._teardown(),n.error(e)}),(function(){t._teardown(),n.complete()}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=i.b.EMPTY)}return e},e.prototype.refCount=function(){return s()(this)},e}(o.a),b=n(0);var f=n(169);function l(){return new f.a}function h(){return function(t){return s()((e=l,r=Object(b.a)(e)?e:function(){return e},Object(b.a)(n)?Object(c.b)((function(t,e){var o=r();n(o).subscribe(e).add(t.subscribe(o))})):function(t){var e=new a(t,r);return Object(c.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=r,e})(t));var e,n,r}}}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{155:function(e,t,r){"use strict";r.r(t);var n=r(157),a=r(179),i=r(205),l=r(93),o=r(177),c=r(25),u=r(197),s=r(99),p=r(206),b=r(96),d=r(202),v=r(178),y=r(180),O=r(26),m=r(15),f=r(70),j=r(166),h=r(204),g=r(201);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=/url[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\(["']?(((?:(?!["'\\])[\s\S])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["']?\)/,F=e=>{var t,r=e.getElementById("_sidebar"),n=null==r?void 0:r.querySelector(".sidebar-bg"),a=e.getElementById("_pageStyle");return[null==a||null===(t=a.innerText)||void 0===t?void 0:t.trim(),null==r?void 0:r.classList,null==n?void 0:n.classList,null==n?void 0:n.style.backgroundImage].join("\n")};var P=new WeakMap;class D{constructor(e){this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.prevHash=F(document),this.themeColorEl=document.querySelector('meta[name="theme-color"]')}fetchImage2(e){var t,r,{backgroundImage:n=""}=null!==(t=null===(r=e.querySelector(".sidebar-bg"))||void 0===r?void 0:r.style)&&void 0!==t?t:{},a=S.exec(n);if(!a)return Object(f.a)("");var i=new URL(a[1],window.location.origin);return Object(m.e)(i.href,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({method:"GET",headers:{Accept:"image/*"}},function(e){var{protocol:t,host:r}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}(i)?{mode:"cors"}:{})).pipe(Object(b.a)(e=>e.blob()),Object(c.a)(e=>URL.createObjectURL(e)),Object(h.a)(()=>Object(f.a)(i.href)))}fetchImage(e){var t=F(e);return t===this.prevHash?j.a:this.fetchImage2(e).pipe(Object(c.a)(r=>{var n,a=null!==(n=e.querySelector(".sidebar-bg"))&&void 0!==n?n:document.createElement("div");return r&&(a.style.backgroundImage="url(".concat(r,")"),P.set(a,r)),[a,t,e]}))}updateStyle(e){var t,r=null===(t=e.getElementById("_sidebar"))||void 0===t?void 0:t.classList;if(r&&this.sidebar.setAttribute("class",r),this.themeColorEl){var n,a=null===(n=e.head.querySelector('meta[name="theme-color"]'))||void 0===n?void 0:n.content;a&&window.setTimeout(()=>{this.themeColorEl&&(this.themeColorEl.content=a)},250)}try{var i,l=document.getElementById("_pageStyle"),o=e.getElementById("_pageStyle");if(!o)return;null==l||null===(i=l.parentNode)||void 0===i||i.replaceChild(o,l)}catch(e){0}}fade(e,t){var r,[n]=e,[a,i,l]=t;return null==n||null===(r=n.parentNode)||void 0===r||r.insertBefore(a,n.nextElementSibling),this.updateStyle(l),this.prevHash=i,Object(m.c)(a,[{opacity:0},{opacity:1}],{duration:this.fadeDuration,easing:"ease"}).pipe(Object(g.a)(()=>{var e;P.has(n)&&URL.revokeObjectURL(P.get(n)),null==n||null===(e=n.parentNode)||void 0===e||e.removeChild(n)}))}}var C=r(95);var I,B=["title"];function q(e,t,r,n){var l=e.pipe(Object(C.a)(e=>{var{flipType:t}=e;return!B.includes(t)}));return Object(a.a)(function(e,t,r,n){var{animationMain:a,settings:l}=n;if(!a)return e;var o=e.pipe(Object(C.a)(e=>{var{flipType:t}=e;return"title"===t}),Object(b.a)(e=>{var{anchor:t}=e;if(!t)return Object(f.a)({});var r=document.createElement("h1");r.classList.add("page-title"),r.textContent=t.textContent,r.style.transformOrigin="left top";var n=a.querySelector(".page");if(!n)return Object(f.a)({});m.d.call(n),n.appendChild(r),a.style.position="fixed",a.style.opacity=1;var i=t.getBoundingClientRect(),o=r.getBoundingClientRect(),c=parseInt(getComputedStyle(t).fontSize,10),u=parseInt(getComputedStyle(r).fontSize,10),p=i.left-o.left,b=i.top-o.top,d=c/u;t.style.opacity=0;var v=[{transform:"translate3d(".concat(p,"px, ").concat(b,"px, 0) scale(").concat(d,")")},{transform:"translate3d(0, 0, 0) scale(1)"}];return Object(m.c)(r,v,l).pipe(Object(s.a)({complete(){a.style.position="absolute"}}))}));return e.pipe(Object(b.a)(e=>{var{flipType:n}=e;return Object(i.a)(t.pipe(Object(C.a)(()=>"title"===n),Object(c.a)(e=>{var{replaceEls:[t]}=e,r=t.querySelector(".page-title, .post-title");return r&&(r.style.opacity=0),r})),r).pipe(Object(c.a)(e=>{var[t]=e;return t}),Object(s.a)(e=>{e&&(e.style.opacity=1),a.style.opacity=0}),Object(g.a)(()=>{a.style.opacity=0;var e=a.querySelector(".page");m.d.call(e)}))})).subscribe(),o}(e,t,r,n),l)}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){L(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e,t,r,n,a,i,l){try{var o=e[i](l),c=o.value}catch(e){return void r(e)}o.done?t(c):Promise.resolve(c).then(n,a)}(I=function*(){yield Promise.all([..."fetch"in window?[]:[Promise.all([r.e(11),r.e(3)]).then(r.bind(null,209))],..."customElements"in window?[]:[r.e(16).then(r.bind(null,175))],..."animate"in Element.prototype?[]:[r.e(15).then(r.t.bind(null,207,7))],..."IntersectionObserver"in window?[]:[r.e(12).then(r.t.bind(null,208,7))]]),yield m.t;var e=[{opacity:1},{opacity:0}],t=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],f=document.querySelector("hy-push-state");if(f){var j=Number(f.getAttribute("duration"))||350,h={duration:j,easing:"ease"},g=document.querySelector("hy-drawer"),w=document.querySelector("#_navbar > .content > .nav-btn-bar"),E=function(e){var t;return null==e||null===(t=e.parentNode)||void 0===t||t.insertBefore(Object(m.l)("_animation-template"),e),null==e?void 0:e.previousElementSibling}(f),S=function(e){return null==e||e.appendChild(Object(m.l)("_loading-template")),null==e?void 0:e.lastElementChild}(w),F=(e,t)=>Object(n.a)(f,e).pipe(Object(c.a)(e=>{var{detail:t}=e;return t}),t?Object(c.a)(t):e=>e,Object(u.a)()),P=F("hy-push-state-start",e=>{return Object.assign(e,{flipType:(t=e.anchor,null!=t&&t.classList.contains("flip-title")?"title":null!=t&&t.classList.contains("flip-project")?"project":null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"data-flip"))});var t,r}),C=F("hy-push-state-ready"),I=F("hy-push-state-after"),B=F("hy-push-state-progress"),x=F("hy-push-state-networkerror"),L=P.pipe(Object(c.a)(e=>Object.assign(e,{main:document.getElementById("_main")})),Object(s.a)(e=>{var{main:t}=e;t.style.pointerEvents="none"}),window._noDrawer&&null!=g&&g.classList.contains("cover")?Object(s.a)(()=>{var e;g.classList.remove("cover"),null===(e=g.parentNode)||void 0===e||e.appendChild(g)}):e=>e,Object(p.a)(t=>{var{main:r}=t;return Object(m.c)(r,e,_(_({},h),{},{fill:"forwards"})).pipe(Object(o.a)({main:r}))}),Object(s.a)(e=>{var{main:t}=e;return m.d.call(t)}),Object(u.a)());S&&(B.subscribe(()=>{S.style.display="flex"}),C.subscribe(()=>{S.style.display="none"}));var k=I.pipe(Object(b.a)(e=>{var r=(e=>{var{replaceEls:[r],flipType:n}=e;return Object(m.c)(r,t,h).pipe(Object(o.a)({main:r,flipType:n}))})(e).toPromise();return e.transitionUntil(r),r}),Object(u.a)()),T=q(P,C,Object(a.a)(k,x),{animationMain:E,settings:h}).pipe(Object(u.a)());P.pipe(Object(b.a)(e=>{var t=Object(i.a)(Object(l.a)(j),L,T).toPromise();return e.transitionUntil(t),t})).subscribe(),L.subscribe(),T.subscribe();var A=document.querySelector(".sidebar-bg");if(A){var R=new D(2e3);I.pipe(Object(b.a)(e=>{var{document:t}=e;return Object(i.a)(R.fetchImage(t),k).pipe(Object(c.a)(e=>{var[t]=e;return t}),Object(d.a)(P))}),Object(v.a)([A]),Object(y.a)(),Object(O.a)(e=>{var[t,r]=e;return R.fade(t,r)})).subscribe()}x.pipe(Object(b.a)(e=>{var{url:r}=e;S&&(S.style.display="none");var n=document.getElementById("_main");return n&&(n.style.pointerEvents=""),m.d.call(null==E?void 0:E.querySelector(".page")),m.d.call(n),function(e,t){var{pathname:r}=t,n=Object(m.l)("_error-template"),a=null==n?void 0:n.querySelector(".this-link");a&&(a.href=r,a.textContent=r),null==e||e.appendChild(n),null==e||e.lastElementChild}(n,r),Object(m.c)(n,t,_(_({},h),{},{fill:"forwards"}))})).subscribe(),Promise.resolve().then(r.bind(null,196)),window._pushState=f}},function(){var e=this,t=arguments;return new Promise((function(r,n){var a=I.apply(e,t);function i(e){k(a,r,n,i,l,"next",e)}function l(e){k(a,r,n,i,l,"throw",e)}i(void 0)}))})()}}]);
|
data/assets/js/{LEGACY-resize-observer-hydejack-9.0.4.js → resize-observer-hydejack-9.1.0.js}
RENAMED
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{193:function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},u=function(e){if(c(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},h=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new WeakMap,v=/auto|scroll/,p=/^tb|vertical/,l=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),g=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},w=Object.freeze({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new a(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(u(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),i=!l&&"border-box"===n.boxSizing,o=p.test(n.writingMode||""),s=!r&&v.test(n.overflowY||""),h=!r&&v.test(n.overflowX||""),d=r?0:g(n.paddingTop),x=r?0:g(n.paddingRight),E=r?0:g(n.paddingBottom),T=r?0:g(n.paddingLeft),z=r?0:g(n.borderTopWidth),m=r?0:g(n.borderRightWidth),y=r?0:g(n.borderBottomWidth),B=T+x,S=d+E,O=(r?0:g(n.borderLeftWidth))+m,R=z+y,k=h?e.offsetHeight-R-e.clientHeight:0,C=s?e.offsetWidth-O-e.clientWidth:0,N=i?B+O:0,D=i?S+R:0,M=r?r.width:g(n.width)-N-C,P=r?r.height:g(n.height)-D-k,_=M+B+C+O,F=P+S+k+R,I=Object.freeze({devicePixelContentBoxSize:b(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:b(_,F,o),contentBoxSize:b(M,P,o),contentRect:new a(T,d,M,P)});return f.set(e,I),I},E=function(e,t,n){var i=x(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},T=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},z=function(e){if(u(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},m=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new T(t.target),i=z(t.target);r.push(n),t.lastReportedSize=E(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},y=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},B=function(){var e,t=0;for(y(t);i.some((function(e){return e.activeTargets.length>0}));)t=m(),y(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},S=[],O=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return S.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}S.push(e),s()},R=0,k={attributes:!0,characterData:!0,childList:!0,subtree:!0},C=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},D=!1,M=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!D){D=!0;var n,r=N(e);n=function(){var n=!1;try{n=B()}finally{if(D=!1,e=r-N(),!R)return;n?t.run(1e3):e>0?t.run(e):t.start()}},O((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,k)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),C.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),C.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!R&&e>0&&M.start(),!(R+=e)&&M.stop()},_=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return e=this.target,c(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),F=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=new WeakMap,L=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},W=function(){function e(){}return e.connect=function(e,t){var n=new F(e,t);I.set(e,n)},e.observe=function(e,t,n){var r=I.get(e),o=0===r.observationTargets.length;L(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new _(t,n&&n.box)),P(1),M.schedule())},e.unobserve=function(e,t){var n=I.get(e),r=L(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),P(-1))},e.disconnect=function(e){var t=this,n=I.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),X=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();window.ResizeObserver=window.ResizeObserver||X}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.0
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{176:function(n,w,o){"use strict";o.r(w);o(190),o(194)}}]);
|
@@ -0,0 +1,222 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{164:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},181:function(t,e,n){"use strict";n.r(e),function(t,r){function i(){var t=p(['<div style="font-size:smaller">\n ',"\n </div>"]);return i=function(){return t},t}function o(){var t=p(['<span class="error">Error</span>']);return o=function(){return t},t}function s(){var t=p(['<span class="error">Crypto required</span>']);return s=function(){return t},t}function a(){var t=p(['<a class="error" href="','">Payment required</a>']);return a=function(){return t},t}function u(){var t=p(["\n <div \n class=","\n style=",'\n >\n <div class="shockwave"></div>\n <div class=','>\n <div class="count">\n ',"","\n ","\n ","\n ","\n </div>\n </div>\n <div class=",">\n ","\n </div>\n ","\n ","\n ","\n <button\n ?disabled=","\n @mousedown=","\n @touchstart=","\n ></button>\n </div>\n "]);return u=function(){return t},t}function l(){var t=p(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>']);return l=function(){return t},t}function c(){var t=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">\n <g class="sparkle">\n ',"\n </g>\n </svg>"]);return c=function(){return t},t}function h(){var t=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" id="countdown-svg">\n <g class="countdown">\n <circle cx="50" cy="50" r="49"/>\n </g>\n </svg>\n ']);return h=function(){return t},t}function f(){var t=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" id="hand-svg">\n <g class="flat">\n <path d="M57.0443547 6.86206897C57.6058817 6.46227795 57.7389459 5.67962382 57.3416215 5.11431557 56.9442971 4.54900731 56.1672933 4.41483804 55.6055588 4.81504702L52.4950525 7.030721C51.9335255 7.43051202 51.8004613 8.21316614 52.1977857 8.7784744 52.4404567 9.12371996 52.8251182 9.30825496 53.2153846 9.30825496 53.4640757 9.30825496 53.7152578 9.23343783 53.9338485 9.07753396L57.0443547 6.86206897zM48.8035059 6.1414838C48.94778 6.19623824 49.0959982 6.22215256 49.2415177 6.22215256 49.7455426 6.22215256 50.2198824 5.91201672 50.4075424 5.40898642L51.7485642 1.81818182C51.9906124 1.17011494 51.664906.447021944 51.0209664.203343783 50.3772345-.0405433647 49.6587706.287774295 49.4167224.93584117L48.0757006 4.52664577C47.83386 5.17471264 48.1595664 5.89780564 48.8035059 6.1414838zM58.5931726 11.6219436C58.5846615 11.6219436 58.5761504 11.6219436 58.5674317 11.6219436L54.7579749 11.6541275C54.0702341 11.6681296 53.5240687 12.1985371 53.5379772 12.8909091 53.551678 13.5745037 54.1065621 14.1297806 54.7828855 14.1297806 54.7913966 14.1297806 54.7999077 14.1297806 54.8086265 14.1297806L58.6180833 14.0643678C59.305824 14.0501567 59.8519894 13.4934169 59.838081 12.8010449 59.8243801 12.1174504 59.269496 11.6219436 58.5931726 11.6219436z"/>\n <path d="M37.1910045 6.68944619C37.7313574 6.14566353 38.4431784 5.8737722 39.155207 5.8737722 39.967916 5.8737722 40.7808327 6.22800418 41.3380002 6.93667712 42.2214969 8.06039707 42.0666359 9.69111808 41.0600392 10.7042842L39.777765 11.9949843C39.5801407 12.1276907 39.3877061 12.2695925 39.2075193 12.430303 39.0619998 11.5985371 38.7167801 10.7954023 38.1668781 10.0961338 37.4907623 9.23636364 36.588375 8.62424242 35.5772114 8.31410658L37.1910045 6.68944619zM28.5289586 3.66394984C29.0691039 3.12016719 29.7811325 2.84827586 30.4931611 2.84827586 31.3060777 2.84848485 32.1187868 3.20271682 32.6759543 3.91138976 33.559451 5.03510972 33.40459 6.66562173 32.3979933 7.67878788L17.6760235 22.3467085 17.6276554 20.6499478C17.6149925 19.014629 16.8595779 17.554441 15.6854573 16.5945664L28.5289586 3.66394984zM.624996757 36.9889537C.491717597 36.554099.508245877 35.7327064.906400646 35.2666667L3.45579518 32.2829676C3.45662553 32.2819923 4.33763118 25.8376176 6.09881213 12.9498433 6.09881213 11.4271682 7.33624726 10.1814002 8.84873717 10.1814002 10.3612271 10.1814002 11.5988698 11.4271682 11.5988698 12.9498433L11.6704878 15.4649948C9.18191673 15.8089864 7.24428555 17.9170324 7.14921001 20.492581L4.62804751 38.9475444 3.8946373 39.8060606C3.04504924 39.4926018 2.3776139 39.1458968 1.89233128 38.7659456 1.16440735 38.1960189.758275917 37.4238085.624996757 36.9889537z"/>\n <path d="M49.6070811,36.8942529 L42.4182909,44.1316614 C36.2784454,50.3128527 29.8604313,55.2743992 24.2225349,56.5113898 C24.0512744,56.5492163 23.8901857,56.6217346 23.7511014,56.7293626 L20.5013032,59.2417973 C20.2908084,59.4045977 20.1673015,59.6181154 19.5026647,59.6181154 C18.8380279,59.6181154 13.0160695,55.8303982 10.3595306,53.2846814 C7.96626306,50.9912532 3.77432047,43.9549368 4.44453927,43.0079415 L6.99372621,40.0244514 C6.99469496,40.0233368 7.87570061,33.578962 9.63674317,20.6913271 C9.63674317,19.168652 10.8743859,17.922675 12.3868758,17.922675 C13.8993657,17.922675 15.1368008,19.168652 15.1368008,20.6913271 L15.2667512,25.2522466 C15.2883404,26.0100313 15.907577,26.5034483 16.5519317,26.5034483 C16.8662207,26.5034483 17.1867374,26.3857889 17.4464306,26.1245559 L32.0670972,11.4054336 C32.6074501,10.861442 33.3190635,10.5897597 34.0312997,10.5897597 C34.8440088,10.5897597 35.6569254,10.9439916 36.214093,11.6526646 C37.0975897,12.7763845 36.942521,14.4071055 35.9359243,15.4202717 L25.8641449,25.5598746 C25.3412294,26.0865204 25.3412294,26.9398119 25.8641449,27.4660397 C26.1288202,27.7324974 26.4757006,27.8658307 26.822581,27.8658307 C27.1694614,27.8658307 27.5165494,27.7324974 27.7810172,27.4660397 L40.7291431,14.43093 C41.2692884,13.8869383 41.9811094,13.615256 42.6933456,13.615256 C43.5060547,13.615465 44.3189713,13.969697 44.8761389,14.6783699 C45.7596356,15.8018809 45.6045669,17.4326019 44.5979702,18.445768 L31.7106677,31.4198537 C31.1806943,31.953605 31.1806943,32.8183908 31.7106677,33.3521421 C31.9718141,33.615047 32.31392,33.7464995 32.656441,33.7464995 C32.9985469,33.7464995 33.3408603,33.615047 33.6020067,33.3521421 L43.7346096,23.1515152 C44.2749625,22.6075235 44.9867835,22.3358412 45.6988121,22.3358412 C46.5115212,22.3358412 47.3244378,22.6900731 47.8816054,23.3989551 C48.7651021,24.522466 48.6100334,26.153187 47.6034367,27.1663532 L37.5667397,37.2708464 C37.0245185,37.8165099 37.0245185,38.7017764 37.5667397,39.2474399 C37.8334909,39.5161964 38.161896,39.6422153 38.4900934,39.6422153 C38.8184984,39.6422153 39.1469035,39.5161964 39.3972552,39.2639498 L45.6195133,32.999791 C46.1802099,32.4353187 46.93085,32.1368861 47.678999,32.1368861 C48.2741552,32.1368861 48.8676508,32.3258098 49.361919,32.7197492 C50.682182,33.7717868 50.7639719,35.7297806 49.6070811,36.8942529 Z"/>\n </g>\n <g class="outline">\n <path d="M57.1428763 6.63333333C57.6856856 6.24686869 57.8143144 5.49030303 57.4302341 4.94383838 57.0461538 4.39737374 56.2950502 4.26767677 55.7520401 4.65454545L52.7452174 6.79636364C52.202408 7.18282828 52.0737793 7.93939394 52.4578595 8.48585859 52.6924415 8.81959596 53.0642809 8.9979798 53.4415385 8.9979798 53.6819398 8.9979798 53.9247492 8.92565657 54.1360535 8.77494949L57.1428763 6.63333333zM49.1767224 5.93676768C49.3161873 5.98969697 49.4594649 6.01474747 49.6001338 6.01474747 50.0873579 6.01474747 50.5458863 5.71494949 50.727291 5.22868687L52.023612 1.75757576C52.257592 1.13111111 51.9427425.432121212 51.3202676.196565657 50.6979933-.0391919192 50.0034783.278181818 49.7694983.904646465L48.4731773 4.37575758C48.239398 5.00222222 48.5542475 5.70121212 49.1767224 5.93676768zM58.6400669 11.2345455C58.6318395 11.2345455 58.623612 11.2345455 58.6151839 11.2345455L54.932709 11.2656566C54.267893 11.2791919 53.7399331 11.7919192 53.7533779 12.4612121 53.7666221 13.1220202 54.30301 13.6587879 54.9567893 13.6587879 54.9650167 13.6587879 54.9732441 13.6587879 54.9816722 13.6587879L58.6641472 13.5955556C59.3289632 13.5818182 59.8569231 13.0436364 59.8434783 12.3743434 59.8302341 11.7135354 59.2938462 11.2345455 58.6400669 11.2345455zM51.2107023 29.7280808C50.5940468 29.2365657 49.8640134 28.9020202 49.0922408 28.7448485 49.1432107 28.6519192 49.1907692 28.5573737 49.2357191 28.4614141L49.7189298 27.9749495C51.5799331 26.1012121 51.7753846 23.1519192 50.1732441 21.1141414 49.4169231 20.1523232 48.3670234 19.5131313 47.2009365 19.2745455 47.284214 19.120202 47.3580602 18.9624242 47.4250836 18.8022222 48.6925084 16.9539394 48.6718395 14.469899 47.2681605 12.6844444 46.5116388 11.7220202 45.4613378 11.0808081 44.2946488 10.8426263 45.2578595 9.05959596 45.1348495 6.83737374 43.8481605 5.20121212 42.8753177 3.96383838 41.4182609 3.25393939 39.8502341 3.25393939 38.5946488 3.25393939 37.4101003 3.70565657 36.480602 4.53272727 36.3399331 3.72888889 36.0064214 2.95252525 35.4748495 2.27636364 34.501806 1.0389899 33.0447492.329292929 31.4767224.329090909 30.1141806.329090909 28.8351171.861414141 27.8753177 1.82767677L15.6666221 14.1185859 15.6200669 12.4781818C15.5985953 9.68424242 13.3340468 7.41777778 10.5537793 7.41777778 7.8238796 7.41777778 5.59143813 9.60262626 5.49110368 12.3264646L3.05377926 30.1660606 1.05050167 32.510303C-.150100334 33.9157576.751318148 36.4103164 1.05050167 37.002855 1.3496852 37.5953936 1.66593319 37.9666982 2.51271962 38.8651283 2.8050341 39.1752704 3.3712736 39.6680391 4.21143813 40.3434343 3.2935786 41.7335354 4.72327715 47.298456 9.51045561 52.4226263 15.4436869 58.7735254 20.1888963 59.9262626 21.1316388 59.9262626 21.9056187 59.9262626 22.6703679 59.6646465 23.2846154 59.189899L26.2031438 56.9337374C29.0107023 56.2660606 32.1060201 54.7492929 35.4086288 52.4226263 38.2924415 50.3907071 41.4210702 47.6832323 44.7070234 44.3749495L51.656388 37.3787879C52.681204 36.3470707 53.220602 34.9165657 53.1363211 33.4541414 53.0520401 31.9941414 52.350301 30.6361616 51.2107023 29.7280808zM37.9513043 6.46646465C38.4736455 5.94080808 39.1617391 5.6779798 39.8500334 5.6779798 40.6356522 5.6779798 41.4214716 6.02040404 41.9600669 6.70545455 42.8141137 7.79171717 42.6644147 9.36808081 41.6913712 10.3474747L40.4518395 11.5951515C40.2608027 11.7234343 40.0747826 11.8606061 39.900602 12.0159596 39.7599331 11.2119192 39.4262207 10.4355556 38.8946488 9.75959596 38.2410702 8.92848485 37.3687625 8.33676768 36.3913043 8.0369697L37.9513043 6.46646465zM29.5779933 3.54181818C30.1001338 3.01616162 30.7884281 2.75333333 31.4767224 2.75333333 32.2625418 2.75353535 33.0481605 3.0959596 33.5867559 3.7810101 34.4408027 4.86727273 34.2911037 6.44343434 33.3180602 7.42282828L19.0868227 21.6018182 19.0400669 19.9616162C19.0278261 18.3808081 18.297592 16.9692929 17.1626087 16.0414141L29.5779933 3.54181818zM2.60416353 35.7559886C2.47532701 35.335629 2.49130435 34.5416162 2.87618729 34.0911111L5.34060201 31.2068687C5.34140468 31.2059259 6.19304348 24.9763636 7.89551839 12.5181818 7.89551839 11.0462626 9.09170569 9.8420202 10.5537793 9.8420202 12.0158528 9.8420202 13.2122408 11.0462626 13.2122408 12.5181818L13.2814716 14.9494949C10.8758528 15.2820202 9.00280936 17.319798 8.91090301 19.8094949L6.47377926 37.6492929 5.76481605 38.4791919C4.9435476 38.1761817 4.2983601 37.8410335 3.82925357 37.4737474 3.12559377 36.9228183 2.73300005 36.1763482 2.60416353 35.7559886zM49.9535117 35.6644444L43.0043478 42.6606061C37.0691639 48.6357576 30.8650836 53.4319192 25.4151171 54.6276768 25.2495652 54.6642424 25.0938462 54.7343434 24.959398 54.8383838L21.8179264 57.2670707C21.6144482 57.4244444 21.4950582 57.6308449 20.8525759 57.6308449 20.2100936 57.6308449 14.5822005 53.9693849 12.0142129 51.5085254 9.70072096 49.2915447 5.64850979 42.4897722 6.29638796 41.5743434L8.76060201 38.690303C8.76153846 38.6892256 9.61317726 32.4596633 11.3155184 20.0016162 11.3155184 18.529697 12.5119064 17.3252525 13.9739799 17.3252525 15.4360535 17.3252525 16.6322408 18.529697 16.6322408 20.0016162L16.7578595 24.4105051C16.7787291 25.1430303 17.3773244 25.62 18.0002007 25.62 18.3040134 25.62 18.6138462 25.5062626 18.8648829 25.2537374L32.998194 11.0252525C33.5205351 10.4993939 34.2084281 10.2367677 34.8969231 10.2367677 35.6825418 10.2367677 36.4683612 10.5791919 37.0069565 11.2642424 37.8610033 12.3505051 37.7111037 13.9268687 36.7380602 14.9062626L27.0020067 24.7078788C26.4965217 25.2169697 26.4965217 26.0418182 27.0020067 26.5505051 27.2578595 26.8080808 27.5931773 26.9369697 27.928495 26.9369697 28.2638127 26.9369697 28.5993311 26.8080808 28.8549833 26.5505051L41.371505 13.949899C41.8936455 13.4240404 42.5817391 13.1614141 43.2702341 13.1614141 44.0558528 13.1616162 44.8416722 13.5040404 45.3802676 14.1890909 46.2343144 15.2751515 46.0844147 16.8515152 45.1113712 17.8309091L32.6536455 30.3725253C32.1413378 30.8884848 32.1413378 31.7244444 32.6536455 32.240404 32.906087 32.4945455 33.2367893 32.6216162 33.567893 32.6216162 33.8985953 32.6216162 34.2294983 32.4945455 34.4819398 32.240404L44.2767893 22.379798C44.7991304 21.8539394 45.4872241 21.5913131 46.1755184 21.5913131 46.9611371 21.5913131 47.7469565 21.9337374 48.2855518 22.6189899 49.1395987 23.7050505 48.989699 25.2814141 48.0166555 26.2608081L38.3145151 36.0284848C37.7903679 36.5559596 37.7903679 37.4117172 38.3145151 37.9391919 38.5723746 38.1989899 38.8898328 38.3208081 39.2070903 38.3208081 39.5245485 38.3208081 39.8420067 38.1989899 40.0840134 37.9551515L46.0988629 31.899798C46.6408696 31.3541414 47.3664883 31.0656566 48.089699 31.0656566 48.6650167 31.0656566 49.2387291 31.2482828 49.7165217 31.6290909 50.9927759 32.6460606 51.0718395 34.5387879 49.9535117 35.6644444z"/>\n </g>\n </svg>']);return f=function(){return t},t}function d(){var t=p(["\n:host {\n display: block;\n position: relative;\n width: 5em;\n height: 5em;\n margin: 5em auto;\n}\n.style-root {\n position: absolute;\n fill: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n .style-root .error { color: indianred }\n .style-root button {\n -webkit-tap-highlight-color: transparent;\n cursor: pointer; \n border: none;\n background: none;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n .style-root button:disabled {\n cursor: default; }\n .style-root .shockwave {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n border-radius: 50%; }\n .style-root svg {\n position: absolute;\n width: 60%;\n height: 60%;\n margin: 20%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0.8;\n stroke: none;\n overflow: visible !important; }\n .style-root svg g.flat {\n visibility: hidden; }\n .style-root svg g.outline {\n visibility: visible; }\n .style-root.clapped:not(.loading) svg g.flat {\n visibility: visible; }\n .style-root.clapped svg g.outline {\n visibility: hidden; }\n .style-root.loading svg g.outline {\n visibility: visible; }\n .style-root .count-container {\n position: absolute;\n width: 100%;\n color: inherit;\n user-select: none; }\n .style-root .count-container.container-top {\n top: -2.5em; }\n .style-root .count-container.container-bottom {\n bottom: -2.5em; }\n .style-root .count-container > div {\n width: 300%;\n margin-left: -100%;\n text-align: center; }\n .style-root g.sparkle circle {\n opacity: 0;\n stroke-width: 0; }\n .style-root:not(.clapped):not(.no-shockwave):not(.no-animation) .shockwave {\n animation-name: shockwave;\n animation-duration: 1.5s;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in; }\n .style-root.clap {\n animation-name: pulse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; \n animation-timing-function: ease-out; }\n .style-root.clap .sparkle circle {\n animation-name: explode;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-top .count {\n animation-name: hide-then-show;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-bottom .count {\n animation-name: hide-then-show-inverse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n\n#hand-svg {\n margin-top: 22%;\n margin-left: 22%;\n}\n\n#countdown-svg {\n width: 100%;\n height: 100%;\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n margin: 0;\n}\n\n.countdown {\n fill: none; \n transform: rotateZ(0deg);\n transform-origin: center;\n}\n\n.countdown circle {\n stroke-width: 2px;\n opacity: 1;\n stroke-linecap: round;\n stroke-dasharray: 308 308;\n transform: rotate(-90deg);\n transform-origin: center;\n}\n\n.style-root.ticking .countdown circle {\n animation-timing-function: ease;\n animation-name: countdown;\n animation-duration: 3s; \n}\n\n.style-root.loading:not(.no-animation) .countdown {\n animation: 2s linear infinite svg-animation; \n}\n\n.style-root.loading:not(.no-animation) .countdown circle {\n animation: 1.4s ease-in-out infinite both circle-animation;\n stroke-dasharray: 308;\n stroke-dashoffset: 302; \n}\n\n@keyframes svg-animation {\n 0% { \n transform: rotateZ(-90deg);\n }\n 100% { \n transform: rotateZ(270deg);\n }\n}\n\n@keyframes circle-animation {\n 0%,\n 15% {\n stroke-dashoffset: 280;\n transform: rotate(0); \n }\n 50%,\n 65% {\n stroke-dashoffset: 75;\n transform: rotate(45deg); \n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(360deg); \n }\n}\n\n@keyframes countdown {\n 0% {\n stroke-dasharray: 308 308;\n }\n 50% {\n stroke-dasharray: 308 308;\n }\n 100% {\n stroke-dasharray: 0 308;\n }\n}\n\n@keyframes explode {\n 0% {\n transform: translateX(10px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(25px);\n }\n}\n\n@keyframes shockwave {\n 0% {\n transform: scale(1);\n opacity: 1; \n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n 89.99% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 50px, inset 0 0 10px;\n }\n 90%, 100% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes hide-then-show {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 80% {\n transform: translateY(10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0); \n }\n}\n\n@keyframes hide-then-show-inverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(10px);\n }\n 50% {\n transform: translateY(-10px);\n }\n 80% {\n transform: translateY(-10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n"]);return d=function(){return t},t}function p(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function v(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function y(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){v(o,r,i,s,a,"next",t)}function a(t){v(o,r,i,s,a,"throw",t)}s(void 0)}))}}
|
15
|
+
/*! *****************************************************************************
|
16
|
+
Copyright (c) Microsoft Corporation.
|
17
|
+
|
18
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
19
|
+
purpose with or without fee is hereby granted.
|
20
|
+
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
22
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
23
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
24
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
25
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
26
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
27
|
+
PERFORMANCE OF THIS SOFTWARE.
|
28
|
+
***************************************************************************** */function g(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function m(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}))}function w(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function b(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}n.d(e,"ClapButton",(function(){return Ge})),n.d(e,"ClapConfig",(function(){return He})),n.d(e,"ClapText",(function(){return $e})),function(t){var e=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";e[i]=e[i]||[],e[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),t.addEventListener("storage",(function(e){if(e.storageArea===t.localStorage&&null!=e.newValue&&""!==e.newValue&&e.key.substring(0,i.length)===i){var n=JSON.parse(e.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),s=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(s,o),setTimeout((function(){t.localStorage.removeItem(s)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var t=e[this._id].indexOf(this);e[this._id].splice(t,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(t){this._mc.port1.onmessage=t},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},t.BroadcastChannel=t.BroadcastChannel||n}(self),function(t){function e(){}function n(t,e){if(t=void 0===t?"utf-8":t,e=void 0===e?{fatal:!1}:e,-1===o.indexOf(t.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+t+"') is invalid.");if(e.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.")}function i(t){for(var e=0,n=Math.min(65536,t.length+1),r=new Uint16Array(n),i=[],o=0;;){var s=e<t.length;if(!s||o>=n-1){if(i.push(String.fromCharCode.apply(null,r.subarray(0,o))),!s)return i.join("");t=t.subarray(e),o=e=0}if(0==(128&(s=t[e++])))r[o++]=s;else if(192==(224&s)){var a=63&t[e++];r[o++]=(31&s)<<6|a}else if(224==(240&s)){a=63&t[e++];var u=63&t[e++];r[o++]=(31&s)<<12|a<<6|u}else 240==(248&s)&&(65535<(s=(7&s)<<18|(a=63&t[e++])<<12|(u=63&t[e++])<<6|63&t[e++])&&(s-=65536,r[o++]=s>>>10&1023|55296,s=56320|1023&s),r[o++]=s)}}if(t.TextEncoder&&t.TextDecoder)return!1;var o=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(e.prototype,"encoding",{value:"utf-8"}),e.prototype.encode=function(t,e){if((e=void 0===e?{stream:!1}:e).stream)throw Error("Failed to encode: the 'stream' option is unsupported.");e=0;for(var n=t.length,r=0,i=Math.max(32,n+(n>>>1)+7),o=new Uint8Array(i>>>3<<3);e<n;){var s=t.charCodeAt(e++);if(55296<=s&&56319>=s){if(e<n){var a=t.charCodeAt(e);56320==(64512&a)&&(++e,s=((1023&s)<<10)+(1023&a)+65536)}if(55296<=s&&56319>=s)continue}if(r+4>o.length&&(i+=8,i=(i*=1+e/t.length*2)>>>3<<3,(a=new Uint8Array(i)).set(o),o=a),0==(4294967168&s))o[r++]=s;else{if(0==(4294965248&s))o[r++]=s>>>6&31|192;else if(0==(4294901760&s))o[r++]=s>>>12&15|224,o[r++]=s>>>6&63|128;else{if(0!=(4292870144&s))continue;o[r++]=s>>>18&7|240,o[r++]=s>>>12&63|128,o[r++]=s>>>6&63|128}o[r++]=63&s|128}}return o.slice?o.slice(0,r):o.subarray(0,r)},Object.defineProperty(n.prototype,"encoding",{value:"utf-8"}),Object.defineProperty(n.prototype,"fatal",{value:!1}),Object.defineProperty(n.prototype,"ignoreBOM",{value:!1});var s=i;"function"==typeof r&&r.from?s=function(t){return r.from(t.buffer,t.byteOffset,t.byteLength).toString("utf-8")}:"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&(s=function(t){var e=URL.createObjectURL(new Blob([t],{type:"text/plain;charset=UTF-8"}));try{var n=new XMLHttpRequest;return n.open("GET",e,!1),n.send(),n.responseText}catch(e){return i(t)}finally{URL.revokeObjectURL(e)}}),n.prototype.decode=function(t,e){if((e=void 0===e?{stream:!1}:e).stream)throw Error("Failed to decode: the 'stream' option is unsupported.");return t=t instanceof Uint8Array?t:t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer):new Uint8Array(t),s(t)},t.TextEncoder=e,t.TextDecoder=n}("undefined"!=typeof window?window:void 0!==t?t:void 0);var _=function(){function t(){}return t.prototype.then=function(e,n){var r=new t,i=this.s;if(i){var o=1&i?e:n;if(o){try{S(r,1,o(this.v))}catch(t){S(r,2,t)}return r}return this}return this.o=function(t){try{var i=t.v;1&t.s?S(r,1,e?e(i):i):n?S(r,1,n(i)):S(r,2,i)}catch(t){S(r,2,t)}},r},t}();function S(t,e,n){if(!t.s){if(n instanceof _){if(!n.s)return void(n.o=S.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(S.bind(null,t,e),S.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var C=0,A="function"==typeof WeakMap?WeakMap:function(){var t="function"==typeof Symbol?Symbol(0):"__weak$"+ ++C;this.set=function(e,n){e[t]=n},this.get=function(e){return e[t]}};function P(t,e){return new Promise((function(n,r){t.onsuccess=function(){var r=t.result;e&&(r=e(r)),n(r)},t.onerror=function(){r(t.error)}}))}function E(t,e){return P(t.openCursor(e),(function(t){return t?[t.key,t.value]:[]}))}function x(t){return new Promise((function(e,n){t.oncomplete=function(){e()},t.onabort=function(){n(t.error)},t.onerror=function(){n(t.error)}}))}function T(t){if(!function(t){if("number"==typeof t||"string"==typeof t)return!0;if("object"==typeof t&&t){if(Array.isArray(t))return!0;if("setUTCFullYear"in t)return!0;if("function"==typeof ArrayBuffer&&ArrayBuffer.isView(t))return!0;if("byteLength"in t&&"length"in t)return!0}return!1}(t))throw Error("kv-storage: The given value is not allowed as a key")}var k={};function R(t,e){return E(t,U(e))}function U(t){return t===k?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(t,!0)}var L=new A,M=new A,N=new A,B=new A,O=function(){};function I(t,e){return e((function(e,n){try{function r(){return M.set(t,o),N.set(t,void 0),{value:a,done:void 0===o}}var i=M.get(t);if(void 0===i)return Promise.resolve({value:void 0,done:!0});var o,s,a,u=function(t,e){var n,r=-1;t:{for(var i=0;i<e.length;i++){var o=e[i][0];if(o){var s=o();if(s&&s.then)break t;if(s===t){r=i;break}}else r=i}if(-1!==r){do{for(var a=e[r][1];!a;)a=e[++r][1];var u=a();if(u&&u.then){n=!0;break t}var l=e[r][2];r++}while(l&&!l());return u}}var c=new _,h=S.bind(null,c,2);return(n?u.then(f):s.then((function n(s){for(;;){if(s===t){r=i;break}if(++i===e.length){if(-1!==r)break;return void S(c,1,u)}if(o=e[i][0]){if((s=o())&&s.then)return void s.then(n).then(void 0,h)}else r=i}do{for(var a=e[r][1];!a;)a=e[++r][1];var u=a();if(u&&u.then)return void u.then(f).then(void 0,h);var l=e[r][2];r++}while(l&&!l());S(c,1,u)}))).then(void 0,h),c;function f(t){for(;;){var n=e[r][2];if(!n||n())break;for(var i=e[++r][1];!i;)i=e[++r][1];if((t=i())&&t.then)return void t.then(f).then(void 0,h)}S(c,1,t)}}(B.get(t),[[function(){return"keys"},function(){return Promise.resolve(function(t,e){return E(t,U(e)).then((function(t){return t[0]}))}(n,i)).then((function(t){a=o=t}))}],[function(){return"values"},function(){return Promise.resolve(R(n,i)).then((function(t){var e;o=(e=t)[0],a=s=e[1]}))}],[function(){return"entries"},function(){return Promise.resolve(R(n,i)).then((function(t){var e;s=(e=t)[1],a=void 0===(o=e[0])?void 0:[o,s]}))}]]);return Promise.resolve(u&&u.then?u.then(r):r())}catch(t){return Promise.reject(t)}}))}function j(t,e){var n=new O;return B.set(n,t),L.set(n,e),M.set(n,k),N.set(n,void 0),n}O.prototype.return=function(){M.set(this,void 0)},O.prototype.next=function(){var t=this,e=L.get(this);if(!e)return Promise.reject(new TypeError("Invalid this value"));var n,r=N.get(this);return n=void 0!==r?r.then((function(){return I(t,e)})):I(this,e),N.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(O.prototype[Symbol.asyncIterator]=function(){return this});var D=function(t,e,n){try{return null===V.get(t)&&function(t){var e=Y.get(t);V.set(t,new Promise((function(n,r){var i=self.indexedDB.open(e,1);i.onsuccess=function(){var o=i.result;(function(t,e,n){if(1!==t.objectStoreNames.length)return n(W(e)),!1;if(t.objectStoreNames[0]!==z)return n(W(e)),!1;var r=t.transaction(z,"readonly").objectStore(z);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(W(e)),!1)})(o,e,r)&&(o.onclose=function(){V.set(t,null)},o.onversionchange=function(){o.close(),V.set(t,null)},n(o))},i.onerror=function(){return r(i.error)},i.onupgradeneeded=function(){try{i.result.createObjectStore(z)}catch(t){r(t)}}})))}(t),Promise.resolve(V.get(t)).then((function(t){var r=t.transaction(z,e),i=r.objectStore(z);return n(r,i)}))}catch(t){return Promise.reject(t)}},Y=new A,V=new A,z="store",q=function(t){var e="kv-storage:"+t;V.set(this,null),Y.set(this,e),this.backingStore={database:e,store:z,version:1}};function W(t){return new Error('kv-storage: database "'+t+'" corrupted')}q.prototype.set=function(t,e){try{return T(t),D(this,"readwrite",(function(n,r){return void 0===e?r.delete(t):r.put(e,t),x(n)}))}catch(t){return Promise.reject(t)}},q.prototype.get=function(t){try{return T(t),D(this,"readonly",(function(e,n){return P(n.get(t))}))}catch(t){return Promise.reject(t)}},q.prototype.delete=function(t){try{return T(t),D(this,"readwrite",(function(e,n){return n.delete(t),x(e)}))}catch(t){return Promise.reject(t)}},q.prototype.clear=function(){try{var t=this;function e(){function e(){return P(self.indexedDB.deleteDatabase(Y.get(t)))}var r=function(){if(n){try{n.close()}catch(t){}return Promise.resolve(new Promise(setTimeout)).then((function(){}))}}();return r&&r.then?r.then(e):e()}var n,r=V.get(t),i=function(){if(null!==r){function e(){V.set(t,null)}var i=function(t,e){try{var i=Promise.resolve(r).then((function(t){n=t}))}catch(t){return}return i&&i.then?i.then(void 0,(function(){})):i}();return i&&i.then?i.then(e):e()}}();return i&&i.then?i.then(e):e()}catch(t){return Promise.reject(t)}},q.prototype.keys=function(){var t=this;return j("keys",(function(e){return D(t,"readonly",e)}))},q.prototype.values=function(){var t=this;return j("values",(function(e){return D(t,"readonly",e)}))},q.prototype.entries=function(){var t=this;return j("entries",(function(e){return D(t,"readonly",e)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(q.prototype[Symbol.asyncIterator]=q.prototype.entries),new q("default");
|
29
|
+
/**
|
30
|
+
* @license
|
31
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
32
|
+
* This code may only be used under the BSD style license found at
|
33
|
+
* http://polymer.github.io/LICENSE.txt
|
34
|
+
* The complete set of authors may be found at
|
35
|
+
* http://polymer.github.io/AUTHORS.txt
|
36
|
+
* The complete set of contributors may be found at
|
37
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
38
|
+
* Code distributed by Google as part of the polymer project is also
|
39
|
+
* subject to an additional IP rights grant found at
|
40
|
+
* http://polymer.github.io/PATENTS.txt
|
41
|
+
*/
|
42
|
+
var F="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,H=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var i=e.nextSibling;t.insertBefore(e,r),e=i}},$=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},J="{{lit-".concat(String(Math.random()).slice(2),"}}"),G="\x3c!--".concat(J,"--\x3e"),X=new RegExp("".concat(J,"|").concat(G));class K{constructor(t,e){this.parts=[],this.element=e;for(var n=[],r=[],i=document.createTreeWalker(e.content,133,null,!1),o=0,s=-1,a=0,{strings:u,values:{length:l}}=t;a<l;){var c=i.nextNode();if(null!==c){if(s++,1===c.nodeType){if(c.hasAttributes()){for(var h=c.attributes,{length:f}=h,d=0,p=0;p<f;p++)Z(h[p].name,"$lit$")&&d++;for(;d-- >0;){var v=u[a],y=et.exec(v)[2],g=y.toLowerCase()+"$lit$",m=c.getAttribute(g);c.removeAttribute(g);var w=m.split(X);this.parts.push({type:"attribute",index:s,name:y,strings:w}),a+=w.length-1}}"TEMPLATE"===c.tagName&&(r.push(c),i.currentNode=c.content)}else if(3===c.nodeType){var b=c.data;if(b.indexOf(J)>=0){for(var _=c.parentNode,S=b.split(X),C=S.length-1,A=0;A<C;A++){var P=void 0,E=S[A];if(""===E)P=tt();else{var x=et.exec(E);null!==x&&Z(x[2],"$lit$")&&(E=E.slice(0,x.index)+x[1]+x[2].slice(0,-"$lit$".length)+x[3]),P=document.createTextNode(E)}_.insertBefore(P,c),this.parts.push({type:"node",index:++s})}""===S[C]?(_.insertBefore(tt(),c),n.push(c)):c.data=S[C],a+=C}}else if(8===c.nodeType)if(c.data===J){var T=c.parentNode;null!==c.previousSibling&&s!==o||(s++,T.insertBefore(tt(),c)),o=s,this.parts.push({type:"node",index:s}),null===c.nextSibling?c.data="":(n.push(c),s--),a++}else for(var k=-1;-1!==(k=c.data.indexOf(J,k+1));)this.parts.push({type:"node",index:-1}),a++}else i.currentNode=r.pop()}for(var R of n)R.parentNode.removeChild(R)}}var Z=(t,e)=>{var n=t.length-e.length;return n>=0&&t.slice(n)===e},Q=t=>-1!==t.index,tt=()=>document.createComment(""),et=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function nt(t,e){for(var{element:{content:n},parts:r}=t,i=document.createTreeWalker(n,133,null,!1),o=it(r),s=r[o],a=-1,u=0,l=[],c=null;i.nextNode();){a++;var h=i.currentNode;for(h.previousSibling===c&&(c=null),e.has(h)&&(l.push(h),null===c&&(c=h)),null!==c&&u++;void 0!==s&&s.index===a;)s.index=null!==c?-1:s.index-u,s=r[o=it(r,o)]}l.forEach(t=>t.parentNode.removeChild(t))}var rt=t=>{for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},it=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(Q(r))return n}return-1},ot=new WeakMap,st=t=>function(){var e=t(...arguments);return ot.set(e,!0),e},at=t=>"function"==typeof t&&ot.has(t),ut={},lt={};
|
43
|
+
/**
|
44
|
+
* @license
|
45
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
46
|
+
* This code may only be used under the BSD style license found at
|
47
|
+
* http://polymer.github.io/LICENSE.txt
|
48
|
+
* The complete set of authors may be found at
|
49
|
+
* http://polymer.github.io/AUTHORS.txt
|
50
|
+
* The complete set of contributors may be found at
|
51
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
52
|
+
* Code distributed by Google as part of the polymer project is also
|
53
|
+
* subject to an additional IP rights grant found at
|
54
|
+
* http://polymer.github.io/PATENTS.txt
|
55
|
+
*/
|
56
|
+
/**
|
57
|
+
* @license
|
58
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
59
|
+
* This code may only be used under the BSD style license found at
|
60
|
+
* http://polymer.github.io/LICENSE.txt
|
61
|
+
* The complete set of authors may be found at
|
62
|
+
* http://polymer.github.io/AUTHORS.txt
|
63
|
+
* The complete set of contributors may be found at
|
64
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
65
|
+
* Code distributed by Google as part of the polymer project is also
|
66
|
+
* subject to an additional IP rights grant found at
|
67
|
+
* http://polymer.github.io/PATENTS.txt
|
68
|
+
*/
|
69
|
+
class ct{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){var e=0;for(var n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(var r of this.__parts)void 0!==r&&r.commit()}_clone(){for(var t,e=F?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(e,133,null,!1),o=0,s=0,a=i.nextNode();o<r.length;)if(t=r[o],Q(t)){for(;s<t.index;)s++,"TEMPLATE"===a.nodeName&&(n.push(a),i.currentNode=a.content),null===(a=i.nextNode())&&(i.currentNode=n.pop(),a=i.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(a.previousSibling),this.__parts.push(u)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,t.name,t.strings,this.options));o++}else this.__parts.push(void 0),o++;return F&&(document.adoptNode(e),customElements.upgrade(e)),e}}
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
73
|
+
* This code may only be used under the BSD style license found at
|
74
|
+
* http://polymer.github.io/LICENSE.txt
|
75
|
+
* The complete set of authors may be found at
|
76
|
+
* http://polymer.github.io/AUTHORS.txt
|
77
|
+
* The complete set of contributors may be found at
|
78
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
79
|
+
* Code distributed by Google as part of the polymer project is also
|
80
|
+
* subject to an additional IP rights grant found at
|
81
|
+
* http://polymer.github.io/PATENTS.txt
|
82
|
+
*/var ht=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),ft=" ".concat(J," ");class dt{constructor(t,e,n,r){this.strings=t,this.values=e,this.type=n,this.processor=r}getHTML(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var s=et.exec(i);e+=null===s?i+(n?ft:G):i.substr(0,s.index)+s[1]+s[2]+"$lit$"+s[3]+J}return e+=this.strings[t]}getTemplateElement(){var t=document.createElement("template"),e=this.getHTML();return void 0!==ht&&(e=ht.createHTML(e)),t.innerHTML=e,t}}class pt extends dt{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var t=super.getTemplateElement(),e=t.content,n=e.firstChild;return e.removeChild(n),H(e,n.firstChild),t}}
|
83
|
+
/**
|
84
|
+
* @license
|
85
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
86
|
+
* This code may only be used under the BSD style license found at
|
87
|
+
* http://polymer.github.io/LICENSE.txt
|
88
|
+
* The complete set of authors may be found at
|
89
|
+
* http://polymer.github.io/AUTHORS.txt
|
90
|
+
* The complete set of contributors may be found at
|
91
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
92
|
+
* Code distributed by Google as part of the polymer project is also
|
93
|
+
* subject to an additional IP rights grant found at
|
94
|
+
* http://polymer.github.io/PATENTS.txt
|
95
|
+
*/var vt=t=>null===t||!("object"==typeof t||"function"==typeof t),yt=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class gt{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}_createPart(){return new mt(this)}_getValue(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"==typeof r)return String(r);if("string"==typeof r||!yt(r))return r}for(var i="",o=0;o<e;o++){i+=t[o];var s=n[o];if(void 0!==s){var a=s.value;if(vt(a)||!yt(a))i+="string"==typeof a?a:String(a);else for(var u of a)i+="string"==typeof u?u:String(u)}}return i+=t[e]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class mt{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===ut||vt(t)&&t===this.value||(this.value=t,at(t)||(this.committer.dirty=!0))}commit(){for(;at(this.value);){var t=this.value;this.value=ut,t(this)}this.value!==ut&&this.committer.commit()}}class wt{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(tt()),this.endNode=t.appendChild(tt())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=tt()),t.__insert(this.endNode=tt())}insertAfterPart(t){t.__insert(this.startNode=tt()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null!==this.startNode.parentNode){for(;at(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=ut,t(this)}var e=this.__pendingValue;e!==ut&&(vt(e)?e!==this.value&&this.__commitText(e):e instanceof dt?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):yt(e)?this.__commitIterable(e):e===lt?(this.value=lt,this.clear()):this.__commitText(e))}}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}__commitTemplateResult(t){var e=this.options.templateFactory(t);if(this.value instanceof ct&&this.value.template===e)this.value.update(t.values);else{var n=new ct(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n=this.value,r=0;for(var i of t)void 0===(e=n[r])&&(e=new wt(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(i),e.commit(),r++;r<n.length&&(n.length=r,this.clear(e&&e.endNode))}clear(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;$(this.startNode.parentNode,t.nextSibling,this.endNode)}}class bt{constructor(t,e,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this.__pendingValue=t}commit(){for(;at(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=ut,t(this)}if(this.__pendingValue!==ut){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=ut}}}class _t extends gt{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new St(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class St extends mt{}var Ct=!1;(()=>{try{var t={get capture(){return Ct=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class At{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;at(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=ut,t(this)}if(this.__pendingValue!==ut){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=Pt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=ut}}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}var Pt=t=>t&&(Ct?{capture:t.capture,passive:t.passive,once:t.once}:t.capture
|
96
|
+
/**
|
97
|
+
* @license
|
98
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
99
|
+
* This code may only be used under the BSD style license found at
|
100
|
+
* http://polymer.github.io/LICENSE.txt
|
101
|
+
* The complete set of authors may be found at
|
102
|
+
* http://polymer.github.io/AUTHORS.txt
|
103
|
+
* The complete set of contributors may be found at
|
104
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
105
|
+
* Code distributed by Google as part of the polymer project is also
|
106
|
+
* subject to an additional IP rights grant found at
|
107
|
+
* http://polymer.github.io/PATENTS.txt
|
108
|
+
*/);function Et(t){var e=xt.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},xt.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(J);return void 0===(n=e.keyString.get(r))&&(n=new K(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var xt=new Map,Tt=new WeakMap,kt=new
|
109
|
+
/**
|
110
|
+
* @license
|
111
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
112
|
+
* This code may only be used under the BSD style license found at
|
113
|
+
* http://polymer.github.io/LICENSE.txt
|
114
|
+
* The complete set of authors may be found at
|
115
|
+
* http://polymer.github.io/AUTHORS.txt
|
116
|
+
* The complete set of contributors may be found at
|
117
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
118
|
+
* Code distributed by Google as part of the polymer project is also
|
119
|
+
* subject to an additional IP rights grant found at
|
120
|
+
* http://polymer.github.io/PATENTS.txt
|
121
|
+
*/
|
122
|
+
class{handleAttributeExpressions(t,e,n,r){var i=e[0];return"."===i?new _t(t,e.slice(1),n).parts:"@"===i?[new At(t,e.slice(1),r.eventContext)]:"?"===i?[new bt(t,e.slice(1),n)]:new gt(t,e,n).parts}handleTextExpression(t){return new wt(t)}};
|
123
|
+
/**
|
124
|
+
* @license
|
125
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
126
|
+
* This code may only be used under the BSD style license found at
|
127
|
+
* http://polymer.github.io/LICENSE.txt
|
128
|
+
* The complete set of authors may be found at
|
129
|
+
* http://polymer.github.io/AUTHORS.txt
|
130
|
+
* The complete set of contributors may be found at
|
131
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
132
|
+
* Code distributed by Google as part of the polymer project is also
|
133
|
+
* subject to an additional IP rights grant found at
|
134
|
+
* http://polymer.github.io/PATENTS.txt
|
135
|
+
*/
|
136
|
+
/**
|
137
|
+
* @license
|
138
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
139
|
+
* This code may only be used under the BSD style license found at
|
140
|
+
* http://polymer.github.io/LICENSE.txt
|
141
|
+
* The complete set of authors may be found at
|
142
|
+
* http://polymer.github.io/AUTHORS.txt
|
143
|
+
* The complete set of contributors may be found at
|
144
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
145
|
+
* Code distributed by Google as part of the polymer project is also
|
146
|
+
* subject to an additional IP rights grant found at
|
147
|
+
* http://polymer.github.io/PATENTS.txt
|
148
|
+
*/
|
149
|
+
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Rt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new dt(t,n,"html",kt)},Ut=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new pt(t,n,"svg",kt)}
|
150
|
+
/**
|
151
|
+
* @license
|
152
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
153
|
+
* This code may only be used under the BSD style license found at
|
154
|
+
* http://polymer.github.io/LICENSE.txt
|
155
|
+
* The complete set of authors may be found at
|
156
|
+
* http://polymer.github.io/AUTHORS.txt
|
157
|
+
* The complete set of contributors may be found at
|
158
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
159
|
+
* Code distributed by Google as part of the polymer project is also
|
160
|
+
* subject to an additional IP rights grant found at
|
161
|
+
* http://polymer.github.io/PATENTS.txt
|
162
|
+
*/,Lt=(t,e)=>"".concat(t,"--").concat(e),Mt=!0;void 0===window.ShadyCSS?Mt=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),Mt=!1);var Nt=t=>e=>{var n=Lt(e.type,t),r=xt.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},xt.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var o=e.strings.join(J);if(void 0===(i=r.keyString.get(o))){var s=e.getTemplateElement();Mt&&window.ShadyCSS.prepareTemplateDom(s,t),i=new K(e,s),r.keyString.set(o,i)}return r.stringsArray.set(e.strings,i),i},Bt=["html","svg"],Ot=new Set;window.JSCompiler_renameProperty=(t,e)=>t;var It={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},jt=(t,e)=>e!==t&&(e==e||t==t),Dt={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:jt};class Yt extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var t=[];return this._classProperties.forEach((e,n)=>{var r=this._attributeNameForProperty(n,e);void 0!==r&&(this._attributeToPropertyMap.set(r,n),t.push(r))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){var i=this[t];this[e]=r,this.requestUpdateInternal(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||Dt}static finalize(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(var r of n)this.createProperty(r,e[r])}}static _attributeNameForProperty(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:jt)(t,e)}static _propertyValueFromAttribute(t,e){var n=e.type,r=e.converter||It,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}static _propertyValueToAttribute(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||It.toAttribute)(t,n)}}initialize(){this._updateState=0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){var n=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,n)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,n){e!==n&&this._attributeToProperty(t,n)}_propertyToAttribute(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dt,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var o=r._propertyValueToAttribute(e,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(t,e,n){var r=!0;if(void 0!==t){var i=this.constructor;n=n||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}_enqueueUpdate(){var t=this;return y((function*(){t._updateState=4|t._updateState;try{yield t._updatePromise}catch(e){}var e=t.performUpdate();return null!=e&&(yield e),!t._hasRequestedUpdate}))()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}Yt.finalized=!0;
|
163
|
+
/**
|
164
|
+
* @license
|
165
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
166
|
+
* This code may only be used under the BSD style license found at
|
167
|
+
* http://polymer.github.io/LICENSE.txt
|
168
|
+
* The complete set of authors may be found at
|
169
|
+
* http://polymer.github.io/AUTHORS.txt
|
170
|
+
* The complete set of contributors may be found at
|
171
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
172
|
+
* Code distributed by Google as part of the polymer project is also
|
173
|
+
* subject to an additional IP rights grant found at
|
174
|
+
* http://polymer.github.io/PATENTS.txt
|
175
|
+
*/
|
176
|
+
var Vt=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:n,elements:r}=e;return{kind:n,elements:r,finisher(e){window.customElements.define(t,e)}}})(t,e),zt=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}};function qt(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):zt(t,e)}var Wt=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ft=Symbol();class Ht{constructor(t,e){if(e!==Ft)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(Wt?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}
|
177
|
+
/**
|
178
|
+
* @license
|
179
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
180
|
+
* This code may only be used under the BSD style license found at
|
181
|
+
* http://polymer.github.io/LICENSE.txt
|
182
|
+
* The complete set of authors may be found at
|
183
|
+
* http://polymer.github.io/AUTHORS.txt
|
184
|
+
* The complete set of contributors may be found at
|
185
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
186
|
+
* Code distributed by Google as part of the polymer project is also
|
187
|
+
* subject to an additional IP rights grant found at
|
188
|
+
* http://polymer.github.io/PATENTS.txt
|
189
|
+
*/(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var $t={};class Jt extends Yt{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=(t,n)=>t.reduceRight((t,n)=>Array.isArray(n)?e(n,t):(t.add(n),t),n),n=e(t,new Set),r=[];n.forEach(t=>r.unshift(t)),this._styles=r}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map(t=>{if(t instanceof CSSStyleSheet&&!Wt){var e=Array.prototype.slice.call(t.cssRules).reduce((t,e)=>t+e.cssText,"");return new Ht(String(e),Ft)}return t})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Wt?this.renderRoot.adoptedStyleSheets=t.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){var e=this.render();super.update(t),e!==$t&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{var e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){return $t}}Jt.finalized=!0,Jt.render=(t,e,n)=>{if(!n||"object"!=typeof n||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,i=Tt.has(e),o=Mt&&11===e.nodeType&&!!e.host,s=o&&!Ot.has(r),a=s?document.createDocumentFragment():e;if(((t,e,n)=>{var r=Tt.get(e);void 0===r&&($(e,e.firstChild),Tt.set(e,r=new wt(Object.assign({templateFactory:Et},n))),r.appendInto(e)),r.setValue(t),r.commit()})(t,a,Object.assign({templateFactory:Nt(r)},n)),s){var u=Tt.get(a);Tt.delete(a),((t,e,n)=>{Ot.add(t);var r=n?n.element:document.createElement("template"),i=e.querySelectorAll("style"),{length:o}=i;if(0!==o){for(var s=document.createElement("style"),a=0;a<o;a++){var u=i[a];u.parentNode.removeChild(u),s.textContent+=u.textContent}(t=>{Bt.forEach(e=>{var n=xt.get(Lt(e,t));void 0!==n&&n.keyString.forEach(t=>{var{element:{content:e}}=t,n=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{n.add(t)}),nt(t,n)})})})(t);var l=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:r},parts:i}=t;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),s=it(i),a=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(a=rt(e),n.parentNode.insertBefore(e,n));-1!==s&&i[s].index===u;){if(a>0){for(;-1!==s;)i[s].index+=a,s=it(i,s);return}s=it(i,s)}else r.appendChild(e)}(n,s,l.firstChild):l.insertBefore(s,l.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var c=l.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==c)e.insertBefore(c.cloneNode(!0),e.firstChild);else if(n){l.insertBefore(s,l.firstChild);var h=new Set;h.add(s),nt(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,t)})(r,a,u.value instanceof ct?u.value.template:void 0),$(e,e.firstChild),e.appendChild(a),Tt.set(e,u)}!i&&o&&window.ShadyCSS.styleElement(e.host)};
|
190
|
+
/**
|
191
|
+
* @license
|
192
|
+
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
193
|
+
* This code may only be used under the BSD style license found at
|
194
|
+
* http://polymer.github.io/LICENSE.txt
|
195
|
+
* The complete set of authors may be found at
|
196
|
+
* http://polymer.github.io/AUTHORS.txt
|
197
|
+
* The complete set of contributors may be found at
|
198
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
199
|
+
* Code distributed by Google as part of the polymer project is also
|
200
|
+
* subject to an additional IP rights grant found at
|
201
|
+
* http://polymer.github.io/PATENTS.txt
|
202
|
+
*/
|
203
|
+
class Gt{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;var e=(t.getAttribute("class")||"").split(/\s+/);for(var n of e)this.classes.add(n)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){var t="";this.classes.forEach(e=>t+=e+" "),this.element.setAttribute("class",t)}}}var Xt=new WeakMap,Kt=st(t=>e=>{if(!(e instanceof mt)||e instanceof St||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=e,{element:r}=n,i=Xt.get(e);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),Xt.set(e,i=new Set));var o=r.classList||new Gt(r);for(var s in i.forEach(e=>{e in t||(o.remove(e),i.delete(e))}),t){var a=t[s];a!=i.has(s)&&(a?(o.add(s),i.add(s)):(o.remove(s),i.delete(s)))}"function"==typeof o.commit&&o.commit()}),Zt=new WeakMap,Qt=st(t=>e=>{if(!(e instanceof mt)||e instanceof St||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=e,{style:r}=n.element,i=Zt.get(e);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),Zt.set(e,i=new Set)),i.forEach(e=>{e in t||(i.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))}),t)i.add(o),-1===o.indexOf("-")?r[o]=t[o]:r.setProperty(o,t[o])}),te=(t,e)=>{var n=t.startNode.parentNode,r=void 0===e?t.endNode:e.startNode,i=n.insertBefore(tt(),r);n.insertBefore(tt(),r);var o=new wt(t.options);return o.insertAfterNode(i),o},ee=(t,e)=>(t.setValue(e),t.commit(),t),ne=(t,e,n)=>{var r=t.startNode.parentNode,i=n?n.startNode:t.endNode,o=e.endNode.nextSibling;o!==i&&H(r,e.startNode,o,i)},re=t=>{$(t.startNode.parentNode,t.startNode,t.endNode.nextSibling)},ie=(t,e,n)=>{for(var r=new Map,i=e;i<=n;i++)r.set(t[i],i);return r},oe=new WeakMap,se=new WeakMap,ae=st((t,e,n)=>{var r;return void 0===n?n=e:void 0!==e&&(r=e),e=>{if(!(e instanceof wt))throw new Error("repeat can only be used in text bindings");var i,o,s=oe.get(e)||[],a=se.get(e)||[],u=[],l=[],c=[],h=0;for(var f of t)c[h]=r?r(f,h):h,l[h]=n(f,h),h++;for(var d=0,p=s.length-1,v=0,y=l.length-1;d<=p&&v<=y;)if(null===s[d])d++;else if(null===s[p])p--;else if(a[d]===c[v])u[v]=ee(s[d],l[v]),d++,v++;else if(a[p]===c[y])u[y]=ee(s[p],l[y]),p--,y--;else if(a[d]===c[y])u[y]=ee(s[d],l[y]),ne(e,s[d],u[y+1]),d++,y--;else if(a[p]===c[v])u[v]=ee(s[p],l[v]),ne(e,s[p],s[d]),p--,v++;else if(void 0===i&&(i=ie(c,v,y),o=ie(a,d,p)),i.has(a[d]))if(i.has(a[p])){var g=o.get(c[v]),m=void 0!==g?s[g]:null;if(null===m){var w=te(e,s[d]);ee(w,l[v]),u[v]=w}else u[v]=ee(m,l[v]),ne(e,m,s[d]),s[g]=null;v++}else re(s[p]),p--;else re(s[d]),d++;for(;v<=y;){var b=te(e,u[y+1]);ee(b,l[v]),u[v++]=b}for(;d<=p;){var _=s[d++];null!==_&&re(_)}oe.set(e,u),se.set(e,c)}}),ue=new WeakMap,le=st(t=>e=>{if(!(e instanceof wt))throw new Error("unsafeHTML can only be used in text bindings");var n=ue.get(e);if(void 0===n||!vt(t)||t!==n.value||e.value!==n.fragment){var r=document.createElement("template");r.innerHTML=t;var i=document.importNode(r.content,!0);e.setValue(i),ue.set(e,{value:t,fragment:i})}}),ce=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=n.reduce((e,n,r)=>e+(t=>{if(t instanceof Ht)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))})(n)+t[r+1],t[0]);return new Ht(i,Ft)}(d()),he=t=>t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength),fe=he,de=t=>parseInt(t,16);function pe(t){var e,n=(e=t,Array.from(fe(e),t=>(t=>t.toString(16).padStart(2,"0"))(t)));return n.splice(4,0,"-"),n.splice(7,0,"-"),n.splice(10,0,"-"),n.splice(13,0,"-"),n.join("")}function ve(){var t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t.buffer}function ye(){return(ye=y((function*(t,e){var n,r="string"==typeof t?(n=t,n=unescape(encodeURIComponent(n)),(new TextEncoder).encode(n)):he(t),i="string"==typeof e?new ge(e):e,o=new Uint8Array(yield crypto.subtle.digest("SHA-1",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((t,e)=>t+e.length,0),i=new Uint8Array(r),o=0;for(var s of e)i.set(s,o),o+=s.length;return i}(i,r)));return o[6]=15&o[6]|80,o[8]=63&o[8]|128,o.buffer.slice(0,16)}))).apply(this,arguments)}class ge extends Uint8Array{static v4(){return new ge(ve())}static v5(t,e){return y((function*(){return new ge(yield function(t,e){return ye.apply(this,arguments)}(t,e))}))()}constructor(t,e){if(null==t)super(ve());else if("string"==typeof t)super(function(t){var e,n=t.replace(/[^0-9a-f]/gi,"").slice(0,32);if(n.length<32)throw Error("UUID too short");return(e=n,new Uint8Array(e.match(/[0-9a-f]{1,2}/gi).map(de))).buffer}(t));else if(t instanceof ge)super(t.buffer.slice(0));else{var n=t instanceof ArrayBuffer||t instanceof SharedArrayBuffer?new Uint8Array(t,null!=e?e:0,16):new Uint8Array(t);if(n.length<16)throw Error("UUID too short");super(n.buffer.slice(0,16))}}get id(){return pe(this)}get uuid(){return pe(this)}toString(){return pe(this)}toJSON(){return pe(this)}static get[Symbol.species](){return Uint8Array}}var me=Symbol.for("nodejs.util.inspect.custom"),we="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();ge.prototype[me]=function(){return"UUID [ ".concat(this.uuid," ]")},ge.prototype[we]=function(){return"UUID [ ".concat(this.uuid," ]")};var be=t=>t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength);var _e=t=>crypto.subtle.digest("SHA-256",t);function Se(t){var{url:e,id:n,claps:r,nonce:i}=t;return m(this,void 0,void 0,(function*(){return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((t,e)=>t+e.length,0),i=new Uint8Array(r),o=0;for(var s of e)i.set(s,o),o+=s.length;return i}(...e.map(be))}(yield(t=e.toString(),_e((new TextEncoder).encode(t))),new ge(n.toString()),new Uint32Array([r]),new Uint32Array([i])).buffer;var t}))}function Ce(t,e){for(var n=new Uint8Array(t),r=Math.ceil(e/8),i=0;i<r;i++)for(var o=Math.min(8,e-8*i),s=0;s<o;s++)if(0!=(n[i]>>7-s&1))return!1;return!0}function Ae(t){var{url:e,claps:n,id:r}=t;return m(this,void 0,void 0,(function*(){for(var t=(t=>8+Math.round(Math.log2(15+t)))(n),i=0,o=new Uint32Array(yield Se({url:e,id:r,claps:n,nonce:i})),s=yield _e(o);!Ce(s,t);)i++,o[o.length-1]=i,s=yield _e(o);return i}))}var Pe=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.dev";function Ee(t,e,n){var r=new URL(t,n);for(var[i,o]of Object.entries(e||{}))r.searchParams.append(i,o);return r.href}var xe,Te,ke,Re,Ue,Le,Me,Ne,Be,Oe,Ie,je,De=new Map,Ye=!1,Ve=new Map;class ze extends Jt{constructor(){super(...arguments),xe.set(this,void 0)}get connectedCountKey(){}allDisconnectedCallback(){}connectedCallback(){var t;super.connectedCallback(),b(this,xe,null!==(t=this.connectedCountKey)&&void 0!==t?t:this),Ve.set(w(this,xe),1+(Ve.get(w(this,xe))||0))}disconnectedCallback(){var t;super.disconnectedCallback();var e=((null==Ve?void 0:Ve.get(w(this,xe)))||0)-1;e>0?Ve.set(w(this,xe),e):(Ve.delete(w(this,xe)),null===(t=this.allDisconnectedCallback)||void 0===t||t.call(this))}}xe=new WeakMap,function(t){t.Top="top",t.Bottom="bottom"}(Ie||(Ie={})),function(t){t[t.PaymentRequired=1]="PaymentRequired",t[t.CryptoRequired=2]="CryptoRequired",t[t.Generic=3]="Generic"}(je||(je={}));var qe=new q("clap-button"),We=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.classList.remove(...n),t.offsetWidth,t.classList.add(...n)},Fe=t=>{var e=new URL(t);return e.hash="",e.search="",e.href},He=class extends Jt{};He=g([Vt("clap-config")],He);var $e=class extends Jt{constructor(){super(...arguments),this.at=1}};g([qt({type:Number,reflect:!0})],$e.prototype,"at",void 0),$e=g([Vt("clap-text")],$e);var Je,Ge=Oe=class extends ze{constructor(){super(...arguments),this.textPlacement=Ie.Bottom,this.noWave=!1,this.messages=!1,this.uiClaps=0,this.bufferedClaps=0,this.loading=!1,this.clapped=!1,this.clicking=!1,this.ready=!1,this.error=null,this.isIntersecting=!1,Te.set(this,void 0),ke.set(this,void 0),Re.set(this,void 0),Ue.set(this,new BroadcastChannel("clap-button")),Le.set(this,Math.trunc(1e9*Math.random())),Me.set(this,t=>{0===t.button&&(t.preventDefault(),this.clapped=!0,this.clicking=!0,this.bufferedClaps++,We(this.styleRoot,"clap","ticking"),w(this,Ne).call(this),this.uiClaps=this.bufferedClaps)}),Ne.set(this,((t,e)=>{var n;return function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>t(...r),3e3)}})(()=>m(this,void 0,void 0,(function*(){var t,e=this.bufferedClaps;this.bufferedClaps=0,this.loading=!0;var{href:n,id:r,nonce:i}=yield((t,e)=>m(void 0,void 0,void 0,(function*(){var n=new URL(e);n.search="";var r=new ge,i=yield Ae({url:n,claps:t,id:r});return{href:n.href,id:r,nonce:i}})))(e,this.canonical),{claps:o}=yield((t,e,n,r,i)=>m(void 0,void 0,void 0,(function*(){var o,s=Ee("/claps",{href:e},Pe),a=yield fetch(s,{method:"POST",body:JSON.stringify({claps:t,id:r,nonce:i}),mode:"cors",credentials:"include",headers:{accept:"application/json","content-type":"application/json;charset=UTF-8"}});if(a.ok&&(null===(o=a.headers.get("Content-Type"))||void 0===o?void 0:o.includes("json")))return De.delete(n),a.clone().json();throw Error()})))(e,n,this.parentHref,r,i);this.loading=!1,this.clicking=!1,this.styleRoot.classList.remove("ticking"),We(this.styleRoot,"clap"),w(this,Ue).postMessage({btnId:w(this,Le),claps:e,totalClaps:o,href:n}),setTimeout(()=>{this.uiClaps=o},250);var s=null!==(t=yield qe.get(n))&&void 0!==t?t:{claps:0};yield qe.set(n,Object.assign(Object.assign({},s),{claps:s.claps+e}))})))),Be.set(this,t=>{var{data:{href:e,claps:n,btnId:r}}=t;r!==w(this,Le)&&[e,Fe(e)].includes(this.canonical)&&(this.clapped=!0,this.uiClaps+=n,We(this.styleRoot,"clap"))})}get canonical(){return w(this,Te)||(()=>{var t=this.href||this.url||"",e=this.ownerDocument.head.querySelector("link[rel=canonical]"),n=null!=e?new URL(e.href):this.ownerDocument.location;return b(this,Te,new URL(t,n.href).href)})()}get parentHref(){return w(this,ke)||(()=>b(this,ke,Fe(this.canonical)))()}get referrer(){var t=new URLSearchParams(this.ownerDocument.location.search);return t.get("referrer")||t.get("referer")||this.ownerDocument.referrer}connectedCallback(){var t,e;if(super.connectedCallback(),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){w(this,Ue).addEventListener("message",w(this,Be)),Oe.intersectionObserver.observe(this);var n=Array.from(null!==(e=null===(t=this.ownerDocument.querySelector("clap-config"))||void 0===t?void 0:t.querySelectorAll("clap-text"))&&void 0!==e?e:[]);b(this,Re,new Map(null==n?void 0:n.map(t=>[t.at,t.innerHTML]).sort((t,e)=>{var[n]=t,[r]=e;return r-n}))),(()=>{m(this,void 0,void 0,(function*(){this.loading=!0,this.clapped=null!=(yield qe.get(this.canonical));try{var{claps:t}=yield(e=this.canonical,n=this.parentHref,r=this.referrer,m(void 0,void 0,void 0,(function*(){var t=De.get(n);return t||De.set(n,t=De.get(n)||m(void 0,void 0,void 0,(function*(){var t,e=Ee("/views",Object.assign({href:n},r&&!Ye?{referrer:r}:{}),Pe),i=yield fetch(e,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});if(Ye=!0,i.ok&&(null===(t=i.headers.get("Content-Type"))||void 0===t?void 0:t.includes("json")))return yield i.json();if(404===i.status)return{};throw 402===i.status?i:(De.delete(n),Error())}))),(yield t)[e]||{claps:0}})));this.loading=!1,this.ready=!0,this.uiClaps=t}catch(e){this.loading=!1,this.ready=!1,this.error=402===e.status?je.PaymentRequired:je.Generic}var e,n,r}))})()}else this.error=je.CryptoRequired}disconnectedCallback(){super.disconnectedCallback(),Oe.intersectionObserver.unobserve(this),w(this,Ue).removeEventListener("message",w(this,Be))}get connectedCountKey(){return this.parentHref}allDisconnectedCallback(){var t;t=this.parentHref,De.delete(t)}render(){var t,e,n,r=Ut(f()),d=Ut(h()),p=this.bufferedClaps,v=5+p,y=300*(1-Math.pow(Math.E,-p/15)),g=Ut(c(),ae([...new Array(v).keys()],t=>t,t=>Ut(l(),Qt({transform:"rotate(".concat(Math.floor(360/v*t),"deg) translateX(10px)")}),Qt({animationDelay:Math.floor(Math.random()*y)+"ms"}))));return Rt(u(),Kt({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),Qt(Object.assign({},null!=this.error?{"--clap-button-color":"indianred"}:{})),Kt({"count-container":!0,"container-top":this.textPlacement===Ie.Top,"container-bottom":this.textPlacement===Ie.Bottom}),this.clicking?"+":"",this.ready?null!=(n=this.uiClaps)?n.toLocaleString("en"):"":"",this.error===je.PaymentRequired?Rt(a(),"https://getclaps.dev"):null,this.error===je.CryptoRequired?Rt(s()):null,this.error===je.Generic?Rt(o()):null,Kt({"count-container":!0,"container-top":this.textPlacement===Ie.Bottom,"container-bottom":this.textPlacement===Ie.Top}),this.messages?Rt(i(),this.clicking?le(null!==(e=null===(t=[...w(this,Re)].find(t=>{var[e]=t;return this.uiClaps>=e}))||void 0===t?void 0:t[1])&&void 0!==e?e:""):""):null,r,g,d,this.loading||!this.ready,this.loading||!this.ready?null:w(this,Me),this.loading||!this.ready?null:w(this,Me))}};Te=new WeakMap,ke=new WeakMap,Re=new WeakMap,Ue=new WeakMap,Le=new WeakMap,Me=new WeakMap,Ne=new WeakMap,Be=new WeakMap,Ge.styles=ce,Ge.intersectionObserver=new IntersectionObserver(t=>{t.forEach(t=>t.target.isIntersecting=t.isIntersecting)}),g([(Je=".style-root",(t,e)=>{var n={get(){return this.renderRoot.querySelector(Je)},enumerable:!0,configurable:!0};return void 0!==e?((t,e,n)=>{Object.defineProperty(e,n,t)})(n,t,e):((t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t}
|
204
|
+
/**
|
205
|
+
@license
|
206
|
+
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
207
|
+
This code may only be used under the BSD style license found at
|
208
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
209
|
+
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
210
|
+
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
211
|
+
part of the polymer project is also subject to an additional IP rights grant
|
212
|
+
found at http://polymer.github.io/PATENTS.txt
|
213
|
+
*/))(n,t)})],Ge.prototype,"styleRoot",void 0),g([qt({type:String,reflect:!0,attribute:"text-placement"})],Ge.prototype,"textPlacement",void 0),g([qt({type:Boolean,reflect:!0})],Ge.prototype,"noWave",void 0),g([qt({type:Boolean,reflect:!0})],Ge.prototype,"messages",void 0),g([qt({type:String,reflect:!1})],Ge.prototype,"href",void 0),g([qt({type:String,reflect:!1})],Ge.prototype,"url",void 0),g([qt()],Ge.prototype,"uiClaps",void 0),g([qt()],Ge.prototype,"bufferedClaps",void 0),g([qt()],Ge.prototype,"loading",void 0),g([qt()],Ge.prototype,"clapped",void 0),g([qt()],Ge.prototype,"clicking",void 0),g([qt()],Ge.prototype,"ready",void 0),g([qt()],Ge.prototype,"error",void 0),g([qt()],Ge.prototype,"isIntersecting",void 0),Ge=Oe=g([Vt("clap-button")],Ge)}.call(this,n(164),n(182).Buffer)},182:function(t,e,n){"use strict";(function(t){
|
214
|
+
/*!
|
215
|
+
* The buffer module from node.js, for the browser.
|
216
|
+
*
|
217
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
218
|
+
* @license MIT
|
219
|
+
*/
|
220
|
+
var r=n(183),i=n(184),o=n(185);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return l(this,t,e,n)}function l(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=f(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=a(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(u.isBuffer(e)){var n=0|d(e.length);return 0===(t=a(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(c(e),t=a(t,e<0?0:0|d(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(t).length;default:if(r)return Y(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:m(t,e,n,r,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,n,r,i){var o,s=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var c=-1;for(o=n;o<a;o++)if(l(t,o)===l(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*s}else-1!==c&&(o-=o-c),c=-1}else for(n+u>a&&(n=a-u),o=n;o>=0;o--){for(var h=!0,f=0;f<u;f++)if(l(t,o+f)!==l(e,f)){h=!1;break}if(h)return o}return-1}function w(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function b(t,e,n,r){return z(Y(e,t.length-n),t,n,r)}function _(t,e,n,r){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function S(t,e,n,r){return _(t,e,n,r)}function C(t,e,n,r){return z(V(e),t,n,r)}function A(t,e,n,r){return z(function(t,e){for(var n,r,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function P(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,u,l=t[i],c=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return l(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?a(t,e):void 0!==n?"string"==typeof r?a(t,e).fill(n,r):a(t,e).fill(n):a(t,e)}(null,t,e,n)},u.allocUnsafe=function(t){return h(null,t)},u.allocUnsafeSlow=function(t){return h(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):v.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),l=this.slice(r,i),c=t.slice(e,n),h=0;h<a;++h)if(l[h]!==c[h]){o=l[h],s=c[h];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=D(t[o]);return i}function R(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function U(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function M(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function N(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function B(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function O(t,e,n,r,o){return o||B(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function I(t,e,n,r,o){return o||B(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||L(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||L(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);L(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);L(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return O(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return O(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return I(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return I(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=u.isBuffer(t)?t:Y(new u(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function D(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(164))},183:function(t,e,n){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=l(t),s=r[0],a=r[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,s,a)),c=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[c++]=255&e);1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e);return u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(c(t,s,s+16383>a?a:s+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a<u;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,o,s=[],a=e;a<n;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},184:function(t,e){
|
221
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
222
|
+
e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,l=u>>1,c=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+t[e+h],h+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+t[e+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=l}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<<l)-1,h=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(e*u-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;t[n+d]=255&s,d+=p,s/=256,l-=8);t[n+d-p]|=128*v}},185:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}}}]);
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{195:function(e,t,n){"use strict";n.r(t),n.d(t,"HyDrawer",(function(){return ie}));var i=n(1),r=n(174),a=n(161);
|
15
|
+
/**
|
16
|
+
* @license
|
17
|
+
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
18
|
+
* This code may only be used under the BSD style license found at
|
19
|
+
* http://polymer.github.io/LICENSE.txt
|
20
|
+
* The complete set of authors may be found at
|
21
|
+
* http://polymer.github.io/AUTHORS.txt
|
22
|
+
* The complete set of contributors may be found at
|
23
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
24
|
+
* Code distributed by Google as part of the polymer project is also
|
25
|
+
* subject to an additional IP rights grant found at
|
26
|
+
* http://polymer.github.io/PATENTS.txt
|
27
|
+
*/
|
28
|
+
class s{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;var t=(e.getAttribute("class")||"").split(/\s+/);for(var n of t)this.classes.add(n)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){var e="";this.classes.forEach(t=>e+=t+" "),this.element.setAttribute("class",e)}}}var c=new WeakMap,o=Object(a.c)(e=>t=>{if(!(t instanceof a.a)||t instanceof a.b||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=t,{element:i}=n,r=c.get(t);void 0===r&&(i.setAttribute("class",n.strings.join(" ")),c.set(t,r=new Set));var o=i.classList||new s(i);for(var l in r.forEach(t=>{t in e||(o.remove(t),r.delete(t))}),e){var b=e[l];b!=r.has(l)&&(b?(o.add(l),r.add(l)):(o.remove(l),r.delete(l)))}"function"==typeof o.commit&&o.commit()}),l=new WeakMap,b=Object(a.c)(e=>t=>{if(!(t instanceof a.a)||t instanceof a.b||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=t,{style:i}=n.element,r=l.get(t);for(var s in void 0===r&&(i.cssText=n.strings.join(" "),l.set(t,r=new Set)),r.forEach(t=>{t in e||(r.delete(t),-1===t.indexOf("-")?i[t]=null:i.removeProperty(t))}),e)r.add(s),-1===s.indexOf("-")?i[s]=e[s]:i.setProperty(s,e[s])}),h=n(200),p=n(210),u=n(179),d=n(157),v=n(97),O=n(203),j=n(169),f=n(25),g=n(197),m=n(98),w=n(99),y=n(4),E=n(16),x=n(3);var k=n(90);var S=n(180),C=n(95),M=n(178),z=n(96),X=n(201),$=n(202);var D=n(159),I=n(70);function T(e,t,n,i){return n*Math.sin(e/i*(Math.PI/2))+t}function W(e){return("ResizeObserver"in window?Object(D.e)(e):Object(I.a)({contentRect:{width:e.clientWidth}})).pipe(Object(f.a)(e=>{var{contentRect:{width:t}}=e;return t}))}var A={fromAttribute:e=>(null!=e?e:"").replace(/[\[\]]/g,"").split(",").map(Number),toAttribute:e=>e.join(",")};var P=n(177),Y=n(199);var R=Math.abs.bind(Math);class B{getStartObservable(){return Object(p.a)([this.$.mouseEvents]).pipe(Object(z.a)(e=>{var[t]=e,n=Object(d.a)(document,"touchstart",{passive:!0}).pipe(Object(C.a)(e=>{var{touches:t}=e;return 1===t.length}),Object(f.a)(e=>{var{touches:t}=e;return t[0]})),i=t?Object(d.a)(document,"mousedown").pipe(Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(n,i)}))}getMoveObservable(e,t){return Object(p.a)([this.$.mouseEvents,this.$.preventDefault]).pipe(Object(z.a)(n=>{var[i,r]=n,a=Object(d.a)(document,"touchmove",{passive:!r}).pipe(Object(f.a)(e=>(e.touches[0].event=e,e.touches[0]))),s=i?Object(d.a)(document,"mousemove",{passive:!r}).pipe(Object(D.l)(Object(u.a)(e.pipe(Object(P.a)(!0)),t.pipe(Object(P.a)(!1)))),Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(a,s)}))}getEndObservable(){return Object(p.a)([this.$.mouseEvents]).pipe(Object(z.a)(e=>{var[t]=e,n=Object(d.a)(document,"touchend",{passive:!0}).pipe(Object(C.a)(e=>{var{touches:t}=e;return 0===t.length}),Object(f.a)(e=>e.changedTouches[0])),i=t?Object(d.a)(document,"mouseup",{passive:!0}).pipe(Object(f.a)(e=>(e.event=e,e))):v.a;return Object(u.a)(n,i)}))}getIsSlidingObservable(e,t,n){return this.getIsSlidingObservableInner(e,t).pipe(Object(Y.a)(1),Object(M.a)(void 0),(i=()=>n,Object(y.b)((function(e,t){var n,r,a=!1,s=!1,c=!1,o=function(){return c&&s&&(t.complete(),!0)},l=function(){return r||(r=new j.a,i(r).subscribe(new x.a(t,(function(){n?b():a=!0}),void 0,(function(){s=!0,o()})))),r},b=function i(){c=!1,n=e.subscribe(new x.a(t,void 0,void 0,(function(){c=!0,!o()&&l().next()}))),a&&(n.unsubscribe(),n=null,a=!1,i())};b()}))));var i}getIsSlidingObservableInner(e,t){return this.threshold?e.pipe(Object(m.a)(t),(n=e=>{var[{clientX:t,clientY:n},{clientX:i,clientY:r}]=e;return R(r-n)<this.threshold&&R(i-t)<this.threshold},Object(y.b)((function(e,t){var i=!1,r=0;e.subscribe(new x.a(t,(function(e){return(i||(i=!n(e,r++)))&&t.next(e)})))}))),Object(f.a)(e=>{var[{clientX:t,clientY:n},{clientX:i,clientY:r}]=e;return R(i-t)>=R(r-n)})):e.pipe(Object(m.a)(t),Object(f.a)(e=>{var[{clientX:t,clientY:n,event:i},{clientX:r,clientY:a}]=e,s=R(r-t)>=R(a-n);return this.noScroll&&s&&i&&i.preventDefault(),s}));var n}}var _=Math.min.bind(Math),F=Math.max.bind(Math);class J{calcIsInRange(e,t){var{clientX:n}=e;switch(this.side){case"left":var[i,r]=this.range;return n>i&&(t||n<r);case"right":var a=window.innerWidth-this.range[0],s=window.innerWidth-this.range[1];return n<a&&(t||n>s);default:throw Error()}}calcIsSwipe(e,t,n,i,r){var{clientX:a}=e,{clientX:s}=t;return s!==a||n>0&&n<i}calcWillOpen(e,t,n,i,r){switch(this.side){case"left":return r>.15||!(r<-.15)&&n>=i/2;case"right":return-r>.15||!(-r<-.15)&&n<=-i/2;default:throw Error()}}calcTranslateX(e,t,n,i){var{clientX:r}=e,{clientX:a}=t;switch(this.side){case"left":return F(0,_(i,n+(r-a)));case"right":return _(0,F(-i,n+(r-a)));default:throw Error()}}}class N{updateDOM(e,t){var n=e/t*("left"===this.side?1:-1)||0;this.translateX=e,this.opacity=n,this.updater.updateDOM(e,n)}}class U{constructor(e){this.parent=e}static getUpdaterForPlatform(e){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new L(e):new H(e)}get contentEl(){return this.parent.contentEl}get scrimEl(){return this.parent.scrimEl}}class H extends U{constructor(e){super(e)}updateDOM(e,t){this.contentEl.style.transform="translate(".concat(e,"px, 0px)"),this.scrimEl.style.opacity="".concat(t)}}class L extends U{constructor(e){super(e),this.tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),this.ovalue=CSS.number(1)}updateDOM(e,t){this.tvalue[0].x.value=e,this.ovalue.value=t,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}function V(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return V=function(){return e},e}var q,G,K,Q,Z=Object(r.b)(V());function ee(){var e=ne(['<div class="grabbing-screen full-screen"></div>']);return ee=function(){return e},e}function te(){var e=ne(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return te=function(){return e},e}function ne(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}
|
29
|
+
/**
|
30
|
+
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
31
|
+
*
|
32
|
+
* This program is free software: you can redistribute it and/or modify
|
33
|
+
* it under the terms of the GNU General Public License as published by
|
34
|
+
* the Free Software Foundation, either version 3 of the License, or
|
35
|
+
* (at your option) any later version.
|
36
|
+
*
|
37
|
+
* This program is distributed in the hope that it will be useful,
|
38
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
39
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
40
|
+
* GNU General Public License for more details.
|
41
|
+
*
|
42
|
+
* You should have received a copy of the GNU General Public License
|
43
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
44
|
+
*
|
45
|
+
* @license
|
46
|
+
* @nocompile
|
47
|
+
*/
|
48
|
+
var ie=class extends(Object(D.b)(D.a,[B,N,J])){constructor(){super(...arguments),this.opened=!1,this.side="left",this.persistent=!1,this.threshold=10,this.noScroll=!1,this.mouseEvents=!1,this.range=[0,100],this.willChange=!1,q.set(this,Object(D.f)()),G.set(this,void 0),K.set(this,void 0),Q.set(this,void 0),this.upgrade=()=>{var e,t=this.getDrawerWidth(),n=this.$.persistent.pipe(Object(f.a)(e=>!e)),r=this.getStartObservable().pipe(Object(D.h)(n),Object(g.a)()),a=Object(h.a)(()=>Object(i.c)(this,G).pipe(Object(f.a)(e=>0!==e))),s=r.pipe(Object(m.a)(a),Object(f.a)(e=>this.calcIsInRange(...e)),Object(w.a)(e=>{e&&(this.willChange=!0,this.fireEvent("prepare"))}),Object(g.a)()),c=this.getEndObservable().pipe(Object(D.h)(n,s),Object(w.a)(()=>{this.mouseEvents&&(this.grabbing=!1)}),Object(g.a)()),o=this.getMoveObservable(r,c).pipe(Object(D.h)(n,s),Object(g.a)()),l=this.getIsSlidingObservable(o,r,c).pipe(Object(w.a)(e=>{this.isSliding=e,e&&this.mouseEvents&&(this.grabbing=!0)})),b=Object(i.d)(this,G,Object(h.a)(()=>{var e=Object(p.a)([this.$.opened,this.$.side,t]).pipe(Object(f.a)(e=>{var[t,n,i]=e;return t?i*("left"===n?1:-1):0})),n=o.pipe(Object(D.h)(l),Object(w.a)(()=>this.scrimClickable=!1),Object(w.a)(e=>{var{event:t}=e;return t&&this.noScroll&&t.preventDefault()}),Object(m.a)(r,Object(i.c)(this,K),t),Object(f.a)(e=>this.calcTranslateX(...e)));return Object(u.a)(Object(i.c)(this,Q),e,n)}).pipe(Object(g.a)()));Object(i.d)(this,K,b.pipe((e=r,Object(y.b)((function(t,n){var i=!1,r=null;t.subscribe(new x.a(n,(function(e){i=!0,r=e}))),e.subscribe(new x.a(n,(function(){if(i){i=!1;var e=r;r=null,n.next(e)}}),void 0,E.a))})))));var O,j=b.pipe((void 0===O&&(O=k.a),Object(f.a)((function(e){return{value:e,timestamp:O.now()}}))),Object(S.a)(),Object(C.a)(e=>{var[{timestamp:t},{timestamp:n}]=e;return n-t>0}),Object(f.a)(e=>{var[{value:t,timestamp:n},{value:i,timestamp:r}]=e;return(i-t)/(r-n)}),Object(M.a)(0)),I=c.pipe(Object(m.a)(r,b,t,j),Object(C.a)(e=>this.calcIsSwipe(...e)),Object(f.a)(e=>this.calcWillOpen(...e))),W=this.animateTo$.pipe(Object(w.a)(()=>{this.willChange=!0,this.fireEvent("prepare")}));Object(i.d)(this,Q,Object(u.a)(I,W).pipe(Object(m.a)(b,t),Object(z.a)(e=>{var t,[n,i,a]=e,s="left"===this.side?1:-1,c=(n?a*s:0)-i,o=Math.ceil(200+.15*a);return Object(D.m)(T,i,c,o).pipe(Object(X.a)(()=>{this.transitioned(n)}),Object($.a)(r),Object($.a)(this.$.side.pipe((t=1,Object(C.a)((function(e,n){return t<=n}))))),Object(g.a)())}))),b.pipe(Object(m.a)(t),Object(w.a)(e=>{this.updateDOM(...e);var{translateX:t,opacity:n}=this;this.fireEvent("move",{detail:{translateX:t,opacity:n},bubbles:!1})})).subscribe(),Object(d.a)(this.scrimEl,"click").pipe(Object(w.a)(()=>this.close())).subscribe(),n.pipe(Object(w.a)(e=>{this.scrimEl.style.display=e?"block":"none"})).subscribe(),this.$.mouseEvents.pipe(Object(z.a)(e=>e?r.pipe(Object(m.a)(s)):v.a),Object(C.a)(e=>{var[t,n]=e;return n&&null!=t.event}),Object(w.a)(e=>{var[{event:t}]=e;return t&&t.preventDefault()})).subscribe(),this.fireEvent("init",{detail:this.opened}),Object(i.c)(this,q).resolve(this)},this.transitioned=e=>{this.opened=this.scrimClickable=e,this.willChange=!1,this.fireEvent("transitioned",{detail:e})}}get initialized(){return Object(i.c)(this,q)}getDrawerWidth(){var e=W(this.contentEl).pipe(Object(w.a)(e=>this.fireEvent("content-width-change",{detail:e}))),t=W(this.peekEl).pipe(Object(w.a)(e=>this.fireEvent("peek-width-change",{detail:e})));return Object(p.a)([e,t]).pipe(Object(f.a)(e=>{var[t,n]=e;return t-n}),Object(g.a)())}connectedCallback(){super.connectedCallback(),this.$={opened:new O.a(this.opened),side:new O.a(this.side),persistent:new O.a(this.persistent),preventDefault:new O.a(this.noScroll),mouseEvents:new O.a(this.mouseEvents)},this.scrimClickable=this.opened,this.animateTo$=new j.a,this.updater=U.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}render(){return Object(r.d)(te(),b({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(r.d)(ee()):null,o({wrapper:!0,"full-height":!0,[this.side]:!0,grab:this.mouseEvents,grabbing:this.mouseEvents&&this.grabbing}),b({willChange:this.willChange?"transform":""}))}open(){this.animateTo$.next(!0)}close(){this.animateTo$.next(!1)}toggle(){this.animateTo$.next(!this.opened)}};q=new WeakMap,G=new WeakMap,K=new WeakMap,Q=new WeakMap,ie.styles=Z,Object(i.e)([Object(r.f)(".scrim")],ie.prototype,"scrimEl",void 0),Object(i.e)([Object(r.f)(".wrapper")],ie.prototype,"contentEl",void 0),Object(i.e)([Object(r.f)(".peek")],ie.prototype,"peekEl",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ie.prototype,"opened",void 0),Object(i.e)([Object(r.e)({type:String,reflect:!0})],ie.prototype,"side",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ie.prototype,"persistent",void 0),Object(i.e)([Object(r.e)({type:Number,reflect:!0})],ie.prototype,"threshold",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ie.prototype,"noScroll",void 0),Object(i.e)([Object(r.e)({type:Boolean,reflect:!0})],ie.prototype,"mouseEvents",void 0),Object(i.e)([Object(r.e)({reflect:!0,converter:A,hasChanged:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>e!==t[n])}})],ie.prototype,"range",void 0),Object(i.e)([Object(r.e)()],ie.prototype,"scrimClickable",void 0),Object(i.e)([Object(r.e)()],ie.prototype,"grabbing",void 0),Object(i.e)([Object(r.e)()],ie.prototype,"willChange",void 0),Object(i.e)([Object(r.e)()],ie.prototype,"open",null),Object(i.e)([Object(r.e)()],ie.prototype,"close",null),Object(i.e)([Object(r.e)()],ie.prototype,"toggle",null),ie=Object(i.e)([Object(r.c)("hy-drawer")],ie)},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n(1),r=n(2),a=Array.isArray,s=Object.getPrototypeOf,c=Object.prototype,o=Object.keys;function l(e){if(1===e.length){var t=e[0];if(a(t))return{args:t,keys:null};if((i=t)&&"object"==typeof i&&s(i)===c){var n=o(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var i;return{args:e,keys:null}}var b=n(40),h=n(11),p=n(20),u=n(91),d=n(27);function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object(d.c)(e),i=Object(d.b)(e),a=l(e),s=a.args,c=a.keys,o=new r.a(j(s,n,c?function(e){for(var t={},n=0;n<e.length;n++)t[c[n]]=e[n];return t}:p.a));return i?o.pipe(Object(u.a)(i)):o}var O=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r._next=n,r.shouldComplete=i,r}return Object(i.f)(t,e),t.prototype._complete=function(){this.shouldComplete()?e.prototype._complete.call(this):this.unsubscribe()},t}(b.b);function j(e,t,n){return void 0===n&&(n=p.a),function(i){f(t,(function(){for(var r=e.length,a=new Array(r),s=r,c=e.map((function(){return!1})),o=!0,l=function(r){f(t,(function(){Object(h.a)(e[r],t).subscribe(new O(i,(function(e){a[r]=e,o&&(c[r]=!0,o=!c.every(p.a)),o||i.next(n(a.slice()))}),(function(){return 0==--s})))}),i)},b=0;b<r;b++)l(b)}),i)}}function f(e,t,n){e?n.add(e.schedule(t)):t()}},211:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(53),r=n(4),a=n(3),s=n(11),c={leading:!0,trailing:!1};var o=n(93);function l(e,t,n){void 0===t&&(t=i.b),void 0===n&&(n=c);var l,b,h,p,u,d=Object(o.a)(e,t);return l=function(){return d},p=(h=void 0===(b=n)?c:b).leading,u=h.trailing,Object(r.b)((function(e,t){var n=!1,i=null,r=null,c=!1,o=function(){null==r||r.unsubscribe(),r=null,u&&(d(),c&&t.complete())},b=function(){r=null,c&&t.complete()},h=function(e){return r=Object(s.c)(l(e)).subscribe(new a.a(t,o,void 0,b))},d=function(){n&&(t.next(i),!c&&h(i)),n=!1,i=null};e.subscribe(new a.a(t,(function(e){n=!0,i=e,(!r||r.closed)&&(p?d():h(e))}),void 0,(function(){c=!0,(!(u&&n&&r)||r.closed)&&t.complete()})))}))}}}]);
|
@@ -0,0 +1,163 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.0 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{159:function(t,e,r){"use strict";r.d(e,"g",(function(){return i.a})),r.d(e,"m",(function(){return i.c})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"e",(function(){return l.b})),r.d(e,"d",(function(){return l.a})),r.d(e,"l",(function(){return d.c})),r.d(e,"h",(function(){return d.b})),r.d(e,"c",(function(){return d.a})),r.d(e,"i",(function(){return h.b})),r.d(e,"j",(function(){return h.c})),r.d(e,"k",(function(){return h.d})),r.d(e,"f",(function(){return h.a}));var n,i=r(58),s=r(1),o=r(174),a=r(169);class u extends o.a{constructor(){super(...arguments),this.$connected=new a.a,n.set(this,void 0),this.$={}}connectedCallback(){super.connectedCallback(),this.$connected.next(!0)}disconnectedCallback(){super.disconnectedCallback(),this.$connected.next(!1)}firstUpdated(){Object(s.d)(this,n,!0)}updated(t){if(!Object(s.c)(this,n))for(var e of t.keys())e in this.$&&this.$[e].next(this[e]);Object(s.d)(this,n,!1)}fireEvent(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}function c(t,e){return e.forEach(e=>{Object.getOwnPropertyNames(e.prototype).forEach(r=>{t.prototype[r]=e.prototype[r]})}),t}n=new WeakMap;var l=r(73),d=r(57),h=r(42)},160:function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return h})),r.d(e,"e",(function(){return p})),r.d(e,"c",(function(){return f})),r.d(e,"f",(function(){return v})),r.d(e,"g",(function(){return b})),r.d(e,"d",(function(){return y}));var n=r(171),i=r(163),s=r(172),o=r(173),a=r(167),u=r(162),c=t=>null===t||!("object"==typeof t||"function"==typeof t),l=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class d{constructor(t,e,r){this.dirty=!0,this.element=t,this.name=e,this.strings=r,this.parts=[];for(var n=0;n<r.length-1;n++)this.parts[n]=this._createPart()}_createPart(){return new h(this)}_getValue(){var t=this.strings,e=t.length-1,r=this.parts;if(1===e&&""===t[0]&&""===t[1]){var n=r[0].value;if("symbol"==typeof n)return String(n);if("string"==typeof n||!l(n))return n}for(var i="",s=0;s<e;s++){i+=t[s];var o=r[s];if(void 0!==o){var a=o.value;if(c(a)||!l(a))i+="string"==typeof a?a:String(a);else for(var u of a)i+="string"==typeof u?u:String(u)}}return i+=t[e]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class h{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===s.a||c(t)&&t===this.value||(this.value=t,Object(n.b)(t)||(this.committer.dirty=!0))}commit(){for(;Object(n.b)(this.value);){var t=this.value;this.value=s.a,t(this)}this.value!==s.a&&this.committer.commit()}}class p{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Object(u.c)()),this.endNode=t.appendChild(Object(u.c)())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Object(u.c)()),t.__insert(this.endNode=Object(u.c)())}insertAfterPart(t){t.__insert(this.startNode=Object(u.c)()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null!==this.startNode.parentNode){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}var e=this.__pendingValue;e!==s.a&&(c(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):l(e)?this.__commitIterable(e):e===s.b?(this.value=s.b,this.clear()):this.__commitText(e))}}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){var e=this.startNode.nextSibling,r="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=r:this.__commitNode(document.createTextNode(r)),this.value=t}__commitTemplateResult(t){var e=this.options.templateFactory(t);if(this.value instanceof o.a&&this.value.template===e)this.value.update(t.values);else{var r=new o.a(e,t.processor,this.options),n=r._clone();r.update(t.values),this.__commitNode(n),this.value=r}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,r=this.value,n=0;for(var i of t)void 0===(e=r[n])&&(e=new p(this.options),r.push(e),0===n?e.appendIntoPart(this):e.insertAfterPart(r[n-1])),e.setValue(i),e.commit(),n++;n<r.length&&(r.length=n,this.clear(e&&e.endNode))}clear(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}class f{constructor(t,e,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=r}setValue(t){this.__pendingValue=t}commit(){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=s.a}}}class v extends d{constructor(t,e,r){super(t,e,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new b(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class b extends h{}var _=!1;(()=>{try{var t={get capture(){return _=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class y{constructor(t,e,r){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=r,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;Object(n.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=this.__pendingValue,r=this.value,i=null==e||null!=r&&(e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive),o=null!=e&&(null==r||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=m(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=s.a}}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}var m=t=>t&&(_?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},161:function(t,e,r){"use strict";r.d(e,"c",(function(){return o.a})),r.d(e,"a",(function(){return n.b})),r.d(e,"b",(function(){return n.g})),r.d(e,"d",(function(){return a}));var n=r(160);
|
15
|
+
/**
|
16
|
+
* @license
|
17
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
18
|
+
* This code may only be used under the BSD style license found at
|
19
|
+
* http://polymer.github.io/LICENSE.txt
|
20
|
+
* The complete set of authors may be found at
|
21
|
+
* http://polymer.github.io/AUTHORS.txt
|
22
|
+
* The complete set of contributors may be found at
|
23
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
24
|
+
* Code distributed by Google as part of the polymer project is also
|
25
|
+
* subject to an additional IP rights grant found at
|
26
|
+
* http://polymer.github.io/PATENTS.txt
|
27
|
+
*/var i=new class{handleAttributeExpressions(t,e,r,i){var s=e[0];return"."===s?new n.f(t,e.slice(1),r).parts:"@"===s?[new n.d(t,e.slice(1),i.eventContext)]:"?"===s?[new n.c(t,e.slice(1),r)]:new n.a(t,e,r).parts}handleTextExpression(t){return new n.e(t)}},s=r(167),o=r(171);r(163),r(172),r(170),r(168),r(173),r(162);
|
28
|
+
/**
|
29
|
+
* @license
|
30
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
31
|
+
* This code may only be used under the BSD style license found at
|
32
|
+
* http://polymer.github.io/LICENSE.txt
|
33
|
+
* The complete set of authors may be found at
|
34
|
+
* http://polymer.github.io/AUTHORS.txt
|
35
|
+
* The complete set of contributors may be found at
|
36
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
37
|
+
* Code distributed by Google as part of the polymer project is also
|
38
|
+
* subject to an additional IP rights grant found at
|
39
|
+
* http://polymer.github.io/PATENTS.txt
|
40
|
+
*/
|
41
|
+
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var a=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new s.b(t,r,"html",i)}},162:function(t,e,r){"use strict";r.d(e,"f",(function(){return n})),r.d(e,"g",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return c})),r.d(e,"c",(function(){return l})),r.d(e,"e",(function(){return d}));
|
42
|
+
/**
|
43
|
+
* @license
|
44
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
45
|
+
* This code may only be used under the BSD style license found at
|
46
|
+
* http://polymer.github.io/LICENSE.txt
|
47
|
+
* The complete set of authors may be found at
|
48
|
+
* http://polymer.github.io/AUTHORS.txt
|
49
|
+
* The complete set of contributors may be found at
|
50
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
51
|
+
* Code distributed by Google as part of the polymer project is also
|
52
|
+
* subject to an additional IP rights grant found at
|
53
|
+
* http://polymer.github.io/PATENTS.txt
|
54
|
+
*/
|
55
|
+
var n="{{lit-".concat(String(Math.random()).slice(2),"}}"),i="\x3c!--".concat(n,"--\x3e"),s=new RegExp("".concat(n,"|").concat(i)),o="$lit$";class a{constructor(t,e){this.parts=[],this.element=e;for(var r=[],i=[],a=document.createTreeWalker(e.content,133,null,!1),c=0,h=-1,p=0,{strings:f,values:{length:v}}=t;p<v;){var b=a.nextNode();if(null!==b){if(h++,1===b.nodeType){if(b.hasAttributes()){for(var _=b.attributes,{length:y}=_,m=0,g=0;g<y;g++)u(_[g].name,o)&&m++;for(;m-- >0;){var S=f[p],w=d.exec(S)[2],x=w.toLowerCase()+o,C=b.getAttribute(x);b.removeAttribute(x);var P=C.split(s);this.parts.push({type:"attribute",index:h,name:w,strings:P}),p+=P.length-1}}"TEMPLATE"===b.tagName&&(i.push(b),a.currentNode=b.content)}else if(3===b.nodeType){var O=b.data;if(O.indexOf(n)>=0){for(var j=b.parentNode,N=O.split(s),E=N.length-1,T=0;T<E;T++){var A=void 0,k=N[T];if(""===k)A=l();else{var V=d.exec(k);null!==V&&u(V[2],o)&&(k=k.slice(0,V.index)+V[1]+V[2].slice(0,-o.length)+V[3]),A=document.createTextNode(k)}j.insertBefore(A,b),this.parts.push({type:"node",index:++h})}""===N[E]?(j.insertBefore(l(),b),r.push(b)):b.data=N[E],p+=E}}else if(8===b.nodeType)if(b.data===n){var U=b.parentNode;null!==b.previousSibling&&h!==c||(h++,U.insertBefore(l(),b)),c=h,this.parts.push({type:"node",index:h}),null===b.nextSibling?b.data="":(r.push(b),h--),p++}else for(var M=-1;-1!==(M=b.data.indexOf(n,M+1));)this.parts.push({type:"node",index:-1}),p++}else a.currentNode=i.pop()}for(var R of r)R.parentNode.removeChild(R)}}var u=(t,e)=>{var r=t.length-e.length;return r>=0&&t.slice(r)===e},c=t=>-1!==t.index,l=()=>document.createComment(""),d=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},163:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return s}));
|
56
|
+
/**
|
57
|
+
* @license
|
58
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
59
|
+
* This code may only be used under the BSD style license found at
|
60
|
+
* http://polymer.github.io/LICENSE.txt
|
61
|
+
* The complete set of authors may be found at
|
62
|
+
* http://polymer.github.io/AUTHORS.txt
|
63
|
+
* The complete set of contributors may be found at
|
64
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
65
|
+
* Code distributed by Google as part of the polymer project is also
|
66
|
+
* subject to an additional IP rights grant found at
|
67
|
+
* http://polymer.github.io/PATENTS.txt
|
68
|
+
*/
|
69
|
+
var n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==r;){var i=e.nextSibling;t.insertBefore(e,n),e=i}},s=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==r;){var n=e.nextSibling;t.removeChild(e),e=n}}},165:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=Array.isArray;function i(t){return 1===t.length&&n(t[0])?t[0]:t}},166:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(2),i=new n.a((function(t){return t.complete()}))},167:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return u}));var n=r(163),i=r(162),s=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),o=" ".concat(i.f," ");class a{constructor(t,e,r,n){this.strings=t,this.values=e,this.type=r,this.processor=n}getHTML(){for(var t=this.strings.length-1,e="",r=!1,n=0;n<t;n++){var s=this.strings[n],a=s.lastIndexOf("\x3c!--");r=(a>-1||r)&&-1===s.indexOf("--\x3e",a+1);var u=i.e.exec(s);e+=null===u?s+(r?o:i.g):s.substr(0,u.index)+u[1]+u[2]+i.b+u[3]+i.f}return e+=this.strings[t]}getTemplateElement(){var t=document.createElement("template"),e=this.getHTML();return void 0!==s&&(e=s.createHTML(e)),t.innerHTML=e,t}}class u extends a{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var t=super.getTemplateElement(),e=t.content,r=e.firstChild;return e.removeChild(r),Object(n.c)(e,r.firstChild),t}}},168:function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return s}));var n=r(162);
|
70
|
+
/**
|
71
|
+
* @license
|
72
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
73
|
+
* This code may only be used under the BSD style license found at
|
74
|
+
* http://polymer.github.io/LICENSE.txt
|
75
|
+
* The complete set of authors may be found at
|
76
|
+
* http://polymer.github.io/AUTHORS.txt
|
77
|
+
* The complete set of contributors may be found at
|
78
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
79
|
+
* Code distributed by Google as part of the polymer project is also
|
80
|
+
* subject to an additional IP rights grant found at
|
81
|
+
* http://polymer.github.io/PATENTS.txt
|
82
|
+
*/function i(t){var e=s.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},s.set(t.type,e));var r=e.stringsArray.get(t.strings);if(void 0!==r)return r;var i=t.strings.join(n.f);return void 0===(r=e.keyString.get(i))&&(r=new n.a(t,t.getTemplateElement()),e.keyString.set(i,r)),e.stringsArray.set(t.strings,r),r}var s=new Map},169:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(1),i=r(2),s=r(7),o=r(74),a=Object(o.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),u=r(39),c=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(n.f)(e,t),e.prototype.lift=function(t){var e=new l(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new a},e.prototype.next=function(t){var e,r;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var s=Object(n.j)(i),o=s.next();!o.done;o=s.next()){o.value.next(t)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}},e.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var e=this.observers;e.length;)e.shift().error(t)}},e.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this.hasError,n=this.isStopped,i=this.observers;return r||n?s.a:(i.push(t),new s.b((function(){return Object(u.a)(e.observers,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,r=this.thrownError,n=this.isStopped;e?t.error(r):n&&t.complete()},e.prototype.asObservable=function(){var t=new i.a;return t.source=this,t},e.create=function(t,e){return new l(t,e)},e}(i.a),l=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Object(n.f)(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:s.a},e}(c)},170:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n=r(163),i=r(160),s=r(168),o=new WeakMap,a=(t,e,r)=>{var a=o.get(e);void 0===a&&(Object(n.b)(e,e.firstChild),o.set(e,a=new i.e(Object.assign({templateFactory:s.b},r))),a.appendInto(e)),a.setValue(t),a.commit()}},171:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return s}));
|
83
|
+
/**
|
84
|
+
* @license
|
85
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
86
|
+
* This code may only be used under the BSD style license found at
|
87
|
+
* http://polymer.github.io/LICENSE.txt
|
88
|
+
* The complete set of authors may be found at
|
89
|
+
* http://polymer.github.io/AUTHORS.txt
|
90
|
+
* The complete set of contributors may be found at
|
91
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
92
|
+
* Code distributed by Google as part of the polymer project is also
|
93
|
+
* subject to an additional IP rights grant found at
|
94
|
+
* http://polymer.github.io/PATENTS.txt
|
95
|
+
*/
|
96
|
+
var n=new WeakMap,i=t=>function(){var e=t(...arguments);return n.set(e,!0),e},s=t=>"function"==typeof t&&n.has(t)},172:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}));
|
97
|
+
/**
|
98
|
+
* @license
|
99
|
+
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
100
|
+
* This code may only be used under the BSD style license found at
|
101
|
+
* http://polymer.github.io/LICENSE.txt
|
102
|
+
* The complete set of authors may be found at
|
103
|
+
* http://polymer.github.io/AUTHORS.txt
|
104
|
+
* The complete set of contributors may be found at
|
105
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
106
|
+
* Code distributed by Google as part of the polymer project is also
|
107
|
+
* subject to an additional IP rights grant found at
|
108
|
+
* http://polymer.github.io/PATENTS.txt
|
109
|
+
*/
|
110
|
+
var n={},i={}},173:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(163),i=r(162);
|
111
|
+
/**
|
112
|
+
* @license
|
113
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
114
|
+
* This code may only be used under the BSD style license found at
|
115
|
+
* http://polymer.github.io/LICENSE.txt
|
116
|
+
* The complete set of authors may be found at
|
117
|
+
* http://polymer.github.io/AUTHORS.txt
|
118
|
+
* The complete set of contributors may be found at
|
119
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
120
|
+
* Code distributed by Google as part of the polymer project is also
|
121
|
+
* subject to an additional IP rights grant found at
|
122
|
+
* http://polymer.github.io/PATENTS.txt
|
123
|
+
*/
|
124
|
+
class s{constructor(t,e,r){this.__parts=[],this.template=t,this.processor=e,this.options=r}update(t){var e=0;for(var r of this.__parts)void 0!==r&&r.setValue(t[e]),e++;for(var n of this.__parts)void 0!==n&&n.commit()}_clone(){for(var t,e=n.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),r=[],s=this.template.parts,o=document.createTreeWalker(e,133,null,!1),a=0,u=0,c=o.nextNode();a<s.length;)if(t=s[a],Object(i.d)(t)){for(;u<t.index;)u++,"TEMPLATE"===c.nodeName&&(r.push(c),o.currentNode=c.content),null===(c=o.nextNode())&&(o.currentNode=r.pop(),c=o.nextNode());if("node"===t.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(c.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(c,t.name,t.strings,this.options));a++}else this.__parts.push(void 0),a++;return n.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}},174:function(t,e,r){"use strict";r.d(e,"c",(function(){return x})),r.d(e,"e",(function(){return P})),r.d(e,"f",(function(){return O})),r.d(e,"d",(function(){return d.d})),r.d(e,"b",(function(){return U})),r.d(e,"a",(function(){return R}));var n=r(163),i=r(162);function s(t,e){for(var{element:{content:r},parts:n}=t,i=document.createTreeWalker(r,133,null,!1),s=a(n),o=n[s],u=-1,c=0,l=[],d=null;i.nextNode();){u++;var h=i.currentNode;for(h.previousSibling===d&&(d=null),e.has(h)&&(l.push(h),null===d&&(d=h)),null!==d&&c++;void 0!==o&&o.index===u;)o.index=null!==d?-1:o.index-c,o=n[s=a(n,s)]}l.forEach(t=>t.parentNode.removeChild(t))}var o=t=>{for(var e=11===t.nodeType?0:1,r=document.createTreeWalker(t,133,null,!1);r.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=e+1;r<t.length;r++){var n=t[r];if(Object(i.d)(n))return r}return-1};var u=r(170),c=r(168),l=r(173),d=r(161),h=(t,e)=>"".concat(t,"--").concat(e),p=!0;void 0===window.ShadyCSS?p=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),p=!1);var f=t=>e=>{var r=h(e.type,t),n=c.a.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},c.a.set(r,n));var s=n.stringsArray.get(e.strings);if(void 0!==s)return s;var o=e.strings.join(i.f);if(void 0===(s=n.keyString.get(o))){var a=e.getTemplateElement();p&&window.ShadyCSS.prepareTemplateDom(a,t),s=new i.a(e,a),n.keyString.set(o,s)}return n.stringsArray.set(e.strings,s),s},v=["html","svg"],b=new Set,_=(t,e,r)=>{b.add(t);var n=r?r.element:document.createElement("template"),i=e.querySelectorAll("style"),{length:u}=i;if(0!==u){for(var l=document.createElement("style"),d=0;d<u;d++){var p=i[d];p.parentNode.removeChild(p),l.textContent+=p.textContent}(t=>{v.forEach(e=>{var r=c.a.get(h(e,t));void 0!==r&&r.keyString.forEach(t=>{var{element:{content:e}}=t,r=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{r.add(t)}),s(t,r)})})})(t);var f=n.content;r?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:n},parts:i}=t;if(null!=r)for(var s=document.createTreeWalker(n,133,null,!1),u=a(i),c=0,l=-1;s.nextNode();){l++;var d=s.currentNode;for(d===r&&(c=o(e),r.parentNode.insertBefore(e,r));-1!==u&&i[u].index===l;){if(c>0){for(;-1!==u;)i[u].index+=c,u=a(i,u);return}u=a(i,u)}}else n.appendChild(e)}(r,l,f.firstChild):f.insertBefore(l,f.firstChild),window.ShadyCSS.prepareTemplateStyles(n,t);var _=f.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==_)e.insertBefore(_.cloneNode(!0),e.firstChild);else if(r){f.insertBefore(l,f.firstChild);var y=new Set;y.add(l),s(r,y)}}else window.ShadyCSS.prepareTemplateStyles(n,t)};function y(t,e,r,n,i,s,o){try{var a=t[s](o),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,i)}window.JSCompiler_renameProperty=(t,e)=>t;var m={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},g=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:g};class w extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var t=[];return this._classProperties.forEach((e,r)=>{var n=this._attributeNameForProperty(r,e);void 0!==n&&(this._attributeToPropertyMap.set(n,r),t.push(n))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"==typeof t?Symbol():"__".concat(t),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(n){var i=this[t];this[e]=n,this.requestUpdateInternal(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||S}static finalize(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,r=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(var n of r)this.createProperty(n,e[n])}}static _attributeNameForProperty(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:g)(t,e)}static _propertyValueFromAttribute(t,e){var r=e.type,n=e.converter||m,i="function"==typeof n?n:n.fromAttribute;return i?i(t,r):t}static _propertyValueToAttribute(t,e){if(void 0!==e.reflect){var r=e.type,n=e.converter;return(n&&n.toAttribute||m.toAttribute)(t,r)}}initialize(){this._updateState=0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){var r=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S,n=this.constructor,i=n._attributeNameForProperty(t,r);if(void 0!==i){var s=n._propertyValueToAttribute(e,r);if(void 0===s)return;this._updateState=8|this._updateState,null==s?this.removeAttribute(i):this.setAttribute(i,s),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(!(8&this._updateState)){var r=this.constructor,n=r._attributeToPropertyMap.get(t);if(void 0!==n){var i=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(t,e,r){var n=!0;if(void 0!==t){var i=this.constructor;r=r||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}_enqueueUpdate(){var t,e=this;return(t=function*(){e._updateState=4|e._updateState;try{yield e._updatePromise}catch(t){}var t=e.performUpdate();return null!=t&&(yield t),!e._hasRequestedUpdate},function(){var e=this,r=arguments;return new Promise((function(n,i){var s=t.apply(e,r);function o(t){y(s,n,i,o,a,"next",t)}function a(t){y(s,n,i,o,a,"throw",t)}o(void 0)}))})()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}w.finalized=!0;
|
125
|
+
/**
|
126
|
+
* @license
|
127
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
128
|
+
* This code may only be used under the BSD style license found at
|
129
|
+
* http://polymer.github.io/LICENSE.txt
|
130
|
+
* The complete set of authors may be found at
|
131
|
+
* http://polymer.github.io/AUTHORS.txt
|
132
|
+
* The complete set of contributors may be found at
|
133
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
134
|
+
* Code distributed by Google as part of the polymer project is also
|
135
|
+
* subject to an additional IP rights grant found at
|
136
|
+
* http://polymer.github.io/PATENTS.txt
|
137
|
+
*/
|
138
|
+
var x=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:r,elements:n}=e;return{kind:r,elements:n,finisher(e){window.customElements.define(t,e)}}})(t,e),C=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher(r){r.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function P(t){return(e,r)=>void 0!==r?((t,e,r)=>{e.constructor.createProperty(r,t)})(t,e,r):C(t,e)}function O(t,e){return(r,n)=>{var i={get(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var s="symbol"==typeof n?Symbol():"__".concat(n);i.get=function(){return void 0===this[s]&&(this[s]=this.renderRoot.querySelector(t)),this[s]}}return void 0!==n?j(i,r,n):N(i,r)}}var j=(t,e,r)=>{Object.defineProperty(e,r,t)},N=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t});var E=Element.prototype;E.msMatchesSelector||E.webkitMatchesSelector;
|
139
|
+
/**
|
140
|
+
@license
|
141
|
+
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
142
|
+
This code may only be used under the BSD style license found at
|
143
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
144
|
+
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
145
|
+
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
146
|
+
part of the polymer project is also subject to an additional IP rights grant
|
147
|
+
found at http://polymer.github.io/PATENTS.txt
|
148
|
+
*/
|
149
|
+
var T=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,A=Symbol();class k{constructor(t,e){if(e!==A)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(T?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}var V=t=>{if(t instanceof k)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},U=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=r.reduce((e,r,n)=>e+V(r)+t[n+1],t[0]);return new k(i,A)};
|
150
|
+
/**
|
151
|
+
* @license
|
152
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
153
|
+
* This code may only be used under the BSD style license found at
|
154
|
+
* http://polymer.github.io/LICENSE.txt
|
155
|
+
* The complete set of authors may be found at
|
156
|
+
* http://polymer.github.io/AUTHORS.txt
|
157
|
+
* The complete set of contributors may be found at
|
158
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
159
|
+
* Code distributed by Google as part of the polymer project is also
|
160
|
+
* subject to an additional IP rights grant found at
|
161
|
+
* http://polymer.github.io/PATENTS.txt
|
162
|
+
*/
|
163
|
+
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var M={};class R extends w{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=(t,r)=>t.reduceRight((t,r)=>Array.isArray(r)?e(r,t):(t.add(r),t),r),r=e(t,new Set),n=[];r.forEach(t=>n.unshift(t)),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map(t=>{if(t instanceof CSSStyleSheet&&!T){var e=Array.prototype.slice.call(t.cssRules).reduce((t,e)=>t+e.cssText,"");return new k(String(e),A)}return t})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?T?this.renderRoot.adoptedStyleSheets=t.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){var e=this.render();super.update(t),e!==M&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{var e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){return M}}R.finalized=!0,R.render=(t,e,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");var i=r.scopeName,s=u.a.has(e),o=p&&11===e.nodeType&&!!e.host,a=o&&!b.has(i),c=a?document.createDocumentFragment():e;if(Object(u.b)(t,c,Object.assign({templateFactory:f(i)},r)),a){var d=u.a.get(c);u.a.delete(c);var h=d.value instanceof l.a?d.value.template:void 0;_(i,c,h),Object(n.b)(e,e.firstChild),e.appendChild(c),u.a.set(e,d)}!s&&o&&window.ShadyCSS.styleElement(e.host)}},177:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(t){return Object(n.b)((function(e,r){e.subscribe(new i.a(r,(function(){return r.next(t)})))}))}},178:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(75),i=r(27),s=r(4);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object(i.c)(t);return Object(s.b)((function(e,i){(r?Object(n.a)(t,e,r):Object(n.a)(t,e)).subscribe(i)}))}},179:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(72),i=r(30),s=r(165),o=r(11),a=r(166),u=r(27);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object(u.c)(t),c=Object(u.a)(t,1/0),l=Object(s.a)(t);return l.length?1===l.length?Object(o.c)(l[0]):Object(n.a)(c)(Object(i.a)(l,r)):a.a}},180:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(){return Object(n.b)((function(t,e){var r,n=!1;t.subscribe(new i.a(e,(function(t){var i=r;r=t,n&&e.next([i,t]),n=!0})))}))}},197:function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(1),i=r(2),s=r(7),o=r(4),a=r(3);function u(){return Object(o.b)((function(t,e){var r=null;t._refCount++;var n=new a.a(e,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)r=null;else{var n=t._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),e.unsubscribe()}}));t.subscribe(n),n.closed||(r=t.connect())}))}var c=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,n}return Object(n.f)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new s.b;var r=this.getSubject();e.add(this.source.subscribe(new a.a(r,void 0,(function(e){t._teardown(),r.error(e)}),(function(){t._teardown(),r.complete()}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=s.b.EMPTY)}return e},e.prototype.refCount=function(){return u()(this)},e}(i.a),l=r(0);var d=r(169);function h(){return new d.a}function p(){return function(t){return u()((e=h,n=Object(l.a)(e)?e:function(){return e},Object(l.a)(r)?Object(o.b)((function(t,e){var i=n();r(i).subscribe(e).add(t.subscribe(i))})):function(t){var e=new c(t,n);return Object(o.a)(t)&&(e.lift=t.lift),e.source=t,e.subjectFactory=n,e})(t));var e,r,n}}},198:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(4),i=r(3);function s(t,e){return t=null!=t?t:o,Object(n.b)((function(r,n){var s,o=!0;r.subscribe(new i.a(n,(function(r){(o&&(s=r,1)||!t(s,s=e?e(r):r))&&n.next(r),o=!1})))}))}function o(t,e){return t===e}},199:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(166),i=r(4),s=r(3);function o(t){return t<=0?function(){return n.a}:Object(i.b)((function(e,r){var n=0;e.subscribe(new s.a(r,(function(e){++n<=t&&(r.next(e),t<=n&&r.complete())})))}))}},200:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2),i=r(11);function s(t){return new n.a((function(e){Object(i.c)(t()).subscribe(e)}))}},201:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(4);function i(t){return Object(n.b)((function(e,r){e.subscribe(r),r.add(t)}))}},202:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(4),i=r(3),s=r(11),o=r(16);function a(t){return Object(n.b)((function(e,r){Object(s.c)(t).subscribe(new i.a(r,(function(){return r.complete()}),void 0,o.a)),!r.closed&&e.subscribe(r)}))}},203:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(1),i=function(t){function e(e){var r=t.call(this)||this;return r._value=e,r}return Object(n.f)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,r=this._value;if(t)throw e;return this._throwIfClosed(),r},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r(169).a)}}]);
|