From 3b683695fc1d467babd992f42ac5cf5182632c04 Mon Sep 17 00:00:00 2001 From: Gordon Date: Wed, 21 Jun 2023 21:08:07 +0200 Subject: [PATCH] first commit --- .gitignore | 1 + index.html | 0 mobile/index.html | 74 + mobile/js/jquery-3.4.1.min.js | 2 + mobile/js/main.js | 57 + mobile/js/socket.io.js | 9 + mobile/onsenui/CHANGELOG.md | 1466 + mobile/onsenui/LICENSE | 202 + mobile/onsenui/README.md | 110 + mobile/onsenui/bower.json | 26 + mobile/onsenui/css-components-src/README.md | 33 + mobile/onsenui/css-components-src/gulpfile.js | 276 + .../css-components-src/misc/screenshot-01.png | Bin 0 -> 260246 bytes .../css-components-src/misc/screenshot-02.png | Bin 0 -> 349060 bytes .../onsenui/css-components-src/package.json | 48 + .../onsenui/css-components-src/patterns.yaml | 376 + .../css-components-src/previewer-src/app.js | 64 + .../previewer-src/components/app-page.js | 190 + .../previewer-src/components/category-page.js | 36 + .../components/component-page.js | 32 + .../components/components-page.js | 68 + .../previewer-src/components/notfound-page.js | 9 + .../previewer-src/components/pattern-page.js | 33 + .../previewer-src/components/patterns-page.js | 49 + .../components/platform-select.js | 25 + .../components/preview-component.js | 30 + .../previewer-src/components/theme-select.js | 48 + .../previewer-src/index.html.eco | 32 + .../previewer-src/select-icon.svg | 13 + .../previewer-src/style.css | 313 + .../css-components-src/previewer-src/util.js | 31 + .../src/components/action-sheet.css | 229 + .../src/components/alert-dialog.css | 328 + .../src/components/button-bar.css | 115 + .../src/components/button.css | 436 + .../src/components/card.css | 102 + .../src/components/checkbox.css | 331 + .../src/components/combination.css | 86 + .../src/components/dialog.css | 79 + .../css-components-src/src/components/fab.css | 256 + .../src/components/global.css | 83 + .../src/components/index.css | 32 + .../src/components/list.css | 1044 + .../src/components/modal.css | 41 + .../src/components/notification.css | 68 + .../src/components/page.css | 105 + .../src/components/popover.css | 197 + .../src/components/progress-bar.css | 150 + .../src/components/progress-circular.css | 135 + .../src/components/radio-button.css | 246 + .../src/components/range.css | 245 + .../src/components/search-input.css | 96 + .../src/components/segment.css | 176 + .../src/components/select.css | 203 + .../src/components/switch.css | 224 + .../src/components/tabbar.css | 523 + .../src/components/text-input.css | 189 + .../src/components/textarea.css | 79 + .../src/components/toast.css | 88 + .../src/components/toolbar-button.css | 170 + .../src/components/toolbar.css | 385 + .../src/components/util.css | 160 + .../src/dark-onsen-css-components.css | 5 + .../css-components-src/src/dark-theme.css | 147 + .../src/img/android-search-input-icon.svg | 20 + .../src/img/ios-search-input-icon.svg | 14 + .../src/img/select-arrow.svg | 16 + .../src/iphonex-support/action-sheet.css | 14 + .../src/iphonex-support/combination.css | 318 + .../src/iphonex-support/fab.css | 36 + .../src/iphonex-support/global.css | 11 + .../src/iphonex-support/index.css | 30 + .../src/iphonex-support/page.css | 12 + .../src/iphonex-support/tabbar.css | 7 + .../src/iphonex-support/toast.css | 13 + .../src/iphonex-support/toolbar.css | 14 + .../css-components-src/src/license.css | 32 + .../src/old-onsen-css-components.css | 5 + .../css-components-src/src/old-theme.css | 150 + .../src/onsen-css-components.css | 5 + .../onsenui/css-components-src/src/theme.css | 147 + .../css-components-src/stylelint.config.js | 210 + mobile/onsenui/css-components-src/yarn.lock | 6746 ++++ .../onsenui/css/dark-onsen-css-components.css | 7395 ++++ .../css/dark-onsen-css-components.min.css | 31 + mobile/onsenui/css/font_awesome/css/all.css | 4329 +++ .../onsenui/css/font_awesome/css/all.min.css | 5 + .../onsenui/css/font_awesome/css/brands.css | 14 + .../css/font_awesome/css/brands.min.css | 5 + .../css/font_awesome/css/fontawesome.css | 4296 +++ .../css/font_awesome/css/fontawesome.min.css | 5 + .../onsenui/css/font_awesome/css/regular.css | 15 + .../css/font_awesome/css/regular.min.css | 5 + mobile/onsenui/css/font_awesome/css/solid.css | 16 + .../css/font_awesome/css/solid.min.css | 5 + .../css/font_awesome/css/svg-with-js.css | 346 + .../css/font_awesome/css/svg-with-js.min.css | 5 + .../onsenui/css/font_awesome/css/v4-shims.css | 2166 ++ .../css/font_awesome/css/v4-shims.min.css | 5 + .../font_awesome/webfonts/fa-brands-400.eot | Bin 0 -> 129916 bytes .../font_awesome/webfonts/fa-brands-400.svg | 3459 ++ .../font_awesome/webfonts/fa-brands-400.ttf | Bin 0 -> 129612 bytes .../font_awesome/webfonts/fa-brands-400.woff | Bin 0 -> 87688 bytes .../font_awesome/webfonts/fa-brands-400.woff2 | Bin 0 -> 74768 bytes .../font_awesome/webfonts/fa-regular-400.eot | Bin 0 -> 34388 bytes .../font_awesome/webfonts/fa-regular-400.svg | 803 + .../font_awesome/webfonts/fa-regular-400.ttf | Bin 0 -> 34092 bytes .../font_awesome/webfonts/fa-regular-400.woff | Bin 0 -> 16804 bytes .../webfonts/fa-regular-400.woff2 | Bin 0 -> 13552 bytes .../font_awesome/webfonts/fa-solid-900.eot | Bin 0 -> 186728 bytes .../font_awesome/webfonts/fa-solid-900.svg | 4527 +++ .../font_awesome/webfonts/fa-solid-900.ttf | Bin 0 -> 186444 bytes .../font_awesome/webfonts/fa-solid-900.woff | Bin 0 -> 96256 bytes .../font_awesome/webfonts/fa-solid-900.woff2 | Bin 0 -> 74256 bytes .../css/ionicons/css/ionicons-core.css | 2795 ++ .../css/ionicons/css/ionicons-core.min.css | 11 + mobile/onsenui/css/ionicons/css/ionicons.css | 3513 ++ .../onsenui/css/ionicons/css/ionicons.min.css | 11 + .../onsenui/css/ionicons/fonts/ionicons.eot | Bin 0 -> 112662 bytes .../onsenui/css/ionicons/fonts/ionicons.svg | 2090 + .../onsenui/css/ionicons/fonts/ionicons.ttf | Bin 0 -> 112484 bytes .../onsenui/css/ionicons/fonts/ionicons.woff | Bin 0 -> 65916 bytes .../onsenui/css/ionicons/fonts/ionicons.woff2 | Bin 0 -> 50556 bytes .../css/material-design-iconic-font.css | 5166 +++ .../css/material-design-iconic-font.min.css | 1 + .../fonts/Material-Design-Iconic-Font.eot | Bin 0 -> 42495 bytes .../fonts/Material-Design-Iconic-Font.svg | 787 + .../fonts/Material-Design-Iconic-Font.ttf | Bin 0 -> 99212 bytes .../fonts/Material-Design-Iconic-Font.woff | Bin 0 -> 50312 bytes .../fonts/Material-Design-Iconic-Font.woff2 | Bin 0 -> 38384 bytes .../onsenui/css/old-onsen-css-components.css | 7395 ++++ .../css/old-onsen-css-components.min.css | 31 + mobile/onsenui/css/onsen-css-components.css | 7395 ++++ .../onsenui/css/onsen-css-components.min.css | 31 + mobile/onsenui/css/onsenui-core.css | 733 + mobile/onsenui/css/onsenui-core.min.css | 1 + mobile/onsenui/css/onsenui-fonts.css | 4 + mobile/onsenui/css/onsenui.css | 738 + mobile/onsenui/css/onsenui.min.css | 1 + mobile/onsenui/dark-onsen-css-components.css | 7395 ++++ .../onsenui/dark-onsen-css-components.min.css | 31 + .../onsenui/esm/elements/base/base-button.js | 137 + .../esm/elements/base/base-checkbox.js | 90 + .../onsenui/esm/elements/base/base-dialog.js | 269 + .../onsenui/esm/elements/base/base-element.js | 45 + .../onsenui/esm/elements/base/base-input.js | 208 + .../esm/elements/ons-action-sheet-button.js | 115 + .../esm/elements/ons-action-sheet/animator.js | 203 + .../esm/elements/ons-action-sheet/index.js | 421 + .../esm/elements/ons-alert-dialog-button.js | 108 + .../esm/elements/ons-alert-dialog/animator.js | 182 + .../esm/elements/ons-alert-dialog/index.js | 433 + .../onsenui/esm/elements/ons-back-button.js | 245 + .../esm/elements/ons-bottom-toolbar.js | 98 + mobile/onsenui/esm/elements/ons-button.js | 133 + mobile/onsenui/esm/elements/ons-card.js | 126 + .../onsenui/esm/elements/ons-carousel-item.js | 87 + mobile/onsenui/esm/elements/ons-carousel.js | 726 + mobile/onsenui/esm/elements/ons-checkbox.js | 134 + mobile/onsenui/esm/elements/ons-col.js | 114 + .../esm/elements/ons-dialog/animator.js | 249 + .../onsenui/esm/elements/ons-dialog/index.js | 377 + mobile/onsenui/esm/elements/ons-fab.js | 311 + .../esm/elements/ons-gesture-detector.js | 78 + mobile/onsenui/esm/elements/ons-icon.js | 268 + mobile/onsenui/esm/elements/ons-if.js | 146 + mobile/onsenui/esm/elements/ons-input.js | 249 + .../onsenui/esm/elements/ons-lazy-repeat.js | 209 + .../onsenui/esm/elements/ons-list-header.js | 110 + .../esm/elements/ons-list-item/animator.js | 115 + .../esm/elements/ons-list-item/index.js | 483 + mobile/onsenui/esm/elements/ons-list-title.js | 93 + mobile/onsenui/esm/elements/ons-list.js | 116 + .../esm/elements/ons-modal/animator.js | 75 + .../esm/elements/ons-modal/fade-animator.js | 85 + .../onsenui/esm/elements/ons-modal/index.js | 346 + .../esm/elements/ons-modal/lift-animator.js | 84 + .../esm/elements/ons-navigator/animator.js | 71 + .../esm/elements/ons-navigator/index.js | 1277 + .../ons-navigator/ios-fade-animator.js | 92 + .../ons-navigator/ios-lift-animator.js | 105 + .../ons-navigator/ios-slide-animator.js | 243 + .../ons-navigator/ios-swipe-animator.js | 388 + .../ons-navigator/md-fade-animator.js | 95 + .../ons-navigator/md-lift-animator.js | 111 + .../ons-navigator/md-slide-animator.js | 110 + .../elements/ons-navigator/none-animator.js | 49 + mobile/onsenui/esm/elements/ons-page.js | 529 + .../esm/elements/ons-popover/animator.js | 184 + .../onsenui/esm/elements/ons-popover/index.js | 596 + .../onsenui/esm/elements/ons-progress-bar.js | 259 + .../esm/elements/ons-progress-circular.js | 270 + mobile/onsenui/esm/elements/ons-pull-hook.js | 543 + mobile/onsenui/esm/elements/ons-radio.js | 131 + mobile/onsenui/esm/elements/ons-range.js | 269 + .../esm/elements/ons-ripple/animator-css.js | 244 + .../esm/elements/ons-ripple/animator-js.js | 222 + .../onsenui/esm/elements/ons-ripple/index.js | 413 + mobile/onsenui/esm/elements/ons-row.js | 72 + .../onsenui/esm/elements/ons-search-input.js | 121 + mobile/onsenui/esm/elements/ons-segment.js | 344 + mobile/onsenui/esm/elements/ons-select.js | 287 + .../esm/elements/ons-speed-dial-item.js | 153 + mobile/onsenui/esm/elements/ons-speed-dial.js | 551 + .../esm/elements/ons-splitter-content.js | 262 + .../onsenui/esm/elements/ons-splitter-mask.js | 88 + .../onsenui/esm/elements/ons-splitter-side.js | 816 + .../esm/elements/ons-splitter/animator.js | 136 + .../esm/elements/ons-splitter/index.js | 290 + .../elements/ons-splitter/overlay-animator.js | 94 + .../elements/ons-splitter/push-animator.js | 110 + .../elements/ons-splitter/reveal-animator.js | 195 + mobile/onsenui/esm/elements/ons-switch.js | 351 + mobile/onsenui/esm/elements/ons-tab.js | 440 + .../onsenui/esm/elements/ons-tabbar/index.js | 725 + mobile/onsenui/esm/elements/ons-template.js | 105 + .../esm/elements/ons-toast/animator.js | 75 + .../esm/elements/ons-toast/ascend-animator.js | 111 + .../esm/elements/ons-toast/fade-animator.js | 85 + .../esm/elements/ons-toast/fall-animator.js | 114 + .../onsenui/esm/elements/ons-toast/index.js | 286 + .../esm/elements/ons-toast/lift-animator.js | 104 + .../esm/elements/ons-toolbar-button.js | 133 + mobile/onsenui/esm/elements/ons-toolbar.js | 315 + mobile/onsenui/esm/index.js | 4733 +++ mobile/onsenui/esm/ons/action-sheet.js | 107 + .../esm/ons/animation-options-parser.js | 186 + mobile/onsenui/esm/ons/animit.js | 609 + mobile/onsenui/esm/ons/autostyle.js | 150 + mobile/onsenui/esm/ons/base-animator.js | 65 + mobile/onsenui/esm/ons/content-ready.js | 75 + mobile/onsenui/esm/ons/doorlock.js | 121 + mobile/onsenui/esm/ons/elements.js | 1 + mobile/onsenui/esm/ons/gesture-detector.js | 2050 + mobile/onsenui/esm/ons/index.js | 566 + .../esm/ons/internal/animator-factory.js | 135 + .../internal/device-back-button-dispatcher.js | 342 + mobile/onsenui/esm/ons/internal/index.js | 26 + mobile/onsenui/esm/ons/internal/internal.js | 199 + .../onsenui/esm/ons/internal/lazy-repeat.js | 575 + .../onsenui/esm/ons/internal/modifier-util.js | 205 + .../onsenui/esm/ons/internal/swipe-reveal.js | 129 + mobile/onsenui/esm/ons/internal/swiper.js | 544 + .../onsenui/esm/ons/internal/toast-queue.js | 53 + mobile/onsenui/esm/ons/iphonex-patch.js | 98 + mobile/onsenui/esm/ons/microevent.js | 73 + mobile/onsenui/esm/ons/modifier.js | 112 + mobile/onsenui/esm/ons/notification.js | 502 + mobile/onsenui/esm/ons/orientation.js | 190 + .../esm/ons/page-attribute-expression.js | 186 + mobile/onsenui/esm/ons/page-loader.js | 122 + mobile/onsenui/esm/ons/platform.js | 579 + mobile/onsenui/esm/ons/software-keyboard.js | 68 + mobile/onsenui/esm/ons/styler.js | 88 + mobile/onsenui/esm/ons/util.js | 651 + .../MutationObserver.js | 316 + mobile/onsenui/esm/polyfills/index.js | 23 + .../esm/polyfills/polyfill-switches.js | 5 + .../setImmediate@1.0.2+mod/setImmediate.js | 193 + mobile/onsenui/esm/vendor/index.js | 1 + mobile/onsenui/esm/vendor/viewport.js | 31 + mobile/onsenui/js/angular-onsenui.js | 6005 +++ mobile/onsenui/js/angular-onsenui.min.js | 4 + mobile/onsenui/js/onsenui.d.ts | 1293 + mobile/onsenui/js/onsenui.js | 31903 ++++++++++++++++ mobile/onsenui/js/onsenui.min.js | 2 + mobile/onsenui/old-onsen-css-components.css | 7395 ++++ .../onsenui/old-onsen-css-components.min.css | 31 + mobile/onsenui/onsen-css-components.css | 7395 ++++ mobile/onsenui/onsen-css-components.min.css | 31 + mobile/onsenui/package.json | 136 + package-lock.json | 333 + presentation/LICENSE | 21 + presentation/demos/classes.html | 1943 + presentation/demos/components.html | 3148 ++ presentation/demos/index.html | 265 + presentation/demos/interviews.html | 358 + presentation/demos/keynote.html | 858 + presentation/demos/landings.html | 1933 + presentation/demos/longforms.html | 415 + presentation/demos/media.html | 947 + presentation/demos/netflix-culture.html | 388 + presentation/demos/portfolios.html | 1874 + presentation/demos/why-webslides.html | 351 + presentation/index.html | 218 + presentation/static/css/main.css | 51 + presentation/static/css/svg-icons.css | 2350 ++ presentation/static/css/webslides.css | 3791 ++ presentation/static/images/android.png | Bin 0 -> 73712 bytes presentation/static/images/avatar.jpg | Bin 0 -> 3063 bytes presentation/static/images/bt-appstore.png | Bin 0 -> 1382 bytes presentation/static/images/bt-playstore.png | Bin 0 -> 1965 bytes presentation/static/images/davinci.png | Bin 0 -> 84082 bytes .../static/images/favicons/favicon-120.png | Bin 0 -> 425 bytes .../static/images/favicons/favicon-152.png | Bin 0 -> 527 bytes .../static/images/favicons/favicon-180.png | Bin 0 -> 618 bytes .../static/images/favicons/favicon-192.png | Bin 0 -> 656 bytes .../static/images/favicons/favicon-32.png | Bin 0 -> 220 bytes .../static/images/favicons/favicon-76.png | Bin 0 -> 335 bytes .../static/images/favicons/favicon.png | Bin 0 -> 153 bytes presentation/static/images/iphone-hand.png | Bin 0 -> 55644 bytes presentation/static/images/iphone.png | Bin 0 -> 58563 bytes presentation/static/images/logos/airbnb.svg | 89 + presentation/static/images/logos/apple.svg | 68 + presentation/static/images/logos/facebook.svg | 46 + presentation/static/images/logos/google.svg | 102 + .../static/images/logos/instagram.svg | 82 + presentation/static/images/logos/logo.svg | 31 + .../static/images/logos/microsoft.svg | 52 + presentation/static/images/logos/netflix.svg | 42 + presentation/static/images/logos/nyt.svg | 88 + presentation/static/images/logos/thetimes.svg | 143 + presentation/static/images/setup.png | Bin 0 -> 9522 bytes .../static/images/share-webslides.jpg | Bin 0 -> 4442 bytes presentation/static/images/swipe.svg | 45 + presentation/static/js/jquery-3.4.1.min.js | 2 + presentation/static/js/main.js | 172 + presentation/static/js/socket.io.js | 9 + presentation/static/js/socketlogic.js | 58 + presentation/static/js/svg-icons.js | 12 + presentation/static/js/ui.js | 88 + presentation/static/js/webslides.js | 3109 ++ presentation/static/js/webslides.min.js | 9 + server/gameshow.json | 298 + server/index.js | 81 + server/package-lock.json | 332 + server/package.json | 14 + server/start.sh | 1 + 328 files changed, 196120 insertions(+) create mode 100644 .gitignore create mode 100644 index.html create mode 100644 mobile/index.html create mode 100644 mobile/js/jquery-3.4.1.min.js create mode 100644 mobile/js/main.js create mode 100644 mobile/js/socket.io.js create mode 100644 mobile/onsenui/CHANGELOG.md create mode 100644 mobile/onsenui/LICENSE create mode 100644 mobile/onsenui/README.md create mode 100644 mobile/onsenui/bower.json create mode 100644 mobile/onsenui/css-components-src/README.md create mode 100644 mobile/onsenui/css-components-src/gulpfile.js create mode 100644 mobile/onsenui/css-components-src/misc/screenshot-01.png create mode 100644 mobile/onsenui/css-components-src/misc/screenshot-02.png create mode 100644 mobile/onsenui/css-components-src/package.json create mode 100644 mobile/onsenui/css-components-src/patterns.yaml create mode 100644 mobile/onsenui/css-components-src/previewer-src/app.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/app-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/category-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/component-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/components-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/notfound-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/pattern-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/patterns-page.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/platform-select.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/preview-component.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/components/theme-select.js create mode 100644 mobile/onsenui/css-components-src/previewer-src/index.html.eco create mode 100644 mobile/onsenui/css-components-src/previewer-src/select-icon.svg create mode 100644 mobile/onsenui/css-components-src/previewer-src/style.css create mode 100644 mobile/onsenui/css-components-src/previewer-src/util.js create mode 100644 mobile/onsenui/css-components-src/src/components/action-sheet.css create mode 100644 mobile/onsenui/css-components-src/src/components/alert-dialog.css create mode 100644 mobile/onsenui/css-components-src/src/components/button-bar.css create mode 100644 mobile/onsenui/css-components-src/src/components/button.css create mode 100644 mobile/onsenui/css-components-src/src/components/card.css create mode 100644 mobile/onsenui/css-components-src/src/components/checkbox.css create mode 100644 mobile/onsenui/css-components-src/src/components/combination.css create mode 100644 mobile/onsenui/css-components-src/src/components/dialog.css create mode 100644 mobile/onsenui/css-components-src/src/components/fab.css create mode 100644 mobile/onsenui/css-components-src/src/components/global.css create mode 100644 mobile/onsenui/css-components-src/src/components/index.css create mode 100644 mobile/onsenui/css-components-src/src/components/list.css create mode 100644 mobile/onsenui/css-components-src/src/components/modal.css create mode 100644 mobile/onsenui/css-components-src/src/components/notification.css create mode 100644 mobile/onsenui/css-components-src/src/components/page.css create mode 100644 mobile/onsenui/css-components-src/src/components/popover.css create mode 100644 mobile/onsenui/css-components-src/src/components/progress-bar.css create mode 100644 mobile/onsenui/css-components-src/src/components/progress-circular.css create mode 100644 mobile/onsenui/css-components-src/src/components/radio-button.css create mode 100644 mobile/onsenui/css-components-src/src/components/range.css create mode 100644 mobile/onsenui/css-components-src/src/components/search-input.css create mode 100644 mobile/onsenui/css-components-src/src/components/segment.css create mode 100644 mobile/onsenui/css-components-src/src/components/select.css create mode 100644 mobile/onsenui/css-components-src/src/components/switch.css create mode 100644 mobile/onsenui/css-components-src/src/components/tabbar.css create mode 100644 mobile/onsenui/css-components-src/src/components/text-input.css create mode 100644 mobile/onsenui/css-components-src/src/components/textarea.css create mode 100644 mobile/onsenui/css-components-src/src/components/toast.css create mode 100644 mobile/onsenui/css-components-src/src/components/toolbar-button.css create mode 100644 mobile/onsenui/css-components-src/src/components/toolbar.css create mode 100644 mobile/onsenui/css-components-src/src/components/util.css create mode 100644 mobile/onsenui/css-components-src/src/dark-onsen-css-components.css create mode 100644 mobile/onsenui/css-components-src/src/dark-theme.css create mode 100644 mobile/onsenui/css-components-src/src/img/android-search-input-icon.svg create mode 100644 mobile/onsenui/css-components-src/src/img/ios-search-input-icon.svg create mode 100644 mobile/onsenui/css-components-src/src/img/select-arrow.svg create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/action-sheet.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/combination.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/fab.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/global.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/index.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/page.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/tabbar.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/toast.css create mode 100644 mobile/onsenui/css-components-src/src/iphonex-support/toolbar.css create mode 100644 mobile/onsenui/css-components-src/src/license.css create mode 100644 mobile/onsenui/css-components-src/src/old-onsen-css-components.css create mode 100644 mobile/onsenui/css-components-src/src/old-theme.css create mode 100644 mobile/onsenui/css-components-src/src/onsen-css-components.css create mode 100644 mobile/onsenui/css-components-src/src/theme.css create mode 100644 mobile/onsenui/css-components-src/stylelint.config.js create mode 100644 mobile/onsenui/css-components-src/yarn.lock create mode 100644 mobile/onsenui/css/dark-onsen-css-components.css create mode 100644 mobile/onsenui/css/dark-onsen-css-components.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/all.css create mode 100644 mobile/onsenui/css/font_awesome/css/all.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/brands.css create mode 100644 mobile/onsenui/css/font_awesome/css/brands.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/fontawesome.css create mode 100644 mobile/onsenui/css/font_awesome/css/fontawesome.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/regular.css create mode 100644 mobile/onsenui/css/font_awesome/css/regular.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/solid.css create mode 100644 mobile/onsenui/css/font_awesome/css/solid.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/svg-with-js.css create mode 100644 mobile/onsenui/css/font_awesome/css/svg-with-js.min.css create mode 100644 mobile/onsenui/css/font_awesome/css/v4-shims.css create mode 100644 mobile/onsenui/css/font_awesome/css/v4-shims.min.css create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-brands-400.eot create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-brands-400.svg create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-brands-400.ttf create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-brands-400.woff create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-brands-400.woff2 create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-regular-400.eot create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-regular-400.svg create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-regular-400.ttf create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-regular-400.woff create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-regular-400.woff2 create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-solid-900.eot create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-solid-900.svg create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-solid-900.ttf create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-solid-900.woff create mode 100644 mobile/onsenui/css/font_awesome/webfonts/fa-solid-900.woff2 create mode 100644 mobile/onsenui/css/ionicons/css/ionicons-core.css create mode 100644 mobile/onsenui/css/ionicons/css/ionicons-core.min.css create mode 100644 mobile/onsenui/css/ionicons/css/ionicons.css create mode 100644 mobile/onsenui/css/ionicons/css/ionicons.min.css create mode 100644 mobile/onsenui/css/ionicons/fonts/ionicons.eot create mode 100644 mobile/onsenui/css/ionicons/fonts/ionicons.svg create mode 100644 mobile/onsenui/css/ionicons/fonts/ionicons.ttf create mode 100644 mobile/onsenui/css/ionicons/fonts/ionicons.woff create mode 100644 mobile/onsenui/css/ionicons/fonts/ionicons.woff2 create mode 100644 mobile/onsenui/css/material-design-iconic-font/css/material-design-iconic-font.css create mode 100644 mobile/onsenui/css/material-design-iconic-font/css/material-design-iconic-font.min.css create mode 100644 mobile/onsenui/css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.eot create mode 100644 mobile/onsenui/css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.svg create mode 100644 mobile/onsenui/css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.ttf create mode 100644 mobile/onsenui/css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff create mode 100644 mobile/onsenui/css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff2 create mode 100644 mobile/onsenui/css/old-onsen-css-components.css create mode 100644 mobile/onsenui/css/old-onsen-css-components.min.css create mode 100644 mobile/onsenui/css/onsen-css-components.css create mode 100644 mobile/onsenui/css/onsen-css-components.min.css create mode 100644 mobile/onsenui/css/onsenui-core.css create mode 100644 mobile/onsenui/css/onsenui-core.min.css create mode 100644 mobile/onsenui/css/onsenui-fonts.css create mode 100644 mobile/onsenui/css/onsenui.css create mode 100644 mobile/onsenui/css/onsenui.min.css create mode 100644 mobile/onsenui/dark-onsen-css-components.css create mode 100644 mobile/onsenui/dark-onsen-css-components.min.css create mode 100644 mobile/onsenui/esm/elements/base/base-button.js create mode 100644 mobile/onsenui/esm/elements/base/base-checkbox.js create mode 100644 mobile/onsenui/esm/elements/base/base-dialog.js create mode 100644 mobile/onsenui/esm/elements/base/base-element.js create mode 100644 mobile/onsenui/esm/elements/base/base-input.js create mode 100644 mobile/onsenui/esm/elements/ons-action-sheet-button.js create mode 100644 mobile/onsenui/esm/elements/ons-action-sheet/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-action-sheet/index.js create mode 100644 mobile/onsenui/esm/elements/ons-alert-dialog-button.js create mode 100644 mobile/onsenui/esm/elements/ons-alert-dialog/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-alert-dialog/index.js create mode 100644 mobile/onsenui/esm/elements/ons-back-button.js create mode 100644 mobile/onsenui/esm/elements/ons-bottom-toolbar.js create mode 100644 mobile/onsenui/esm/elements/ons-button.js create mode 100644 mobile/onsenui/esm/elements/ons-card.js create mode 100644 mobile/onsenui/esm/elements/ons-carousel-item.js create mode 100644 mobile/onsenui/esm/elements/ons-carousel.js create mode 100644 mobile/onsenui/esm/elements/ons-checkbox.js create mode 100644 mobile/onsenui/esm/elements/ons-col.js create mode 100644 mobile/onsenui/esm/elements/ons-dialog/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-dialog/index.js create mode 100644 mobile/onsenui/esm/elements/ons-fab.js create mode 100644 mobile/onsenui/esm/elements/ons-gesture-detector.js create mode 100644 mobile/onsenui/esm/elements/ons-icon.js create mode 100644 mobile/onsenui/esm/elements/ons-if.js create mode 100644 mobile/onsenui/esm/elements/ons-input.js create mode 100644 mobile/onsenui/esm/elements/ons-lazy-repeat.js create mode 100644 mobile/onsenui/esm/elements/ons-list-header.js create mode 100644 mobile/onsenui/esm/elements/ons-list-item/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-list-item/index.js create mode 100644 mobile/onsenui/esm/elements/ons-list-title.js create mode 100644 mobile/onsenui/esm/elements/ons-list.js create mode 100644 mobile/onsenui/esm/elements/ons-modal/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-modal/fade-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-modal/index.js create mode 100644 mobile/onsenui/esm/elements/ons-modal/lift-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/index.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/ios-fade-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/ios-lift-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/ios-slide-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/ios-swipe-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/md-fade-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/md-lift-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/md-slide-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-navigator/none-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-page.js create mode 100644 mobile/onsenui/esm/elements/ons-popover/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-popover/index.js create mode 100644 mobile/onsenui/esm/elements/ons-progress-bar.js create mode 100644 mobile/onsenui/esm/elements/ons-progress-circular.js create mode 100644 mobile/onsenui/esm/elements/ons-pull-hook.js create mode 100644 mobile/onsenui/esm/elements/ons-radio.js create mode 100644 mobile/onsenui/esm/elements/ons-range.js create mode 100644 mobile/onsenui/esm/elements/ons-ripple/animator-css.js create mode 100644 mobile/onsenui/esm/elements/ons-ripple/animator-js.js create mode 100644 mobile/onsenui/esm/elements/ons-ripple/index.js create mode 100644 mobile/onsenui/esm/elements/ons-row.js create mode 100644 mobile/onsenui/esm/elements/ons-search-input.js create mode 100644 mobile/onsenui/esm/elements/ons-segment.js create mode 100644 mobile/onsenui/esm/elements/ons-select.js create mode 100644 mobile/onsenui/esm/elements/ons-speed-dial-item.js create mode 100644 mobile/onsenui/esm/elements/ons-speed-dial.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter-content.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter-mask.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter-side.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter/index.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter/overlay-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter/push-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-splitter/reveal-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-switch.js create mode 100644 mobile/onsenui/esm/elements/ons-tab.js create mode 100644 mobile/onsenui/esm/elements/ons-tabbar/index.js create mode 100644 mobile/onsenui/esm/elements/ons-template.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/animator.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/ascend-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/fade-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/fall-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/index.js create mode 100644 mobile/onsenui/esm/elements/ons-toast/lift-animator.js create mode 100644 mobile/onsenui/esm/elements/ons-toolbar-button.js create mode 100644 mobile/onsenui/esm/elements/ons-toolbar.js create mode 100644 mobile/onsenui/esm/index.js create mode 100644 mobile/onsenui/esm/ons/action-sheet.js create mode 100644 mobile/onsenui/esm/ons/animation-options-parser.js create mode 100644 mobile/onsenui/esm/ons/animit.js create mode 100644 mobile/onsenui/esm/ons/autostyle.js create mode 100644 mobile/onsenui/esm/ons/base-animator.js create mode 100644 mobile/onsenui/esm/ons/content-ready.js create mode 100644 mobile/onsenui/esm/ons/doorlock.js create mode 100644 mobile/onsenui/esm/ons/elements.js create mode 100644 mobile/onsenui/esm/ons/gesture-detector.js create mode 100644 mobile/onsenui/esm/ons/index.js create mode 100644 mobile/onsenui/esm/ons/internal/animator-factory.js create mode 100644 mobile/onsenui/esm/ons/internal/device-back-button-dispatcher.js create mode 100644 mobile/onsenui/esm/ons/internal/index.js create mode 100644 mobile/onsenui/esm/ons/internal/internal.js create mode 100644 mobile/onsenui/esm/ons/internal/lazy-repeat.js create mode 100644 mobile/onsenui/esm/ons/internal/modifier-util.js create mode 100644 mobile/onsenui/esm/ons/internal/swipe-reveal.js create mode 100644 mobile/onsenui/esm/ons/internal/swiper.js create mode 100644 mobile/onsenui/esm/ons/internal/toast-queue.js create mode 100644 mobile/onsenui/esm/ons/iphonex-patch.js create mode 100644 mobile/onsenui/esm/ons/microevent.js create mode 100644 mobile/onsenui/esm/ons/modifier.js create mode 100644 mobile/onsenui/esm/ons/notification.js create mode 100644 mobile/onsenui/esm/ons/orientation.js create mode 100644 mobile/onsenui/esm/ons/page-attribute-expression.js create mode 100644 mobile/onsenui/esm/ons/page-loader.js create mode 100644 mobile/onsenui/esm/ons/platform.js create mode 100644 mobile/onsenui/esm/ons/software-keyboard.js create mode 100644 mobile/onsenui/esm/ons/styler.js create mode 100644 mobile/onsenui/esm/ons/util.js create mode 100644 mobile/onsenui/esm/polyfills/MutationObserver@0.7.22/MutationObserver.js create mode 100644 mobile/onsenui/esm/polyfills/index.js create mode 100644 mobile/onsenui/esm/polyfills/polyfill-switches.js create mode 100644 mobile/onsenui/esm/polyfills/setImmediate@1.0.2+mod/setImmediate.js create mode 100644 mobile/onsenui/esm/vendor/index.js create mode 100644 mobile/onsenui/esm/vendor/viewport.js create mode 100644 mobile/onsenui/js/angular-onsenui.js create mode 100644 mobile/onsenui/js/angular-onsenui.min.js create mode 100644 mobile/onsenui/js/onsenui.d.ts create mode 100644 mobile/onsenui/js/onsenui.js create mode 100644 mobile/onsenui/js/onsenui.min.js create mode 100644 mobile/onsenui/old-onsen-css-components.css create mode 100644 mobile/onsenui/old-onsen-css-components.min.css create mode 100644 mobile/onsenui/onsen-css-components.css create mode 100644 mobile/onsenui/onsen-css-components.min.css create mode 100644 mobile/onsenui/package.json create mode 100644 package-lock.json create mode 100644 presentation/LICENSE create mode 100644 presentation/demos/classes.html create mode 100644 presentation/demos/components.html create mode 100644 presentation/demos/index.html create mode 100644 presentation/demos/interviews.html create mode 100644 presentation/demos/keynote.html create mode 100644 presentation/demos/landings.html create mode 100644 presentation/demos/longforms.html create mode 100644 presentation/demos/media.html create mode 100644 presentation/demos/netflix-culture.html create mode 100644 presentation/demos/portfolios.html create mode 100644 presentation/demos/why-webslides.html create mode 100644 presentation/index.html create mode 100644 presentation/static/css/main.css create mode 100644 presentation/static/css/svg-icons.css create mode 100644 presentation/static/css/webslides.css create mode 100644 presentation/static/images/android.png create mode 100644 presentation/static/images/avatar.jpg create mode 100644 presentation/static/images/bt-appstore.png create mode 100644 presentation/static/images/bt-playstore.png create mode 100644 presentation/static/images/davinci.png create mode 100644 presentation/static/images/favicons/favicon-120.png create mode 100644 presentation/static/images/favicons/favicon-152.png create mode 100644 presentation/static/images/favicons/favicon-180.png create mode 100644 presentation/static/images/favicons/favicon-192.png create mode 100644 presentation/static/images/favicons/favicon-32.png create mode 100644 presentation/static/images/favicons/favicon-76.png create mode 100644 presentation/static/images/favicons/favicon.png create mode 100644 presentation/static/images/iphone-hand.png create mode 100644 presentation/static/images/iphone.png create mode 100644 presentation/static/images/logos/airbnb.svg create mode 100644 presentation/static/images/logos/apple.svg create mode 100644 presentation/static/images/logos/facebook.svg create mode 100644 presentation/static/images/logos/google.svg create mode 100644 presentation/static/images/logos/instagram.svg create mode 100644 presentation/static/images/logos/logo.svg create mode 100644 presentation/static/images/logos/microsoft.svg create mode 100644 presentation/static/images/logos/netflix.svg create mode 100644 presentation/static/images/logos/nyt.svg create mode 100644 presentation/static/images/logos/thetimes.svg create mode 100644 presentation/static/images/setup.png create mode 100644 presentation/static/images/share-webslides.jpg create mode 100644 presentation/static/images/swipe.svg create mode 100644 presentation/static/js/jquery-3.4.1.min.js create mode 100644 presentation/static/js/main.js create mode 100644 presentation/static/js/socket.io.js create mode 100644 presentation/static/js/socketlogic.js create mode 100644 presentation/static/js/svg-icons.js create mode 100644 presentation/static/js/ui.js create mode 100644 presentation/static/js/webslides.js create mode 100644 presentation/static/js/webslides.min.js create mode 100644 server/gameshow.json create mode 100644 server/index.js create mode 100644 server/package-lock.json create mode 100644 server/package.json create mode 100644 server/start.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..e69de29 diff --git a/mobile/index.html b/mobile/index.html new file mode 100644 index 0000000..c81b8f4 --- /dev/null +++ b/mobile/index.html @@ -0,0 +1,74 @@ + + + + + + Game Show + + + + + + + + + + +
+
+ + +
Login
+
+
+ Teamname +

