jekyll-theme-hydejack 9.0.0 → 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/NOTICE.md +8 -9
- data/README.md +15 -16
- 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/hy-img.html +1 -1
- data/_includes/components/post.html +30 -10
- data/_includes/head/links-static.html +4 -3
- data/_includes/head/meta-static.html +2 -3
- 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/common.scss +2 -2
- data/_includes/styles/page-style.scss +3 -2
- data/_includes/styles/variables.scss +10 -6
- 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 -4
- data/_sass/hydejack/__inline__/_content.scss +8 -5
- data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
- data/_sass/hydejack/__inline__/_toc.scss +11 -11
- data/_sass/hydejack/__inline__/_utilities.scss +25 -0
- data/_sass/hydejack/__link__/_base.scss +9 -2
- data/_sass/hydejack/__link__/_break-layout.scss +8 -1
- data/_sass/hydejack/__link__/_content.scss +10 -4
- data/_sass/hydejack/__link__/_images.scss +1 -1
- data/_sass/hydejack/__link__/_sidebar.scss +15 -5
- data/_sass/hydejack/__link__/_toc.scss +4 -2
- data/_sass/hydejack/__link__/_utilities.scss +25 -0
- data/_sass/hydejack/_base.pre.scss +38 -8
- data/_sass/hydejack/_break-layout.pre.scss +8 -1
- data/_sass/hydejack/_content.pre.scss +12 -12
- data/_sass/hydejack/_images.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +29 -5
- data/_sass/hydejack/_toc.pre.scss +14 -14
- 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 +2 -2
- 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 +2 -2
- 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.0.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/favicon.ico +0 -0
- 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-72x72.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.0.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.0.js → LEGACY-resize-observer-hydejack-9.1.0.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.0.0.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.0.js → LEGACY-vendors~webanimations-hydejack-9.1.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.0.js → LEGACY-vendors~webcomponents-hydejack-9.1.0.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.0.0.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.0.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.0.js → resize-observer-hydejack-9.1.0.js} +2 -2
- data/assets/js/shadydom-hydejack-9.1.0.js +14 -0
- 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.0.js → vendors~webanimations-hydejack-9.1.0.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.0.0.js → webcomponents-hydejack-9.1.0.js} +2 -2
- data/assets/site.webmanifest +65 -0
- data/assets/version.json +2 -2
- metadata +78 -53
- data/CHANGELOG.md +0 -1208
- data/_includes/templates/back.html +0 -6
- data/_includes/templates/forward.html +0 -6
- data/assets/icons/icon.png +0 -0
- data/assets/icons/icon@0,25x.png +0 -0
- data/assets/icons/icon@0,5x.png +0 -0
- data/assets/icons/icon@0,75x.png +0 -0
- data/assets/icons/icon@2x.png +0 -0
- data/assets/icons/icon@3x.png +0 -0
- data/assets/icons/tile-large.png +0 -0
- data/assets/icons/tile-medium.png +0 -0
- data/assets/icons/tile-small.png +0 -0
- data/assets/icons/tile-wide.png +0 -0
- data/assets/ieconfig.xml +0 -15
- data/assets/js/LEGACY-drawer-hydejack-9.0.0.js +0 -14
- data/assets/js/LEGACY-hydejack-9.0.0.js +0 -28
- data/assets/js/LEGACY-navbar-hydejack-9.0.0.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.0.0.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.0.js +0 -47
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.0.js +0 -215
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.0.js +0 -14
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.0.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.0.js +0 -33
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.0.js +0 -155
- data/assets/js/drawer-hydejack-9.0.0.js +0 -14
- data/assets/js/fetch-hydejack-9.0.0.js +0 -14
- data/assets/js/hydejack-9.0.0.js +0 -28
- data/assets/js/navbar-hydejack-9.0.0.js +0 -14
- data/assets/js/push-state-hydejack-9.0.0.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.0.0.js +0 -47
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.0.js +0 -163
- data/assets/js/vendors~intersection-observer-hydejack-9.0.0.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.0.0.js +0 -33
- data/assets/js/vendors~shadydom-hydejack-9.0.0.js +0 -146
- data/assets/manifest.json +0 -46
@@ -1,14 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.0.0 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{158:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],n=null,o=null;r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?a(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},r._resetCrossOriginUpdater=function(){n=null,o=null},r.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,r=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),h(t,"resize",o,!0)),h(e,"scroll",o,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var c=p(e);c&&this._monitorIntersections(c.ownerDocument)}}},r.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=p(n);if((n=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var r=p(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},r.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,s=c(r),h=this._rootContainsTarget(r),u=o.entry,a=t&&h&&this._computeTargetAndRootIntersection(r,s,e),l=o.entry=new i({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:n&&!this.root?null:e,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},r.prototype._computeTargetAndRootIntersection=function(e,i,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,l,p,d,g,m,v=i,_=f(e),w=!1;!w&&_;){var b=null,y=1==_.nodeType?window.getComputedStyle(_):{};if("none"==y.display)return null;if(_==this.root||9==_.nodeType)if(w=!0,_==this.root||_==t)n&&!this.root?!o||0==o.width&&0==o.height?(_=null,b=null,v=null):b=o:b=r;else{var I=f(_),E=I&&c(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(_=I,b=a(E,T)):(_=null,v=null)}else{var R=_.ownerDocument;_!=R.body&&_!=R.documentElement&&"visible"!=y.overflow&&(b=c(_))}if(b&&(s=b,h=v,u=void 0,l=void 0,p=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),l=Math.min(s.bottom,h.bottom),p=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=l-u,v=(g=d-p)>=0&&m>=0&&{top:u,bottom:l,left:p,right:d,width:g,height:m}||null),!v)break;_=_&&f(_)}return v}},r.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},r.prototype._rootIsInDom=function(){return!this.root||l(t,this.root)},r.prototype._rootContainsTarget=function(e){return l(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},r.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},r.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=i}function i(t){this.time=t.time,this.target=t.target,this.rootBounds=u(t.rootBounds),this.boundingClientRect=u(t.boundingClientRect),this.intersectionRect=u(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function h(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function a(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function l(t,e){for(var n=e;n;){if(n==t)return!0;n=f(n)}return!1}function f(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?p(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function p(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}}]);
|
@@ -1,33 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.0.0 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{191:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return we}));var n,i=r(174),o=r(166),s=r(154),a=r(177),c=r(0),h=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(c.e)(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(94).a),u=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(c.e)(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(93).a))(h),l=r(196),p=r(199),f=r(17),d=r(98),b=r(99),y=r(179),v=r(180),O=r(193),j=r(2),m=r(175),g=r(39),w=r(1);function S(e){var t=e.error;e.subscriber.error(t)}!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(n||(n={}));var P=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e,t;switch(this.kind){case"N":return Object(g.a)(this.value);case"E":return e=this.error,t?new w.a((function(r){return t.schedule(S,0,{error:e,subscriber:r})})):new w.a((function(t){return t.error(e)}));case"C":return m.a}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();function E(e,t){return void 0===t&&(t=0),function(r){return r.lift(new x(e,t))}}var N,x=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new L(e,this.scheduler,this.delay))},e}(),L=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}return Object(c.e)(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new A(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(P.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(P.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(P.createComplete()),this.unsubscribe()},t}(j.a),A=function(e,t){this.notification=e,this.destination=t},R=r(178),M=r(195),C=r(95),k=r(97),_=r(200),q=r(198),H=r(161);function U(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}function D(e){return e&&""===e.target}function T(e,t){var{url:r,anchor:n}=e;return D(n)&&!U(r,t)&&!function(e){var{hash:t,origin:r,pathname:n}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===i.origin&&n===i.pathname}(r,t)}function I(e){var{cause:t,url:{pathname:r,hash:n},oldURL:{pathname:i}}=e;return r===i&&(t===N.Pop||t===N.Push&&""!==n)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(N||(N={}));var $=r(201),V=r(204);function B(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 F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach((function(t){z(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class W{constructor(e){this.parent=e}fetchPage(e){return Object(H.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(C.a)(e=>e.text()),Object(f.a)(t=>F(F({},e),{},{responseText:t})),Object(_.a)(t=>Object(g.a)(F(F({},e),{},{error:t,responseText:null}))))}selectPrefetch(e,t,r){var{href:n}=e;return n===t.url.href?Object(g.a)(t):r.pipe(Object(V.a)(1))}getResponse(e,t,r){return Object($.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(f.a)(e=>{var[r]=e;return F(F({},r),t)}))}}var X=r(54),J=r(155),K=r(197);function G(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 Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach((function(t){Y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Z{constructor(e){this.parent=e}get scriptSelector(){return this.parent.scriptSelector}removeScriptTags(e){var t=[];return e.forEach(e=>e.querySelectorAll(this.scriptSelector).forEach(e=>{var r=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach(e=>t.setAttributeNode(e.cloneNode())),t.innerHTML=e.innerHTML,t}(e),e];t.push(r)})),t}reinsertScriptTags(e){if(!this.scriptSelector)return Promise.resolve(e);var{scripts:t}=e,r=document.write;return Object(X.a)(t).pipe(Object(J.a)(e=>this.insertScript(e)),Object(_.a)(t=>Object(g.a)(Q(Q({},e),{},{error:t}))),Object(K.a)(()=>document.write=r),Object(R.a)(e)).toPromise()}insertScript(e){var[t,r]=e;return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.innerHTML=n.join(),Array.from(e.childNodes).forEach(e=>r.parentNode.insertBefore(e,r))},new Promise((e,n)=>{""!==t.src?(t.addEventListener("load",e),t.addEventListener("error",n),r.parentNode.replaceChild(t,r)):(r.parentNode.replaceChild(t,r),e({}))})}}function ee(e,t){e.forEach(e=>{e.querySelectorAll("[href]").forEach(te("href",t)),e.querySelectorAll("[src]").forEach(te("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return r=>{try{r.setAttribute(e,r.getAttribute(e).split(/\s*,\s*/).map(e=>{var r=e.split(/\s+/);return r[0]=new URL(r[0],t).href,r.join(" ")}).join(", "))}catch(e){}}}("srcset",t)),e.querySelectorAll("blockquote[cite]").forEach(te("cite",t)),e.querySelectorAll("del[cite]").forEach(te("cite",t)),e.querySelectorAll("ins[cite]").forEach(te("cite",t)),e.querySelectorAll("q[cite]").forEach(te("cite",t)),e.querySelectorAll("img[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(te("usemap",t)),e.querySelectorAll("input[usemap]").forEach(te("usemap",t)),e.querySelectorAll("object[usemap]").forEach(te("usemap",t)),e.querySelectorAll("form[action]").forEach(te("action",t)),e.querySelectorAll("button[formaction]").forEach(te("formaction",t)),e.querySelectorAll("input[formaction]").forEach(te("formaction",t)),e.querySelectorAll("video[poster]").forEach(te("poster",t)),e.querySelectorAll("object[data]").forEach(te("data",t)),e.querySelectorAll("object[codebase]").forEach(te("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return r=>{try{r.setAttribute(e,r.getAttribute(e).split(/[\s,]+/).map(e=>new URL(e,t).href).join(", "))}catch(e){}}}("archive",t))})}function te(e,t){return r=>{try{r.setAttribute(e,new URL(r.getAttribute(e),t).href)}catch(e){}}}function re(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 ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){ie(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class oe{constructor(e){this.parent=e,this.scriptManager=new Z(e)}get el(){return this.parent.el}get replaceSelector(){return this.parent.replaceSelector}get scriptSelector(){return this.parent.scriptSelector}getReplaceElements(e){if(this.replaceSelector)return this.replaceSelector.split(",").map(t=>e.querySelector(t));if(this.el.id)return[e.getElementById(this.el.id)];var t=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[e.getElementsByTagName(this.el.tagName)[t]]}responseToContent(e){try{var{responseText:t}=e,r=(new DOMParser).parseFromString(t,"text/html"),{title:n=""}=r,i=this.getReplaceElements(r),o=this.scriptSelector?this.scriptManager.removeScriptTags(i):[];return ne(ne({},e),{},{document:r,title:n,replaceEls:i,scripts:o})}catch(e){console.error(e)}}replaceContentWithSelector(e){this.replaceSelector.split(",").map(e=>document.querySelector(e)).forEach((t,r)=>t.parentNode.replaceChild(e[r],t))}replaceContentWholesale(e){var[t]=e;this.el.innerHTML=t.innerHTML}replaceContent(e){this.replaceSelector?this.replaceContentWithSelector(e):this.replaceContentWholesale(e)}replaceHead(e){var{head:t}=this.el.ownerDocument,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var i=t.querySelector("meta[name=description]"),o=e.head.querySelector("meta[name=description]");i&&o&&(i.content=o.content)}updateDOM(e){try{var{replaceEls:t,document:r}=e;U(this.parent)&&ee(t,this.parent.href),this.replaceContent(t),this.replaceHead(r)}catch(t){throw ne(ne({},e),{},{error:t})}}reinsertScriptTags(e){return this.scriptManager.reinsertScriptTags(e)}}var se=r(40),ae=r(79),ce=e=>Array.prototype.concat.apply([],e),he=e=>({addedNodes:new Set(ce(e.map(e=>Array.from(e.addedNodes)))),removedNodes:new Set(ce(e.map(e=>Array.from(e.removedNodes))))});class ue{setupEventListeners(){var e=Object(s.a)(this.el,"click").pipe(Object(f.a)(e=>{var t=Object(H.k)(e.target,this.linkSelector);if(t instanceof HTMLAnchorElement)return[e,t]}),Object(d.a)(e=>!!e)),t=(e,t)=>e.matches(t)?Object(g.a)(e):Object(X.a)(e.querySelectorAll(t));return{hintEvent$:this.$.linkSelector.pipe(Object(C.a)(e=>{var r=new Map,n=e=>{r.has(e)||r.set(e,(e=>Object(a.a)(Object(s.a)(e,"mouseenter",{passive:!0}),Object(s.a)(e,"touchstart",{passive:!0}),Object(s.a)(e,"focus",{passive:!0})).pipe(Object(f.a)(t=>[t,e])))(e))},i=e=>{r.delete(e)};return Object(H.d)(this.el,{childList:!0,subtree:!0}).pipe(Object(y.a)({addedNodes:[this.el],removedNodes:[]}),Object(H.c)(500),Object(f.a)(he),Object(C.a)(o=>{var{addedNodes:s,removedNodes:a}=o;return Object(X.a)(a).pipe(Object(d.a)(e=>e instanceof Element),Object(se.a)(r=>t(r,e)),Object(b.a)(i)).subscribe(),Object(X.a)(s).pipe(Object(d.a)(e=>e instanceof Element),Object(se.a)(r=>t(r,e)),Object(b.a)(n)).subscribe(),Object(X.a)(r.values()).pipe(Object(ae.a)())}),Object(H.l)(this.$.prefetch))})),pushEvent$:e}}}function le(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 pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var de=e=>new Promise(t=>setTimeout(t,e));class be{constructor(e){this.parent=e}onStart(e){this.parent.animPromise=de(this.parent.duration);this.parent.fireEvent("start",{detail:pe(pe({},e),{},{transitionUntil:e=>{this.parent.animPromise=Promise.all([this.parent.animPromise,e])}})})}emitDOMError(e){var{replaceElMissing:t,url:r}=e;t?(window.history.back(),setTimeout(()=>document.location.assign(r),100)):this.parent.fireEvent("error",{detail:e})}emitNetworkError(e){this.parent.fireEvent("networkerror",{detail:e})}emitError(e){this.parent.fireEvent("error",{detail:e})}emitReady(e){this.parent.fireEvent("ready",{detail:e})}emitAfter(e){this.parent.fadePromise=de(this.parent.duration);this.parent.fireEvent("after",{detail:pe(pe({},e),{},{transitionUntil:e=>{this.parent.fadePromise=Promise.all([this.parent.fadePromise,e])}})})}emitProgress(e){this.parent.fireEvent("progress",{detail:e})}emitLoad(e){this.parent.fireEvent("load",{detail:e})}}function ye(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 ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}window.HashChangeEvent=window.HashChangeEvent||function(e){var{oldURL:t="",newURL:r=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new CustomEvent(e);return n.oldURL=t,n.newURL=r,n};class je{constructor(e){this.updateHistoryScrollPosition=()=>{if(!U(this.parent)){var e=this.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=e}updateHistoryState(e){var{cause:t,replace:r,url:n,oldURL:i}=e;if(!U(this.parent))switch(t){case N.Init:case N.Push:var{histId:o}=this.parent;if(r||n.href===location.href){var s=ve(ve({},history.state),{},{[o]:{}});history.replaceState(s,document.title,n.href)}else history.pushState({[o]:{}},document.title,n.href);case N.Pop:this.parent.simulateHashChange&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(n,i)}}updateTitle(e){var{cause:t,title:r}=e;document.title=r,U(this.parent)||t!==N.Push||history.replaceState(history.state,r)}assignScrollPosition(e){var{histId:t}=this.parent;return ve(ve({},e),{},{[t]:ve(ve({},e[t]),{},{scrollTop:Object(H.j)(),scrollHeight:Object(H.i)()})})}}class me{constructor(e){this.parent=e,"scrollRestoration"in history&&(history.scrollRestoration="manual")}manageScrollPosition(e){var{cause:t,url:{hash:r}}=e;switch(t){case N.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case N.Pop:this.restoreScrollPosition();break;case N.Init:this.restoreScrollPositionOnReload()}}elementFromHash(e){return document.getElementById(decodeURIComponent(e.substr(1)))}scrollHashIntoView(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}restoreScrollPosition(){var{histId:e}=this.parent,{scrollTop:t}=history.state&&history.state[e]||{};null!=t&&window.scroll(window.pageXOffset,t)}restoreScrollPositionOnReload(){var{histId:e}=this.parent;history.state&&history.state[e]&&0===Object(H.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame(()=>this.scrollHashIntoView(location.hash,!0))}}var ge=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},we=class extends(Object(H.b)(H.a,[ue])){constructor(){super(...arguments),this.el=this,this.linkSelector="a[href]:not([data-no-push])",this.prefetch=!1,this.duration=0,this.simulateHashChange=!1,this.baseURL=window.location.href,this._initialized=Object(H.f)(),this.$={},this.fadePromise=Promise.resolve(null),this.scrollManager=new me(this),this.historyManager=new je(this),this.fetchManager=new W(this),this.updateManager=new oe(this),this.eventManager=new be(this),this._url=new URL(this.baseURL),this.reload$=new o.a,this.cacheNr=0,this.upgrade=()=>{var{pushEvent$:e,hintEvent$:t}=this.setupEventListeners(),r={},n=e.pipe(Object(f.a)(e=>{var[t,r]=e;return{cause:N.Push,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:this.cacheNr}}),Object(d.a)(e=>function(e,t){var{url:r,anchor:n,event:{metaKey:i,ctrlKey:o}}=e;return!i&&!o&&D(n)&&!U(r,t)}(e,this)),Object(b.a)(e=>{var{event:t}=e;t.preventDefault(),this.historyManager.updateHistoryScrollPosition()})),i=Object(s.a)(window,"popstate").pipe(Object(d.a)(()=>window.history.state&&window.history.state[this.histId]),Object(f.a)(e=>({cause:N.Pop,url:new URL(window.location.href),cacheNr:this.cacheNr,event:e}))),o=this.reload$,c=Object(a.a)(n,i,o).pipe(Object(y.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(f.a)(e=>{var[t,r]=e;return Object.assign(r,{oldURL:t.url})}),Object(O.a)()),h=c.pipe(Object(d.a)(e=>!I(e)),Object(O.a)()),p=c.pipe(Object(d.a)(e=>I(e)),Object(d.a)(()=>history.state&&history.state[this.histId]),E(u),Object(b.a)(e=>{this.historyManager.updateHistoryState(e),this.scrollManager.manageScrollPosition(e)})),j=Object(l.a)(()=>Object(a.a)(h.pipe(Object(R.a)(!0)),r.response$.pipe(Object(R.a)(!1)))).pipe(Object(y.a)(!1)),m=t.pipe(Object(H.h)(j.pipe(Object(f.a)(e=>!e))),Object(f.a)(e=>{var[t,r]=e;return{cause:N.Hint,url:new URL(r.href,this.href),anchor:r,event:t,cacheNr:this.cacheNr}}),Object(d.a)(e=>T(e,this))),g=Object(a.a)(m,h).pipe(Object(M.a)((e,t)=>this.compareContext(e,t)),Object(C.a)(e=>this.fetchManager.fetchPage(e)),Object(y.a)({url:{}}),Object(O.a)()),w=r.response$=h.pipe(Object(b.a)(e=>{this.eventManager.onStart(e),this.historyManager.updateHistoryState(e),this._url=e.url}),Object(k.a)(g),Object(C.a)(e=>this.fetchManager.getResponse(g,...e)),Object(O.a)()),S=w.pipe(Object(d.a)(e=>{var{error:t}=e;return!t})),P=w.pipe(Object(d.a)(e=>{var{error:t}=e;return!!t})),x=S.pipe(Object(f.a)(e=>this.updateManager.responseToContent(e)),Object(b.a)(e=>this.eventManager.emitReady(e)),E(u),Object(b.a)(e=>{this.updateManager.updateDOM(e),this.historyManager.updateTitle(e),this.eventManager.emitAfter(e)}),Object(y.a)({cause:N.Init,url:this._url,scripts:[]}),E(u),Object(b.a)(e=>this.scrollManager.manageScrollPosition(e)),Object(b.a)({error:e=>this.eventManager.emitDOMError(e)}),Object(_.a)((e,t)=>t),Object(C.a)(e=>this.updateManager.reinsertScriptTags(e)),Object(b.a)({error:e=>this.eventManager.emitError(e)}),Object(_.a)((e,t)=>t),Object(C.a)(()=>this.fadePromise),Object(b.a)(e=>this.eventManager.emitLoad(e))),L=P.pipe(Object(b.a)(e=>this.eventManager.emitNetworkError(e))),A=h.pipe(Object(C.a)(e=>Object(l.a)(()=>this.animPromise).pipe(Object(q.a)(w),Object(R.a)(e))),Object(b.a)(e=>this.eventManager.emitProgress(e)));x.subscribe(),p.subscribe(),L.subscribe(),A.subscribe(),this._initialized.resolve(this),this.fireEvent("init")}}createRenderRoot(){return this}get initialized(){return this._initialized}_setLocation(e,t){var r=new URL(this._url.href);r[e]=t,this.assign(r.href)}get hash(){return this._url.hash}get host(){return this._url.host}get hostname(){return this._url.hostname}get href(){return this._url.href}get pathname(){return this._url.pathname}get port(){return this._url.port}get protocol(){return this._url.protocol}get search(){return this._url.search}get origin(){return this._url.origin}get ancestorOrigins(){return window.location.ancestorOrigins}set hash(e){this._setLocation("hash",e)}set host(e){this._setLocation("host",e)}set hostname(e){this._setLocation("hostname",e)}set href(e){this._setLocation("href",e)}set pathname(e){this._setLocation("pathname",e)}set port(e){this._setLocation("port",e)}set protocol(e){this._setLocation("protocol",e)}set search(e){this._setLocation("search",e)}set origin(e){}set ancestorOrigins(e){}get histId(){return this.id||this.tagName}assign(e){this.reload$.next({cause:N.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr})}reload(){this.reload$.next({cause:N.Push,url:new URL(this.href),cacheNr:++this.cacheNr,replace:!0})}replace(e){this.reload$.next({cause:N.Push,url:new URL(e,this.href),cacheNr:++this.cacheNr,replace:!0})}compareContext(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}connectedCallback(){super.connectedCallback(),this.$.linkSelector=new p.a(this.linkSelector),this.$.prefetch=new p.a(this.prefetch),window.addEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition),this.updateComplete.then(this.upgrade)}disconnectedCallback(){window.removeEventListener("beforeunload",this.historyManager.updateHistoryScrollPosition)}};
|
15
|
-
/**
|
16
|
-
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
17
|
-
*
|
18
|
-
* This program is free software: you can redistribute it and/or modify
|
19
|
-
* it under the terms of the GNU General Public License as published by
|
20
|
-
* the Free Software Foundation, either version 3 of the License, or
|
21
|
-
* (at your option) any later version.
|
22
|
-
*
|
23
|
-
* This program is distributed in the hope that it will be useful,
|
24
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26
|
-
* GNU General Public License for more details.
|
27
|
-
*
|
28
|
-
* You should have received a copy of the GNU General Public License
|
29
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
30
|
-
*
|
31
|
-
* @license
|
32
|
-
* @nocompile
|
33
|
-
*/ge([Object(i.e)({type:String,reflect:!0,attribute:"replace-selector"})],we.prototype,"replaceSelector",void 0),ge([Object(i.e)({type:String,reflect:!0,attribute:"link-selector"})],we.prototype,"linkSelector",void 0),ge([Object(i.e)({type:String,reflect:!0,attribute:"script-selector"})],we.prototype,"scriptSelector",void 0),ge([Object(i.e)({type:Boolean,reflect:!0,attribute:"prefetch"})],we.prototype,"prefetch",void 0),ge([Object(i.e)({type:Number,reflect:!0,attribute:"duration"})],we.prototype,"duration",void 0),ge([Object(i.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],we.prototype,"simulateHashChange",void 0),ge([Object(i.e)({type:String})],we.prototype,"baseURL",void 0),ge([Object(i.e)()],we.prototype,"assign",null),ge([Object(i.e)()],we.prototype,"reload",null),ge([Object(i.e)()],we.prototype,"replace",null),we=ge([Object(i.c)("hy-push-state")],we)},200:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(0),i=r(26),o=r(29),s=r(25);function a(e){return function(t){var r=new c(e),n=t.lift(r);return r.caught=n}}var c=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.selector,this.caught))},e}(),h=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}return Object(n.e)(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new o.a(this,void 0,void 0);this.add(n);var i=Object(s.a)(this,r,void 0,void 0,n);i!==n&&this.add(i)}},t}(i.a)},201:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(0),i=r(76),o=r(43),s=r(2),a=r(26),c=r(25),h=r(21);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1],n=void 0;return"function"==typeof r&&(n=e.pop()),Object(i.a)(e,void 0).lift(new l(n))}var l=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.resultSelector))},e}(),p=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var i=e.call(this,t)||this;return i.iterators=[],i.active=0,i.resultSelector=r,i.values=n,i}return Object(n.e)(t,e),t.prototype._next=function(e){var t=this.iterators;Object(o.a)(e)?t.push(new d(e)):"function"==typeof e[h.a]?t.push(new f(e[h.a]())):t.push(new b(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(s=e[n]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(i=!0),a.done)return void r.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(s.a),f=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&!!e.done},e}(),d=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[h.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),b=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return Object(n.e)(t,e),t.prototype[h.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(c.a)(this,this.observable,this,t)},t}(a.a)},202:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),i=r(26),o=r(29),s=r(25),a=r(17),c=r(54);function h(e,t){return t?function(r){return r.pipe(h((function(r,n){return Object(c.a)(e(r,n)).pipe(Object(a.a)((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project))},e}(),l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return Object(n.e)(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new o.a(this,t,r),i=this.destination;i.add(n);var a=Object(s.a)(this,e,void 0,void 0,n);a!==n&&i.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(i.a)},206:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(1),i=r(77),o=r(43);function s(e){return!Object(o.a)(e)&&e-parseFloat(e)+1>=0}var a=r(75);function c(e,t,r){void 0===e&&(e=0);var o=-1;return s(t)?o=Number(t)<1?1:Number(t):Object(a.a)(t)&&(r=t),Object(a.a)(r)||(r=i.a),new n.a((function(t){var n=s(e)?e:+e-r.now();return r.schedule(h,n,{index:0,period:o,subscriber:t})}))}function h(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}}}]);
|
@@ -1,146 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.0.0 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{176:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},187:function(e,t,n){(function(e){(function(){"use strict";var t;function n(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function r(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:n(e)}}function o(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var i="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function s(e,t){return{index:e,o:[],u:t}}function a(e,t,n,r){var o=0,i=0,a=0,d=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(a=0;a<c;a++)if(e[a]!==n[a])break e;a=c}if(t==e.length&&r==n.length){d=e.length;for(var h=n.length,u=0;u<c-a&&l(e[--d],n[--h]);)u++;d=u}if(i+=a,r-=d,0==(t-=d)-(o+=a)&&0==r-i)return[];if(o==t){for(t=s(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[s(o,t-o)];for(r=r-(a=i)+1,d=t-(c=o)+1,t=Array(r),h=0;h<r;h++)t[h]=Array(d),t[h][0]=h;for(h=0;h<d;h++)t[0][h]=h;for(h=1;h<r;h++)for(u=1;u<d;u++)if(e[c+u-1]===n[a+h-1])t[h][u]=t[h-1][u-1];else{var _=t[h-1][u]+1,p=t[h][u-1]+1;t[h][u]=_<p?_:p}for(c=t.length-1,a=t[0].length-1,r=t[c][a],e=[];0<c||0<a;)0==c?(e.push(2),a--):0==a?(e.push(3),c--):(d=t[c-1][a-1],(_=(h=t[c-1][a])<(u=t[c][a-1])?h<d?h:d:u<d?u:d)==d?(d==r?e.push(0):(e.push(1),r=d),c--,a--):_==h?(e.push(3),c--,r=h):(e.push(2),a--,r=u));for(e.reverse(),t=void 0,c=[],a=0;a<e.length;a++)switch(e[a]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=s(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=s(o,0)),t.u++,o++;break;case 3:t||(t=s(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function l(e,t){return e===t}function d(){}function c(e){return e.__shady||(e.__shady=new d),e.__shady}function h(e){return e&&e.__shady}d.prototype.toJSON=function(){return{}};var u=window.ShadyDOM||{};u.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function f(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}u.c=!!(_&&_.configurable&&_.get),u.F=u.force||!u.T,u.g=u.noPatch||!1,u.A=u.preferPerformance,u.G="on-demand"===u.g,u.L=navigator.userAgent.match("Trident");var y=Element.prototype,v=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector,g=document.createTextNode(""),S=0,N=[];function E(e){N.push(e),g.textContent=S++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw g.textContent=S++,e}})).observe(g,{characterData:!0});var b=!!document.contains;function C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function w(e){for(var t=e.length-1;0<=t;t--){var n=e[t],o=n.getAttribute("id")||n.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=r(e),o=n.next();!o.done;o=n.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==t)return o;return null},e}function T(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function O(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function P(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&x(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,E(k)),L.push(e)}function k(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}k.list=L;var F=D({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),j=D({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){return this.__shady_className=e}});function B(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}B(F),B(H),B(j);var U,q=u.c||!0===u.g,V=q?function(){}:function(e){var t=c(e);t.N||(t.N=!0,M(e,j))},G=q?function(){}:function(e){var t=c(e);t.M||(t.M=!0,M(e,F),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!u.g||M(e,H))},W="__eventWrappers"+Date.now(),K=(U=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return U.get.call(e)}:null,X=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function $(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,r=!!e.passive,o=e.i;else t=!!e,r=n=!1;return{K:o,capture:t,once:n,passive:r,J:X?e:t}}var z={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Y={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function J(e){return e instanceof Node?e.__shady_getRootNode():e}function Q(e,t){var n=[],r=e;for(e=J(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Z(e,t){if(!f)return e;e=Q(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=J(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!f(r)||-1<s)return n}function ee(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var te={focus:!0,blur:!0};function ne(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function re(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ne(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function oe(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(re(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(re(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function ie(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,d=a.capture,c=a.once,h=a.passive;if(t===a.node&&n===l&&r===d&&o===c&&i===h)return s}return-1}function se(e){return k(),this.__shady_native_dispatchEvent(e)}function ae(e,t,n){var r=$(n),o=r.capture,i=r.once,s=r.passive,a=r.K;if(r=r.J,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(Y[e])return this.__shady_native_addEventListener(e,t,r);var d=a||this;if(a=t[W]){if(-1<ie(a,d,e,o,i,s))return}else t[W]=[];a=function(r){if(i&&this.__shady_removeEventListener(e,t,n),r.__target||ce(r),d!==this){var o=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return d},configurable:!0})}if(r.__previousCurrentTarget=r.currentTarget,(!f(d)&&"slot"!==d.localName||-1!=r.composedPath().indexOf(d))&&(r.composed||-1<r.composedPath().indexOf(d)))if(ne(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===d||d instanceof Window){var s="function"===l?t.call(d,r):t.handleEvent&&t.handleEvent(r);return d!==this&&(o?(Object.defineProperty(r,"currentTarget",o),o=null):delete r.currentTarget),s}},t[W].push({node:d,type:e,capture:o,once:i,passive:s,V:a}),te[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(a)):this.__shady_native_addEventListener(e,a,r)}}}function le(e,t,n){if(t){var r=$(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Y[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[W]}catch(e){}l&&(-1<(o=ie(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[W]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&te[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var de=D({get composed(){return void 0===this.__composed&&(K?this.__composed="focusin"===this.type||"focusout"===this.type||K(this):!1!==this.isTrusted&&(this.__composed=z[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Q(this.__target,this.composed)),this.__composedPath},get target(){return Z(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Q(this.__relatedTarget,!0)),Z(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function ce(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,P(n,de),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else P(e,de)}var he=ee(Event),ue=ee(CustomEvent),_e=ee(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),fe=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=c(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ye=D({dispatchEvent:se,addEventListener:ae,removeEventListener:le}),ve=window.document,ge=u.A,Se=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ne=Se&&Se.get;function Ee(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function be(e,t,n){if(e=(e=h(e))&&e.m){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,E((function(){e.flush()})))}(e)}}var Ce=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ne&&Ne.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(b){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(f(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(p(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!p(this)&&u.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&Ee(this),this.__shady_native_textContent=e}else Ee(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==ve&&e.ownerDocument!==ve)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=h(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;be(this,e);var i=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),d=!!n||!Lt(e)||ge&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,d)}a=!0;var u=(!ge||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,s),_=n&&!e.__noInsertionPoint&&(!ge||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(_||u)&&(u&&(l=l||Le(e)),Ie(e,(function(e){if(_&&"slot"===e.localName&&i.push(e),u){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),i.length&&(Tt(n),n.f.push.apply(n.f,i instanceof Array?i:o(r(i))),Nt(n)),p(this)&&(function(e,t,n){ct(t,2);var r=c(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(d=h(this)).root?(a=!1,m(this)&&Nt(d.root)):n&&"slot"===this.localName&&(a=!1,Nt(n))),a?(n=f(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!f(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==ve)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);be(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){Ot(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var d=a[l],c=d.__shady_native_parentNode;c&&c.__shady_native_removeChild(d)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=c(e);t=c(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(c(e).nextSibling=r),r&&(c(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Nt(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Nt(n)),i||(i=f(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=c(this),n=t.w;return void 0===n&&(f(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return C(this,e)}}),we=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Et(e),(e=h(this))&&e.assignedSlot||null}});function Te(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,d=s(i=t);d&&l.push(i),a&&a(d)?i=d:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}var Oe=D({get firstElementChild(){var e=h(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=h(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return p(this)?w(Array.prototype.filter.call(O(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),xe=D({querySelector:function(e){return Te(this,(function(t){return v.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return w(t.filter((function(e){return e.__shady_getRootNode()==n})))}return w(Te(this,(function(t){return v.call(t,e)})))}}),Pe=u.A&&!u.g?R({},Oe):Oe;R(Oe,xe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ie(e,t)}var ke=window.document;function Fe(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Nt(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){Ot(t);var n=e.O,r=xt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Pt(n))}}Nt(t)}}var He=D({get previousElementSibling(){var e=h(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=h(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==ke?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),Fe(this,e))},removeAttribute:function(e){this.ownerDocument!==ke?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),Fe(this,e))}});u.A||pe.forEach((function(e){He[e]=me(e)}));var je=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!u.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,St(t,this,e),ut(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Tt(n),n.f.push.apply(n.f,e instanceof Array?e:o(r(e))),Nt(t)}t.host.__shady_native_appendChild(t)}else t=new gt(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,je);var Be=/[&\u00A0"]/g,Ue=/[&\u00A0<>]/g;function qe(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Ve(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var Ge=Ve("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),We=Ve("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Ke(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,d=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,h="<"+(l=a.localName),u=a.attributes,_=0;c=u[_];_++)h+=" "+c.name+'="'+c.value.replace(Be,qe)+'"';h+=">",a=Ge[l]?h:h+Ke(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&We[l.localName]?a:a.replace(Ue,qe);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var Xe=document.implementation.createHTMLDocument("inert"),$e=D({get innerHTML(){return p(this)?Ke("template"===this.localName?this.content:this,O):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{Ee(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Xe.namespaceURI?Xe.createElementNS(this.namespaceURI,t):Xe.createElement(t),u.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),ze=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});u.A||fe.forEach((function(e){ze[e]=me(e)}));var Ye=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&f(t)&&Et(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)ae.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.i=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)le.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.i=this,r.__shady_removeEventListener(e,t,n)}}}),Je=D({getElementById:function(e){return""===e?null:Te(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Qe=D({get activeElement(){var e=u.c?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!f(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),Ze=window.document,et=D({importNode:function(e,t){if(e.ownerDocument!==Ze||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),tt=D({dispatchEvent:se,addEventListener:ae.bind(window),removeEventListener:le.bind(window)}),nt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(nt.parentElement=Ce.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(nt.contains=Ce.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(nt.children=Oe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(nt.innerHTML=$e.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(nt.className=He.className);var rt={EventTarget:[ye],Node:[Ce,window.EventTarget?null:ye],Text:[we],Comment:[we],CDATASection:[we],ProcessingInstruction:[we],Element:[He,Oe,we,!u.c||"innerHTML"in Element.prototype?$e:null,window.HTMLSlotElement?null:Ye],HTMLElement:[ze,nt],HTMLSlotElement:[Ye],DocumentFragment:[Pe,Je],Document:[et,Pe,Je,Qe],Window:[tt]},ot=u.c?null:["innerHTML","textContent"];function it(e,t,n,r){t.forEach((function(t){return e&&t&&P(e,t,n,r)}))}function st(e){var t,n=e?null:ot;for(t in rt)it(window[t]&&window[t].prototype,rt[t],e,n)}function at(e){return e.__shady_protoIsPatched=!0,it(e,rt.EventTarget),it(e,rt.Node),it(e,rt.Element),it(e,rt.HTMLElement),it(e,rt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,it(n,rt.EventTarget),it(n,rt.Node),rt[e]&&it(n,rt[e]),t.prototype.__shady_patchedProto=n}));var lt=u.G,dt=u.c;function ct(e,t){if(lt&&!e.__shady_protoIsPatched&&!f(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(at(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}dt||(1===t?V(e):2===t&&G(e))}function ht(e,t,n,r){ct(e,1),r=r||null;var o=c(e),i=r?c(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function ut(e,t){var n=c(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,ct(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=c(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,ct(n,1)}}}var _t=D({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.i=n.i||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.i=n.i||this,this.host.__shady_removeEventListener(e,t,n)}});function pt(e,t){P(e,_t,t),P(e,Qe,t),P(e,$e,t),P(e,Oe,t),u.g&&!t?(P(e,Ce,t),P(e,Je,t)):u.c||(P(e,j),P(e,F),P(e,H))}var ft,mt={},yt=u.deferConnectionCallbacks&&"loading"===document.readyState;function vt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function gt(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,St(this,t,n)}function St(e,t,n){if(e.host=t,e.mode=n&&n.mode,ut(e.host),(t=c(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=c(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,u.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Nt(e)}function Nt(e){e.j||(e.j=!0,I((function(){return Et(e)})))}function Et(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),f(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function bt(e,t,n){var r=c(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(c(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(c(r.assignedSlot).D=!0)}function Ct(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&Ct(e,t,i)}else t.push(n[r])}function wt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&wt(e,t.assignedSlot)}function Tt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Ot(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ut(o);var i=o.__shady_parentNode;ut(i),(i=h(i)).s=(i.s||0)+1,i=xt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=Pt(e.b[s]);e.f=[]}}function xt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Pt(e){return e.sort((function(e,t){e=vt(e);for(var n=vt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=O(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return Ot(e),!(!e.a||!e.a.length)}if(gt.prototype._renderSelf=function(){var e=yt;if(yt=!0,this.j=!1,this.a){Ot(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)bt(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)bt(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),Ct(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,wt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=h(i).l,l=0;l<s.length;l++)r.push(s[l]);else r.push(i);i=T(o),s=a(r,r.length,i,i.length);for(var d=l=0,c=void 0;l<s.length&&(c=s[l]);l++){for(var _=0,p=void 0;_<c.o.length&&(p=c.o[_]);_++)p.__shady_native_parentNode===o&&o.__shady_native_removeChild(p),i.splice(c.index+d,1);d-=c.u}for(d=0,c=void 0;d<s.length&&(c=s[d]);d++)for(l=i[c.index],_=c.index;_<c.index+c.u;_++)p=r[_],o.__shady_native_insertBefore(p,l),i.splice(_,0,p)}}if(!u.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,yt=e,ft&&ft()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(gt.prototype),window.customElements&&window.customElements.define&&u.F&&!u.preferPerformance){var Dt=new Map;ft=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},yt&&document.addEventListener("readystatechange",(function(){yt=!1,ft()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){yt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){yt?this.isConnected||Dt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(f(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var kt=u.c,Ft={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function jt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Bt(e,t){for(var n in P(e,t,"__shady_native_"),t)jt(n)}function Ut(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?Ft[r]||(Ft[r]=o.value):jt(r))}}var qt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Vt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Gt=document.implementation.createHTMLDocument("inert");function Wt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Kt=["firstElementChild","lastElementChild","children","childElementCount"],Xt=["querySelector","querySelectorAll"];function $t(e){this.node=e}function zt(e){Object.defineProperty($t.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(t=$t.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},t.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},t.appendChild=function(e){return this.node.__shady_appendChild(e)},t.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},t.removeChild=function(e){return this.node.__shady_removeChild(e)},t.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},t.cloneNode=function(e){return this.node.__shady_cloneNode(e)},t.getRootNode=function(e){return this.node.__shady_getRootNode(e)},t.contains=function(e){return this.node.__shady_contains(e)},t.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},t.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},t.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},t.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},t.attachShadow=function(e){return this.node.__shady_attachShadow(e)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},t.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},t.querySelector=function(e){return this.node.__shady_querySelector(e)},t.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},t.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},i.Object.defineProperties($t.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(f(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(f(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),pe.forEach((function(e){return zt(e)})),fe.forEach((function(e){return zt(e)}));var Yt=new WeakMap;function Jt(e){if(f(e)||e instanceof $t)return e;var t=Yt.get(e);return t||(t=new $t(e),Yt.set(e,t)),t}if(u.F){var Qt=u.c?function(e){return e}:function(e){return G(e),V(e),e};window.ShadyDOM={inUse:u.F,patch:Qt,isShadyRoot:f,enqueue:I,flush:k,flushInitial:function(e){!e.H&&e.j&&Et(e)},settings:u,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=c(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(c(e.R).m=null))},deferConnectionCallbacks:u.deferConnectionCallbacks,preferPerformance:u.preferPerformance,handlesDynamicScoping:!0,wrap:u.g?Jt:Qt,wrapIfNeeded:!0===u.g?Jt:function(e){return e},Wrapper:$t,composedPath:function(e){return e.__composedPath||(e.__composedPath=Q(e.target,!0)),e.__composedPath},noPatch:u.g,patchOnDemand:u.G,nativeMethods:Ft,nativeTree:Ht,patchElementProto:at},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Ut(window.EventTarget.prototype,e):(Ut(Node.prototype,e),Ut(Window.prototype,e)),kt?Ut(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Bt(Node.prototype,{parentNode:{get:function(){return qt.currentNode=this,qt.parentNode()}},firstChild:{get:function(){return qt.currentNode=this,qt.firstChild()}},lastChild:{get:function(){return qt.currentNode=this,qt.lastChild()}},previousSibling:{get:function(){return qt.currentNode=this,qt.previousSibling()}},nextSibling:{get:function(){return qt.currentNode=this,qt.nextSibling()}},childNodes:{get:function(){var e=[];qt.currentNode=this;for(var t=qt.firstChild();t;)e.push(t),t=qt.nextSibling();return e}},parentElement:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Wt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Ut(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Ut(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastElementChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},children:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return w(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},kt?(Ut(Element.prototype,Kt),Ut(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Ut(HTMLElement.prototype,["children","innerHTML","className"])):(Bt(Element.prototype,e),Bt(Element.prototype,{previousElementSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextElementSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},innerHTML:{get:function(){return Ke(this,T)},set:function(e){var t="template"===this.localName?this.content:this;Wt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Gt.namespaceURI?Gt.createElementNS(this.namespaceURI,n):Gt.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),Ut(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Ut(Element.prototype,Xt),Ut(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Ut(window.HTMLTemplateElement.prototype,["innerHTML"]),kt?Ut(DocumentFragment.prototype,Kt):Bt(DocumentFragment.prototype,e),Ut(DocumentFragment.prototype,Xt),kt?(Ut(Document.prototype,Kt),Ut(Document.prototype,["activeElement"])):Bt(Document.prototype,e),Ut(Document.prototype,["importNode","getElementById"]),Ut(Document.prototype,Xt)}(),st("__shady_"),Object.defineProperty(document,"_activeElement",Qe.activeElement),P(Window.prototype,tt,"__shady_"),u.g?u.G&&P(Element.prototype,je):(st(),function(){if(!K&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in te)window.__shady_native_addEventListener(e,(function(e){e.__target||(ce(e),oe(e))}),!0)}(),window.Event=he,window.CustomEvent=ue,window.MouseEvent=_e,window.ShadowRoot=gt}}).call(this)}).call(this,n(176))},190:function(e,t,n){"use strict";
|
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 http://polymer.github.io/LICENSE.txt
|
19
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
20
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
21
|
-
Code distributed by Google as part of the polymer project is also
|
22
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
23
|
-
*/class r{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(_.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(m),t.atRule?0===i.indexOf(f)?t.type=c.MEDIA_RULE:i.match(_.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(_.multipleSpaces).pop()):0===i.indexOf(p)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,d=s.length;l<d&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===h){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===u&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(_.comments,"").replace(_.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(p)}function s(e){return function(e){return e.replace(_.mixinApply,"").replace(_.varApply,"")}(e=a(e))}function a(e){return e.replace(_.customProp,"").replace(_.mixinProp,"")}var l,d,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},h="{",u="}",_={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},p="--",f="@media",m="@",y=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(y||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(d=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
|
24
|
-
/**
|
25
|
-
@license
|
26
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
27
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
28
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
29
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
30
|
-
Code distributed by Google as part of the polymer project is also
|
31
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
32
|
-
*/function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
|
33
|
-
/**
|
34
|
-
@license
|
35
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
36
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
37
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
38
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
39
|
-
Code distributed by Google as part of the polymer project is also
|
40
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
41
|
-
*/function M(e,t){return e?("string"==typeof e&&(e=o(e)),t&&A(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,d=0,c=a.length;d<c&&(l=a[d]);d++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+h+"\n"),r+=o,t.selector&&(r+=u+"\n\n")),r}(e,S)):""}function D(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function R(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function A(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,d=0,h=a.length;d<h&&(l=a[d]);d++)A(l,t,n,r)}}function L(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return k(o,n,r),o}var I=null;function k(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),I)?e.compareDocumentPosition(I)===Node.DOCUMENT_POSITION_PRECEDING&&(I=e):I=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function H(e,t){y?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var j=window.ShadyDOM&&window.ShadyDOM.wrap||(e=>e);function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==d)return d;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
|
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 http://polymer.github.io/LICENSE.txt
|
46
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
47
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
48
|
-
Code distributed by Google as part of the polymer project is also
|
49
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
50
|
-
*/(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(y?"shadow"===e:"shady"===e)}var W=/:(nth[-\w]+)\(([^)]+)\)/,K=":not(.".concat("style-scope",")"),X=",",$=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,z=/[[.:#*]/,Y=":host",J=":root",Q="::slotted",Z=new RegExp("^(".concat(Q,")")),ee=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,te=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ne=/(.*):dir\((?:(ltr|rtl))\)(.*)/,re=".",oe=":",ie="class",se="should_not_match",ae=/:(?:matches|any|-(?:webkit|moz)-any)/,le="",de=new class{get SCOPE_NAME(){return"style-scope"}dom(e,t,n){this._transformDom(e,e=>{this.element(e,t||"",n)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}element(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ie);if(n){if(r)H(e,r.replace("style-scope","").replace(t,""))}else H(e,(r?r+" ":"")+"style-scope "+t)}}domReplaceScope(e,t,n){this._transformDom(e,e=>{this.element(e,t,!0),this.element(e,n)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(y||"shady"===r)o=M(t,n);else{var{is:i,typeExtension:s}=B(e);o=this.css(t,i,s,n)+"\n\n"}return o.trim()}css(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return M(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}_calcElementScope(e){return e?re+e:""}_calcHostScope(e,t){return t?"[is=".concat(e,"]"):e}rule(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}_transformRule(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}_transformRuleCss(e,t,n,r){var o=U(e.selector);if(!R(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter(e=>Boolean(e)).join(X)}_twiddleNthPlus(e){return e.replace(W,(e,t,n)=>(n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")))}_preserveMatchesPseudo(e){for(var t,n=[];t=e.match(ae);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,le),n.push(i)}return{selector:e,matches:n}}_replaceMatchesPseudo(e,t){var n=e.split(le);return t.reduce((e,t,r)=>e+t+n[r+1],n[0])}_transformComplexSelector(e,t,n){var r=!1;e=e.trim();var o=W.test(e);o&&(e=e.replace(W,(e,t,n)=>":".concat(t,"(").concat(n.replace(/\s/g,""),")")),e=this._twiddleNthPlus(e));var i,s=ae.test(e);return s&&({selector:e,matches:i}=this._preserveMatchesPseudo(e)),e=(e=e.replace(Z,"".concat(Y," $1"))).replace($,(e,o,i)=>{if(!r){var s=this._transformCompoundSelector(i,o,t,n);r=r||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e=e.replace(ne,(e,t,n,r)=>'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r))}_transformCompoundSelector(e,t,n,r){var o=e.indexOf(Q);e.indexOf(Y)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(te,(e,t)=>" > ".concat(t)))),{value:e,combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(oe);s[0]+=t,r.push(s.join(oe))}}return r.join("")}_transformHostSelector(e,t){var n=e.match(ee),r=n&&n[2].trim()||"";return r?r[0].match(z)?e.replace(ee,(function(e,n,r){return t+r})):r.split(z)[0]===t?r:se:e.replace(Y,t)}documentRule(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}normalizeRootSelector(e){e.selector===J&&(e.selector="html")}_transformDocumentSelector(e){return e.match(Y)?"":e.match(Q)?this._transformComplexSelector(e,K):this._transformSimpleSelector(e.trim(),K)}};class ce{static get(e){return e?e.__styleInfo:null}static set(e,t){return e.__styleInfo=t,t}constructor(e,t,n,r,o,i){this.styleRules=e||null,this.placeholder=t||null,this.ownStylePropertyNames=n||[],this.overrideStyleProperties=null,this.elementName=r||"",this.cssBuild=i||"",this.typeExtension=o||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}_getStyleRules(){return this.styleRules}}ce.prototype._getStyleRules=ce.prototype._getStyleRules;
|
51
|
-
/**
|
52
|
-
@license
|
53
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
54
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
55
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
56
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
57
|
-
Code distributed by Google as part of the polymer project is also
|
58
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
59
|
-
*/
|
60
|
-
var he=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},ue=/:host\s*>\s*/;var _e=navigator.userAgent.match("Trident");var pe=new class{get XSCOPE_NAME(){return"x-scope"}decorateStyles(e){var t=this,n={},r=[],o=0;A(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}decorateRule(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}collectProperties(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}collectCssText(e){return this.collectConsumingCssText(e.parsedCssText)}collectConsumingCssText(e){return e.replace(T,"").replace(N,"")}collectPropertiesInCssText(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}reify(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}valueForProperty(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}valueForProperties(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}applyProperties(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}applyKeyframeTransforms(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}propertyDataFromStyles(e,t){var n={},r=[];return A(e,e=>{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&he.call(t,o)&&(this.collectProperties(e,n),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,r))},null,!0),{properties:n,key:r}}whenHostOrRootRule(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var{is:o,typeExtension:i}=B(e),s=o?de._calcHostScope(o,i):"html",a=t.parsedSelector,l=function(e,t){return Boolean(t.match(ue))||"html"===e&&t.indexOf("html")>-1}(s,a),d=0===a.indexOf(":host")&&!l;if("shady"===n&&(d=!(l=a===s+" > *."+s||-1!==a.indexOf("html"))&&0===a.indexOf(s)),l||d){var c=s;d&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(o),s)),c=t.transformedSelector||s),l&&"html"===s&&(c=t.transformedSelector||t.parsedSelector),r({selector:c,isHost:d,isRoot:l})}}}hostAndRootPropertiesForScope(e,t,n){var r={},o={};return A(t,t=>{this.whenHostOrRootRule(e,t,n,n=>{var i=e._element||e;he.call(i,n.selector)&&(n.isHost?this.collectProperties(t,r):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:r}}transformStyles(e,t,n){var r=this,{is:o,typeExtension:i}=B(e),s=de._calcHostScope(o,i),a=e.extends?"\\"+s.slice(0,-1)+"\\]":s,l=new RegExp("(?:^|[^.#[:])"+a+"($|[.:[\\s>+~])"),{styleRules:d,cssBuild:c}=ce.get(e),h=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),y||R(e)||!e.cssText||(r.applyKeyframeTransforms(e,h),r._scopeSelector(e,l,s,n))}),c)}_elementKeyframeTransforms(e,t,n){var r=t._keyframes,o={};if(!y&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}_keyframesRuleTransformer(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}_scopeKeyframes(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}_scopeSelector(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}applyElementScopeSelector(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&H(e,o)}applyElementStyle(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=ce.get(e),s=i.customStyle;return s&&!y&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),y?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=L(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(_e&&o.indexOf("@media")>-1&&(r.textContent=o),k(r,null,i.placeholder)):o&&(r=L(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}applyCustomStyle(e,t){var n=D(e),r=this;e.textContent=M(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},fe={};
|
61
|
-
/**
|
62
|
-
@license
|
63
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
64
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
65
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
66
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
67
|
-
Code distributed by Google as part of the polymer project is also
|
68
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
69
|
-
*/function me(e){return fe[e]||null}function ye(e){var t,n,r,o;fe[e]||(fe[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=I?I.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),I=n,n))}var ve=window.customElements;if(ve&&!y&&!g){var ge=ve.define;ve.define=(e,t,n)=>{ye(e),ge.call(ve,e,t,n)}}
|
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 http://polymer.github.io/LICENSE.txt
|
74
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
75
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
76
|
-
Code distributed by Google as part of the polymer project is also
|
77
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
78
|
-
*/
|
79
|
-
/**
|
80
|
-
@license
|
81
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
82
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
83
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
84
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
85
|
-
Code distributed by Google as part of the polymer project is also
|
86
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
87
|
-
*/
|
88
|
-
var Se=function(){};var Ne=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function Ee(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Ne);return t?t[1]:""}function be(e){var t=j(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function Ce(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=be(r);o&&de.element(r,o)}}function we(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=Ee(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=be(o);a!==s&&de.domReplaceScope(o,s,a),Ce(o)}}}}var l}if(!(y||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Te=new MutationObserver(we),Oe=e=>{Te.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Oe(document);else{var xe=()=>{Oe(document.body)};window.HTMLImports?window.HTMLImports.whenReady(xe):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){xe(),document.removeEventListener("readystatechange",e)}))}else xe()}))}Se=function(){we(Te.takeRecords())}}
|
89
|
-
/**
|
90
|
-
@license
|
91
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
92
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
93
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
94
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
95
|
-
Code distributed by Google as part of the polymer project is also
|
96
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
97
|
-
*/var Pe={},Me="_applyShimCurrentVersion",De="_applyShimNextVersion",Re=Promise.resolve();function Ae(e){var t=Pe[e];t&&function(e){e[Me]=e[Me]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[De]=(e[De]||0)+1}(t)}function Le(e){return e[Me]===e[De]}function Ie(e){return!Le(e)&&e._applyShimValidatingVersion===e[De]}function ke(e){e._applyShimValidatingVersion=e[De],e._validating||(e._validating=!0,Re.then((function(){e[Me]=e[De],e._validating=!1})))}
|
98
|
-
/**
|
99
|
-
@license
|
100
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
101
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
102
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
103
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
104
|
-
Code distributed by Google as part of the polymer project is also
|
105
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
106
|
-
*/
|
107
|
-
var Fe,He=null,je=window.HTMLImports&&window.HTMLImports.whenReady||null;function Be(e){requestAnimationFrame((function(){je?je(e):(He||(He=new Promise(e=>{Fe=e}),"complete"===document.readyState?Fe():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Fe()})),He.then((function(){e&&e()})))}))}
|
108
|
-
/**
|
109
|
-
@license
|
110
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
111
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
112
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
113
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
114
|
-
Code distributed by Google as part of the polymer project is also
|
115
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
116
|
-
*/var Ue="__shadyCSSCachedStyle",qe=null,Ve=null;class Ge{constructor(){this.customStyles=[],this.enqueued=!1,Be(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&Ve&&(this.enqueued=!0,Be(Ve))}addCustomStyle(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Ue]?e[Ue]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ue]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;qe&&qe(o),n[Ue]=o}}}return e}}Ge.prototype.addCustomStyle=Ge.prototype.addCustomStyle,Ge.prototype.getStyleForCustomStyle=Ge.prototype.getStyleForCustomStyle,Ge.prototype.processStyles=Ge.prototype.processStyles,Object.defineProperties(Ge.prototype,{transformCallback:{get:()=>qe,set(e){qe=e}},validateCallback:{get:()=>Ve,set(e){var t=!1;Ve||(t=!0),Ve=e,t&&this.enqueueDocumentValidation()}}});
|
117
|
-
/**
|
118
|
-
@license
|
119
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
120
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
121
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
122
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
123
|
-
Code distributed by Google as part of the polymer project is also
|
124
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
125
|
-
*/
|
126
|
-
var We={},Ke=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}store(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}};class Xe{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new r;e.rules=[],this._documentOwnerStyleInfo=ce.set(this._documentOwner,new ce(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){Se()}_generateScopeSelector(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}getStyleAst(e){return D(e)}styleAstToString(e){return M(e)}_gatherStyles(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?y||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}prepareTemplate(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}prepareTemplateStyles(e,t,n){if(!e._prepared&&!g){y||ye(t),e._prepared=!0,e.name=t,e.extends=n,Pe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(We[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),d=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(d,t),e._styleAst=d}var c=[];if(S||(c=pe.decorateStyles(e._styleAst)),!c.length||S){var h=y?e.content:null,u=me(t),_=this._generateStaticStyle(s,e._styleAst,h,u,r,i?a:"");e._style=_}e._ownPropertyNames=c}}prepareAdoptedCssText(e,t){We[t]=e.join(" ")}prepareTemplateDom(e,t){if(!g){var n=q(e);y||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}_generateStaticStyle(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?L(i,e.is,n,r):null}_prepareHost(e){var{is:t,typeExtension:n}=B(e),r=me(t),o=Pe[t];if(o){var i=o._styleAst,s=o._ownPropertyNames,a=q(o),l=new ce(i,r,s,t,n,a);return ce.set(e,l),l}}_ensureApplyShim(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim)&&(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ae,!0)}_ensureCustomStyleInterface(){this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=e=>{this.transformCustomStyleForDocument(e)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})})}_ensure(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}flushCustomStyles(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}_reorderCustomStylesRules(e){var t=e.map(e=>this._customStyleInterface.getStyleForCustomStyle(e)).filter(e=>!!e);t.sort((e,t)=>{var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),this._documentOwnerStyleInfo.styleRules.rules=t.map(e=>D(e))}styleElement(e,t){if(g){if(t){ce.get(e)||ce.set(e,new ce(null));var n=ce.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=ce.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var{is:n}=B(e);t.overrideStyleProperties&&
|
127
|
-
/**
|
128
|
-
@license
|
129
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
130
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
131
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
132
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
133
|
-
Code distributed by Google as part of the polymer project is also
|
134
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
135
|
-
*/
|
136
|
-
function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Pe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!Le(r)){if(Ie(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),ke(r)),y){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}_styleOwnerForNode(e){var t=j(e).getRootNode().host;return t?ce.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var n=B(e).is,r=Ke.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=pe.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return y||pe.applyElementScopeSelector(e,t.scopeSelector,s),r||Ke.store(n,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var n=this._styleOwnerForNode(e),r=ce.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=pe.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=pe.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),pe.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var n=j(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter(e=>j(e).shadowRoot),a=0;a<s.length;a++)this.styleSubtree(s[a])}_revalidateCustomStyleApplyShim(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}_applyCustomStyles(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&pe.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}transformCustomStyleForDocument(e){var t=q(e);if(t!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=t),!G(t)){var n=D(e);A(n,e=>{y?de.normalizeRootSelector(e):de.documentRule(e),S&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),S?e.textContent=M(n):this._documentOwnerStyleInfo.styleRules.rules.push(n)}}_revalidateApplyShim(e){if(S&&this._applyShim){var t=D(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=M(t)}}getComputedStyleValue(e,t){var n;S||(n=(ce.get(e)||ce.get(this._styleOwnerForNode(e))).styleProperties[t]);return(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}setElementClass(e,t){var n,r=j(e).getRootNode();t?n=("string"==typeof t?t:String(t)).split(/\s/):n=[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=ce.get(e);l&&l.scopeSelector&&n.push(pe.XSCOPE_NAME,l.scopeSelector)}H(e,n.join(" "))}_styleInfoForNode(e){return ce.get(e)}scopeNode(e,t){de.element(e,t)}unscopeNode(e,t){de.element(e,t,!0)}scopeForNode(e){return be(e)}currentScopeForNode(e){return Ee(e)}}Xe.prototype.flush=Xe.prototype.flush,Xe.prototype.prepareTemplate=Xe.prototype.prepareTemplate,Xe.prototype.styleElement=Xe.prototype.styleElement,Xe.prototype.styleDocument=Xe.prototype.styleDocument,Xe.prototype.styleSubtree=Xe.prototype.styleSubtree,Xe.prototype.getComputedStyleValue=Xe.prototype.getComputedStyleValue,Xe.prototype.setElementClass=Xe.prototype.setElementClass,Xe.prototype._styleInfoForNode=Xe.prototype._styleInfoForNode,Xe.prototype.transformCustomStyleForDocument=Xe.prototype.transformCustomStyleForDocument,Xe.prototype.getStyleAst=Xe.prototype.getStyleAst,Xe.prototype.styleAstToString=Xe.prototype.styleAstToString,Xe.prototype.flushCustomStyles=Xe.prototype.flushCustomStyles,Xe.prototype.scopeNode=Xe.prototype.scopeNode,Xe.prototype.unscopeNode=Xe.prototype.unscopeNode,Xe.prototype.scopeForNode=Xe.prototype.scopeForNode,Xe.prototype.currentScopeForNode=Xe.prototype.currentScopeForNode,Xe.prototype.prepareAdoptedCssText=Xe.prototype.prepareAdoptedCssText,Object.defineProperties(Xe.prototype,{nativeShadow:{get:()=>y},nativeCss:{get:()=>S}});
|
137
|
-
/**
|
138
|
-
@license
|
139
|
-
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
140
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
141
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
142
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
143
|
-
Code distributed by Google as part of the polymer project is also
|
144
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
145
|
-
*/
|
146
|
-
var $e,ze,Ye=new Xe;window.ShadyCSS&&($e=window.ShadyCSS.ApplyShim,ze=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ye,prepareTemplate(e,t,n){Ye.flushCustomStyles(),Ye.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){Ye.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,n){Ye.flushCustomStyles(),Ye.prepareTemplateStyles(e,t,n)},styleSubtree(e,t){Ye.flushCustomStyles(),Ye.styleSubtree(e,t)},styleElement(e){Ye.flushCustomStyles(),Ye.styleElement(e)},styleDocument(e){Ye.flushCustomStyles(),Ye.styleDocument(e)},flushCustomStyles(){Ye.flushCustomStyles()},getComputedStyleValue:(e,t)=>Ye.getComputedStyleValue(e,t),nativeCss:S,nativeShadow:y,cssBuild:d,disableRuntime:g},$e&&(window.ShadyCSS.ApplyShim=$e),ze&&(window.ShadyCSS.CustomStyleInterface=ze)}}]);
|
data/assets/manifest.json
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# https://developer.mozilla.org/en-US/docs/Web/Manifest
|
3
|
-
---
|
4
|
-
{
|
5
|
-
{% if site.lang %}"lang": "{{ site.lang }}",{% endif %}
|
6
|
-
"name": "{{ site.title }}",
|
7
|
-
"short_name": "{{ site.short_title | default:site.title }}",
|
8
|
-
"description": "{{ site.description | markdownify | strip_html | strip_newlines }}",
|
9
|
-
"start_url": "{{ '/' | relative_url }}?utm_source=homescreen",
|
10
|
-
"theme_color": "{{ site.theme_color | default:site.accent_color | default:'#4fb1ba' }}",
|
11
|
-
"background_color": "{{ site.background_color | default:'#fff' }}",
|
12
|
-
"orientation": "portrait",
|
13
|
-
"display": "standalone",
|
14
|
-
"icons": [
|
15
|
-
{
|
16
|
-
"src": "{{ 'assets/icons/icon@0,25x.png' | relative_url }}",
|
17
|
-
"type": "image/png",
|
18
|
-
"sizes": "48x48"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"src": "{{ 'assets/icons/icon@0,5x.png' | relative_url }}",
|
22
|
-
"type": "image/png",
|
23
|
-
"sizes": "96x96"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"src": "{{ 'assets/icons/icon@0,75x.png' | relative_url }}",
|
27
|
-
"type": "image/png",
|
28
|
-
"sizes": "144x144"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"src": "{{ 'assets/icons/icon.png' | relative_url }}",
|
32
|
-
"type": "image/png",
|
33
|
-
"sizes": "192x192"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"src": "{{ 'assets/icons/icon@2x.png' | relative_url }}",
|
37
|
-
"type": "image/png",
|
38
|
-
"sizes": "384x384"
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"src": "{{ 'assets/icons/icon@3x.png' | relative_url }}",
|
42
|
-
"type": "image/png",
|
43
|
-
"sizes": "576x576"
|
44
|
-
}
|
45
|
-
]
|
46
|
-
}
|