+ Login +

+ Relogin +
+
+ + + + + + + diff --git a/mobile/js/jquery-3.4.1.min.js b/mobile/js/jquery-3.4.1.min.js new file mode 100644 index 0000000..a1c07fd --- /dev/null +++ b/mobile/js/jquery-3.4.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))}),t.splice(i,0,r)}}function s(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function c(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof r&&"env"in r&&(t=r.env.DEBUG),t}function p(){try{return window.localStorage}catch(t){}}e=t.exports=n(5),e.log=s,e.formatArgs=i,e.save=a,e.load=c,e.useColors=o,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:p(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(c())}).call(e,n(4))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function i(t){if(h===clearTimeout)return clearTimeout(t);if((h===r||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function s(){y&&l&&(y=!1,l.length?d=l.concat(d):m=-1,d.length&&a())}function a(){if(!y){var t=o(s);y=!0;for(var e=d.length;e;){for(l=d,d=[];++m1)for(var n=1;n100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),r=(e[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*u;case"days":case"day":case"d":return n*p;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*a;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){return t>=p?Math.round(t/p)+"d":t>=c?Math.round(t/c)+"h":t>=a?Math.round(t/a)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function o(t){return i(t,p,"day")||i(t,c,"hour")||i(t,a,"minute")||i(t,s,"second")||t+" ms"}function i(t,e,n){if(!(t0)return n(t);if("number"===i&&isNaN(t)===!1)return e["long"]?o(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){function r(){}function o(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var r=i(t.data);if(r===!1)return g;n+=r}return f("encoded %j as %s",t,n),n}function i(t){try{return JSON.stringify(t)}catch(e){return!1}}function s(t,e){function n(t){var n=d.deconstructPacket(t),r=o(n.packet),i=n.buffers;i.unshift(r),e(i)}d.removeBlobs(t,n)}function a(){this.reconstructor=null}function c(t){var n=0,r={type:Number(t.charAt(0))};if(null==e.types[r.type])return h("unknown packet type "+r.type);if(e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type){for(var o="";"-"!==t.charAt(++n)&&(o+=t.charAt(n),n!=t.length););if(o!=Number(o)||"-"!==t.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(o)}if("/"===t.charAt(n+1))for(r.nsp="";++n;){var i=t.charAt(n);if(","===i)break;if(r.nsp+=i,n===t.length)break}else r.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(r.id="";++n;){var i=t.charAt(n);if(null==i||Number(i)!=i){--n;break}if(r.id+=t.charAt(n),n===t.length)break}r.id=Number(r.id)}if(t.charAt(++n)){var a=p(t.substr(n)),c=a!==!1&&(r.type===e.ERROR||y(a));if(!c)return h("invalid payload");r.data=a}return f("decoded %s as %j",t,r),r}function p(t){try{return JSON.parse(t)}catch(e){return!1}}function u(t){this.reconPack=t,this.buffers=[]}function h(t){return{type:e.ERROR,data:"parser error: "+t}}var f=n(3)("socket.io-parser"),l=n(8),d=n(9),y=n(10),m=n(11);e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=r,e.Decoder=a;var g=e.ERROR+'"encode error"';r.prototype.encode=function(t,n){if(f("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)s(t,n);else{var r=o(t);n([r])}},l(a.prototype),a.prototype.add=function(t){var n;if("string"==typeof t)n=c(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new u(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!m(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,this.emit("decoded",n))}},a.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=d.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(t,e,n){function r(t){if(t)return o(t)}function o(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,o=0;o0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},r.prototype.cleanup=function(){h("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)h("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();h("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout(function(){t.skipReconnect||(h("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(h("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(h("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(n)}})}},r.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,n){t.exports=n(14),t.exports.parser=n(21)},function(t,e,n){function r(t,e){return this instanceof r?(e=e||{},t&&"object"==typeof t&&(e=t,t=null),t?(t=u(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=u(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=h.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.cert=e.cert||null,this.ca=e.ca||null,this.ciphers=e.ciphers||null,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,void this.open()):new r(t,e)}function o(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var i=n(15),s=n(8),a=n(3)("engine.io-client:socket"),c=n(35),p=n(21),u=n(2),h=n(29);t.exports=r,r.priorWebsocketSuccess=!1,s(r.prototype),r.protocol=p.protocol,r.Socket=r,r.Transport=n(20),r.transports=n(15),r.parser=n(21),r.prototype.createTransport=function(t){a('creating transport "%s"',t);var e=o(this.query);e.EIO=p.protocol,e.transport=t;var n=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var r=new i[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative});return r},r.prototype.open=function(){var t;if(this.rememberUpgrade&&r.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},r.prototype.setTransport=function(t){a("setting transport %s",t.name);var e=this;this.transport&&(a("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},r.prototype.probe=function(t){function e(){if(f.onlyBinaryUpgrades){var e=!this.supportsBinary&&f.transport.supportsBinary;h=h||e}h||(a('probe transport "%s" opened',t),u.send([{type:"ping",data:"probe"}]),u.once("packet",function(e){if(!h)if("pong"===e.type&&"probe"===e.data){if(a('probe transport "%s" pong',t),f.upgrading=!0,f.emit("upgrading",u),!u)return;r.priorWebsocketSuccess="websocket"===u.name,a('pausing current transport "%s"',f.transport.name),f.transport.pause(function(){h||"closed"!==f.readyState&&(a("changing transport and sending upgrade packet"),p(),f.setTransport(u),u.send([{type:"upgrade"}]),f.emit("upgrade",u),u=null,f.upgrading=!1,f.flush())})}else{a('probe transport "%s" failed',t);var n=new Error("probe error");n.transport=u.name,f.emit("upgradeError",n)}}))}function n(){h||(h=!0,p(),u.close(),u=null)}function o(e){var r=new Error("probe error: "+e);r.transport=u.name,n(),a('probe transport "%s" failed because of error: %s',t,e),f.emit("upgradeError",r)}function i(){o("transport closed")}function s(){o("socket closed")}function c(t){u&&t.name!==u.name&&(a('"%s" works - aborting "%s"',t.name,u.name),n())}function p(){u.removeListener("open",e),u.removeListener("error",o),u.removeListener("close",i),f.removeListener("close",s),f.removeListener("upgrading",c)}a('probing transport "%s"',t);var u=this.createTransport(t,{probe:1}),h=!1,f=this;r.priorWebsocketSuccess=!1,u.once("open",e),u.once("error",o),u.once("close",i),this.once("close",s),this.once("upgrading",c),u.open()},r.prototype.onOpen=function(){if(a("socket open"),this.readyState="open",r.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){a("starting upgrade probes");for(var t=0,e=this.upgrades.length;t1?{type:b[o],data:t.substring(1)}:{type:b[o]}:w}var i=new Uint8Array(t),o=i[0],s=f(t,1);return k&&"blob"===n&&(s=new k([s])),{type:b[o],data:s}},e.decodeBase64Packet=function(t,e){var n=b[t.charAt(0)];if(!p)return{type:n,data:{base64:!0,data:t.substr(1)}};var r=p.decode(t.substr(1));return"blob"===e&&k&&(r=new k([r])),{type:n,data:r}},e.encodePayload=function(t,n,r){function o(t){return t.length+":"+t}function i(t,r){e.encodePacket(t,!!s&&n,!1,function(t){r(null,o(t))})}"function"==typeof n&&(r=n,n=null);var s=h(t);return n&&s?k&&!g?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void c(t,i,function(t,e){return r(e.join(""))}):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);"function"==typeof n&&(r=n,n=null);var o;if(""===t)return r(w,0,1);for(var i,s,a="",c=0,p=t.length;c0;){for(var s=new Uint8Array(o),a=0===s[0],c="",p=1;255!==s[p];p++){if(c.length>310)return r(w,0,1);c+=s[p]}o=f(o,2+c.length),c=parseInt(c);var u=f(o,0,c);if(a)try{u=String.fromCharCode.apply(null,new Uint8Array(u))}catch(h){var l=new Uint8Array(u);u="";for(var p=0;pr&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(n-e),s=e,a=0;s=55296&&e<=56319&&o65535&&(e-=65536,o+=d(e>>>10&1023|55296),e=56320|1023&e),o+=d(e);return o}function o(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function i(t,e){return d(t>>e&63|128)}function s(t,e){if(0==(4294967168&t))return d(t);var n="";return 0==(4294965248&t)?n=d(t>>6&31|192):0==(4294901760&t)?(o(t,e)||(t=65533),n=d(t>>12&15|224),n+=i(t,6)):0==(4292870144&t)&&(n=d(t>>18&7|240),n+=i(t,12),n+=i(t,6)),n+=d(63&t|128)}function a(t,e){e=e||{};for(var r,o=!1!==e.strict,i=n(t),a=i.length,c=-1,p="";++c=f)throw Error("Invalid byte index");var t=255&h[l];if(l++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function p(t){var e,n,r,i,s;if(l>f)throw Error("Invalid byte index");if(l==f)return!1;if(e=255&h[l],l++,0==(128&e))return e;if(192==(224&e)){if(n=c(),s=(31&e)<<6|n,s>=128)return s;throw Error("Invalid continuation byte")}if(224==(240&e)){if(n=c(),r=c(),s=(15&e)<<12|n<<6|r,s>=2048)return o(s,t)?s:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(n=c(),r=c(),i=c(),s=(7&e)<<18|n<<12|r<<6|i,s>=65536&&s<=1114111))return s;throw Error("Invalid UTF-8 detected")}function u(t,e){e=e||{};var o=!1!==e.strict;h=n(t),f=h.length,l=0;for(var i,s=[];(i=p(o))!==!1;)s.push(i);return r(s)}/*! https://mths.be/utf8js v2.1.2 by @mathias */ +var h,f,l,d=String.fromCharCode;t.exports={version:"2.1.2",encode:a,decode:u}},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r>2],i+=t[(3&r[n])<<4|r[n+1]>>4],i+=t[(15&r[n+1])<<2|r[n+2]>>6],i+=t[63&r[n+2]];return o%3===2?i=i.substring(0,i.length-1)+"=":o%3===1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(t){var e,r,o,i,s,a=.75*t.length,c=t.length,p=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var u=new ArrayBuffer(a),h=new Uint8Array(u);for(e=0;e>4,h[p++]=(15&o)<<4|i>>2,h[p++]=(3&i)<<6|63&s;return u}}()},function(t,e){function n(t){return t.map(function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t})}function r(t,e){e=e||{};var r=new i;return n(t).forEach(function(t){r.append(t)}),e.type?r.getBlob(e.type):r.getBlob()}function o(t,e){return new Blob(n(t),e||{})}var i="undefined"!=typeof i?i:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,s=function(){try{var t=new Blob(["hi"]);return 2===t.size}catch(e){return!1}}(),a=s&&function(){try{var t=new Blob([new Uint8Array([1,2])]);return 2===t.size}catch(e){return!1}}(),c=i&&i.prototype.append&&i.prototype.getBlob;"undefined"!=typeof Blob&&(r.prototype=Blob.prototype,o.prototype=Blob.prototype),t.exports=function(){return s?a?Blob:o:c?r:void 0}()},function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,o=n.length;r0);return e}function r(t){var e=0;for(u=0;u';i=document.createElement(e)}catch(t){i=document.createElement("iframe"),i.name=o.iframeId,i.src="javascript:0"}i.id=o.iframeId,o.form.appendChild(i),o.iframe=i}var o=this;if(!this.form){var i,s=document.createElement("form"),a=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;s.className="socketio",s.style.position="absolute",s.style.top="-1000px",s.style.left="-1000px",s.target=c,s.method="POST",s.setAttribute("accept-charset","utf-8"),a.name="d",s.appendChild(a),document.body.appendChild(s),this.form=s,this.area=a}this.form.action=this.uri(),r(),t=t.replace(u,"\\\n"),this.area.value=t.replace(p,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===o.iframe.readyState&&n()}:this.iframe.onload=n}}).call(e,function(){return this}())},function(t,e,n){function r(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=o&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(l=i),s.call(this,t)}var o,i,s=n(20),a=n(21),c=n(29),p=n(30),u=n(31),h=n(3)("engine.io-client:websocket");if("undefined"==typeof self)try{i=n(34)}catch(f){}else o=self.WebSocket||self.MozWebSocket;var l=o||i;t.exports=r,p(r,s),r.prototype.name="websocket",r.prototype.supportsBinary=!0,r.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new l(t,e):new l(t):new l(t,e,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},r.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},r.prototype.write=function(t){function e(){n.emit("flush"),setTimeout(function(){n.writable=!0,n.emit("drain")},0)}var n=this;this.writable=!1;for(var r=t.length,o=0,i=r;o0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}}])}); +//# sourceMappingURL=socket.io.js.map \ No newline at end of file diff --git a/mobile/onsenui/CHANGELOG.md b/mobile/onsenui/CHANGELOG.md new file mode 100644 index 0000000..a72e48e --- /dev/null +++ b/mobile/onsenui/CHANGELOG.md @@ -0,0 +1,1466 @@ + +CHANGELOG +==== + +2.10.10 +--- + + ### Misc + + * Make sure CSS imports go at the top of onsenui.css. ([#2674](https://github.com/OnsenUI/OnsenUI/issues/2674)). + +2.10.9 +--- + + ### Bug Fixes + + * ons-tab: Show active-icon for initially active tab in Angular 2+. ([#2656](https://github.com/OnsenUI/OnsenUI/issues/2656)). + + ### Misc + + * Upgrade Font Awesome to v5.8.1 + * Upgrade Ionicons to v4.5.5 + * Upgrade Material Design icons to v2.2.0 + * Stop fonts being included in onsenui-core.css + +2.10.8 +--- + + ### Misc + + * Fix bug in gulpfile where `core` was signalling completion too early. + * Fix bug in gulpfile where distribution CSS files were output to the wrong directory. + +2.10.7 +--- + + ### Bug Fixes + + * ons-icon: Compile when content is ready. ([#2547](https://github.com/OnsenUI/OnsenUI/issues/2547)). + * ons-icon: Fix bug where Font Awesome v5 styles (far, fal, fab) were being ignored. + * ons-navigator: Fix bringPageTop not working if a page is defined inside ons-navigator tags. + * ons-tab: Stop recreating tabs when page with tabbar is brought to top of navigator stack. ([#2604](https://github.com/OnsenUI/OnsenUI/issues/2604)). + * ons-fab: Fix toggled/hidden fab reappears when you leave and return to its page bug. ([#2558](https://github.com/OnsenUI/OnsenUI/issues/2558)). + + ### Misc + + * Upgrade to Gulp 4. + +2.10.6 +--- + + ### Misc + + * Avoid event-stream@3.3.6 vulnerability (https://github.com/dominictarr/event-stream/issues/116). + +2.10.5 +--- + + ### Bug Fixes + + * ons-list-item: Fix expandable list item not working correctly for lists inside expandable content. ([#2485](https://github.com/OnsenUI/OnsenUI/issues/2485)). + * ons.platform.isIPhoneX: Support iPhone XS, XS Max, and XR. ([#2540](https://github.com/OnsenUI/OnsenUI/issues/2540)). + + ### Misc + + * Updated FontAwesome to 5.2.0 ([#2502](https://github.com/OnsenUI/OnsenUI/issues/2502)). + +2.10.4 +--- + + ### New Features + + * ons.platform: Can choose to ignore selected platform when checking what platform is e.g. `ons.platform.isAndroid`. ([#2475](https://github.com/OnsenUI/OnsenUI/issues/2475)). + * ons-toolbar: Add methods to show and hide the toolbar ([#2478](https://github.com/OnsenUI/OnsenUI/issues/2478)) + + ### Bug Fixes + + * css: Fix button style for Firefox. ([#2469](https://github.com/OnsenUI/OnsenUI/issues/2469)). + * ons-toast: Fix app closing when toast is shown and back button is pressed ([#2388](https://github.com/OnsenUI/OnsenUI/issues/2388)) + +2.10.3 +--- + + ### Misc + + * Re-release of 2.10.2 due to npm package not containing minified Angular bindings ([#2468](https://github.com/OnsenUI/OnsenUI/issues/2468)). No functional changes. + +2.10.2 +--- + + ### Bug Fixes + + * ons-lazy-repeat: Fix dynamic adding of items ([#2443](https://github.com/OnsenUI/OnsenUI/issues/2443)) + * ons-toast: Fix padding of Material toast ([#2436](https://github.com/OnsenUI/OnsenUI/issues/2436)) + * ons-button: Remove dotted border on Firefox ([#2408](https://github.com/OnsenUI/OnsenUI/issues/2408)) + * css: Fix CSS import paths ([#2336](https://github.com/OnsenUI/OnsenUI/issues/2336), [#2453](https://github.com/OnsenUI/OnsenUI/issues/2453)) + * ons-input: Prevent zooming of inputs on iOS ([#2400](https://github.com/OnsenUI/OnsenUI/issues/2400)) + * ons-page: Fix `page-with-bottom-toolbar` not being set in some cases ([#2459](https://github.com/OnsenUI/OnsenUI/issues/2459)) + +2.10.1 +--- + + ### Bug Fixes + + * ons-tabbar: Fix race condition with some tabs ([#2430](https://github.com/OnsenUI/OnsenUI/issues/2430)) + * ons-list-item: Fix expandable item breaking when compiled more than once (for example, with ng-repeat) ([#2434](https://github.com/OnsenUI/OnsenUI/issues/2434)) + +2.10.0 +--- + + ### New Features + + * ons.notification: Add `maskColor` configuration for `alert`, `confirm` and `prompt` ([#2358](https://github.com/OnsenUI/OnsenUI/issues/2358)) + * ons-list-item: Add expandable list items ([#2380](https://github.com/OnsenUI/OnsenUI/issues/2380)) + * ons-toast: Toast messages can be more than one line long ([#2405](https://github.com/OnsenUI/OnsenUI/issues/2405)) + + ### Bug Fixes + + * onsenui.d.ts: Fixed [#2354](https://github.com/OnsenUI/OnsenUI/issues/2354). + * ons-toolbar: `static` attribute works with iOS status bar. + * ons-pull-hook: Improve scroll behavior in UIWebView. Fixed [#2353](https://github.com/OnsenUI/OnsenUI/issues/2353) and [#2357](https://github.com/OnsenUI/OnsenUI/issues/2357). + * ons-navigator: Fixed [#2376](https://github.com/OnsenUI/OnsenUI/issues/2376). + * ons-select: Fixed [#2251](https://github.com/OnsenUI/OnsenUI/issues/2251) for all bindings. + * ons-splitter-side: Fixed regression of ([#2026](https://github.com/OnsenUI/OnsenUI/issues/2026)). + * ons-popover: Fixed incorrect placement of popover when page is not full width ([#2386](https://github.com/OnsenUI/OnsenUI/issues/2386)). + +2.9.2 +--- + + ### New features + + * ons-toolbar: Added new `static` attribute to avoid animations in the toolbar when pushing or popping pages. + + ### Bug Fixes + + * ons-tabbar: Fixed [#2316](https://github.com/OnsenUI/OnsenUI/issues/2316). + * ons-tabbar: Fixed [#2343](https://github.com/OnsenUI/OnsenUI/issues/2343). + * ons-splitter-side: Fixed [#2271](https://github.com/OnsenUI/OnsenUI/issues/2271). + * ons-navigator: Fixed [#2333](https://github.com/OnsenUI/OnsenUI/issues/2333). + * ons-select (fastclick): Fixed [#2352](https://github.com/OnsenUI/OnsenUI/issues/2352). + * ons-switch: Fixed [#2341](https://github.com/OnsenUI/OnsenUI/issues/2341). + + ### Misc + + * core, react: Pointed reference pages to new tutorials. + +2.9.1 +---- + + ### Bug Fixes + + * ons-tab: Ensure `click` event listener is added to nested tabbars. + * ons-navigator: It now uses default `options` property also for `popPage`. + * ons.notification: `toast` method error. + +2.9.0 +---- + + ### New Features + + * :tada: Use passive event listeners whenever possible. PWA score++. + * ons-navigator: `popPage` method now supports `options.times` to pop several pages with one single animation. + * ons-toolbar-button: Added `icon` attribute to automatically create an `ons-icon` element. + + ### Bug Fixes + + * :tada: fastclick: Use Onsen UI fork of FastClick. Fixes [#2254](https://github.com/OnsenUI/OnsenUI/issues/2254), [#2304](https://github.com/OnsenUI/OnsenUI/issues/2304). + * ons-tab: Fixed [#2307](https://github.com/OnsenUI/OnsenUI/issues/2307). + * ons-list-item: Fixed [#2292](https://github.com/OnsenUI/OnsenUI/issues/2292). + * ons-navigator: Fixed [#2286](https://github.com/OnsenUI/OnsenUI/issues/2286). + * ons-navigator: Fixed [#1992](https://github.com/OnsenUI/OnsenUI/issues/1992). + * css-components: Fixed [#2045](https://github.com/OnsenUI/OnsenUI/issues/2045). + * ons.platform: Fixed [#2279](https://github.com/OnsenUI/OnsenUI/issues/2279). + * ons-page: Fixed [#2255](https://github.com/OnsenUI/OnsenUI/issues/2255). + * ons-tab: Fixed [#2324](https://github.com/OnsenUI/OnsenUI/issues/2324). + * ons-switch: Prevents two `click` events in a row when placed inside a `label` tag. + * iOS scroll issues: Related [#2220](https://github.com/OnsenUI/OnsenUI/issues/2220), [#2279](https://github.com/OnsenUI/OnsenUI/issues/2279), [#1949](https://github.com/OnsenUI/OnsenUI/issues/1949) - Fixed in WKWebView/iOS Safari. For UIWebView, a new `ons.forceUIWebViewScrollFix()` method is available which may negatively affect momentum scroll in some situations. Also, a `ons-ios-scroll` class is added to `document.body` when dialogs are visible to apply custom fixes. + + ### Misc + + * css-components: Expose Action Sheet variables for Theme Roller. + * ons.notification: Display error message when needed imports are missing (AlertDialog, AlertDialogButton, Toast, ActionSheet). + +2.8.3 +---- + + ### New Features + + * ons-list-item: Skip tappable effect on children with `prevent-tap` attribute or `ons-*` elements. + * ons-navigator: `resetToPage` can now perform 'pop' animation if `options.pop` is `true`. + + ### Bug Fixes + + * ons-carousel: Fixed [#2260](https://github.com/OnsenUI/OnsenUI/issues/2260). + * ons-progress-circular: Fixed [#1860](https://github.com/OnsenUI/OnsenUI/issues/1860). + * css/polyfills: Fixed [#2266](https://github.com/OnsenUI/OnsenUI/issues/2266). + * ons-ripple: The effect does not propagate to other `ons-ripple` parents anymore. + * ons-carousel: Prevent error state when hidden during the first rendering. + * angular1: `ons-scope` directive works when placed on the same element as `var` attribute. + + ### Misc + + * Show warning when Onsen UI is loaded more than once (UMD - ESM). + * ons-pull-hook: `threshold-height` is not disabled anymore when its value is lower than the height. + * angular1: Revised the exposed DOM properties for carousel, modal, navigator, popover, pullHook, splitter, splitterSide, switch and tabbar. + +2.8.2 +---- + +### New Features + + * ons-navigator: Added `onSwipe` property function that gets the swiped distance on drag. + * ons-splitter-side: Added `onSwipe` property function that gets the swiped distance on drag. + +### Bug Fixes + + * ons-splitter: Fixed small glitch in 'reveal' animation. + * ons-select: Fixed custom modifier class from `select-*` to `select--*`. + * ons-tabbar: Fixed [#2253](https://github.com/OnsenUI/OnsenUI/issues/2253). + * ons-tabbar: Position 'auto' and border visibility now cares about autostyling instead of the actual platform. + * ons-toolbar: Fix 'transparent' modifier when combined with 'material' (regression). + * angular1: Remove `element.scope()` call that depends on AngularJS Debug Data. + +2.8.1 +---- + +### Bug Fixes + + * css-components: Use new radial-gradient syntax to avoid prefixes. + * ons-tabbar: Improve scrolling on devices. + * ons-modal: Possible issue when toggling modal visibility very quickly. + * ons-action-sheet: Small glitch when hiding on iPhone X. + +2.8.0 +---- + +### New Features + + * core: The core CSS is now available without importing default icon fonts in `onsenui-core.css` file. This can be included instead of `onsenui.css` in order to reduce app size. + * ons: Added `disableIconAutoPrefix` method to avoid adding `fa-` prefix to non-prefixed icons. This allows using custom icon packs. + * esm: A new `esm` folder is available for ES Modules environments. It allows importing specific components instead of the whole bundle. See `Reducing App Size` section in the guide for more details. + * angular1: `ons-modal` now exposes event handlers (`ons-preshow`, `ons-postshow`, `ons-prehide`, `ons-posthide`) and `toggle` method. + +### Bug Fixes + + * iPhoneX support: Fixed a glitch during push/pop animations. + * ons-tab: Fixed [#2247](https://github.com/OnsenUI/OnsenUI/issues/2247). + * ons-tabbar: Fixed [#2223](https://github.com/OnsenUI/OnsenUI/issues/2223). + * ons-segment: Prevent possible error when linking an `ons-tabbar` placed at the same level. + * ons-segment: Adjust style for plain `div` children (instead of `button`). + * ons-list-item: Material chevron with right content. Fixed [#2226](https://github.com/OnsenUI/OnsenUI/issues/2226). + * ons-lazy-repeat: Lists can be empty. Fixed [#2232](https://github.com/OnsenUI/OnsenUI/issues/2232). + * modifier: Fixed [#2237](https://github.com/OnsenUI/OnsenUI/issues/2237). + +### Misc + + * :tada: Reduced bundle size by more than 50%! + +### BREAKING CHANGES + + * Internal elements location has been changed. E.g. `ons.NavigatorElement` is now `ons.elements.Navigator`. This should only affect if you were registering custom animations. + * `NavigatorTransitionAnimator` has been renamed to `NavigatorAnimator` like all the other animators. This should only affect if you were registering custom animations. + * `core-src` directory has been removed. `esm` can be used instead. This should only affect if you were manually importing specific components instead of the whole bundle. + +2.7.2 +---- + +### Bug Fixes + + * core: Fixed glitch in nested ``. Fixed [#2231](https://github.com/OnsenUI/OnsenUI/issues/2231). + + +2.7.1 +---- + +### New Features + + * css-components: Added `--tap-highlight-color` variable for `-webkit-tap-highlight-color` CSS property. + * ons-bottom-toolbar: Added `aligned` modifier. + +### Bug Fixes + + * css-components: Added `word-wrap: break-word;` to `.card`. Fixed [#2244](https://github.com/OnsenUI/OnsenUI/issues/2244). + * css-components: Fixed position of `.toast` in `onsflag-iphonex-portrait` mode. + * core: Fix template scripts on Firefox. + * ~~core: Fixed glitch in nested ``. Fixed #2231.~~ (incomplete) + +### Misc + + * css-components: Made it easy to override `user-select`. Fixed [#2227](https://github.com/OnsenUI/OnsenUI/issues/2227). + +2.7.0 +---- + +### New Features + + * :tada: css-components: Supported iPhone X with `html[onsflag-iphonex-portrait]` and `html[onsflag-iphonex-landscape]` flags. + * css-components: Added iOS & Material dark color scheme available as `dark-onsen-css-components.css`. + * css-components: Refined the css-components previewer located in `css-components-src`. + * core: Supported iOS 11. + * ons.mockStatusBar: Now can also show Android's status bar. + * ons.platform: Added `isIPhoneX()`, `isIOSSafari()`, `isUIWebView()` and `isWKWebView()`. + +### Bug Fixes + + * css-components: Fixed usage of alpha function. Fixed [#2220](https://github.com/OnsenUI/OnsenUI/issues/2220). + * css-components: Fixed wrong margin of `.action-sheet` and `.action-sheet-button`. + * css-components: Fixed style of `.list-title`. + * core: Changed to disable FastClick when it isn't needed. Fixed [#2000](https://github.com/OnsenUI/OnsenUI/issues/2000). + * core: Fixed `ons-loading-placeholder` attribute broken on iOS 11. + * ons-page: Minor issue with status bar when the page is moved in DOM. + * ons-splitter: Correctly set content width on inital split mode. Fixed [#2205](https://github.com/OnsenUI/OnsenUI/issues/2205). + * ons-tabbar, ons-carousel: Can now be displayed inside dialogs/modals. + * ons-tabbar: Resizing window while tabbar is not visible should not update the tabbar. + * dialogs: Prevent scrolling behind dialog masks due to iOS bug. Fixed [#2220](https://github.com/OnsenUI/OnsenUI/issues/2220). + * deviceBackButton: Fixed [#2215](https://github.com/OnsenUI/OnsenUI/issues/2215). + * templates: Firefox issue. Fixed [#2216](https://github.com/OnsenUI/OnsenUI/issues/2216). + +### Misc + + * core: Auto status bar fill for iOS 7+ WebView is now automatically disabled on iPhone X WebView. + +### BREAKING CHANGES + + * css-components: Refined iOS & Material color schemes. + * The previous color schemes are now available as `css/old-onsen-css-components.css`. + +2.6.1 +---- + +### Bug Fixes + + * GestureDetector: Fixed `findIndex` issue on Android 4.4.4. + * templates: Fixed [#2163](https://github.com/OnsenUI/OnsenUI/issues/2163). + * ons-tabbar: Fixed [#2189](https://github.com/OnsenUI/OnsenUI/issues/2189). + * ons-tabbar, ons-tab: Fixed several issues on iOS 8. + * ons-toolbar: Fixed position with `cover-content` modifier and iOS status bar in nested pages. + * ons-page: Ensure status-bar-fill is only added to one page. + +2.6.0 +---- + +### New Features + + * core: Added `ons-segment` element. + * angular1: Added `ons-segment` bindings. + * ons: Added `mockStatusBar` utility to create a fake iOS status bar for browser testing. + * ons-pull-hook: Added `onPull` property function that gets the pulled distance on drag. + * ons-carousel: Added `onSwipe` property function that gets the swiped distance on drag. + * :tada: ons-tabbar: Tabbar can now be swiped to change pages. `swipeable` attribute enables this feature. + +### Bug Fixes + + * core: Device Back Button handler timing issue. + * GestureDetector: Fixed memory leak from Hammer.js v1. + * templates: Fixed a bug where `script` tags might not be ready on time. + * autoStyle: Fixed [#2171](https://github.com/OnsenUI/OnsenUI/issues/2171). + * inputs: Accept `required` attr. Fixed [#2169](https://github.com/OnsenUI/OnsenUI/issues/2169). + * ons-pull-hook: Different glitches on both iOS and Android. Fixed [#1990](https://github.com/OnsenUI/OnsenUI/issues/1990). + * ons-list-item: `nodivider` modifier should not hide `chevron`. + * ons-list-item: Fixed [#2150](https://github.com/OnsenUI/OnsenUI/issues/2150). + * ons-navigator: Fixed [#2167](https://github.com/OnsenUI/OnsenUI/issues/2167). + * ons-navigator: iOS slide animation with transparent toolbars glitch. + * ons-tabbar: Hide 1px line between toolbar and top tabbar in some Android devices. + * ons-modal: Fixed [#2066](https://github.com/OnsenUI/OnsenUI/issues/2066). + * ons-toolbar: `cover-content` modifier works with iOS status bar. + * ons-carousel: Fixed an animation glitch on iOS due to the cubic Bézier curve. + * ons-splitter: Translate3d glitch when opening with `reveal` animation. + +### Misc + + * Updated type definitions. + * `modifier` classes are restored when `class` attribute is modified. + * ons-tab: The first tab will be activated if the `active` attribute is not provided in any tab. + * ons-carousel: Improved performance. Animation timing has been adjusted to prevent issues on iOS. + +### BREAKING CHANGES + + * ons-tabbar, ons-carousel: DOM structure has been modified. It should not affect except if you manually modify `innerHTML`. + * ons-tabbar: Due to the new swipeable feature, `slide` animation is now performed by default unless it is disabled with `animation="none"` attribute. `fade` animator has also been removed (incompatible). + * ons-tab: Removed undocumented `ons-tab-active` and `ons-tab-inactive` attributes (from Onsen UI v1). + +v2.5.3 +---- + +### Bug Fixes + + * ons-speed-dial-item: Apply Material Design style correctly. + * ons-splitter-side: Fixed [#2026](https://github.com/OnsenUI/OnsenUI/issues/2026). + * Fixed glitch during push/pop animation when iOS status bar is visible. + +### Misc + + * modifiers: internal modifiers are automatically restored when anything removes them. + * docs: Added missing modifiers and attributes. + +v2.5.2 +---- + +### Bug Fixes + + * ons-navigator: Ignore swipes on back buttons. + * ons-pull-hook: After popPage transition style fix. + * ons-tabbar: Minor issue fixed to improve compatibility with external routers. + +### Misc + + * ons.getScriptPage: Added new method as a shortcut to get the current page and attach lifecycle hooks. + +v2.5.1 +---- + +### Bug Fixes + + * onsenui.min.css: Restore 'import' statements. + * ons-navigator: Swipe-to-pop animation glitch. + * ons-range: Fixed ripple effect when `min` attr is provided. + +v2.5.0 +---- + +### New Features + + * core: Added `ons.modifier` object with a new set of methods to alter `modifier` attributes. + * :tada: ons-navigator: iOS Swipe-to-pop feature. + * ons-modal: Added `lift` animation ([#2078](https://github.com/OnsenUI/OnsenUI/pull/2078)). + * ons-toolbar: New `cover-content` modifier. Should be combined with `transparent` modifier. + +### Bug Fixes + + * css-components, ons-list-item: Fixed [#2100](https://github.com/OnsenUI/OnsenUI/issues/2100). + * ons-list: Fixed double top border when located right under toolbar. + * ons-carousel: Ignores swipes that start outside carousel. + * Swipeable components: Swipe is now smoother. + * Swipeable components: Fixed compatibility of some swipeable components. + +### Misc + + * core css: Add minimized core css file `build/css/onsenui.min.css`. + * css-components: Adjusted font size of `.back-button__label` (improves iOS slide animation). + * ons-back-button: Replace font icons with SVG icons. + * Added `ons-alert-dialog-button` elements. + * Added `size` attribute on `ons-ripple` elements. + * Added ripple effects properly on `ons-range`, `ons-checkbox`, `ons-radio`, `ons-toolbar-button`, `ons-back-button` and `ons-alert-dialog-button` elements for Material Design. + +v2.4.2 +---- + +### New Features + + * ons-fab: Added new appearances for iOS. + * ons-ripple: Added `size` attribute. + +### Bug Fixes + + * Revert a recent change that creates `ons-tabbar` issues. Fixed [#2082](https://github.com/OnsenUI/OnsenUI/issues/2082). + +v2.4.1 +---- + +### Bug Fixes + + * ons.notification.prompt: Only returns input value if the clicked button is primary. Otherwise, returns null. Fixed [#2050](https://github.com/OnsenUI/OnsenUI/issues/2050). + * ons-input, ons-search-input: Fixed [#2075](https://github.com/OnsenUI/OnsenUI/issues/2075). + * ons-icon: Its class attribute is now recovered after modifications. + +### Misc + + * css-components: Removed `.text-input--transparent` modifier (same as default style). + +v2.4.0 +---- + +### New Features + + * core: Separated files are now cached after the first request. This improves performance when pushing pages. + * core: Added `ons.preload` method to manually cache templates. This improves performance when pushing pages. + * :tada: core: Support for `HTMLTemplateElement` (`