@things-factory/reference-app 4.0.1 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attachments/69808491-8e6b-45e2-9bf8-dccea1c5b52e.png +0 -0
- package/attachments/7927fe8e-2246-453d-9869-7072b983437c.png +0 -0
- package/attachments/7d150574-01b8-4439-96a0-d57299f3ffcf.png +0 -0
- package/attachments/a1cf142c-f3c2-442c-b8d5-a7f9cc6a59b3.png +0 -0
- package/attachments/cb3ac834-ece0-4802-bef0-dfdc0fcd93bd.png +0 -0
- package/client/bootstrap.js +30 -0
- package/client/components/camera-capturer.js +29 -2
- package/client/components/ocr-viewpart.js +79 -0
- package/client/menu.js +1 -1
- package/client/pages/grist-mode-page.js +1 -3
- package/client/pages/label-scan-page.js +189 -0
- package/client/pages/ocr-page.js +4 -3
- package/client/route.js +4 -0
- package/config/config.development.js +5 -1
- package/db.sqlite +0 -0
- package/dist-server/service/reference/lambda-call.js +68 -0
- package/dist-server/service/reference/lambda-call.js.map +1 -0
- package/dist-server/service/reference/reference-query.js +26 -4
- package/dist-server/service/reference/reference-query.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +8 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +12 -37
- package/logs/application-2021-11-04-14.log +4 -0
- package/logs/application-2021-11-05-18.log +6 -0
- package/{dist-client/helps/scene/component/image-view.md → logs/connections-2021-11-02-11.log} +0 -0
- package/logs/{connections-2021-11-02-12.log → connections-2021-11-03-11.log} +0 -0
- package/logs/{connections-2021-11-02-13.log → connections-2021-11-04-14.log} +0 -0
- package/logs/{connections-2021-11-02-14.log → connections-2021-11-05-18.log} +0 -0
- package/package.json +41 -40
- package/server/service/reference/lambda-call.ts +69 -0
- package/server/service/reference/reference-query.ts +35 -7
- package/things-factory.config.js +4 -0
- package/attachments/05284c84-1330-4b54-a698-bcd3020d9d90.png +0 -0
- package/attachments/3a328a7f-b7fd-4ea1-9c4c-005e24e1e897.png +0 -0
- package/attachments/4412432a-b79b-49b8-81b2-af6b927703b4.png +0 -0
- package/attachments/60ca3d2a-cfa4-4f14-b952-a96be9f64f96.png +0 -0
- package/attachments/90ea058c-ed47-4802-a694-bce0e86c217f.png +0 -0
- package/attachments/9c92e78d-afcb-4d62-b51e-f73f15211314.png +0 -0
- package/attachments/b27517ec-f2ac-4735-9d8a-353af2fa5f67.png +0 -0
- package/attachments/cc7892b9-fca6-49f9-a10b-3febeef83fd2.png +0 -0
- package/attachments/dbf0459a-4f1a-44c6-a4fc-d73adc3e4cfa.png +0 -0
- package/dist-client/17.js +0 -6
- package/dist-client/18.js +0 -15
- package/dist-client/19.js +0 -15
- package/dist-client/20.js +0 -15
- package/dist-client/21.js +0 -15
- package/dist-client/22.js +0 -1
- package/dist-client/23.js +0 -1
- package/dist-client/24.js +0 -1
- package/dist-client/25.js +0 -1
- package/dist-client/26.js +0 -1
- package/dist-client/27.js +0 -1
- package/dist-client/28.js +0 -1
- package/dist-client/29.js +0 -1
- package/dist-client/30.js +0 -12
- package/dist-client/31.js +0 -1
- package/dist-client/32.js +0 -17
- package/dist-client/33.js +0 -1
- package/dist-client/34.js +0 -1
- package/dist-client/35.js +0 -1
- package/dist-client/36.js +0 -1
- package/dist-client/37.js +0 -1
- package/dist-client/38.js +0 -1
- package/dist-client/39.js +0 -1
- package/dist-client/40.js +0 -1
- package/dist-client/41.js +0 -1
- package/dist-client/42.js +0 -1
- package/dist-client/43.js +0 -1
- package/dist-client/44.js +0 -1
- package/dist-client/45.js +0 -1
- package/dist-client/46.js +0 -1
- package/dist-client/47.js +0 -1
- package/dist-client/48.js +0 -1
- package/dist-client/49.js +0 -1
- package/dist-client/50.js +0 -1
- package/dist-client/51.js +0 -1
- package/dist-client/52.js +0 -1
- package/dist-client/53.js +0 -1
- package/dist-client/54.js +0 -1
- package/dist-client/55.js +0 -1
- package/dist-client/56.js +0 -1
- package/dist-client/57.js +0 -1
- package/dist-client/58.js +0 -1
- package/dist-client/59.js +0 -1
- package/dist-client/60.js +0 -1
- package/dist-client/61.js +0 -1
- package/dist-client/assets/bar-chart.png +0 -0
- package/dist-client/assets/beacon.png +0 -0
- package/dist-client/assets/button.png +0 -0
- package/dist-client/assets/clock-analog.png +0 -0
- package/dist-client/assets/clock-digital.png +0 -0
- package/dist-client/assets/doughnut-chart.png +0 -0
- package/dist-client/assets/favicon.ico +0 -0
- package/dist-client/assets/fieldset.png +0 -0
- package/dist-client/assets/form.png +0 -0
- package/dist-client/assets/gauge-circle.png +0 -0
- package/dist-client/assets/gauge-horizontal.png +0 -0
- package/dist-client/assets/gauge-vertical.png +0 -0
- package/dist-client/assets/half-round-rect.png +0 -0
- package/dist-client/assets/helps/index.md +0 -1
- package/dist-client/assets/horizontal-bar-chart.png +0 -0
- package/dist-client/assets/icon-embed.png +0 -0
- package/dist-client/assets/icon-news-ticker.png +0 -0
- package/dist-client/assets/icon-radio-group.png +0 -0
- package/dist-client/assets/icon-simple-switch.png +0 -0
- package/dist-client/assets/icon-video.png +0 -0
- package/dist-client/assets/iframe.png +0 -0
- package/dist-client/assets/images/3d.ico +0 -0
- package/dist-client/assets/images/background-animation.json +0 -1
- package/dist-client/assets/images/barcode.ico +0 -0
- package/dist-client/assets/images/barcode.png +0 -0
- package/dist-client/assets/images/bg-auth-ui.png +0 -0
- package/dist-client/assets/images/bg-blue.png +0 -0
- package/dist-client/assets/images/bg-green.png +0 -0
- package/dist-client/assets/images/bg-input-select.png +0 -0
- package/dist-client/assets/images/bg-rail.png +0 -0
- package/dist-client/assets/images/chart.ico +0 -0
- package/dist-client/assets/images/cj.ico +0 -0
- package/dist-client/assets/images/components/audio.png +0 -0
- package/dist-client/assets/images/components/both-arrow.png +0 -0
- package/dist-client/assets/images/components/color-image.png +0 -0
- package/dist-client/assets/images/components/container.png +0 -0
- package/dist-client/assets/images/components/dash.png +0 -0
- package/dist-client/assets/images/components/donut.png +0 -0
- package/dist-client/assets/images/components/ellipse.png +0 -0
- package/dist-client/assets/images/components/forklift.png +0 -0
- package/dist-client/assets/images/components/gif-image.png +0 -0
- package/dist-client/assets/images/components/global-reference.png +0 -0
- package/dist-client/assets/images/components/gray-image.png +0 -0
- package/dist-client/assets/images/components/humidity-sensor.png +0 -0
- package/dist-client/assets/images/components/info-window.png +0 -0
- package/dist-client/assets/images/components/line.png +0 -0
- package/dist-client/assets/images/components/local-reference.png +0 -0
- package/dist-client/assets/images/components/no-image.png +0 -0
- package/dist-client/assets/images/components/person.png +0 -0
- package/dist-client/assets/images/components/polygon.png +0 -0
- package/dist-client/assets/images/components/polyline.png +0 -0
- package/dist-client/assets/images/components/rect.png +0 -0
- package/dist-client/assets/images/components/single-arrow.png +0 -0
- package/dist-client/assets/images/components/star.png +0 -0
- package/dist-client/assets/images/components/text.png +0 -0
- package/dist-client/assets/images/components/triangle.png +0 -0
- package/dist-client/assets/images/ellipse.ico +0 -0
- package/dist-client/assets/images/etc.ico +0 -0
- package/dist-client/assets/images/forklift.png +0 -0
- package/dist-client/assets/images/gauge.ico +0 -0
- package/dist-client/assets/images/hatiolab-logo.bac71281.png +0 -0
- package/dist-client/assets/images/hatiolab-logo.png +0 -0
- package/dist-client/assets/images/home.png +0 -0
- package/dist-client/assets/images/icon-activate.png +0 -0
- package/dist-client/assets/images/icon-backinfo.png +0 -0
- package/dist-client/assets/images/icon-brand.png +0 -0
- package/dist-client/assets/images/icon-close.png +0 -0
- package/dist-client/assets/images/icon-collapse-active.png +0 -0
- package/dist-client/assets/images/icon-collapse.png +0 -0
- package/dist-client/assets/images/icon-congratulations.png +0 -0
- package/dist-client/assets/images/icon-domain.png +0 -0
- package/dist-client/assets/images/icon-editor-gradient-direction.png +0 -0
- package/dist-client/assets/images/icon-fullscreen.png +0 -0
- package/dist-client/assets/images/icon-htoolbar.png +0 -0
- package/dist-client/assets/images/icon-mobile-brand.png +0 -0
- package/dist-client/assets/images/icon-nametag.png +0 -0
- package/dist-client/assets/images/icon-pallet-barcode.png +0 -0
- package/dist-client/assets/images/icon-profile.png +0 -0
- package/dist-client/assets/images/icon-properties-arrow-type.png +0 -0
- package/dist-client/assets/images/icon-properties-gradient-direction.png +0 -0
- package/dist-client/assets/images/icon-properties-ipattern.png +0 -0
- package/dist-client/assets/images/icon-properties-label.png +0 -0
- package/dist-client/assets/images/icon-properties-line-type.png +0 -0
- package/dist-client/assets/images/icon-properties-padding.png +0 -0
- package/dist-client/assets/images/icon-properties-ratio.png +0 -0
- package/dist-client/assets/images/icon-properties-table.png +0 -0
- package/dist-client/assets/images/icon-properties.png +0 -0
- package/dist-client/assets/images/icon-resource-select.png +0 -0
- package/dist-client/assets/images/icon-result.png +0 -0
- package/dist-client/assets/images/icon-setting.png +0 -0
- package/dist-client/assets/images/icon-shell-inspector.png +0 -0
- package/dist-client/assets/images/icon-vtoolbar-objects.png +0 -0
- package/dist-client/assets/images/icon-vtoolbar.png +0 -0
- package/dist-client/assets/images/invitation.png +0 -0
- package/dist-client/assets/images/line.ico +0 -0
- package/dist-client/assets/images/media.ico +0 -0
- package/dist-client/assets/images/person.png +0 -0
- package/dist-client/assets/images/poly.ico +0 -0
- package/dist-client/assets/images/profile.png +0 -0
- package/dist-client/assets/images/rect.ico +0 -0
- package/dist-client/assets/images/shape.ico +0 -0
- package/dist-client/assets/images/spinner.png +0 -0
- package/dist-client/assets/images/table.ico +0 -0
- package/dist-client/assets/images/text.ico +0 -0
- package/dist-client/assets/images/warehouse.ico +0 -0
- package/dist-client/assets/img.png +0 -0
- package/dist-client/assets/indoor-map.png +0 -0
- package/dist-client/assets/input-checkbox.png +0 -0
- package/dist-client/assets/input-color.png +0 -0
- package/dist-client/assets/input-date.png +0 -0
- package/dist-client/assets/input-email.png +0 -0
- package/dist-client/assets/input-file.png +0 -0
- package/dist-client/assets/input-number.png +0 -0
- package/dist-client/assets/input-password.png +0 -0
- package/dist-client/assets/input-radio.png +0 -0
- package/dist-client/assets/input-range.png +0 -0
- package/dist-client/assets/input-reset.png +0 -0
- package/dist-client/assets/input-search.png +0 -0
- package/dist-client/assets/input-submit.png +0 -0
- package/dist-client/assets/input-text.png +0 -0
- package/dist-client/assets/line-chart.png +0 -0
- package/dist-client/assets/link.png +0 -0
- package/dist-client/assets/manifest/apple-1024.png +0 -0
- package/dist-client/assets/manifest/apple-120.png +0 -0
- package/dist-client/assets/manifest/apple-152.png +0 -0
- package/dist-client/assets/manifest/apple-167.png +0 -0
- package/dist-client/assets/manifest/apple-180.png +0 -0
- package/dist-client/assets/manifest/apple-touch-icon.png +0 -0
- package/dist-client/assets/manifest/badge-128x128.png +0 -0
- package/dist-client/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
- package/dist-client/assets/manifest/chrome-touch-icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-128x128.png +0 -0
- package/dist-client/assets/manifest/icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-512x512.png +0 -0
- package/dist-client/assets/manifest/icon-72x72.png +0 -0
- package/dist-client/assets/manifest/icon-96x96.png +0 -0
- package/dist-client/assets/manifest/image-metaog.png +0 -0
- package/dist-client/assets/manifest/maskable_icon.png +0 -0
- package/dist-client/assets/manifest/ms-icon-144x144.png +0 -0
- package/dist-client/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
- package/dist-client/assets/manifest.json +0 -27
- package/dist-client/assets/mixed-chart.png +0 -0
- package/dist-client/assets/no-image.png +0 -0
- package/dist-client/assets/pie-chart.png +0 -0
- package/dist-client/assets/polar-area-chart.png +0 -0
- package/dist-client/assets/progress-circle.png +0 -0
- package/dist-client/assets/progress-horizontal.png +0 -0
- package/dist-client/assets/progress-vertical.png +0 -0
- package/dist-client/assets/rack.png +0 -0
- package/dist-client/assets/radar-chart.png +0 -0
- package/dist-client/assets/random.png +0 -0
- package/dist-client/assets/scripts/markdown-webworker.js +0 -30
- package/dist-client/assets/select.png +0 -0
- package/dist-client/assets/tab.png +0 -0
- package/dist-client/assets/textarea.png +0 -0
- package/dist-client/auth/activate.js +0 -362
- package/dist-client/auth/checkin.js +0 -310
- package/dist-client/auth/forgot-password.js +0 -467
- package/dist-client/auth/reset-password.js +0 -467
- package/dist-client/auth/result.js +0 -379
- package/dist-client/auth/signin.js +0 -450
- package/dist-client/auth/signup.js +0 -450
- package/dist-client/auth/unlock-user.js +0 -467
- package/dist-client/headless-scene-components.js +0 -401
- package/dist-client/helps/about/components.md +0 -3
- package/dist-client/helps/about/framework/redirection.md +0 -45
- package/dist-client/helps/about/framework/typegraphql.md +0 -74
- package/dist-client/helps/about/framework.md +0 -10
- package/dist-client/helps/about/modules.md +0 -7
- package/dist-client/helps/about/things-factory.en.md +0 -255
- package/dist-client/helps/about/things-factory.ko.md +0 -258
- package/dist-client/helps/auth/appliance.en.md +0 -22
- package/dist-client/helps/auth/appliance.ko.md +0 -40
- package/dist-client/helps/auth/application.en.md +0 -33
- package/dist-client/helps/auth/images/app-binding.png +0 -0
- package/dist-client/helps/auth/images/appliance-generate-key.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-1.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-2.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-3.png +0 -0
- package/dist-client/helps/auth/images/application-hub.png +0 -0
- package/dist-client/helps/auth/images/authorization-postman.png +0 -0
- package/dist-client/helps/auth/images/create-button2.png +0 -0
- package/dist-client/helps/auth/images/create-role.png +0 -0
- package/dist-client/helps/auth/images/flowchart-appliance-registration.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-role-management.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-user-account.jpg +0 -0
- package/dist-client/helps/auth/images/invite-user.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer-confirm.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer.png +0 -0
- package/dist-client/helps/auth/images/postman.png +0 -0
- package/dist-client/helps/auth/images/register-appliance-new.png +0 -0
- package/dist-client/helps/auth/images/register-appliance.png +0 -0
- package/dist-client/helps/auth/images/register-application.png +0 -0
- package/dist-client/helps/auth/images/registered-role.png +0 -0
- package/dist-client/helps/auth/images/role-list.png +0 -0
- package/dist-client/helps/auth/images/role-privilage.png +0 -0
- package/dist-client/helps/auth/images/role-privileges.png +0 -0
- package/dist-client/helps/auth/images/save-button2.png +0 -0
- package/dist-client/helps/auth/images/save-button3.png +0 -0
- package/dist-client/helps/auth/images/transfer-owner.png +0 -0
- package/dist-client/helps/auth/images/update-roles.png +0 -0
- package/dist-client/helps/auth/images/user-delete.png +0 -0
- package/dist-client/helps/auth/images/user-error.png +0 -0
- package/dist-client/helps/auth/images/user-invite.png +0 -0
- package/dist-client/helps/auth/images/user-roles.png +0 -0
- package/dist-client/helps/auth/roles.en.md +0 -59
- package/dist-client/helps/auth/roles.ko.md +0 -42
- package/dist-client/helps/auth/users.en.md +0 -33
- package/dist-client/helps/auth/users.ko.md +0 -54
- package/dist-client/helps/board-modeller/data-binding.ko.md +0 -86
- package/dist-client/helps/board-modeller/data-binding.md +0 -83
- package/dist-client/helps/board-modeller/data-binding.zh.md +0 -86
- package/dist-client/helps/board-modeller/effects/animation.ko.md +0 -46
- package/dist-client/helps/board-modeller/effects/animation.md +0 -47
- package/dist-client/helps/board-modeller/effects/animation.zh.md +0 -47
- package/dist-client/helps/board-modeller/effects/hover-event.ko.md +0 -55
- package/dist-client/helps/board-modeller/effects/hover-event.md +0 -57
- package/dist-client/helps/board-modeller/effects/hover-event.zh.md +0 -55
- package/dist-client/helps/board-modeller/effects/retention.ko.md +0 -4
- package/dist-client/helps/board-modeller/effects/retention.md +0 -4
- package/dist-client/helps/board-modeller/effects/retention.zh.md +0 -4
- package/dist-client/helps/board-modeller/effects/shadow.ko.md +0 -18
- package/dist-client/helps/board-modeller/effects/shadow.md +0 -21
- package/dist-client/helps/board-modeller/effects/shadow.zh.md +0 -19
- package/dist-client/helps/board-modeller/effects/tap-event.ko.md +0 -74
- package/dist-client/helps/board-modeller/effects/tap-event.md +0 -74
- package/dist-client/helps/board-modeller/effects/tap-event.zh.md +0 -74
- package/dist-client/helps/board-modeller/images/animation-01.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-02.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-03.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-04.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-05.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-06.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-07.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-08.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-09.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-10.gif +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-horizontal.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-vertical.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-margin.png +0 -0
- package/dist-client/helps/board-modeller/images/component-3D.png +0 -0
- package/dist-client/helps/board-modeller/images/component-arrow.png +0 -0
- package/dist-client/helps/board-modeller/images/component-chart-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-container.png +0 -0
- package/dist-client/helps/board-modeller/images/component-datasource.png +0 -0
- package/dist-client/helps/board-modeller/images/component-etc.png +0 -0
- package/dist-client/helps/board-modeller/images/component-form.png +0 -0
- package/dist-client/helps/board-modeller/images/component-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-image.png +0 -0
- package/dist-client/helps/board-modeller/images/component-iot.png +0 -0
- package/dist-client/helps/board-modeller/images/component-line.png +0 -0
- package/dist-client/helps/board-modeller/images/component-shape.png +0 -0
- package/dist-client/helps/board-modeller/images/component-table.png +0 -0
- package/dist-client/helps/board-modeller/images/component-text-media.png +0 -0
- package/dist-client/helps/board-modeller/images/component-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/component-warehouse.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-02.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-03.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-04.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-05.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-06.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-07.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-08.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-09.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-10.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-11.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-12.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-13.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-14.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-15.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-16.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-17.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-18.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-19.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-20.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-21.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-22.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-23.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-24.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-25.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-26.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-27.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-28.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-29.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-30.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-31.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-32.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/effect-property.png +0 -0
- package/dist-client/helps/board-modeller/images/hover-01.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-bevel.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-miter.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-round.png +0 -0
- package/dist-client/helps/board-modeller/images/modeler-layout-01.png +0 -0
- package/dist-client/helps/board-modeller/images/property-window.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-02.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-03.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-04.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-05.png +0 -0
- package/dist-client/helps/board-modeller/images/shape-property.png +0 -0
- package/dist-client/helps/board-modeller/images/specific-property.png +0 -0
- package/dist-client/helps/board-modeller/images/style-property.png +0 -0
- package/dist-client/helps/board-modeller/images/target-property.png +0 -0
- package/dist-client/helps/board-modeller/images/variable-property.png +0 -0
- package/dist-client/helps/board-modeller/modeller.ko.md +0 -244
- package/dist-client/helps/board-modeller/modeller.md +0 -206
- package/dist-client/helps/board-modeller/modeller.zh.md +0 -241
- package/dist-client/helps/board-modeller/shapes/3dish.ko.md +0 -3
- package/dist-client/helps/board-modeller/shapes/3dish.md +0 -3
- package/dist-client/helps/board-modeller/shapes/3dish.zh.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.ko.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.zh.md +0 -3
- package/dist-client/helps/board-modeller/shapes/shapes.ko.md +0 -15
- package/dist-client/helps/board-modeller/shapes/shapes.md +0 -18
- package/dist-client/helps/board-modeller/shapes/shapes.zh.md +0 -16
- package/dist-client/helps/board-modeller/shapes/size.ko.md +0 -5
- package/dist-client/helps/board-modeller/shapes/size.md +0 -5
- package/dist-client/helps/board-modeller/shapes/size.zh.md +0 -5
- package/dist-client/helps/board-modeller/shapes/text-box.ko.md +0 -19
- package/dist-client/helps/board-modeller/shapes/text-box.md +0 -18
- package/dist-client/helps/board-modeller/shapes/text-box.zh.md +0 -18
- package/dist-client/helps/board-modeller/shapes/viewer-option.ko.md +0 -8
- package/dist-client/helps/board-modeller/shapes/viewer-option.md +0 -8
- package/dist-client/helps/board-modeller/shapes/viewer-option.zh.md +0 -8
- package/dist-client/helps/board-modeller/styles/fill-style.ko.md +0 -17
- package/dist-client/helps/board-modeller/styles/fill-style.md +0 -17
- package/dist-client/helps/board-modeller/styles/fill-style.zh.md +0 -17
- package/dist-client/helps/board-modeller/styles/line-style.ko.md +0 -19
- package/dist-client/helps/board-modeller/styles/line-style.md +0 -23
- package/dist-client/helps/board-modeller/styles/line-style.zh.md +0 -19
- package/dist-client/helps/board-modeller/styles/opacity.ko.md +0 -3
- package/dist-client/helps/board-modeller/styles/opacity.md +0 -3
- package/dist-client/helps/board-modeller/styles/opacity.zh.md +0 -3
- package/dist-client/helps/board-modeller/styles/text-style.ko.md +0 -8
- package/dist-client/helps/board-modeller/styles/text-style.md +0 -8
- package/dist-client/helps/board-modeller/styles/text-style.zh.md +0 -8
- package/dist-client/helps/components/oops-progress.md +0 -73
- package/dist-client/helps/index.md +0 -1
- package/dist-client/helps/integration/concept/connection.md +0 -27
- package/dist-client/helps/integration/concept/context.md +0 -83
- package/dist-client/helps/integration/concept/data-accessor.md +0 -9
- package/dist-client/helps/integration/concept/pending-queue.md +0 -32
- package/dist-client/helps/integration/concept/scenario-engine.md +0 -10
- package/dist-client/helps/integration/concept/scenario.md +0 -4
- package/dist-client/helps/integration/concept/task.md +0 -25
- package/dist-client/helps/integration/connector/mqtt-connector.md +0 -17
- package/dist-client/helps/integration/connector/mssql-connector.md +0 -34
- package/dist-client/helps/integration/connector/oracle-connector.md +0 -66
- package/dist-client/helps/integration/connector/postgresql-connector.md +0 -34
- package/dist-client/helps/integration/connector/sqlite-connector.md +0 -17
- package/dist-client/helps/integration/index.md +0 -37
- package/dist-client/helps/integration/task/book-up-scenario.md +0 -24
- package/dist-client/helps/integration/task/end.md +0 -3
- package/dist-client/helps/integration/task/floating-point.md +0 -34
- package/dist-client/helps/integration/task/goto.md +0 -8
- package/dist-client/helps/integration/task/local-graphql-mutate.md +0 -21
- package/dist-client/helps/integration/task/local-graphql-query.md +0 -21
- package/dist-client/helps/integration/task/log.md +0 -14
- package/dist-client/helps/integration/task/mqtt-publish.md +0 -10
- package/dist-client/helps/integration/task/mqtt-subscribe.md +0 -15
- package/dist-client/helps/integration/task/pick-pending-scenario.md +0 -13
- package/dist-client/helps/integration/task/publish.md +0 -16
- package/dist-client/helps/integration/task/script.md +0 -39
- package/dist-client/helps/integration/task/sleep.md +0 -8
- package/dist-client/helps/integration/task/throw.md +0 -12
- package/dist-client/helps/integration/task/variables.md +0 -37
- package/dist-client/helps/integration/ui/connection.md +0 -16
- package/dist-client/helps/integration/ui/crontab-editor.md +0 -9
- package/dist-client/helps/integration/ui/integration-monitor.md +0 -29
- package/dist-client/helps/integration/ui/scenario-detail.md +0 -35
- package/dist-client/helps/integration/ui/scenario.md +0 -35
- package/dist-client/helps/module/api.md +0 -117
- package/dist-client/helps/module/dashboard.md +0 -27
- package/dist-client/helps/module/help.md +0 -40
- package/dist-client/helps/module/lite-menu.md +0 -112
- package/dist-client/helps/module/notification-images/config-app-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-app-2.png +0 -0
- package/dist-client/helps/module/notification-images/config-server-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-service-account.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-2-get-public-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-3-get-private-key.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-badge.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-list.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-setting-let.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-3.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-4.png +0 -0
- package/dist-client/helps/module/notification.md +0 -161
- package/dist-client/helps/oauth2-client/code-verifier.md +0 -5
- package/dist-client/helps/oauth2-client/credentials.md +0 -160
- package/dist-client/helps/oauth2-client/grant-type.md +0 -33
- package/dist-client/helps/scene/component/analog-clock.ko.md +0 -6
- package/dist-client/helps/scene/component/analog-clock.md +0 -8
- package/dist-client/helps/scene/component/analog-clock.zh.md +0 -6
- package/dist-client/helps/scene/component/arrow.ko.md +0 -9
- package/dist-client/helps/scene/component/arrow.md +0 -9
- package/dist-client/helps/scene/component/arrow.zh.md +0 -9
- package/dist-client/helps/scene/component/audio.ko.md +0 -1
- package/dist-client/helps/scene/component/audio.md +0 -1
- package/dist-client/helps/scene/component/audio.zh.md +0 -1
- package/dist-client/helps/scene/component/both-arrow.ko.md +0 -9
- package/dist-client/helps/scene/component/both-arrow.md +0 -9
- package/dist-client/helps/scene/component/both-arrow.zh.md +0 -9
- package/dist-client/helps/scene/component/chartjs.ko.md +0 -332
- package/dist-client/helps/scene/component/chartjs.md +0 -333
- package/dist-client/helps/scene/component/chartjs.zh.md +0 -331
- package/dist-client/helps/scene/component/color-image.ko.md +0 -9
- package/dist-client/helps/scene/component/color-image.md +0 -9
- package/dist-client/helps/scene/component/color-image.zh.md +0 -9
- package/dist-client/helps/scene/component/container.ko.md +0 -7
- package/dist-client/helps/scene/component/container.md +0 -9
- package/dist-client/helps/scene/component/container.zh.md +0 -8
- package/dist-client/helps/scene/component/donut.ko.md +0 -14
- package/dist-client/helps/scene/component/donut.md +0 -17
- package/dist-client/helps/scene/component/donut.zh.md +0 -18
- package/dist-client/helps/scene/component/dotted-line.ko.md +0 -7
- package/dist-client/helps/scene/component/dotted-line.md +0 -9
- package/dist-client/helps/scene/component/dotted-line.zh.md +0 -7
- package/dist-client/helps/scene/component/ellipse.ko.md +0 -11
- package/dist-client/helps/scene/component/ellipse.md +0 -11
- package/dist-client/helps/scene/component/ellipse.zh.md +0 -10
- package/dist-client/helps/scene/component/gauge-circle.ko.md +0 -168
- package/dist-client/helps/scene/component/gauge-circle.md +0 -167
- package/dist-client/helps/scene/component/gauge-circle.zh.md +0 -164
- package/dist-client/helps/scene/component/gauge-horizon.ko.md +0 -145
- package/dist-client/helps/scene/component/gauge-horizon.md +0 -145
- package/dist-client/helps/scene/component/gauge-horizon.zh.md +0 -145
- package/dist-client/helps/scene/component/gauge-vertical.ko.md +0 -12
- package/dist-client/helps/scene/component/gauge-vertical.md +0 -9
- package/dist-client/helps/scene/component/gauge-vertical.zh.md +0 -10
- package/dist-client/helps/scene/component/gif-view.ko.md +0 -10
- package/dist-client/helps/scene/component/gif-view.md +0 -10
- package/dist-client/helps/scene/component/gif-view.zh.md +0 -10
- package/dist-client/helps/scene/component/global-ref.ko.md +0 -1
- package/dist-client/helps/scene/component/global-ref.md +0 -1
- package/dist-client/helps/scene/component/global-ref.zh.md +0 -1
- package/dist-client/helps/scene/component/gray-image.ko.md +0 -9
- package/dist-client/helps/scene/component/gray-image.md +0 -9
- package/dist-client/helps/scene/component/gray-image.zh.md +0 -8
- package/dist-client/helps/scene/component/indoor-map.ko.md +0 -65
- package/dist-client/helps/scene/component/indoor-map.md +0 -65
- package/dist-client/helps/scene/component/indoor-map.zh.md +0 -65
- package/dist-client/helps/scene/component/info-window.ko.md +0 -1
- package/dist-client/helps/scene/component/info-window.md +0 -1
- package/dist-client/helps/scene/component/info-window.zh.md +0 -1
- package/dist-client/helps/scene/component/input.ko.md +0 -59
- package/dist-client/helps/scene/component/input.md +0 -59
- package/dist-client/helps/scene/component/input.zh.md +0 -58
- package/dist-client/helps/scene/component/line.ko.md +0 -9
- package/dist-client/helps/scene/component/line.md +0 -9
- package/dist-client/helps/scene/component/line.zh.md +0 -7
- package/dist-client/helps/scene/component/local-ref.ko.md +0 -1
- package/dist-client/helps/scene/component/local-ref.md +0 -1
- package/dist-client/helps/scene/component/local-ref.zh.md +0 -1
- package/dist-client/helps/scene/component/marker.ko.md +0 -15
- package/dist-client/helps/scene/component/marker.md +0 -15
- package/dist-client/helps/scene/component/marker.zh.md +0 -15
- package/dist-client/helps/scene/component/news-ticker.ko.md +0 -27
- package/dist-client/helps/scene/component/news-ticker.md +0 -27
- package/dist-client/helps/scene/component/news-ticker.zh.md +0 -27
- package/dist-client/helps/scene/component/polygon.ko.md +0 -9
- package/dist-client/helps/scene/component/polygon.md +0 -9
- package/dist-client/helps/scene/component/polygon.zh.md +0 -9
- package/dist-client/helps/scene/component/polyline.ko.md +0 -10
- package/dist-client/helps/scene/component/polyline.md +0 -10
- package/dist-client/helps/scene/component/polyline.zh.md +0 -10
- package/dist-client/helps/scene/component/progress-circle.ko.md +0 -41
- package/dist-client/helps/scene/component/progress-circle.md +0 -42
- package/dist-client/helps/scene/component/progress-circle.zh.md +0 -39
- package/dist-client/helps/scene/component/progress-horizontal.ko.md +0 -37
- package/dist-client/helps/scene/component/progress-horizontal.md +0 -31
- package/dist-client/helps/scene/component/progress-horizontal.zh.md +0 -31
- package/dist-client/helps/scene/component/progress-vertical.ko.md +0 -23
- package/dist-client/helps/scene/component/progress-vertical.md +0 -24
- package/dist-client/helps/scene/component/progress-vertical.zh.md +0 -23
- package/dist-client/helps/scene/component/rack.ko.md +0 -17
- package/dist-client/helps/scene/component/rack.md +0 -15
- package/dist-client/helps/scene/component/rack.zh.md +0 -16
- package/dist-client/helps/scene/component/random.ko.md +0 -12
- package/dist-client/helps/scene/component/random.md +0 -11
- package/dist-client/helps/scene/component/random.zh.md +0 -11
- package/dist-client/helps/scene/component/rect.ko.md +0 -17
- package/dist-client/helps/scene/component/rect.md +0 -16
- package/dist-client/helps/scene/component/rect.zh.md +0 -16
- package/dist-client/helps/scene/component/simple-switch.ko.md +0 -20
- package/dist-client/helps/scene/component/simple-switch.md +0 -19
- package/dist-client/helps/scene/component/simple-switch.zh.md +0 -19
- package/dist-client/helps/scene/component/star.ko.md +0 -19
- package/dist-client/helps/scene/component/star.md +0 -19
- package/dist-client/helps/scene/component/star.zh.md +0 -19
- package/dist-client/helps/scene/component/tab.ko.md +0 -14
- package/dist-client/helps/scene/component/tab.md +0 -13
- package/dist-client/helps/scene/component/tab.zh.md +0 -13
- package/dist-client/helps/scene/component/text-clock.ko.md +0 -25
- package/dist-client/helps/scene/component/text-clock.md +0 -22
- package/dist-client/helps/scene/component/text-clock.zh.md +0 -22
- package/dist-client/helps/scene/component/text.ko.md +0 -9
- package/dist-client/helps/scene/component/text.md +0 -9
- package/dist-client/helps/scene/component/text.zh.md +0 -9
- package/dist-client/helps/scene/component/top-rounded-ractangle.ko.md +0 -15
- package/dist-client/helps/scene/component/top-rounded-ractangle.md +0 -15
- package/dist-client/helps/scene/component/top-rounded-ractangle.zh.md +0 -15
- package/dist-client/helps/scene/component/triangle.ko.md +0 -9
- package/dist-client/helps/scene/component/triangle.md +0 -9
- package/dist-client/helps/scene/component/triangle.zh.md +0 -9
- package/dist-client/helps/scene/images/both-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-02.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-02.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-08.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-12.png +0 -0
- package/dist-client/helps/scene/images/chart-data-01.png +0 -0
- package/dist-client/helps/scene/images/chart-data-04.png +0 -0
- package/dist-client/helps/scene/images/chart-doughnut-01.png +0 -0
- package/dist-client/helps/scene/images/chart-horizontal-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-line-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-02.png +0 -0
- package/dist-client/helps/scene/images/chart-pie-01.png +0 -0
- package/dist-client/helps/scene/images/chart-polar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-radar-01.png +0 -0
- package/dist-client/helps/scene/images/clock-analog-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-02.png +0 -0
- package/dist-client/helps/scene/images/clock-text-03.png +0 -0
- package/dist-client/helps/scene/images/clock-text-04.png +0 -0
- package/dist-client/helps/scene/images/container-01.png +0 -0
- package/dist-client/helps/scene/images/container-03.png +0 -0
- package/dist-client/helps/scene/images/container-04.png +0 -0
- package/dist-client/helps/scene/images/dash-01.png +0 -0
- package/dist-client/helps/scene/images/donut-01.png +0 -0
- package/dist-client/helps/scene/images/donut-02.png +0 -0
- package/dist-client/helps/scene/images/ellipse-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-18.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-19.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-20.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-21.png +0 -0
- package/dist-client/helps/scene/images/gauge-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-18.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-01.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-button-finish-01.gif +0 -0
- package/dist-client/helps/scene/images/indoor-create-01.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-03.png +0 -0
- package/dist-client/helps/scene/images/indoor-setting-01.png +0 -0
- package/dist-client/helps/scene/images/line-01.png +0 -0
- package/dist-client/helps/scene/images/marker-01.png +0 -0
- package/dist-client/helps/scene/images/marker-02.png +0 -0
- package/dist-client/helps/scene/images/media-01.png +0 -0
- package/dist-client/helps/scene/images/media-02.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_1.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_2.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_3.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_1.gif +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_2.gif +0 -0
- package/dist-client/helps/scene/images/polygon-01.png +0 -0
- package/dist-client/helps/scene/images/polyline-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-02.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-03.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-04.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-05.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-02.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-03.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-04.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/rect-01.png +0 -0
- package/dist-client/helps/scene/images/rect-02.png +0 -0
- package/dist-client/helps/scene/images/single-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/star-01.png +0 -0
- package/dist-client/helps/scene/images/star-02.png +0 -0
- package/dist-client/helps/scene/images/star-03.png +0 -0
- package/dist-client/helps/scene/images/text-01.png +0 -0
- package/dist-client/helps/scene/images/triangle-01.png +0 -0
- package/dist-client/helps/setting/images/confirm-button.PNG +0 -0
- package/dist-client/helps/setting/images/delete-button.png +0 -0
- package/dist-client/helps/setting/images/error-setting.png +0 -0
- package/dist-client/helps/setting/images/export-button.png +0 -0
- package/dist-client/helps/setting/images/flowchart-setting-management.jpg +0 -0
- package/dist-client/helps/setting/images/partner-setting.png +0 -0
- package/dist-client/helps/setting/images/partners-list.PNG +0 -0
- package/dist-client/helps/setting/images/save-button.png +0 -0
- package/dist-client/helps/setting/images/select-button.PNG +0 -0
- package/dist-client/helps/setting/images/setting-board.png +0 -0
- package/dist-client/helps/setting/images/upload-button.png +0 -0
- package/dist-client/helps/setting/partner-setting.en.md +0 -19
- package/dist-client/helps/setting/settings.en.md +0 -26
- package/dist-client/helps/setting/settings.ko.md +0 -4
- package/dist-client/index.html +0 -14
- package/dist-client/main.js +0 -228
- package/dist-client/modules.js +0 -171
- package/dist-client/node_modules/@hatiolab/things-scene/package.json +0 -81
- package/dist-client/node_modules/@hatiolab/things-scene/rollup.config.js +0 -40
- package/dist-client/node_modules/@hatiolab/things-scene/things-board.js +0 -9
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-ie.js +0 -1
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-min.js +0 -1
- package/dist-client/node_modules/@lottiefiles/lottie-player/dist/lottie-player.js +0 -44
- package/dist-client/node_modules/@lottiefiles/lottie-player/dist/lottie-player.js.map +0 -1
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +0 -206
- package/dist-client/node_modules/marked/marked.min.js +0 -6
- package/dist-client/node_modules/marked/package.json +0 -88
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js +0 -16
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js.map +0 -1
- package/dist-client/oauth2/oauth2-decision-error-page.js +0 -299
- package/dist-client/oauth2/oauth2-decision-page.js +0 -362
- package/dist-client/openapi/unstable/scenario.yaml +0 -240
- package/dist-client/openapi/unstable.yaml +0 -41
- package/dist-client/profile.js +0 -1
- package/dist-client/public/home.js +0 -332
- package/dist-client/service-worker.js +0 -1
- package/dist-client/theme.css +0 -33
- package/dist-client/theme.js +0 -1
- package/dist-client/translations/en.json +0 -1083
- package/dist-client/translations/ko.json +0 -1083
- package/dist-client/translations/ms.json +0 -1073
- package/dist-client/translations/zh.json +0 -1061
- package/dist-client/vendors~modules.js +0 -2423
- package/dist-client/views/auth-page.html +0 -93
- package/dist-client/views/dependencies-view-graphviz.html +0 -75
- package/dist-client/views/dependencies-view.html +0 -139
- package/dist-client/views/internal-board-service-view.html +0 -65
- package/dist-client/views/internal-label-command-view.html +0 -301
- package/dist-client/views/oauth2-page.html +0 -90
- package/dist-client/views/public/home.html +0 -83
- package/dist-client/views/scenario-view.html +0 -64
- package/dist-client/views/template.html +0 -21
- package/logs/application-2021-11-08-10.log +0 -4
- package/logs/connections-2021-11-02-18.log +0 -0
- package/logs/connections-2021-11-03-09.log +0 -0
- package/logs/connections-2021-11-04-12.log +0 -0
- package/logs/connections-2021-11-04-13.log +0 -0
- package/logs/connections-2021-11-04-20.log +0 -0
- package/logs/connections-2021-11-08-10.log +0 -0
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
!function(e){function t(t){for(var n,a,s=t[0],c=t[1],l=t[3]||[],p=0,d=[];p<s.length;p++)a=s[p],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&d.push(r[a][0]),r[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(u&&u(t),l.forEach((function(e){if(void 0===r[e]){r[e]=null;var t=document.createElement("link");o.nc&&t.setAttribute("nonce",o.nc),t.rel="prefetch",t.as="script",t.href=i(e),document.head.appendChild(t)}}));d.length;)d.shift()()}var n={},r={12:0,9:0};function i(e){return o.p+""+({10:"modules",13:"profile",16:"vendors~modules"}[e]||e)+".js"}function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=a);var s,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=i(e);var u=new Error;s=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}r[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:c})}),12e4);c.onerror=c.onload=s,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var u=s,l=o(o.s=903);t([[],{},0,[16,10]])}([function(e,t,n){"use strict";n.d(t,"c",(function(){return k})),n.d(t,"f",(function(){return S})),n.d(t,"j",(function(){return j})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return T})),n.d(t,"d",(function(){return I})),n.d(t,"h",(function(){return D})),n.d(t,"e",(function(){return p.g})),n.d(t,"k",(function(){return B})),n.d(t,"b",(function(){return q})),n.d(t,"a",(function(){return V}));var r=n(12),i=n(6);function o(e,t){for(var{element:{content:n},parts:r}=e,i=document.createTreeWalker(n,133,null,!1),o=s(r),a=r[o],c=-1,u=0,l=[],p=null;i.nextNode();){c++;var d=i.currentNode;for(d.previousSibling===p&&(p=null),t.has(d)&&(l.push(d),null===p&&(p=d)),null!==p&&u++;void 0!==a&&a.index===c;)a.index=null!==p?-1:a.index-u,a=r[o=s(r,o)]}l.forEach(e=>e.parentNode.removeChild(e))}var a=e=>{for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,133,null,!1);n.nextNode();)t++;return t},s=(e,t=-1)=>{for(var n=t+1;n<e.length;n++){var r=e[n];if(Object(i.d)(r))return n}return-1};var c=n(22),u=n(21),l=n(31),p=n(5),d=(e,t)=>"".concat(e,"--").concat(t),f=!0;void 0===window.ShadyCSS?f=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),f=!1);var h=e=>t=>{var n=d(t.type,e),r=u.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},u.a.set(n,r));var o=r.stringsArray.get(t.strings);if(void 0!==o)return o;var a=t.strings.join(i.f);if(void 0===(o=r.keyString.get(a))){var s=t.getTemplateElement();f&&window.ShadyCSS.prepareTemplateDom(s,e),o=new i.a(t,s),r.keyString.set(a,o)}return r.stringsArray.set(t.strings,o),o},m=["html","svg"],v=new Set,y=(e,t,n)=>{v.add(e);var r=n?n.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:c}=i;if(0!==c){for(var l=document.createElement("style"),p=0;p<c;p++){var f=i[p];f.parentNode.removeChild(f),l.textContent+=f.textContent}(e=>{m.forEach(t=>{var n=u.a.get(d(t,e));void 0!==n&&n.keyString.forEach(e=>{var{element:{content:t}}=e,n=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{n.add(e)}),o(e,n)})})})(e);var h=r.content;n?function(e,t,n=null){var{element:{content:r},parts:i}=e;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),c=s(i),u=0,l=-1;o.nextNode();){for(l++,o.currentNode===n&&(u=a(t),n.parentNode.insertBefore(t,n));-1!==c&&i[c].index===l;){if(u>0){for(;-1!==c;)i[c].index+=u,c=s(i,c);return}c=s(i,c)}}else r.appendChild(t)}(n,l,h.firstChild):h.insertBefore(l,h.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var y=h.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)t.insertBefore(y.cloneNode(!0),t.firstChild);else if(n){h.insertBefore(l,h.firstChild);var b=new Set;b.add(l),o(n,b)}}else window.ShadyCSS.prepareTemplateStyles(r,e)};function b(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}window.JSCompiler_renameProperty=(e,t)=>e;var g={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},w=(e,t)=>t!==e&&(t==t||e==e),x={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:w};class O extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,n)=>{var r=this._attributeNameForProperty(n,t);void 0!==r&&(this._attributeToPropertyMap.set(r,n),e.push(r))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e,t=x){if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"==typeof e?Symbol():"__".concat(e),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){var i=this[e];this[t]=r,this.requestUpdateInternal(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||x}static finalize(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var r of n)this.createProperty(r,t[r])}}static _attributeNameForProperty(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,n=w){return n(e,t)}static _propertyValueFromAttribute(e,t){var n=t.type,r=t.converter||g,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||g.toAttribute)(e,n)}}initialize(){this._updateState=0,this._updatePromise=new Promise(e=>this._enableUpdatingResolver=e),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var n=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,n)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,n){t!==n&&this._attributeToProperty(e,n)}_propertyToAttribute(e,t,n=x){var r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(e,t,n){var r=!0;if(void 0!==e){var i=this.constructor;n=n||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}_enqueueUpdate(){var e,t=this;return(e=function*(){t._updateState=4|t._updateState;try{yield t._updatePromise}catch(e){}var e=t.performUpdate();return null!=e&&(yield e),!t._hasRequestedUpdate},function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){b(o,r,i,a,s,"next",e)}function s(e){b(o,r,i,a,s,"throw",e)}a(void 0)}))})()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}function _(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}O.finalized=!0;
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5
|
-
* This code may only be used under the BSD style license found at
|
|
6
|
-
* http://polymer.github.io/LICENSE.txt
|
|
7
|
-
* The complete set of authors may be found at
|
|
8
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
-
* The complete set of contributors may be found at
|
|
10
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
-
* Code distributed by Google as part of the polymer project is also
|
|
12
|
-
* subject to an additional IP rights grant found at
|
|
13
|
-
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
*/
|
|
15
|
-
var k=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{var{kind:n,elements:r}=t;return{kind:n,elements:r,finisher(t){window.customElements.define(e,t)}}})(e,t),E=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function S(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):E(e,t)}var j=e=>function(e){return S({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})}(e);function A(e,t){return(n,r)=>{var i={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){var o=void 0!==r?r:n.key,a="symbol"==typeof o?Symbol():"__".concat(o);i.get=function(){return void 0===this[a]&&(this[a]=this.renderRoot.querySelector(e)),this[a]}}return void 0!==r?C(i,n,r):P(i,n)}}function T(e){return(t,n)=>{var r={get(){var t,n=this;return(t=function*(){return yield n.updateComplete,n.renderRoot.querySelector(e)},function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)}))})()},enumerable:!0,configurable:!0};return void 0!==n?C(r,t,n):P(r,t)}}var C=(e,t,n)=>{Object.defineProperty(t,n,e)},P=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function I(e){return(t,n)=>void 0!==n?((e,t,n)=>{Object.assign(t[n],e)})(e,t,n):((e,t)=>Object.assign(Object.assign({},t),{finisher(n){Object.assign(n.prototype[t.key],e)}}))(e,t)}var R=Element.prototype,N=R.msMatchesSelector||R.webkitMatchesSelector;function D(e="",t=!1,n=""){return(r,i)=>{var o={get(){var r="slot".concat(e?"[name=".concat(e,"]"):":not([name])"),i=this.renderRoot.querySelector(r),o=i&&i.assignedNodes({flatten:t});return o&&n&&(o=o.filter(e=>e.nodeType===Node.ELEMENT_NODE&&(e.matches?e.matches(n):N.call(e,n)))),o},enumerable:!0,configurable:!0};return void 0!==i?C(o,r,i):P(o,r)}}
|
|
16
|
-
/**
|
|
17
|
-
@license
|
|
18
|
-
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
|
19
|
-
This code may only be used under the BSD style license found at
|
|
20
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
21
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
22
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
23
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
24
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
25
|
-
*/var L=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,M=Symbol();class F{constructor(e,t){if(t!==M)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(L?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}var B=e=>new F(String(e),M),q=(e,...t)=>{var n=t.reduce((t,n,r)=>t+(e=>{if(e instanceof F)return e.cssText;if("number"==typeof e)return e;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(e,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))})(n)+e[r+1],e[0]);return new F(n,M)};
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
29
|
-
* This code may only be used under the BSD style license found at
|
|
30
|
-
* http://polymer.github.io/LICENSE.txt
|
|
31
|
-
* The complete set of authors may be found at
|
|
32
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
33
|
-
* The complete set of contributors may be found at
|
|
34
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
35
|
-
* Code distributed by Google as part of the polymer project is also
|
|
36
|
-
* subject to an additional IP rights grant found at
|
|
37
|
-
* http://polymer.github.io/PATENTS.txt
|
|
38
|
-
*/
|
|
39
|
-
(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");var U={};class V extends O{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var e=this.getStyles();if(Array.isArray(e)){var t=(e,n)=>e.reduceRight((e,n)=>Array.isArray(n)?t(n,e):(e.add(n),e),n),n=t(e,new Set),r=[];n.forEach(e=>r.unshift(e)),this._styles=r}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(e=>{if(e instanceof CSSStyleSheet&&!L){var t=Array.prototype.slice.call(e.cssRules).reduce((e,t)=>e+t.cssText,"");return B(t)}return e})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow(this.constructor.shadowRootOptions)}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?L?this.renderRoot.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){var t=this.render();super.update(e),t!==U&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return U}}V.finalized=!0,V.render=(e,t,n)=>{if(!n||"object"!=typeof n||!n.scopeName)throw new Error("The `scopeName` option is required.");var i=n.scopeName,o=c.a.has(t),a=f&&11===t.nodeType&&!!t.host,s=a&&!v.has(i),u=s?document.createDocumentFragment():t;if(Object(c.b)(e,u,Object.assign({templateFactory:h(i)},n)),s){var p=c.a.get(u);c.a.delete(u);var d=p.value instanceof l.a?p.value.template:void 0;y(i,u,d),Object(r.b)(t,t.firstChild),t.appendChild(u),c.a.set(t,p)}!o&&a&&window.ShadyCSS.styleElement(t.host)},V.shadowRootOptions={mode:"open"}},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f}));
|
|
40
|
-
/*! *****************************************************************************
|
|
41
|
-
Copyright (c) Microsoft Corporation.
|
|
42
|
-
|
|
43
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
44
|
-
purpose with or without fee is hereby granted.
|
|
45
|
-
|
|
46
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
47
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
48
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
49
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
50
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
51
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
52
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
53
|
-
***************************************************************************** */
|
|
54
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}Object.create;function l(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function d(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function f(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return V})),n.d(t,"e",(function(){return Q})),n.d(t,"f",(function(){return G})),n.d(t,"g",(function(){return I})),n.d(t,"h",(function(){return R})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return k})),n.d(t,"l",(function(){return P})),n.d(t,"m",(function(){return j})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return C})),n.d(t,"p",(function(){return p})),n.d(t,"q",(function(){return $})),n.d(t,"r",(function(){return O})),n.d(t,"s",(function(){return x})),n.d(t,"t",(function(){return h})),n.d(t,"u",(function(){return v})),n.d(t,"v",(function(){return m})),n.d(t,"w",(function(){return b})),n.d(t,"x",(function(){return K})),n.d(t,"y",(function(){return W})),n.d(t,"z",(function(){return X})),n.d(t,"A",(function(){return ee})),n.d(t,"B",(function(){return te})),n.d(t,"C",(function(){return z})),n.d(t,"D",(function(){return U})),n.d(t,"E",(function(){return f})),n.d(t,"F",(function(){return w})),n.d(t,"G",(function(){return u})),n.d(t,"H",(function(){return y})),n.d(t,"I",(function(){return J}));var r=n(20),i=n(4),o=n(1),a=n(139),s=n.n(a);n(129);function c(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return c(o,e.name,e.value,r)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var a=(r||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return c(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new i.a(17);e[t.value]=null}}function u(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,o=r.value;return c(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)}))),p(e.name.value,r,n)}var l=["connection","include","skip","client","rest","export"];function p(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach((function(e){o[e]=i[e]})),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var c=s()(t);a+="("+c+")"}return n&&Object.keys(n).forEach((function(e){-1===l.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)})),a}function d(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),n}return null}function f(e){return e.alias?e.alias.value:e.name.value}function h(e){return"Field"===e.kind}function m(e){return"InlineFragment"===e.kind}function v(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function y(e,t){return void 0===t&&(t=!1),Object(o.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function b(e){return null!=e&&"object"==typeof e&&"json"===e.type}function g(e,t){if(e.directives&&e.directives.length){var n={};return e.directives.forEach((function(e){n[e.name.value]=d(e,t)})),n}return null}function w(e,t){return void 0===t&&(t={}),(n=e.directives,n?n.filter(_).map((function(e){var t=e.arguments;e.name.value,Object(i.b)(t&&1===t.length,14);var n=t[0];Object(i.b)(n.name&&"if"===n.name.value,15);var r=n.value;return Object(i.b)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t[r.value.name.value],Object(i.b)(void 0!==o,13)):o=r.value.value,"skip"===n.name.value?!o:o}));var n}function x(e,t){return function(e){var t=[];return Object(r.c)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function O(e){return e&&x(["client"],e)&&x(["export"],e)}function _(e){var t=e.name.value;return"skip"===t||"include"===t}function k(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(i.b)(1===r.length,12),n=r[0].name.value),Object(o.a)(Object(o.a)({},e),{definitions:Object(o.i)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function E(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function S(e){Object(i.b)(e&&"Document"===e.kind,2);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.a(3);return e}));return Object(i.b)(t.length<=1,4),e}function j(e){return S(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function A(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function T(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function C(e){var t=j(e);return Object(i.b)(t&&"query"===t.operation,6),t}function P(e){var t;S(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw new i.a(10)}function I(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function R(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return c(r,t.name,n),r}));return E.apply(void 0,Object(o.i)([{}],t))}return{}}function N(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}var D={kind:"Field",name:{kind:"Name",value:"__typename"}};function L(e){return function e(t,n){return t.selectionSet.selections.every((function(t){return"FragmentSpread"===t.kind&&e(n[t.name.value],n)}))}(j(e)||function(e){Object(i.b)("Document"===e.kind,7),Object(i.b)(e.definitions.length<=1,8);var t=e.definitions[0];return Object(i.b)("FragmentDefinition"===t.kind,9),t}(e),I(T(e)))?null:e}function M(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function F(e,t){var n=Object.create(null),i=[],a=Object.create(null),s=[],c=L(Object(r.c)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(M(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&function e(t){var n=[];return t.selections.forEach((function(t){(h(t)||m(t))&&t.selectionSet?e(t.selectionSet).forEach((function(e){return n.push(e)})):"FragmentSpread"===t.kind&&n.push(t)})),n}(t.selectionSet).forEach((function(e){s.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){a[e.name.value]=!0}},Directive:{enter:function(t){if(M(e)(t))return null}}}));return c&&N(i,(function(e){return!n[e.name]})).length&&(c=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return L(Object(r.c)(t,{OperationDefinition:{enter:function(t){return Object(o.a)(Object(o.a)({},t),{variableDefinitions:t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))}))})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(i,c)),c&&N(s,(function(e){return!a[e.name]})).length&&(c=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return L(Object(r.c)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(s,c)),c}function B(e){return Object(r.c)(S(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return h(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!(h(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return Object(o.a)(Object(o.a)({},e),{selections:Object(o.i)(r,[D])})}}}}})}var q={test:function(e){var t="connection"===e.name.value;return t&&(!e.arguments||e.arguments.some((function(e){return"key"===e.name.value}))),t}};function U(e){return F([q],S(e))}function V(e){return"query"===P(e).operation?e:Object(r.c)(e,{OperationDefinition:{enter:function(e){return Object(o.a)(Object(o.a)({},e),{operation:"query"})}}})}function z(e){S(e);var t=F([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=Object(r.c)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return h(e)&&"__typename"===e.name.value})))return null}}})),t}var Q="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),H=Object.prototype.toString;function G(e){return function e(t,n){switch(H.call(t)){case"[object Array]":if(n.has(t))return n.get(t);var r=t.slice(0);return n.set(t,r),r.forEach((function(t,i){r[i]=e(t,n)})),r;case"[object Object]":if(n.has(t))return n.get(t);var i=Object.create(Object.getPrototypeOf(t));return n.set(t,i),Object.keys(t).forEach((function(r){i[r]=e(t[r],n)})),i;default:return t}}(e,new Map)}function Y(t){return(void 0!==e?"production":"development")===t}function K(){return!0===Y("production")}function W(){return!0===Y("test")}function J(e){try{return e()}catch(e){console.error&&console.error(e)}}function $(e){return e.errors&&e.errors.length}function X(e){if((!0===Y("development")||W())&&!("function"==typeof Symbol&&"string"==typeof Symbol("")))return function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])})),t}(e);return e}var Z=Object.prototype.hasOwnProperty;function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return te(e)}function te(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=ie(t,r);for(var i=1;i<n;++i)t=re(t,e[i],r)}return t}function ne(e){return null!==e&&"object"==typeof e}function re(e,t,n){return ne(t)&&ne(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=ie(e,n)),Object.keys(t).forEach((function(r){var i=t[r];if(Z.call(e,r)){var o=e[r];i!==o&&(e[r]=re(ie(o,n),i,n))}else e[r]=i})),e):t}function ie(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):Object(o.a)({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({})}).call(this,n(95))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(1),i=Object.setPrototypeOf,o=void 0===i?function(e,t){return e.__proto__=t,e}:i,a=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"==typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",o(r,t.prototype),r}return Object(r.d)(t,e),t}(Error);function s(e,t){if(!e)throw new a(t)}function c(e){return function(){return console[e].apply(console,arguments)}}!function(e){e.warn=c("warn"),e.error=c("error")}(s||(s={}));var u={env:{}};if("object"==typeof e)u=e;else try{Function("stub","process = stub")(u)}catch(e){}}).call(this,n(95))},function(e,t,n){"use strict";n.d(t,"f",(function(){return a.a})),n.d(t,"h",(function(){return s.b})),n.d(t,"a",(function(){return r.b})),n.d(t,"b",(function(){return r.c})),n.d(t,"c",(function(){return r.d})),n.d(t,"d",(function(){return r.e})),n.d(t,"e",(function(){return r.g})),n.d(t,"g",(function(){return c}));var r=n(10);
|
|
55
|
-
/**
|
|
56
|
-
* @license
|
|
57
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
58
|
-
* This code may only be used under the BSD style license found at
|
|
59
|
-
* http://polymer.github.io/LICENSE.txt
|
|
60
|
-
* The complete set of authors may be found at
|
|
61
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
62
|
-
* The complete set of contributors may be found at
|
|
63
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
64
|
-
* Code distributed by Google as part of the polymer project is also
|
|
65
|
-
* subject to an additional IP rights grant found at
|
|
66
|
-
* http://polymer.github.io/PATENTS.txt
|
|
67
|
-
*/var i=new class{handleAttributeExpressions(e,t,n,i){var o=t[0];return"."===o?new r.f(e,t.slice(1),n).parts:"@"===o?[new r.d(e,t.slice(1),i.eventContext)]:"?"===o?[new r.c(e,t.slice(1),n)]:new r.a(e,t,n).parts}handleTextExpression(e){return new r.e(e)}},o=n(27),a=n(18),s=(n(12),n(11));n(22),n(21),n(31),n(6);
|
|
68
|
-
/**
|
|
69
|
-
* @license
|
|
70
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
71
|
-
* This code may only be used under the BSD style license found at
|
|
72
|
-
* http://polymer.github.io/LICENSE.txt
|
|
73
|
-
* The complete set of authors may be found at
|
|
74
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
75
|
-
* The complete set of contributors may be found at
|
|
76
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
77
|
-
* Code distributed by Google as part of the polymer project is also
|
|
78
|
-
* subject to an additional IP rights grant found at
|
|
79
|
-
* http://polymer.github.io/PATENTS.txt
|
|
80
|
-
*/
|
|
81
|
-
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var c=(e,...t)=>new o.b(e,t,"html",i)},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return p}));
|
|
82
|
-
/**
|
|
83
|
-
* @license
|
|
84
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
85
|
-
* This code may only be used under the BSD style license found at
|
|
86
|
-
* http://polymer.github.io/LICENSE.txt
|
|
87
|
-
* The complete set of authors may be found at
|
|
88
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
89
|
-
* The complete set of contributors may be found at
|
|
90
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
91
|
-
* Code distributed by Google as part of the polymer project is also
|
|
92
|
-
* subject to an additional IP rights grant found at
|
|
93
|
-
* http://polymer.github.io/PATENTS.txt
|
|
94
|
-
*/
|
|
95
|
-
var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),i="\x3c!--".concat(r,"--\x3e"),o=new RegExp("".concat(r,"|").concat(i)),a="$lit$";class s{constructor(e,t){this.parts=[],this.element=t;for(var n=[],i=[],s=document.createTreeWalker(t.content,133,null,!1),u=0,d=-1,f=0,{strings:h,values:{length:m}}=e;f<m;){var v=s.nextNode();if(null!==v){if(d++,1===v.nodeType){if(v.hasAttributes()){for(var y=v.attributes,{length:b}=y,g=0,w=0;w<b;w++)c(y[w].name,a)&&g++;for(;g-- >0;){var x=h[f],O=p.exec(x)[2],_=O.toLowerCase()+a,k=v.getAttribute(_);v.removeAttribute(_);var E=k.split(o);this.parts.push({type:"attribute",index:d,name:O,strings:E}),f+=E.length-1}}"TEMPLATE"===v.tagName&&(i.push(v),s.currentNode=v.content)}else if(3===v.nodeType){var S=v.data;if(S.indexOf(r)>=0){for(var j=v.parentNode,A=S.split(o),T=A.length-1,C=0;C<T;C++){var P=void 0,I=A[C];if(""===I)P=l();else{var R=p.exec(I);null!==R&&c(R[2],a)&&(I=I.slice(0,R.index)+R[1]+R[2].slice(0,-a.length)+R[3]),P=document.createTextNode(I)}j.insertBefore(P,v),this.parts.push({type:"node",index:++d})}""===A[T]?(j.insertBefore(l(),v),n.push(v)):v.data=A[T],f+=T}}else if(8===v.nodeType)if(v.data===r){var N=v.parentNode;null!==v.previousSibling&&d!==u||(d++,N.insertBefore(l(),v)),u=d,this.parts.push({type:"node",index:d}),null===v.nextSibling?v.data="":(n.push(v),d--),f++}else for(var D=-1;-1!==(D=v.data.indexOf(r,D+1));)this.parts.push({type:"node",index:-1}),f++}else s.currentNode=i.pop()}for(var L of n)L.parentNode.removeChild(L)}}var c=(e,t)=>{var n=e.length-t.length;return n>=0&&e.slice(n)===t},u=e=>-1!==e.index,l=()=>document.createComment(""),p=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(0),i=n(76),o=n(113),a=n(114);
|
|
96
|
-
/**
|
|
97
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
98
|
-
*/
|
|
99
|
-
i.a.use(o.a).use(a.a).init({fallbackLng:"en",debug:!0,ns:["translations"],defaultNS:"translations",keySeparator:!1,interpolation:{prefix:"{",suffix:"}"},load:"languageOnly",backend:{loadPath:"/{ns}/{lng}.json"},detection:{order:["cookie"],lookupCookie:"i18next",caches:["cookie"],excludeCacheFor:["cimode"],cookieOptions:{path:"/",sameSite:"strict"}}});var s=i.a;function c(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}
|
|
100
|
-
/**
|
|
101
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
102
|
-
*/
|
|
103
|
-
var u=e=>t=>class extends t{connectedCallback(){var t=this,n=function(){var n,r=(n=function*(){t.languageUpdated&&t.languageUpdated(e),t.requestUpdate()},function(){var e=this,t=arguments;return new Promise((function(r,i){var o=n.apply(e,t);function a(e){c(o,r,i,a,s,"next",e)}function s(e){c(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();e.on("initialized",n),e.on("languageChanged",n),e.store.on("added",n),this.__i18next_callback__=n,super.connectedCallback&&super.connectedCallback()}disconnectedCallback(){super.connectedCallback&&super.connectedCallback(),e.store.off("initialized",this.__i18next_callback__),e.store.off("languageChanged",this.__i18next_callback__),e.store.off("added",this.__i18next_callback__)}}
|
|
104
|
-
/**
|
|
105
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
106
|
-
*/;class l extends(u(s)(r.a)){static get properties(){return{msgid:{attribute:!0}}}updated(){this.renderRoot.textContent=s.t(this.msgid)}}customElements.define("i18n-msg",l)},,function(e,t,n){"use strict";n.d(t,"h",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"d",(function(){return b}));var r=n(18),i=n(12),o=n(11),a=n(31),s=n(27),c=n(6),u=e=>null===e||!("object"==typeof e||"function"==typeof e),l=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class p{constructor(e,t,n){this.dirty=!0,this.element=e,this.name=t,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}_createPart(){return new d(this)}_getValue(){var e=this.strings,t=e.length-1,n=this.parts;if(1===t&&""===e[0]&&""===e[1]){var r=n[0].value;if("symbol"==typeof r)return String(r);if("string"==typeof r||!l(r))return r}for(var i="",o=0;o<t;o++){i+=e[o];var a=n[o];if(void 0!==a){var s=a.value;if(u(s)||!l(s))i+="string"==typeof s?s:String(s);else for(var c of s)i+="string"==typeof c?c:String(c)}}return i+=e[t]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class d{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===o.a||u(e)&&e===this.value||(this.value=e,Object(r.b)(e)||(this.committer.dirty=!0))}commit(){for(;Object(r.b)(this.value);){var e=this.value;this.value=o.a,e(this)}this.value!==o.a&&this.committer.commit()}}class f{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(Object(c.c)()),this.endNode=e.appendChild(Object(c.c)())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=Object(c.c)()),e.__insert(this.endNode=Object(c.c)())}insertAfterPart(e){e.__insert(this.startNode=Object(c.c)()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null!==this.startNode.parentNode){for(;Object(r.b)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=o.a,e(this)}var t=this.__pendingValue;t!==o.a&&(u(t)?t!==this.value&&this.__commitText(t):t instanceof s.b?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):l(t)?this.__commitIterable(t):t===o.b?(this.value=o.b,this.clear()):this.__commitText(t))}}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){var t=this.startNode.nextSibling,n="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}__commitTemplateResult(e){var t=this.options.templateFactory(e);if(this.value instanceof a.a&&this.value.template===t)this.value.update(e.values);else{var n=new a.a(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());var t,n=this.value,r=0;for(var i of e)void 0===(t=n[r])&&(t=new f(this.options),n.push(t),0===r?t.appendIntoPart(this):t.insertAfterPart(n[r-1])),t.setValue(i),t.commit(),r++;r<n.length&&(n.length=r,this.clear(t&&t.endNode))}clear(e=this.startNode){Object(i.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}class h{constructor(e,t,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=n}setValue(e){this.__pendingValue=e}commit(){for(;Object(r.b)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=o.a,e(this)}if(this.__pendingValue!==o.a){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=o.a}}}class m extends p{constructor(e,t,n){super(e,t,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new v(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class v extends d{}var y=!1;(()=>{try{var e={get capture(){return y=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class b{constructor(e,t,n){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=n,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;Object(r.b)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=o.a,e(this)}if(this.__pendingValue!==o.a){var t=this.__pendingValue,n=this.value,i=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),a=null!=t&&(null==n||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),a&&(this.__options=g(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=o.a}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var g=e=>e&&(y?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));
|
|
107
|
-
/**
|
|
108
|
-
* @license
|
|
109
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
110
|
-
* This code may only be used under the BSD style license found at
|
|
111
|
-
* http://polymer.github.io/LICENSE.txt
|
|
112
|
-
* The complete set of authors may be found at
|
|
113
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
114
|
-
* The complete set of contributors may be found at
|
|
115
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
116
|
-
* Code distributed by Google as part of the polymer project is also
|
|
117
|
-
* subject to an additional IP rights grant found at
|
|
118
|
-
* http://polymer.github.io/PATENTS.txt
|
|
119
|
-
*/
|
|
120
|
-
var r={},i={}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o}));
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
124
|
-
* This code may only be used under the BSD style license found at
|
|
125
|
-
* http://polymer.github.io/LICENSE.txt
|
|
126
|
-
* The complete set of authors may be found at
|
|
127
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
128
|
-
* The complete set of contributors may be found at
|
|
129
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
130
|
-
* Code distributed by Google as part of the polymer project is also
|
|
131
|
-
* subject to an additional IP rights grant found at
|
|
132
|
-
* http://polymer.github.io/PATENTS.txt
|
|
133
|
-
*/
|
|
134
|
-
var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=(e,t,n=null,r=null)=>{for(;t!==n;){var i=t.nextSibling;e.insertBefore(t,r),t=i}},o=(e,t,n=null)=>{for(;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}}},function(e,t,n){"use strict";n.r(t),n.d(t,"ApolloLink",(function(){return g})),n.d(t,"concat",(function(){return b})),n.d(t,"createOperation",(function(){return d})),n.d(t,"empty",(function(){return m})),n.d(t,"execute",(function(){return w})),n.d(t,"from",(function(){return v})),n.d(t,"fromError",(function(){return p})),n.d(t,"fromPromise",(function(){return l})),n.d(t,"makePromise",(function(){return u})),n.d(t,"split",(function(){return y})),n.d(t,"toPromise",(function(){return c}));var r=n(14);n.d(t,"Observable",(function(){return r.a}));var i=n(4),o=n(1),a=n(2);n.d(t,"getOperationName",(function(){return a.n}));!function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}Object(o.d)(t,e)}(Error);function s(e){return e.request.length<=1}function c(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t||(t=!0,n(e))},error:r})}))}var u=c;function l(e){return new r.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new r.a((function(t){t.error(e)}))}function d(e,t){var n=Object(o.a)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?Object(o.a)({},n,e(n)):Object(o.a)({},n,e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return Object(o.a)({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){var t=e.query,n=e.variables,r=e.operationName;return JSON.stringify([r,t,n])}(t)}}),t}function f(e,t){return t?t(e):r.a.of()}function h(e){return"function"==typeof e?new g(e):e}function m(){return new g((function(){return r.a.of()}))}function v(e){return 0===e.length?m():e.map(h).reduce((function(e,t){return e.concat(t)}))}function y(e,t,n){var i=h(t),o=h(n||new g(f));return s(i)&&s(o)?new g((function(t){return e(t)?i.request(t)||r.a.of():o.request(t)||r.a.of()})):new g((function(t,n){return e(t)?i.request(t,n)||r.a.of():o.request(t,n)||r.a.of()}))}var b=function(e,t){var n=h(e);if(s(n))return n;var i=h(t);return s(i)?new g((function(e){return n.request(e,(function(e){return i.request(e)||r.a.of()}))||r.a.of()})):new g((function(e,t){return n.request(e,(function(e){return i.request(e,t)||r.a.of()}))||r.a.of()}))},g=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return this.concat(y(t,n,r||new e(f)))},e.prototype.concat=function(e){return b(this,e)},e.prototype.request=function(e,t){throw new i.a(1)},e.empty=m,e.from=v,e.split=y,e.execute=w,e}();function w(e,t){return e.request(d(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(a.n)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw new i.a(2)}return e}(t))))||r.a.of()}},function(e,t,n){"use strict";var r=n(140),i=n.n(r).a;t.a=i},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));var r=n(84),i=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();Object(r.a)(i);var o=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&"string"==typeof e.kind}Object(r.a)(o)},function(e,t){e.exports=scene},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));
|
|
135
|
-
/**
|
|
136
|
-
* @license
|
|
137
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
138
|
-
* This code may only be used under the BSD style license found at
|
|
139
|
-
* http://polymer.github.io/LICENSE.txt
|
|
140
|
-
* The complete set of authors may be found at
|
|
141
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
142
|
-
* The complete set of contributors may be found at
|
|
143
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
144
|
-
* Code distributed by Google as part of the polymer project is also
|
|
145
|
-
* subject to an additional IP rights grant found at
|
|
146
|
-
* http://polymer.github.io/PATENTS.txt
|
|
147
|
-
*/
|
|
148
|
-
var r=new WeakMap,i=e=>(...t)=>{var n=e(...t);return r.set(n,!0),n},o=e=>"function"==typeof e&&r.has(e)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return u}));var r=n(67),i=n(16),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,c=Array.isArray(e),l=[e],p=-1,d=[],f=void 0,h=void 0,m=void 0,v=[],y=[],b=e;do{var g=++p===l.length,w=g&&0!==d.length;if(g){if(h=0===y.length?void 0:v[v.length-1],f=m,m=y.pop(),w){if(c)f=f.slice();else{for(var x={},O=0,_=Object.keys(f);O<_.length;O++){var k=_[O];x[k]=f[k]}f=x}for(var E=0,S=0;S<d.length;S++){var j=d[S][0],A=d[S][1];c&&(j-=E),c&&null===A?(f.splice(j,1),E++):f[j]=A}}p=s.index,l=s.keys,d=s.edits,c=s.inArray,s=s.prev}else{if(h=m?c?p:l[p]:void 0,null==(f=m?m[h]:b))continue;m&&v.push(h)}var T,C=void 0;if(!Array.isArray(f)){if(!Object(i.c)(f))throw new Error("Invalid AST Node: ".concat(Object(r.a)(f),"."));var P=u(t,f.kind,g);if(P){if((C=P.call(t,f,h,m,v,y))===a)break;if(!1===C){if(!g){v.pop();continue}}else if(void 0!==C&&(d.push([h,C]),!g)){if(!Object(i.c)(C)){v.pop();continue}f=C}}}if(void 0===C&&w&&d.push([h,f]),g)v.pop();else s={inArray:c,index:p,keys:l,edits:d,prev:s},l=(c=Array.isArray(f))?f:null!==(T=n[f.kind])&&void 0!==T?T:[],p=-1,d=[],m&&y.push(m),m=f}while(void 0!==s);return 0!==d.length&&(b=d[d.length-1][1]),b}function c(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=u(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=u(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}else t[r]===n&&(t[r]=null)}}}function u(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(6);
|
|
149
|
-
/**
|
|
150
|
-
* @license
|
|
151
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
152
|
-
* This code may only be used under the BSD style license found at
|
|
153
|
-
* http://polymer.github.io/LICENSE.txt
|
|
154
|
-
* The complete set of authors may be found at
|
|
155
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
156
|
-
* The complete set of contributors may be found at
|
|
157
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
158
|
-
* Code distributed by Google as part of the polymer project is also
|
|
159
|
-
* subject to an additional IP rights grant found at
|
|
160
|
-
* http://polymer.github.io/PATENTS.txt
|
|
161
|
-
*/function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.f);return void 0===(n=t.keyString.get(i))&&(n=new r.a(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var o=new Map},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(12),i=n(10),o=n(21),a=new WeakMap,s=(e,t,n)=>{var s=a.get(t);void 0===s&&(Object(r.b)(t,t.firstChild),a.set(t,s=new i.e(Object.assign({templateFactory:o.b},n))),s.appendInto(t)),s.setValue(e),s.commit()}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"j",(function(){return h}));var r=n(28),i=n(29),o="UPDATE_PAGE",a="UPDATE_CONTEXT",s="UPDATE_ACTIVE_PAGE",c="REGISTER_NAVIGATION_CALLBACK",u="UNREGISTER_NAVIGATION_CALLBACK",l="",p=(e,t)=>{t?history.replaceState(history.state,"",e):history.pushState({},"",e),window.dispatchEvent(new Event("popstate"))},d=({pathname:e,search:t})=>n=>{var{path:r}=Object(i.f)(e),o=decodeURIComponent(r).match(/\/([^\/]+)\/*([^\/]*)/)||[],a=o[1]||l,s=o[2],c=new URLSearchParams(t),u={};c.forEach((e,t)=>{u[t]=e}),n(f(a,s,u))},f=(e,t,n)=>i=>{var a=(e=>{var t=r.a.getState().app.modules;if(t)for(var n=t.length-1;n>=0;n--){var i=t[n],o=i.route&&i.route(e);if(o)return o}})(e);e===a||0!=a.indexOf("/")?i({type:o,page:a,resourceId:t,params:n}):i(d({pathname:a,params:n}))},h=e=>{var t=document.createElement("a");t.setAttribute("href",e),document.body.appendChild(t),t.click(),document.body.removeChild(t)}},function(e,t,n){var r=n(100),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var r=n(12),i=n(6),o=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),a=" ".concat(i.f," ");class s{constructor(e,t,n,r){this.strings=e,this.values=t,this.type=n,this.processor=r}getHTML(){for(var e=this.strings.length-1,t="",n=!1,r=0;r<e;r++){var o=this.strings[r],s=o.lastIndexOf("\x3c!--");n=(s>-1||n)&&-1===o.indexOf("--\x3e",s+1);var c=i.e.exec(o);t+=null===c?o+(n?a:i.g):o.substr(0,c.index)+c[1]+c[2]+i.b+c[3]+i.f}return t+=this.strings[e]}getTemplateElement(){var e=document.createElement("template"),t=this.getHTML();return void 0!==o&&(t=o.createHTML(t)),e.innerHTML=t,e}}class c extends s{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var e=super.getTemplateElement(),t=e.content,n=t.firstChild;return t.removeChild(n),Object(r.c)(t,n.firstChild),e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n(62);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function d(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var f=d();f.withExtraArgument=d;var h=f,m=n(132),v=n(33),y=n(29);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x={baseUrl:location.origin,contextPath:Object(y.f)(location.pathname).contextPath,domains:[]},O=(e=x,t)=>{switch(t.type){case v.d:return g(g({},e),{},{modules:t.modules});case v.b:return g(g({},e),{},{baseUrl:t.baseUrl});case v.c:return g(g({},e),{},{contextPath:t.contextPath});case v.a:return g(g({},e),{},{domains:t.domains,domain:t.domain});default:return e}},_=n(25),k=n(130),E=n(135),S=n.n(E);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C,P=document.querySelector('meta[name="application-name"]');P&&(C=P.content);var I={page:"",resourceId:"",params:{},activePage:null,context:{},callbacks:[]},R=(e=I,t)=>{var n;switch(t.type){case _.f:return A(A({},e),{},{page:t.page,resourceId:t.resourceId,params:t.params});case _.e:var r=null===(n=t.context)||void 0===n?void 0:n.title,i="object"==typeof r?r.text:r;return Object(k.a)({title:C+(i?" - ".concat(S()(i)):"")}),A(A({},e),{},{context:t.context||e.activePage&&e.activePage.context||{}});case _.d:return A(A({},e),{},{activePage:t.activePage});case _.b:return A(A({},e),{},{callbacks:[...e.callbacks,t.callback]});case _.c:return A(A({},e),{},{callbacks:e.callbacks.filter(e=>e!==t.callback)});default:return e}},N=function e(t,n,r){var i;if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw new Error(a(1));return r(e)(t,n)}if("function"!=typeof t)throw new Error(a(2));var o=t,c=n,p=[],d=p,f=!1;function h(){d===p&&(d=p.slice())}function m(){if(f)throw new Error(a(3));return c}function v(e){if("function"!=typeof e)throw new Error(a(4));if(f)throw new Error(a(5));var t=!0;return h(),d.push(e),function(){if(t){if(f)throw new Error(a(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),p=null}}}function y(e){if(!l(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(f)throw new Error(a(9));try{f=!0,c=o(c,e)}finally{f=!1}for(var t=p=d,n=0;n<t.length;n++){(0,t[n])()}return e}function b(e){if("function"!=typeof e)throw new Error(a(10));o=e,y({type:u.REPLACE})}function g(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return y({type:u.INIT}),(i={dispatch:y,subscribe:v,getState:m,replaceReducer:b})[s]=g,i}(e=>e,(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||p)(Object(m.a)((function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:u.INIT}))throw new Error(a(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},c=0;c<s.length;c++){var u=s[c],l=n[u],p=e[u],d=l(p,t);if(void 0===d){t&&t.type;throw new Error(a(14))}i[u]=d,r=r||d!==p}return(r=r||s.length!==Object.keys(e).length)?i:e}})),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(a(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(i)}));return r=p.apply(void 0,s)(n.dispatch),o(o({},n),{},{dispatch:r})}}}(h)));N.addReducers({app:O,route:R})},function(e,t,n){"use strict";function r(){document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}function i(e,t,n){document.fullscreen||document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement?r():function(e,t,n){var r=e.style.width,i=e.style.height;function o(a){document.fullscreen||document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement?(e.style.width="100%",e.style.height="100%",t&&t()):(["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"].forEach(e=>document.removeEventListener(e,o)),e.style.width=r,e.style.height=i,n&&n())}["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"].forEach(e=>document.addEventListener(e,o)),e.requestFullScreen?e.requestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}(e,t,n)}n.d(t,"d",(function(){return r})),n.d(t,"o",(function(){return i})),n.d(t,"b",(function(){return a.a})),n.d(t,"c",(function(){return c.a})),n.d(t,"l",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return _})),n.d(t,"a",(function(){return k})),n.d(t,"f",(function(){return E})),n.d(t,"e",(function(){return S})),n.d(t,"k",(function(){return j.a})),n.d(t,"n",(function(){return T})),n.d(t,"m",(function(){return C}));var o=n(98),a=n.n(o),s=n(54),c=n.n(s);n(134);function u(e){return new Promise(t=>setTimeout(t,e))}var l="Unknown OS";-1!=navigator.appVersion.indexOf("Win")?l="Windows":-1!=navigator.appVersion.indexOf("Macintosh")?l="Mac":-1!=navigator.appVersion.indexOf("Android")?l="Android":(-1!=navigator.appVersion.indexOf("iPad")||-1!=navigator.appVersion.indexOf("iPhone"))&&(l="iOS");var p="iOS"===l||"Android"===l;function d(){return p}function f(){return"iOS"===l}function h(){return"Mac"===l}class m{constructor(e){}}class v{constructor(e){}toJSON(){return"$".concat(this.value)}}var y=["__args","__alias","__aliasFor","__variables","__directives","__on","__typeName"];function b(e){if(e instanceof m)return e.value;if(e instanceof v)return"$".concat(e.value);if("object"!=typeof e||null===e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>b(e)).join(", "),"]");var t=Object.keys(e).map(t=>"".concat(t,": ").concat(b(e[t]))).join(", ");return"{".concat(t,"}")}function g(e){var t=[];for(var n in e)t.push("".concat(n,": ").concat(b(e[n])));return t.join(", ")}function w(e){var t=[];for(var n in e)t.push("$".concat(n,": ").concat(e[n]));return t.join(", ")}function x(e){var t=Object.keys(e)[0],n=e[t];if("boolean"==typeof n)return t;if("object"==typeof n){var r=[];for(var i in n){var o=b(n[i]).replace(/"/g,"");r.push("".concat(i,": ").concat(o))}return"".concat(t,"(").concat(r.join(", "),")")}throw new Error("Unsupported type for directive: ".concat(typeof n,". Types allowed: object, boolean.\n")+"Offending object: ".concat(JSON.stringify(e)))}function O(e,t){return-1==y.indexOf(e)&&-1==t.indexOf(e)}var _={EnumType:m,VariableType:v,configFields:y,stringify:b,buildArgs:g,buildVariables:w,buildDirectives:x,jsonToGraphQLQuery:function(e,t={}){if(!e||"object"!=typeof e)throw new Error("query object not specified");if(0==Object.keys(e).length)throw new Error("query object has no data");t.ignoreFields instanceof Array||(t.ignoreFields=[]);var n=[];!function e(t,n,r,i){Object.keys(t).filter(e=>O(e,i.ignoreFields)).forEach(o=>{var a=t[o];if("object"==typeof a){if(Array.isArray(a)&&!(a=a.find(e=>e&&"object"==typeof e)))return void r.push(["".concat(o),n]);var s=Object.keys(a).filter(e=>O(e,i.ignoreFields)).length>0,c="object"==typeof a.__args,u="object"==typeof a.__directives,l="object"==typeof a.__on,p="".concat(o);if("string"==typeof a.__aliasFor&&(p="".concat(p,": ").concat(a.__aliasFor)),"object"==typeof a.__variables)p="".concat(p," (").concat(w(a.__variables),")");else if(c||u){var d,f;if(u){var h=Object.keys(a.__directives).length;if(h>1)throw new Error("Too many directives. The object/key "+"'".concat(Object.keys(a)[0],"' had ").concat(h," directives, ")+"but only 1 directive per object/key is supported at this time.");f="@".concat(x(a.__directives))}c&&(d="(".concat(g(a.__args),")"));var m=u&&c?" ":"";p="".concat(p," ").concat(f||"").concat(m).concat(d||"")}if("string"==typeof a.__alias&&(p="".concat(a.__alias,": ").concat(p)),r.push([p+(s||l?" {":""),n]),e(a,n+1,r,i),l)(a.__on instanceof Array?a.__on:[a.__on]).forEach(t=>{var o=t.__typeName;r.push(["... on ".concat(o," {"),n+1]),e(t,n+2,r,i),r.push(["}",n+1])});(s||l)&&r.push(["}",n])}else(!0===i.includeFalsyKeys||a)&&r.push(["".concat(o),n])})}(e,0,n,t);var r="";return n.forEach(([e,n])=>{t.pretty?(r&&(r+="\n"),r+=function(e){return Array(4*e+1).join(" ")}(n)+e):(r&&(r+=" "),r+=e)}),r}};
|
|
162
|
-
/**
|
|
163
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
164
|
-
*/"ontouchstart"in window||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints;class k{static set(e,t){var n=e=>{t&&!t()||(e.preventDefault(),e.stopPropagation())},r=n=>{t&&!t()||e.classList.add("candrop")},i=n=>{t&&!t()||e.classList.remove("candrop")};["dragenter","dragover","dragleave","drop"].forEach(t=>{e.addEventListener(t,n,!1)}),["dragenter","dragover"].forEach(t=>{e.addEventListener(t,r,!1)}),["dragleave","drop"].forEach(t=>{e.addEventListener(t,i,!1)}),e.addEventListener("drop",n=>{if(!t||t()){var r=n.dataTransfer.files;e.dispatchEvent(new CustomEvent("file-drop",{detail:[...r]}))}},!1)}}function E(e){var t=new RegExp("(/(".concat("domain|business",")/([^/]+))?(/?.*)")),n=e.match(t);return{contextPath:n[1]||"",prefix:n[2]||"",domain:n[3]||"",path:n[4]}}function S({lowerCase:e=!0,upperCase:t=!0,digit:n=!0,specialCharacter:r=!0,allowRepeat:i=!1,useTightPattern:o=!0,useLoosePattern:a=!1,tightCharacterLength:s=8,looseCharacterLength:c=15}={}){var u=o?[e?"(?=.*[a-z])":"",t?"(?=.*[A-Z])":"",n?"(?=.*\\d)":"",r?"(?=.*[!@#$%^&*()])":"",i?"":"(?!.*(.)\\1(?=\\1{1,}))",".{".concat(s,",}")]:[],l=a?[".{".concat(c,",}")]:[],p=["^",...u,u.length&&l.length?"|":"",...l,"$"];return new RegExp(p.join(""))}var j=n(126);function A(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var T=e=>{var t=!1;return()=>{var n;return t||(t=(n=function*(){try{return yield e()}finally{t=!1}},function(){var e=this,t=arguments;return new Promise((function(r,i){var o=n.apply(e,t);function a(e){A(o,r,i,a,s,"next",e)}function s(e){A(o,r,i,a,s,"throw",e)}a(void 0)}))})()),t}},C=!1;try{var P=Object.defineProperty({},"passive",{get:function(){C=!0}});window.addEventListener("testPassive",null,P),window.removeEventListener("testPassive",null,P)}catch(e){}},function(e,t,n){"use strict";n.r(t),n.d(t,"checkFetcher",(function(){return u})),n.d(t,"createSignalIfSupported",(function(){return l})),n.d(t,"fallbackHttpConfig",(function(){return a})),n.d(t,"parseAndCheckHttpResponse",(function(){return c})),n.d(t,"selectHttpOptionsAndBody",(function(){return p})),n.d(t,"selectURI",(function(){return f})),n.d(t,"serializeFetchParameter",(function(){return d})),n.d(t,"throwServerError",(function(){return s}));var r=n(1),i=n(81),o=n(4),a={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},s=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},c=function(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;return n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,Promise.reject(n)}})).then((function(n){return t.status>=300&&s(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||n.hasOwnProperty("data")||n.hasOwnProperty("errors")||s(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}},u=function(e){if(!e&&"undefined"==typeof fetch){throw"undefined"==typeof window&&"node-fetch",new o.a(1)}},l=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},p=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=Object(r.a)({},t.options,{headers:t.headers,credentials:t.credentials}),s=t.http;n.forEach((function(e){a=Object(r.a)({},a,e.options,{headers:Object(r.a)({},a.headers,e.headers)}),e.credentials&&(a.credentials=e.credentials),s=Object(r.a)({},s,e.http)}));var c=e.operationName,u=e.extensions,l=e.variables,p=e.query,d={operationName:c,variables:l};return s.includeExtensions&&(d.extensions=u),s.includeQuery&&(d.query=Object(i.print)(p)),{options:a,body:d}},d=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=new o.a(2);throw r.parseError=e,r}return n},f=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),i=n(6);
|
|
165
|
-
/**
|
|
166
|
-
* @license
|
|
167
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
168
|
-
* This code may only be used under the BSD style license found at
|
|
169
|
-
* http://polymer.github.io/LICENSE.txt
|
|
170
|
-
* The complete set of authors may be found at
|
|
171
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
172
|
-
* The complete set of contributors may be found at
|
|
173
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
174
|
-
* Code distributed by Google as part of the polymer project is also
|
|
175
|
-
* subject to an additional IP rights grant found at
|
|
176
|
-
* http://polymer.github.io/PATENTS.txt
|
|
177
|
-
*/
|
|
178
|
-
class o{constructor(e,t,n){this.__parts=[],this.template=e,this.processor=t,this.options=n}update(e){var t=0;for(var n of this.__parts)void 0!==n&&n.setValue(e[t]),t++;for(var r of this.__parts)void 0!==r&&r.commit()}_clone(){for(var e,t=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],o=this.template.parts,a=document.createTreeWalker(t,133,null,!1),s=0,c=0,u=a.nextNode();s<o.length;)if(e=o[s],Object(i.d)(e)){for(;c<e.index;)c++,"TEMPLATE"===u.nodeName&&(n.push(u),a.currentNode=u.content),null===(u=a.nextNode())&&(a.currentNode=n.pop(),u=a.nextNode());if("node"===e.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(u.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(u,e.name,e.strings,this.options));s++}else this.__parts.push(void 0),s++;return r.a&&(document.adoptNode(t),customElements.upgrade(t)),t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5);
|
|
179
|
-
/**
|
|
180
|
-
* @license
|
|
181
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
182
|
-
* This code may only be used under the BSD style license found at
|
|
183
|
-
* http://polymer.github.io/LICENSE.txt
|
|
184
|
-
* The complete set of authors may be found at
|
|
185
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
186
|
-
* The complete set of contributors may be found at
|
|
187
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
188
|
-
* Code distributed by Google as part of the polymer project is also
|
|
189
|
-
* subject to an additional IP rights grant found at
|
|
190
|
-
* http://polymer.github.io/PATENTS.txt
|
|
191
|
-
*/class i{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;var t=(e.getAttribute("class")||"").split(/\s+/);for(var n of t)this.classes.add(n)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){var e="";this.classes.forEach(t=>e+=t+" "),this.element.setAttribute("class",e)}}}var o=new WeakMap,a=Object(r.f)(e=>t=>{if(!(t instanceof r.a)||t instanceof r.e||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=t,{element:a}=n,s=o.get(t);void 0===s&&(a.setAttribute("class",n.strings.join(" ")),o.set(t,s=new Set));var c=a.classList||new i(a);for(var u in s.forEach(t=>{t in e||(c.remove(t),s.delete(t))}),e){var l=e[u];l!=s.has(u)&&(l?(c.add(u),s.add(u)):(c.remove(u),s.delete(u)))}"function"==typeof c.commit&&c.commit()})},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return s}));var r="UPDATE_MODULES",i="UPDATE_BASE_URL",o="UPDATE_CONTEXT_PATH",a="SET-DOMAINS",s=(e,t)=>(n,r)=>{n({type:a,domains:e,domain:t})}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u}));var i=[],o=i.forEach,a=i.slice;function s(e){return o.call(a.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function c(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":r(XMLHttpRequest))}function u(e){return function(e){return!!e&&"function"==typeof e.then}(e)?e:Promise.resolve(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"PROCESS",(function(){return Ut})),n.d(t,"store",(function(){return u.a})),n.d(t,"UPDATE_MODULES",(function(){return s.d})),n.d(t,"UPDATE_BASE_URL",(function(){return s.b})),n.d(t,"UPDATE_CONTEXT_PATH",(function(){return s.c})),n.d(t,"SET_DOMAINS",(function(){return s.a})),n.d(t,"updateDomains",(function(){return s.e})),n.d(t,"UPDATE_PAGE",(function(){return c.f})),n.d(t,"UPDATE_CONTEXT",(function(){return c.e})),n.d(t,"UPDATE_ACTIVE_PAGE",(function(){return c.d})),n.d(t,"REGISTER_NAVIGATION_CALLBACK",(function(){return c.b})),n.d(t,"UNREGISTER_NAVIGATION_CALLBACK",(function(){return c.c})),n.d(t,"HOMEPAGE",(function(){return c.a})),n.d(t,"navigate",(function(){return c.h})),n.d(t,"navigateWithSilence",(function(){return c.i})),n.d(t,"loadPage",(function(){return c.g})),n.d(t,"route",(function(){return c.j})),n.d(t,"PageView",(function(){return O.a})),n.d(t,"client",(function(){return rt})),n.d(t,"subscribe",(function(){return at})),n.d(t,"clientSettingStore",(function(){return ht})),n.d(t,"notificationStore",(function(){return mt})),n.d(t,"InfiniteScrollable",(function(){return kt})),n.d(t,"OopsNote",(function(){return St})),n.d(t,"OopsSpinner",(function(){return At})),n.d(t,"OopsProgress",(function(){return Pt})),n.d(t,"CustomAlert",(function(){return Lt})),n.d(t,"CONTEXT_KEY",(function(){return Ft})),n.d(t,"gqlContext",(function(){return Bt})),n.d(t,"buildGqlContext",(function(){return qt}));n(232);var r,i=n(0),o=n(77),a=n(131),s=n(33),c=n(25),u=n(28);var l,p,d,f=Object(i.b)(r||(l=["\n :host {\n display: grid;\n\n grid-template-rows: var(--app-grid-template-rows, auto 1fr auto);\n grid-template-columns: var(--app-grid-template-columns, auto 1fr auto);\n grid-template-areas: var(--app-grid-template-area, 'header header header' 'nav main aside' 'nav footer aside');\n grid-gap: var(--app-grid-gap, 0em);\n\n width: 100vw;\n height: 100vh;\n }\n\n header-bar {\n grid-area: header;\n }\n\n nav-bar {\n grid-area: nav;\n }\n\n main {\n grid-area: main;\n\n overflow: hidden;\n\n display: flex;\n flex-direction: row;\n }\n\n aside-bar {\n grid-area: aside;\n }\n\n footer-bar {\n grid-area: footer;\n }\n\n main * {\n flex: 1;\n }\n\n main *:not([active]) {\n display: none;\n }\n\n [hidden] {\n display: none;\n }\n\n snack-bar {\n z-index: 1000;\n }\n\n /* Wide layout */\n @media (min-width: 460px) {\n }\n\n @media print {\n :host {\n width: 100%;\n height: 100%;\n min-height: 100vh;\n }\n }\n"],p||(p=l.slice(0)),r=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(p)}})))),h=n(45),m=n(29);function v(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w extends(Object(o.a)(u.a)(i.a)){static get properties(){return{_contextPath:String,_page:String,_pages:Object,_resourceId:String,_params:Object,_callbacks:Array,_activePage:Object,_context:Object,_modules:Array}}static get styles(){return[h.c,f]}render(){var e=this._params||{},t=this._context&&this._context.fullbleed||e.fullbleed&&"Y"==e.fullbleed,n=this._context&&this._context.widebleed||e.widebleed&&"Y"==e.widebleed;return Object(i.e)(d||(d=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n <header-bar ?fullbleed=","></header-bar>\n\n <nav-bar ?fullbleed=","></nav-bar>\n\n <main></main>\n\n <aside-bar ?fullbleed=","></aside-bar>\n\n <footer-bar ?fullbleed=","></footer-bar>\n\n <snack-bar></snack-bar>\n "])),t,t||n,t||n,t)}constructor(){super()}connectedCallback(){super.connectedCallback(),Promise.all([n.e(16),n.e(10)]).then(n.bind(null,1411)).then(e=>{var t=e.modules;this.dispatchEvent(new Event("lifecycle-bootstrap-begin")),t.forEach((e,t)=>{try{e.bootstrap&&e.bootstrap()}catch(n){console.error("[".concat(t," BOOTSTRAP ERROR -").concat(e.name,"]"),n)}}),this.dispatchEvent(new Event("lifecycle-bootstrap-finish")),this._moduleInitialized=!0,u.a.dispatch({type:s.d,modules:t}),Object(a.a)((e,t)=>{var{contextPath:n}=Object(m.f)(e.pathname);this._contextPath!==n&&u.a.dispatch({type:s.c,contextPath:n}),u.a.dispatch(Object(c.i)(e)),this._callbacks&&this._callbacks.forEach(n=>{try{n.call(this,e,t)}catch(e){console.error(e)}})})}),this.setBase()}routeToPage(){if(this.shadowRoot.querySelectorAll("main > .page[active]").forEach(e=>{e.removeAttribute("active")}),this._activePage=this.shadowRoot.querySelector("main > .page[data-page=".concat(this._page,"]")),!this._activePage){var e=this._pages[this._page];if(e){var t=this.shadowRoot.querySelector("main"),n=document.createElement(e);n.setAttribute("class","page"),n.setAttribute("data-page",this._page),t.appendChild(n),this._activePage=n}}this._activePage&&(this._activePage.setAttribute("active",!0),this._activePage.setAttribute("context-path",this._contextPath),this._activePage.lifecycle=b(b({},this._activePage.lifecycle||{}),{},{active:!0,params:this._params,resourceId:this._resourceId,page:this._page})),u.a.dispatch({type:c.d,activePage:this._activePage})}updated(e){var t,n=this;return(t=function*(){e.has("_modules")&&n._readyPageList(),(e.has("_page")||e.has("_resourceId")||e.has("_params"))&&n.routeToPage(),e.has("_contextPath")&&n.setBase()},function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){v(o,r,i,a,s,"next",e)}function s(e){v(o,r,i,a,s,"throw",e)}a(void 0)}))})()}shouldUpdate(){return this._moduleInitialized}stateChanged(e){this._page=e.route.page,this._params=e.route.params,this._resourceId=e.route.resourceId,this._callbacks=e.route.callbacks,this._context=e.route.context,this._modules=e.app.modules,this._contextPath=e.app.contextPath}_readyPageList(){var e=[...this._modules].reverse();this._pages={},e.forEach(e=>{e.routes&&e.routes.forEach(e=>{this._pages[e.page]||(this._pages[e.page]=e.tagname)})})}setBase(){document.querySelector("base").setAttribute("href",this._contextPath?"".concat(this._contextPath,"/"):"/")}}window.customElements.define("things-app",w);var x,O=n(124),_=n(1),k=n(2),E=n(129),S=n(14),j=n(13),A=n(83),T=n(4),C=n(20);function P(e){return e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(x||(x={}));var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(_.d)(t,e),t.prototype[A.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(S.a);function R(e){return Array.isArray(e)&&e.length>0}var N,D=function(e){function t(n){var r,i,o=n.graphQLErrors,a=n.networkError,s=n.errorMessage,c=n.extraInfo,u=e.call(this,s)||this;return u.graphQLErrors=o||[],u.networkError=a||null,u.message=s||(i="",R((r=u).graphQLErrors)&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+="GraphQL error: "+t+"\n"})),r.networkError&&(i+="Network error: "+r.networkError.message+"\n"),i=i.replace(/\n$/,"")),u.extraInfo=c,u.__proto__=t.prototype,u}return Object(_.d)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(N||(N={}));var L=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o;var s=Object(k.m)(r.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=n,a}return Object(_.d)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:x.error}}var t,n,r,i=this.queryManager.getCurrentQueryResult(this),o=i.data,a=i.partial,s=this.queryManager.queryStore.get(this.queryId),c=this.options.fetchPolicy,u="network-only"===c||"no-cache"===c;if(s){var l=s.networkStatus;if(n=s,void 0===(r=this.options.errorPolicy)&&(r="none"),n&&(n.networkError||"none"===r&&R(n.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:l,error:new D({graphQLErrors:s.graphQLErrors,networkError:s.networkError})};s.variables&&(this.options.variables=Object(_.a)(Object(_.a)({},this.options.variables),s.variables),this.variables=this.options.variables),t={data:o,loading:P(l),networkStatus:l},s.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=s.graphQLErrors)}else{var p=u||a&&"cache-only"!==c;t={data:o,loading:p,networkStatus:p?x.loading:x.ready}}return a||this.updateLastResult(Object(_.a)(Object(_.a)({},t),{stale:!1})),Object(_.a)(Object(_.a)({},t),{partial:a})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(E.a)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new T.a(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),Object(E.a)(this.variables,e)||(this.variables=Object(_.a)(Object(_.a)({},this.variables),e)),Object(E.a)(this.options.variables,this.variables)||(this.options.variables=Object(_.a)(Object(_.a)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(_.a)(Object(_.a)({},this.options),{fetchPolicy:t}),N.refetch))},t.prototype.fetchMore=function(e){var t=this;Object(T.b)(e.updateQuery,2);var n=Object(_.a)(Object(_.a)({},e.query?e:Object(_.a)(Object(_.a)(Object(_.a)({},this.options),e),{variables:Object(_.a)(Object(_.a)({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),r=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(r,n,N.normal,this.queryId).then((function(i){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:i.data,variables:n.variables})})),t.queryManager.stopQuery(r),i}),(function(e){throw t.queryManager.stopQuery(r),e}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=Object(_.a)(Object(_.a)({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n=e.fetchPolicy;return this.setVariables(this.options.variables,t!==n&&("cache-only"===t||"standby"===t||"network-only"===n),e.fetchResults)},t.prototype.setVariables=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1,e=e||this.variables,!t&&Object(E.a)(e,this.variables)?this.observers.size&&n?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.getQueryWithPreviousResult(this.queryId),r=n.previousResult,i=n.variables,o=n.document,a=Object(k.I)((function(){return e(r,{variables:i})}));a&&(t.dataStore.markUpdateQueryResult(o,i,a),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){B(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(k.f)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var n=e._subscription._observer;n&&!n.error&&(n.error=M)}catch(e){}var r=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),r&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,n=this.queryId;this.shouldSubscribe&&t.addObservableQuery(n,this),this.options.pollInterval&&(B(this),t.startPollingQuery(this.options,n));var r=function(t){e.updateLastResult(Object(_.a)(Object(_.a)({},e.lastResult),{errors:t.graphQLErrors,networkStatus:x.error,loading:!1})),F(e.observers,"error",e.lastError=t)};t.observeQuery(n,this.options,{next:function(n){if(e.lastError||e.isDifferentFromLastResult(n)){var r=e.updateLastResult(n),i=e.options,o=i.query,a=i.variables,s=i.fetchPolicy;t.transform(o).hasClientExports?t.getLocalState().addExportedVariables(o,a).then((function(i){var a=e.variables;e.variables=e.options.variables=i,!n.loading&&r&&"cache-only"!==s&&t.transform(o).serverQuery&&!Object(E.a)(a,i)?e.refetch():F(e.observers,"next",n)})):F(e.observers,"next",n)}},error:r}).catch(r)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(I);function M(e){}function F(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function B(e){var t=e.options.fetchPolicy;Object(T.b)("cache-first"!==t&&"cache-only"!==t,3)}var q=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),U=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];Object(T.b)(!t||t.document===e.document||Object(E.a)(t.document,e.document),19);var n,r=!1,i=null;e.storePreviousVariables&&t&&t.networkStatus!==x.loading&&(Object(E.a)(t.variables,e.variables)||(r=!0,i=t.variables)),n=r?x.setVariables:e.isPoll?x.poll:e.isRefetch?x.refetch:x.loading;var o=[];t&&t.graphQLErrors&&(o=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:i,networkError:null,graphQLErrors:o,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=x.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=R(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=x.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=x.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=x.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){var n=this.store&&this.store[e];n&&(n.networkError=null,n.previousVariables=null,t&&(n.networkStatus=x.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(n){e.indexOf(n)<0?t.stopQuery(n):t.store[n].networkStatus=x.loading}))},e}();var V=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(k.A)(t.resolvers,e)})):this.resolvers=Object(k.A)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return Object(_.b)(this,void 0,void 0,(function(){return Object(_.e)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,a).then((function(e){return Object(_.a)(Object(_.a)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(k.s)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(k.C)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(_.a)(Object(_.a)({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(T.b)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(_.b)(this,void 0,void 0,(function(){return Object(_.e)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return Object(_.a)(Object(_.a)({},t),e.exportedVariables)}))]:[2,Object(_.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(C.c)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return C.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(k.d)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,i,o){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),Object(_.b)(this,void 0,void 0,(function(){var a,s,c,u,l,p,d,f,h;return Object(_.e)(this,(function(m){var v;return a=Object(k.l)(e),s=Object(k.j)(e),c=Object(k.g)(s),u=a.operation,l=u?(v=u).charAt(0).toUpperCase()+v.slice(1):"Query",d=(p=this).cache,f=p.client,h={fragmentMap:c,context:Object(_.a)(Object(_.a)({},n),{cache:d,client:f}),variables:r,fragmentMatcher:i,defaultOperationType:l,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(_.b)(this,void 0,void 0,(function(){var r,i,o,a,s,c=this;return Object(_.e)(this,(function(u){return r=n.fragmentMap,i=n.context,o=n.variables,a=[t],s=function(e){return Object(_.b)(c,void 0,void 0,(function(){var s,c;return Object(_.e)(this,(function(u){return Object(k.F)(e,o)?Object(k.t)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&a.push(((n={})[Object(k.E)(e)]=t,n))}))]:(Object(k.v)(e)?s=e:(s=r[e.name.value],Object(T.b)(s,7)),s&&s.typeCondition&&(c=s.typeCondition.name.value,n.fragmentMatcher(t,c,i))?[2,this.resolveSelectionSet(s.selectionSet,t,n).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return Object(k.B)(a)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(_.b)(this,void 0,void 0,(function(){var r,i,o,a,s,c,u,l,p,d=this;return Object(_.e)(this,(function(f){return r=n.variables,i=e.name.value,o=Object(k.E)(e),a=i!==o,s=t[o]||t[i],c=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=t.__typename||n.defaultOperationType,(l=this.resolvers&&this.resolvers[u])&&(p=l[a?i:o])&&(c=Promise.resolve(p(t,Object(k.b)(e,r),n.context,{field:e,fragmentMap:n.fragmentMap})))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}();function z(e){var t=new Set,n=null;return new I((function(r){return t.add(r),n=n||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(r)&&!t.size&&n&&(n.unsubscribe(),n=null)}}))}var Q=Object.prototype.hasOwnProperty,H=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,s=e.ssrMode,c=void 0!==s&&s,u=e.clientAwareness,l=void 0===u?{}:u,p=e.localState,d=e.assumeImmutableResults;this.mutationStore=new q,this.queryStore=new U,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(k.e?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=l,this.localState=p||new V({cache:i.getCache()}),this.ssrMode=c,this.assumeImmutableResults=!!d}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new T.a(8))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,i=e.updateQueries,o=e.refetchQueries,a=void 0===o?[]:o,s=e.awaitRefetchQueries,c=void 0!==s&&s,u=e.update,l=e.errorPolicy,p=void 0===l?"none":l,d=e.fetchPolicy,f=e.context,h=void 0===f?{}:f;return Object(_.b)(this,void 0,void 0,(function(){var e,o,s,l=this;return Object(_.e)(this,(function(f){switch(f.label){case 0:return Object(T.b)(t,9),Object(T.b)(!d||"no-cache"===d,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,h)]:[3,2];case 1:n=f.sent(),f.label=2;case 2:return o=function(){var e={};return i&&l.queries.forEach((function(t,n){var r=t.observableQuery;if(r){var o=r.queryName;o&&Q.call(i,o)&&(e[n]={updater:i[o],query:l.queryStore.get(n)})}})),e},this.mutationStore.initMutation(e,t,n),this.dataStore.markMutationInit({mutationId:e,document:t,variables:n,updateQueries:o(),update:u,optimisticResponse:r}),this.broadcastQueries(),s=this,[2,new Promise((function(i,l){var f,m;s.getObservableFromLink(t,Object(_.a)(Object(_.a)({},h),{optimisticResponse:r}),n,!1).subscribe({next:function(r){Object(k.q)(r)&&"none"===p?m=new D({graphQLErrors:r.errors}):(s.mutationStore.markMutationResult(e),"no-cache"!==d&&s.dataStore.markMutationResult({mutationId:e,result:r,document:t,variables:n,updateQueries:o(),update:u}),f=r)},error:function(t){s.mutationStore.markMutationError(e,t),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),s.broadcastQueries(),s.setQuery(e,(function(){return{document:null}})),l(new D({networkError:t}))},complete:function(){if(m&&s.mutationStore.markMutationError(e,m),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),s.broadcastQueries(),m)l(m);else{"function"==typeof a&&(a=a(f));var t=[];R(a)&&a.forEach((function(e){if("string"==typeof e)s.queries.forEach((function(n){var r=n.observableQuery;r&&r.queryName===e&&t.push(r.refetch())}));else{var n={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(n.context=e.context),t.push(s.query(n))}})),Promise.all(c?t:[]).then((function(){s.setQuery(e,(function(){return{document:null}})),"ignore"===p&&f&&Object(k.q)(f)&&delete f.errors,i(f)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(_.b)(this,void 0,void 0,(function(){var i,o,a,s,c,u,l,p,d,f,h,m,v,y,b,g,w,x,O=this;return Object(_.e)(this,(function(E){switch(E.label){case 0:return i=t.metadata,o=void 0===i?null:i,a=t.fetchPolicy,s=void 0===a?"cache-first":a,c=t.context,u=void 0===c?{}:c,l=this.transform(t.query).document,p=this.getVariables(l,t.variables),this.transform(l).hasClientExports?[4,this.localState.addExportedVariables(l,p,u)]:[3,2];case 1:p=E.sent(),E.label=2;case 2:if(t=Object(_.a)(Object(_.a)({},t),{variables:p}),h=f="network-only"===s||"no-cache"===s,f||(m=this.dataStore.getCache().diff({query:l,variables:p,returnPartialData:!0,optimistic:!1}),v=m.complete,y=m.result,h=!v||"cache-and-network"===s,d=y),b=h&&"cache-only"!==s&&"standby"!==s,Object(k.s)(["live"],l)&&(b=!0),g=this.idCounter++,w="no-cache"!==s?this.updateQueryWatch(e,l,t):void 0,this.setQuery(e,(function(){return{document:l,lastRequestId:g,invalidated:!0,cancel:w}})),this.invalidate(r),this.queryStore.initQuery({queryId:e,document:l,storePreviousVariables:b,variables:p,isPoll:n===N.poll,isRefetch:n===N.refetch,metadata:o,fetchMoreForQueryId:r}),this.broadcastQueries(),b){if(x=this.fetchRequest({requestId:g,queryId:e,document:l,options:t,fetchMoreForQueryId:r}).catch((function(t){throw t.hasOwnProperty("graphQLErrors")?t:(g>=O.getQuery(e).lastRequestId&&(O.queryStore.markQueryError(e,t,r),O.invalidate(e),O.invalidate(r),O.broadcastQueries()),new D({networkError:t}))})),"cache-and-network"!==s)return[2,x];x.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!b),this.invalidate(e),this.invalidate(r),this.transform(l).hasForcedResolvers?[2,this.localState.runResolvers({document:l,remoteResult:{data:d},context:u,variables:p,onlyRunForcedResolvers:!0}).then((function(n){return O.markQueryResult(e,n,t,r),O.broadcastQueries(),n}))]:(this.broadcastQueries(),[2,{data:d}])}}))}))},e.prototype.markQueryResult=function(e,t,n,r){var i=n.fetchPolicy,o=n.variables,a=n.errorPolicy;"no-cache"===i?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,o,r,"ignore"===a||"all"===a)},e.prototype.queryListenerForObserver=function(e,t,n){var r=this;function i(e,t){if(n[e])try{n[e](t)}catch(e){}}return function(n,o){if(r.invalidate(e,!1),n){var a=r.getQuery(e),s=a.observableQuery,c=a.document,u=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==u){var l=P(n.networkStatus),p=s&&s.getLastResult(),d=!(!p||p.networkStatus===n.networkStatus),f=t.returnPartialData||!o&&n.previousVariables||d&&t.notifyOnNetworkStatusChange||"cache-only"===u||"cache-and-network"===u;if(!l||f){var h=R(n.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||n.networkError)return i("error",new D({graphQLErrors:n.graphQLErrors,networkError:n.networkError}));try{var v=void 0,y=void 0;if(o)"no-cache"!==u&&"network-only"!==u&&r.setQuery(e,(function(){return{newData:null}})),v=o.result,y=!o.complete;else{var b=s&&s.getLastError(),g="none"!==m&&(b&&b.graphQLErrors)!==n.graphQLErrors;if(p&&p.data&&!g)v=p.data,y=!1;else{var w=r.dataStore.getCache().diff({query:c,variables:n.previousVariables||n.variables,returnPartialData:!0,optimistic:!0});v=w.result,y=!w.complete}}var x=y&&!(t.returnPartialData||"cache-only"===u),O={data:x?p&&p.data:v,loading:l,networkStatus:n.networkStatus,stale:x};"all"===m&&h&&(O.errors=n.graphQLErrors),i("next",O)}catch(e){i("error",new D({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.dataStore.getCache(),r=n.transformDocument(e),i=Object(k.D)(n.transformForLink(r)),o=this.localState.clientQuery(r),a=this.localState.serverQuery(i),s={document:r,hasClientExports:Object(k.r)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:Object(k.h)(Object(k.m)(r))},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(r),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(_.a)(Object(_.a)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(T.b)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=Object(_.a)({},e);return new L({queryManager:this,options:n,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(T.b)(e.query,12),Object(T.b)("Document"===e.query.kind,13),Object(T.b)(!e.returnPartialData,14),Object(T.b)(!e.pollInterval,15),new Promise((function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new T.a(16))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.queries.forEach((function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(i)}})),this.broadcastQueries(),Promise.all(n)},e.prototype.observeQuery=function(e,t,n){return this.addQueryListener(e,this.queryListenerForObserver(e,t,n)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.variables;n=this.transform(n).document,i=this.getVariables(n,i);var o=function(e){return t.getObservableFromLink(n,{},e,!1).map((function(i){if(r&&"no-cache"===r||(t.dataStore.markSubscriptionResult(i,n,e),t.broadcastQueries()),Object(k.q)(i))throw new D({graphQLErrors:i.errors});return i}))};if(this.transform(n).hasClientExports){var a=this.localState.addExportedVariables(n,i).then(o);return new I((function(e){var t=null;return a.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return o(i)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=n.returnPartialData,s=e.getLastResult(),c=this.getQuery(e.queryId).newData;if(c&&c.complete)return{data:c.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};var u=this.dataStore.getCache().diff({query:i,variables:r,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),l=u.result,p=u.complete;return{data:p||a?l:void 0,partial:!p}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(T.b)(n,17),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,n){t.invalidated&&t.listeners.forEach((function(r){r&&r(e.queryStore.get(n),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var i,o=this;void 0===r&&(r=this.queryDeduplication);var a=this.transform(e).serverQuery;if(a){var s=this.inFlightLinkObservables,c=this.link,u={query:a,variables:n,operationName:Object(k.n)(a)||void 0,context:this.prepareContext(Object(_.a)(Object(_.a)({},t),{forceFetch:!r}))};if(t=u.context,r){var l=s.get(a)||new Map;s.set(a,l);var p=JSON.stringify(n);if(!(i=l.get(p))){l.set(p,i=z(Object(j.execute)(c,u)));var d=function(){l.delete(p),l.size||s.delete(a),f.unsubscribe()},f=i.subscribe({next:d,error:d,complete:d})}}else i=z(Object(j.execute)(c,u))}else i=I.of({data:{}}),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(i=function(e,t){return new I((function(n){var r=n.next,i=n.error,o=n.complete,a=0,s=!1,c={next:function(e){++a,new Promise((function(n){n(t(e))})).then((function(e){--a,r&&r.call(n,e),s&&c.complete()}),(function(e){--a,i&&i.call(n,e)}))},error:function(e){i&&i.call(n,e)},complete:function(){s=!0,a||o&&o.call(n)}},u=e.subscribe(c);return function(){return u.unsubscribe()}}))}(i,(function(e){return o.localState.runResolvers({document:h,remoteResult:e,context:t,variables:n})}))),i},e.prototype.fetchRequest=function(e){var t,n,r=this,i=e.requestId,o=e.queryId,a=e.document,s=e.options,c=e.fetchMoreForQueryId,u=s.variables,l=s.errorPolicy,p=void 0===l?"none":l,d=s.fetchPolicy;return new Promise((function(e,l){var f=r.getObservableFromLink(a,s.context,u),h="fetchRequest:"+o;r.fetchQueryRejectFns.set(h,l);var m=function(){r.fetchQueryRejectFns.delete(h),r.setQuery(o,(function(e){e.subscriptions.delete(v)}))},v=f.map((function(e){if(i>=r.getQuery(o).lastRequestId&&(r.markQueryResult(o,e,s,c),r.queryStore.markQueryResult(o,e,c),r.invalidate(o),r.invalidate(c),r.broadcastQueries()),"none"===p&&R(e.errors))return l(new D({graphQLErrors:e.errors}));if("all"===p&&(n=e.errors),c||"no-cache"===d)t=e.data;else{var f=r.dataStore.getCache().diff({variables:u,query:a,optimistic:!1,returnPartialData:!0}),h=f.result;(f.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){m(),l(e)},complete:function(){m(),e({data:t,errors:n,loading:!1,networkStatus:x.ready,stale:!1})}});r.setQuery(o,(function(e){e.subscriptions.add(v)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(_.a)(Object(_.a)({},n),t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(_.a)(Object(_.a)({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==x.ready&&t.networkStatus!==x.error},e.prototype.startPollingQuery=function(e,t,n){var r=this,i=e.pollInterval;if(Object(T.b)(i,18),!this.ssrMode){var o=this.pollingInfoByQueryId.get(t);o||this.pollingInfoByQueryId.set(t,o={}),o.interval=i,o.options=Object(_.a)(Object(_.a)({},e),{fetchPolicy:"network-only"});var a=function(){var e=r.pollingInfoByQueryId.get(t);e&&(r.checkInFlight(t)?s():r.fetchQuery(t,e.options,N.poll).then(s,s))},s=function(){var e=r.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};n&&this.addQueryListener(t,n),s()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),G=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var o=!Object(k.q)(e);i&&Object(k.q)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(k.q)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t,n=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(r){var i=n.cache;n.cache=r;try{n.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{n.cache=i}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!Object(k.q)(e.result)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],r=e.updateQueries;r&&Object.keys(r).forEach((function(i){var o=r[i],a=o.query,s=o.updater,c=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),u=c.result;if(c.complete){var l=Object(k.I)((function(){return s(u,{mutationResult:e.result,queryName:Object(k.n)(a.document)||void 0,queryVariables:a.variables})}));l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}})),this.cache.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var r=e.update;r&&Object(k.I)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),Y=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,o=e.ssrForceFetchDelay,a=void 0===o?0:o,s=e.connectToDevTools,c=e.queryDeduplication,u=void 0===c||c,l=e.defaultOptions,p=e.assumeImmutableResults,d=void 0!==p&&p,f=e.resolvers,h=e.typeDefs,m=e.fragmentMatcher,v=e.name,y=e.version,b=e.link;if(!b&&f&&(b=j.ApolloLink.empty()),!b||!n)throw new T.a(4);this.link=b,this.cache=n,this.store=new G(n),this.disableNetworkFetches=i||a>0,this.queryDeduplication=u,this.defaultOptions=l||{},this.typeDefs=h,a&&setTimeout((function(){return t.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==s&&(s&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new V({cache:n,client:this,resolvers:f,fragmentMatcher:m}),this.queryManager=new H({link:this.link,store:this.store,queryDeduplication:u,ssrMode:i,clientAwareness:{name:v,version:y},localState:this.localState,assumeImmutableResults:d,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(_.a)(Object(_.a)({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(_.a)(Object(_.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(_.a)(Object(_.a)({},this.defaultOptions.query),e)),Object(T.b)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(_.a)(Object(_.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(_.a)(Object(_.a)({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(j.execute)(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();function K(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:W(e)}]}}function W(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return W(e[0]);var t=[];return Object.keys(e).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:W(e[n])||void 0};t.push(r)})),{kind:"SelectionSet",selections:t}}var J,$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},X=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(k.k)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(k.k)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:$})}catch(e){}var a=o&&o.__typename||"__ClientData",s=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=s,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:W(t)}]}),data:s})}else this.writeQuery({query:K(i),data:i})},e}();J||(J={});var Z=null,ee={},te=1,ne=Array,re=ne["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",te++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Z;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===ee)break;return e!==Z&&(Z.slots[this.id]=t),!0}return Z&&(Z.slots[this.id]=ee),!1},e.prototype.getValue=function(){if(this.hasValue())return Z.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var i,o=((i={__proto__:null})[this.id]=e,i),a=Z;Z={parent:a,slots:o};try{return t.apply(r,n)}finally{Z=a}},e.bind=function(e){var t=Z;return function(){var n=Z;try{return Z=t,e.apply(this,arguments)}finally{Z=n}}},e.noContext=function(e,t,n){if(!Z)return e.apply(n,t);var r=Z;try{return Z=null,e.apply(n,t)}finally{Z=r}},e}();try{Object.defineProperty(ne,"@wry/context:Slot",{value:ne["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();re.bind,re.noContext;function ie(){}var oe=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=ie),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getEntry(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),ae=new re,se=[],ce=[];function ue(e,t){if(!e)throw new Error(t||"assertion failure")}function le(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var pe=function(){function e(t,n){this.fn=t,this.args=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(ue(!this.recomputing,"already recomputing"),function(e){var t=ae.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),fe(e)?ve(t,e):ye(t,e),t}(this)||!ge(this))return fe(this)?function(e){var t=we(e);ae.withValue(e,de,[e]),function(e){if("function"==typeof e.subscribe)try{Oe(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){if(e.dirty=!1,fe(e))return;me(e)}(e);return t.forEach(ge),le(e.value)}(this):le(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,he(this),Oe(this))},e.prototype.dispose=function(){var e=this;we(this).forEach(ge),Oe(this),this.parents.forEach((function(t){t.setDirty(),xe(t,e)}))},e.count=0,e}();function de(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function fe(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function he(e){e.parents.forEach((function(t){return ve(t,e)}))}function me(e){e.parents.forEach((function(t){return ye(t,e)}))}function ve(e,t){if(ue(e.childValues.has(t)),ue(fe(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=ce.pop()||new Set;e.dirtyChildren.add(t),he(e)}function ye(e,t){ue(e.childValues.has(t)),ue(!fe(t));var n,r,i,o=e.childValues.get(t);0===o.length?e.childValues.set(t,t.value.slice(0)):(n=o,r=t.value,(i=n.length)>0&&i===r.length&&n[i-1]===r[i-1]||e.setDirty()),be(e,t),fe(e)||me(e)}function be(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(ce.length<100&&ce.push(n),e.dirtyChildren=null))}function ge(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function we(e){var t=se;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(n,r){xe(e,r),t.push(r)}))),ue(null===e.dirtyChildren),t}function xe(e,t){t.parents.delete(e),e.childValues.delete(t),be(e,t)}function Oe(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var _e=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return e.forEach((function(e){return t=t.getChildTrie(e)})),t.data||(t.data=Object.create(null))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness)),r},e}();var ke=new _e("function"==typeof WeakMap);function Ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ke.lookupArray(e)}var Se=new Set;function je(e,t){void 0===t&&(t=Object.create(null));var n=new oe(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=!!t.disposable,i=t.makeCacheKey||Ee;function o(){if(!r||ae.hasValue()){var o=i.apply(null,arguments);if(void 0===o)return e.apply(null,arguments);var a=Array.prototype.slice.call(arguments),s=n.get(o);s?s.args=a:(s=new pe(e,a),n.set(o,s),s.subscribe=t.subscribe,r&&(s.reportOrphan=function(){return n.delete(o)}));var c=s.recompute();return n.set(o,s),Se.add(n),ae.hasValue()||(Se.forEach((function(e){return e.clean()})),Se.clear()),r?void 0:c}}return o.dirty=function(){var e=i.apply(null,arguments),t=void 0!==e&&n.get(e);t&&t.setDirty()},o}var Ae=!1;function Te(){var e=!Ae;return Object(k.y)()||(Ae=!0),e}var Ce=function(){function e(){}return e.prototype.ensureReady=function(){return Promise.resolve()},e.prototype.canBypassInit=function(){return!0},e.prototype.match=function(e,t,n){var r=n.store.get(e.id),i="ROOT_QUERY"===e.id;if(!r)return i;var o=r.__typename,a=void 0===o?i&&"Query":o;return a&&a===t||(Te(),"heuristic")},e}(),Pe=(function(){function e(e){e&&e.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(e.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}e.prototype.match=function(e,t,n){Object(T.b)(this.isReady,1);var r=n.store.get(e.id),i="ROOT_QUERY"===e.id;if(!r)return i;var o=r.__typename,a=void 0===o?i&&"Query":o;if(Object(T.b)(a,2),a===t)return!0;var s=this.possibleTypesMap[t];return!!(a&&s&&s.indexOf(a)>-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t}}(),Object.prototype.hasOwnProperty),Ie=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=je((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){Pe.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){Pe.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function Re(e){return new Ie(e)}var Ne=function(){function e(e){var t=this,n=void 0===e?{}:e,r=n.cacheKeyRoot,i=void 0===r?new _e(k.e):r,o=n.freezeResults,a=void 0!==o&&o,s=this.executeStoreQuery,c=this.executeSelectionSet,u=this.executeSubSelectedArray;this.freezeResults=a,this.executeStoreQuery=je((function(e){return s.call(t,e)}),{makeCacheKey:function(e){var t=e.query,n=e.rootValue,r=e.contextValue,o=e.variableValues,a=e.fragmentMatcher;if(r.store instanceof Ie)return i.lookup(r.store,t,a,JSON.stringify(o),n.id)}}),this.executeSelectionSet=je((function(e){return c.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,n=e.rootValue,r=e.execContext;if(r.contextValue.store instanceof Ie)return i.lookup(r.contextValue.store,t,r.fragmentMatcher,JSON.stringify(r.variableValues),n.id)}}),this.executeSubSelectedArray=je((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.field,n=e.array,r=e.execContext;if(r.contextValue.store instanceof Ie)return i.lookup(r.contextValue.store,t,n,JSON.stringify(r.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(_.a)(Object(_.a)({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.variables,i=e.previousResult,o=e.returnPartialData,a=void 0===o||o,s=e.rootId,c=void 0===s?"ROOT_QUERY":s,u=e.fragmentMatcherFunction,l=e.config,p=Object(k.o)(n);r=Object(k.c)({},Object(k.h)(p),r);var d={store:t,dataIdFromObject:l&&l.dataIdFromObject,cacheRedirects:l&&l.cacheRedirects||{}},f=this.executeStoreQuery({query:n,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:d,variableValues:r,fragmentMatcher:u}),h=f.missing&&f.missing.length>0;return h&&!a&&f.missing.forEach((function(e){if(!e.tolerable)throw new T.a(8)})),i&&Object(E.a)(i,f.result)&&(f.result=i),{result:f.result,complete:!h}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,a=void 0===o?Le:o,s=Object(k.l)(t),c=Object(k.j)(t),u={query:t,fragmentMap:Object(k.g)(c),contextValue:r,variableValues:i,fragmentMatcher:a};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:n,execContext:u})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,o=i.fragmentMap,a=i.contextValue,s=i.variableValues,c={result:null},u=[],l=a.store.get(r.id),p=l&&l.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function d(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if(Object(k.F)(e,s))if(Object(k.t)(e)){var c=d(t.executeField(l,p,e,i));void 0!==c&&u.push(((n={})[Object(k.E)(e)]=c,n))}else{var f=void 0;if(Object(k.v)(e))f=e;else if(!(f=o[e.name.value]))throw new T.a(9);var h=f.typeCondition&&f.typeCondition.name.value,m=!h||i.fragmentMatcher(r,h,a);if(m){var v=t.executeSelectionSet({selectionSet:f.selectionSet,rootValue:r,execContext:i});"heuristic"===m&&v.missing&&(v=Object(_.a)(Object(_.a)({},v),{missing:v.missing.map((function(e){return Object(_.a)(Object(_.a)({},e),{tolerable:!0})}))})),u.push(d(v))}}})),c.result=Object(k.B)(u),this.freezeResults,c},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,a=function(e,t,n,r,i,o){o.resultKey;var a=o.directives,s=n;(r||a)&&(s=Object(k.p)(s,r,a));var c=void 0;if(e&&void 0===(c=e[s])&&i.cacheRedirects&&"string"==typeof t){var u=i.cacheRedirects[t];if(u){var l=u[n];l&&(c=l(e,r,{getCacheKey:function(e){var t=i.dataIdFromObject(e);return t&&Object(k.H)({id:t,typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:s,tolerable:!1}]};Object(k.w)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(k.b)(n,i),o,{resultKey:Object(k.E)(n),directives:Object(k.i)(n,i)});return Array.isArray(a.result)?this.combineExecResults(a,this.executeSubSelectedArray({field:n,array:a.result,execContext:r})):n.selectionSet?null==a.result?a:this.combineExecResults(a,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:a.result,execContext:r})):(De(n,a.result),this.freezeResults,a)},e.prototype.combineExecResults=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.forEach((function(t){t.missing&&(e=e||[]).push.apply(e,t.missing)})),{result:t.pop().result,missing:e}},e.prototype.executeSubSelectedArray=function(e){var t,n=this,r=e.field,i=e.array,o=e.execContext;function a(e){return e.missing&&(t=t||[]).push.apply(t,e.missing),e.result}return i=i.map((function(e){return null===e?null:Array.isArray(e)?a(n.executeSubSelectedArray({field:r,array:e,execContext:o})):r.selectionSet?a(n.executeSelectionSet({selectionSet:r.selectionSet,rootValue:e,execContext:o})):(De(r,e),e)})),this.freezeResults,{result:i,missing:t}},e}();function De(e,t){if(!e.selectionSet&&Object(k.u)(t))throw new T.a(10)}function Le(){return!0}var Me=function(){function e(e){void 0===e&&(e=Object.create(null)),this.data=e}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.delete=function(e){this.data[e]=void 0},e.prototype.clear=function(){this.data=Object.create(null)},e.prototype.replace=function(e){this.data=e||Object.create(null)},e}();var Fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="WriteError",t}return Object(_.d)(t,e),t}(Error);var Be=function(){function e(){}return e.prototype.writeQueryToStore=function(e){var t=e.query,n=e.result,r=e.store,i=void 0===r?Re():r,o=e.variables,a=e.dataIdFromObject,s=e.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:n,document:t,store:i,variables:o,dataIdFromObject:a,fragmentMatcherFunction:s})},e.prototype.writeResultToStore=function(e){var t=e.dataId,n=e.result,r=e.document,i=e.store,o=void 0===i?Re():i,a=e.variables,s=e.dataIdFromObject,c=e.fragmentMatcherFunction,u=Object(k.m)(r);try{return this.writeSelectionSetToStore({result:n,dataId:t,selectionSet:u.selectionSet,context:{store:o,processedData:{},variables:Object(k.c)({},Object(k.h)(u),a),dataIdFromObject:s,fragmentMap:Object(k.g)(Object(k.j)(r)),fragmentMatcherFunction:c}})}catch(e){throw function(e,t){var n=new Fe("Error writing result to store for query:\n "+JSON.stringify(t));return n.message+="\n"+e.message,n.stack=e.stack,n}(e,r)}},e.prototype.writeSelectionSetToStore=function(e){var t=this,n=e.result,r=e.dataId,i=e.selectionSet,o=e.context,a=o.variables,s=o.store,c=o.fragmentMap;return i.selections.forEach((function(e){var i;if(Object(k.F)(e,a))if(Object(k.t)(e)){var s=Object(k.E)(e),u=n[s];if(void 0!==u)t.writeFieldToStore({dataId:r,value:u,field:e,context:o});else{var l=!1,p=!1;e.directives&&e.directives.length&&(l=e.directives.some((function(e){return e.name&&"defer"===e.name.value})),p=e.directives.some((function(e){return e.name&&"client"===e.name.value}))),!l&&!p&&o.fragmentMatcherFunction}}else{var d=void 0;Object(k.v)(e)?d=e:(d=(c||{})[e.name.value],Object(T.b)(d,3));var f=!0;if(o.fragmentMatcherFunction&&d.typeCondition){var h=r||"self",m=Object(k.H)({id:h,typename:void 0}),v={store:new Me((i={},i[h]=n,i)),cacheRedirects:{}},y=o.fragmentMatcherFunction(m,d.typeCondition.name.value,v);Object(k.x)(),f=!!y}f&&t.writeSelectionSetToStore({result:n,selectionSet:d.selectionSet,dataId:r,context:o})}})),s},e.prototype.writeFieldToStore=function(e){var t,n,r,i=e.field,o=e.value,a=e.dataId,s=e.context,c=s.variables,u=s.dataIdFromObject,l=s.store,p=Object(k.G)(i,c);if(i.selectionSet&&null!==o)if(Array.isArray(o)){var d=a+"."+p;n=this.processArrayValue(o,d,i.selectionSet,s)}else{var f=a+"."+p,h=!0;if(qe(f)||(f="$"+f),u){var m=u(o);Object(T.b)(!m||!qe(m),4),(m||"number"==typeof m&&0===m)&&(f=m,h=!1)}Ue(f,i,s.processedData)||this.writeSelectionSetToStore({dataId:f,result:o,selectionSet:i.selectionSet,context:s});var v=o.__typename;n=Object(k.H)({id:f,typename:v},h);var y=(r=l.get(a))&&r[p];if(y!==n&&Object(k.u)(y)){var b=void 0!==y.typename,g=void 0!==v,w=b&&g&&y.typename!==v;Object(T.b)(!h||y.generated||w,5),Object(T.b)(!b||g,6),y.generated&&(w?h||l.delete(y.id):function e(t,n,r){if(t===n)return!1;var i=r.get(t),o=r.get(n),a=!1;Object.keys(i).forEach((function(t){var n=i[t],s=o[t];Object(k.u)(n)&&qe(n.id)&&Object(k.u)(s)&&!Object(E.a)(n,s)&&e(n.id,s.id,r)&&(a=!0)})),r.delete(t);var s=Object(_.a)(Object(_.a)({},i),o);if(Object(E.a)(s,o))return a;return r.set(n,s),!0}(y.id,n.id,l))}}else n=null!=o&&"object"==typeof o?{type:"json",json:o}:o;(r=l.get(a))&&Object(E.a)(n,r[p])||l.set(a,Object(_.a)(Object(_.a)({},r),((t={})[p]=n,t)))},e.prototype.processArrayValue=function(e,t,n,r){var i=this;return e.map((function(e,o){if(null===e)return null;var a=t+"."+o;if(Array.isArray(e))return i.processArrayValue(e,a,n,r);var s=!0;if(r.dataIdFromObject){var c=r.dataIdFromObject(e);c&&(a=c,s=!1)}return Ue(a,n,r.processedData)||i.writeSelectionSetToStore({dataId:a,result:e,selectionSet:n,context:r}),Object(k.H)({id:a,typename:e.__typename},s)}))},e}();function qe(e){return"$"===e[0]}function Ue(e,t,n){if(!n)return!1;if(n[e]){if(n[e].indexOf(t)>=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var Ve={fragmentMatcher:new Ce,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var ze=Object.prototype.hasOwnProperty,Qe=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(_.d)(t,e),t.prototype.toObject=function(){return Object(_.a)(Object(_.a)({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return ze.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(Me),He=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new _e(k.e),n.silenceBroadcast=!1,n.config=Object(_.a)(Object(_.a)({},Ve),t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=!!n.config.addTypename,n.data=n.config.resultCaching?new Ie:new Me,n.optimisticData=n.data,n.storeWriter=new Be,n.storeReader=new Ne({cacheKeyRoot:n.cacheKeyRoot,freezeResults:t.freezeResults});var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=je((function(e){return i.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof Ie?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(_.d)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:n,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:n}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:n,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new T.a(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof Qe;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new Qe(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(k.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(X),Ge=n(133);function Ye(e){return new j.ApolloLink((function(t,n){return new S.a((function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=Ye(t),n}Object(_.d)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(j.ApolloLink);var Ke=n(141),We=(n(136),n(137));function Je(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function $e(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Je(o,r,i,a,s,"next",e)}function s(e){Je(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Xe,Ze,et=new He({addTypename:!1}),tt={GRAPHQL_URI:"/graphql",credentials:"include"},nt=j.ApolloLink.split(e=>e.getContext().hasUpload,Object(Ke.createUploadLink)(tt),new Ge.a(tt)),rt=new Y({defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"},mutate:{errorPolicy:"all"}},cache:et,link:j.ApolloLink.from([Ye(({operation:e,graphQLErrors:t,networkError:n})=>{if(t&&document.dispatchEvent(new CustomEvent("notify",{detail:{level:"error",message:t[0].message,ex:t}})),n)switch(n.statusCode){case 401:document.dispatchEvent(new CustomEvent("auth-required"));break;case 403:document.dispatchEvent(new CustomEvent("domain-required"));break;default:var{name:r,response:i,statusCode:o,bodyText:a,message:s}=n;s="ServerParseError"==r?"[ ".concat(o||""," : ").concat(i.statusText," ] ").concat(a):"[ ".concat(o||""," : ").concat(i.statusText," ] ").concat(s),document.dispatchEvent(new CustomEvent("notify",{detail:{level:"error",message:s,ex:n}}))}}),nt])}),it=function(){var e=$e((function*(){return Xe||(Xe=new Promise((e,t)=>{var n=new We.SubscriptionClient(location.origin.replace(/^http/,"ws")+"/subscriptions",{reconnect:!0,connectionParams:{headers:{referer:location.href}}});n.onError(e=>{3===n.status&&(n.reconnect=!1),t(e)}),n.onConnected(()=>{e(n)})})),yield Xe}));return function(){return e.apply(this,arguments)}}(),ot=[],at=function(){var e=$e((function*(e,t){var n=yield it(),{unsubscribe:r}=n.request(e).subscribe(t);return ot.push(r),{unsubscribe(){ot.splice(ot.indexOf(r),1),r(),0==ot.length&&(n.unsubscribeAll(),n.close(!0),Xe=null)}}}));return function(t,n){return e.apply(this,arguments)}}();function st(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ct(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){st(o,r,i,a,s,"next",e)}function s(e){st(o,r,i,a,s,"throw",e)}a(void 0)}))}}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class lt{static enqueue(e){return new Promise((t,n)=>{this.queue.push({promise:e,resolve:t,reject:n}),this.dequeue()})}static dequeue(){if(this.workingOnPromise)return!1;var e=this.queue.shift();if(!e)return!1;try{this.workingOnPromise=!0,e.promise.then(t=>{this.workingOnPromise=!1,e.resolve(t),this.dequeue()}).catch(t=>{this.workingOnPromise=!1,e.reject(t),this.dequeue()})}catch(t){this.workingOnPromise=!1,e.reject(t),this.dequeue()}return!0}}function pt(e){return["add","delete","clear","get","getAll","getAllKeys","count","put","openCursor","openKeyCursor"].reduce((t,n)=>(t[n]=function(){var t=ct((function*(...t){var r=(yield ft()).transaction(e,"readwrite").objectStore(e),i=r[n].apply(r,t);return yield new Promise((e,t)=>{i.onsuccess=t=>{e(t.target.result)},i.onerror=e=>{t(e)}})}));return function(){return t.apply(this,arguments)}}(),t),{limit(e=50){var t=this;return ct((function*(){for(var n=(yield t.getAllKeys()).slice(0,-e),r=0;r<n.length;r++)yield t.delete(n[r])}))()}})}function dt(){return"undefined"!=typeof window?window.indexedDB:self.indexedDB}function ft(){return Ze||lt.enqueue(new Promise((function(e,t){dt()||t("this browser does not support indexedDB");var n=dt().open("things-factory-database");n.onerror=function(e){console.log("Why didn't you allow my web app to use IndexedDB?!"),t(e)},n.onupgradeneeded=function(e){var t=e.target.result;t.createObjectStore("notifications",{keyPath:"id",autoIncrement:!0}).createIndex("notification_id_unqiue","id",{unique:!0}),t.createObjectStore("client_settings",{keyPath:"key",autoIncrement:!0}).createIndex("client_setting_key_unqiue","key",{unique:!0})},n.onsuccess=function(t){console.log("IndexedDB for notification opened successfully"),Ze=n.result,e(Ze)}})))}ut(lt,"queue",[]),ut(lt,"pendingPromise",!1);var ht=pt("client_settings"),mt=pt("notifications"),vt=n(97),yt=n.n(vt);function bt(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var gt,wt,xt,Ot,_t,kt=e=>class extends e{constructor(){super(),this._infiniteScrollOptions={threshold:20,limit:30,totalProp:"_total",pageProp:"_page"},this.onScroll=yt()(e=>{var t=this.scrollTargetEl,{threshold:n=0,limit:r,totalProp:i,pageProp:o}=this._infiniteScrollOptions;this[o]<this[i]/r&&t.scrollHeight-t.clientHeight<=t.scrollTop+n&&this.scrollAction()},300)}get scrollTargetEl(){console.warn("scroll target element is not defined.")}scrollAction(){return(e=function*(){console.warn("scroll action not implemented.")},function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){bt(o,r,i,a,s,"next",e)}function s(e){bt(o,r,i,a,s,"throw",e)}a(void 0)}))})();var e}};n(42);function Et(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}class St extends i.a{static get styles(){return Object(i.b)(gt||(gt=Et(["\n :host {\n display: block;\n text-align: center;\n }\n mwc-icon {\n font: var(--oops-note-icon-font);\n color: var(--oops-note-icon-color);\n border: var(--oops-note-icon-border);\n border-radius: var(--oops-note-icon-border-radius);\n padding: var(--oops-note-icon-padding);\n }\n [title] {\n margin: var(--oops-note-title-margin);\n font: var(--oops-note-title-font);\n color: var(--oops-note-title-color);\n text-transform: capitalize;\n }\n [description] {\n font: var(--oops-note-description-font);\n color: var(--oops-note-description-color);\n }\n "])))}static get properties(){return{icon:String,title:String,description:String}}render(){return Object(i.e)(wt||(wt=Et(["\n <mwc-icon>","</mwc-icon>\n <div title>","</div>\n <div description>","</div>\n "])),this.icon,this.title,this.description)}}function jt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("oops-note",St);class At extends i.a{static get styles(){return Object(i.b)(xt||(xt=jt(["\n :host {\n width: 70px;\n height: 70px;\n margin: 0 auto;\n background: url(/assets/images/spinner.png) 0 0 no-repeat;\n background-size: 700%;\n animation: spinner steps(6) 2s infinite both;\n }\n\n @keyframes spinner {\n 0% {\n background-position: 0%;\n }\n 100% {\n background-position: 100%;\n }\n }\n "])))}render(){return Object(i.e)(Ot||(Ot=jt([""])))}}function Tt(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Ct(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Tt(o,r,i,a,s,"next",e)}function s(e){Tt(o,r,i,a,s,"throw",e)}a(void 0)}))}}customElements.define("oops-spinner",At);class Pt extends i.a{static get properties(){return{tag:String,subscription:Boolean}}render(){return Object(i.e)(_t||(_t=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([" <slot></slot> "])))}disconnectedCallback(){super.disconnectedCallback(),this.stopSubscribe()}get subscription(){return this._subscription}set subscription(e){console.warn("oops-progress#subscription is readonly property")}updated(e){var t=this;return Ct((function*(){e.has("tag")&&t.subscription&&(yield t.stopSubscribe())}))()}startSubscribe(){var e=this;return Ct((function*(){var t;e.tag&&!e._subscription&&(e._subscription=yield at({query:'\n subscription {\n data(tag: "'.concat(e.tag,'") {\n tag\n data\n }\n }')},{next:(t=Ct((function*({data:t}){if(t){var n,{progress:r=0,message:i=""}=(null==t||null===(n=t.data)||void 0===n?void 0:n.data)||{};e.dispatchEvent(new CustomEvent("progress",{detail:{progress:r,message:i}})),r>=100&&(yield e.stopSubscribe(),e.dispatchEvent(new CustomEvent("finish")))}})),function(e){return t.apply(this,arguments)})}))}))()}stopSubscribe(){var e=this;return Ct((function*(){var t;yield null===(t=e._subscription)||void 0===t?void 0:t.unsubscribe(),delete e._subscription}))()}}customElements.define("oops-progress",Pt);var It=n(142),Rt=n.n(It);function Nt(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Dt(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Nt(o,r,i,a,s,"next",e)}function s(e){Nt(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Lt(e){return Mt.apply(this,arguments)}function Mt(){return(Mt=Dt((function*({type:e="info",icon:t,title:n,text:r,allowOutsideClick:i=!0,allowEscapeKey:o=!0,footer:a,position:s="center",toast:c,confirmButton:u={},cancelButton:l={},invertButton:p=!1,callback:d,onBeforeOpen:f,onOpen:h,onRender:m,onClose:v,onAfterClose:y,debug:b=!1}){try{if(b){var g="";if(["success","error","warning","info","question"].includes(e)||(g+="Invalid Alert Type.\n"),n&&"string"!=typeof n&&(g+="Invalid Title.\n"),r&&"string"!=typeof r&&(g+="Invalid Text.\n"),a&&"string"!=typeof r&&(g+="Invalid Footer.\n"),"string"!=typeof s&&(g+="Invalid Position.\n"),c&&"boolean"!=typeof c&&(g+="Invalid Footer.\n"),Object.keys(u).length>0&&("object"!=typeof u||!u.hasOwnProperty("text"))&&(g+="Invalid Confirm Button.\n"),Object.keys(l).length>0&&("object"!=typeof l||!l.hasOwnProperty("text"))&&(g+="Invalid Cancel Button.\n"),""!==g)throw new Error(g)}var w=yield Rt.a.fire({icon:t||e,title:n,text:r,allowOutsideClick:i,allowEscapeKey:o,footer:a,position:s,showConfirmButton:Object.keys(u).length>0,showCancelButton:Object.keys(l).length>0,confirmButtonText:u.hasOwnProperty("text")?u.text:"confirm",cancelButtonText:l.hasOwnProperty("text")?l.text:"cancel",confirmButtonColor:u.hasOwnProperty("color")?u.color:"#22a6a7",cancelButtonColor:l.hasOwnProperty("color")?l.color:"#cfcfcf",toast:c,reverseButtons:p,willOpen:()=>{f&&f()},didOpen:()=>{h&&h()},didRender:()=>{m&&m()},willClose:()=>{v&&v()},didClose:()=>{y&&y()}});if(!d||"function"!=typeof d)return Promise.resolve(w);d(w)}catch(e){console.log("%c(Custom-Alert)\n"+e,"color:Red")}}))).apply(this,arguments)}var Ft="__context__";function Bt(){var e=new URLSearchParams(location.search);return JSON.parse(e.get(Ft))||""}function qt(e){if(!e)throw new Error("context is not passed");return"string"!=typeof e&&(e=JSON.stringify(e)),new URLSearchParams({[Ft]:e}).toString()}var Ut={"APP-VERSION":"3.6.1","NODE-ENV":"production"};window.process={env:{NODE_ENV:"production"}}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(166),i=n(171);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(285);function i(e,t,n){return new r.a("Syntax Error: ".concat(n),void 0,e,[t])}},,function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r,i=n(1),o=n(0);
|
|
192
|
-
/**
|
|
193
|
-
* @license
|
|
194
|
-
* Copyright 2021 Google LLC
|
|
195
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
|
196
|
-
*/
|
|
197
|
-
var a,s,c,u=Object(o.b)(r||(a=[':host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}'],s||(s=a.slice(0)),r=Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(s)}}))));
|
|
198
|
-
/**
|
|
199
|
-
* @license
|
|
200
|
-
* Copyright 2018 Google LLC
|
|
201
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
202
|
-
*/
|
|
203
|
-
var l=class extends o.a{render(){return Object(o.e)(c||(c=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["<slot></slot>"])))}};l.styles=[u],l=Object(i.c)([Object(o.c)("mwc-icon")],l)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
204
|
-
/**
|
|
205
|
-
* @license
|
|
206
|
-
* Copyright 2016 Google Inc.
|
|
207
|
-
*
|
|
208
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
210
|
-
* in the Software without restriction, including without limitation the rights
|
|
211
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
212
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
213
|
-
* furnished to do so, subject to the following conditions:
|
|
214
|
-
*
|
|
215
|
-
* The above copyright notice and this permission notice shall be included in
|
|
216
|
-
* all copies or substantial portions of the Software.
|
|
217
|
-
*
|
|
218
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
219
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
220
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
221
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
222
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
223
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
224
|
-
* THE SOFTWARE.
|
|
225
|
-
*/
|
|
226
|
-
var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},,function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return h}));var r,i=n(0);var o,a,s,c=Object(i.b)(r||(o=["\n :host {\n display: block;\n box-sizing: border-box;\n }\n"],a||(a=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(a)}}))));var u,l=Object(i.b)(s||(s=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n /* for scroller */\n ::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n ::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-thumb-color, rgba(0, 0, 0, 0.2));\n }\n ::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-thumb-hover-color, #aa866a);\n }\n"])));var p,d=Object(i.b)(u||(u=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n /* for tooltip */\n [data-tooltip]:after {\n position: absolute;\n content: attr(data-tooltip);\n color: #fff;\n z-index: 1;\n pointer-events: none;\n display: block;\n text-transform: capitalize;\n\n padding: var(--tooltip-padding);\n background-color: var(--tooltip-background-color);\n font: var(--tooltip-font);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n\n left: var(--tooltip-left-positon-left);\n top: var(--tooltip-left-position-top);\n right: var(--tooltip-left-position-right);\n animation: var(--tooltip-left-position-animation);\n }\n @keyframes tooltip-left {\n 0% {\n opacity: 0;\n right: 150%;\n }\n 100% {\n opacity: 1;\n right: 110%;\n }\n }\n"])));var f=Object(i.b)(p||(p=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n .headroom {\n will-change: transform;\n transition: transform 200ms linear;\n }\n\n .headroom--pinned {\n transform: translateY(0%);\n }\n\n .headroom--unpinned {\n transform: translateY(-100%);\n }\n"]))),h={activate:{icon:"toggle_on",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},add:{icon:"post_add",emphasis:{raised:!0,outlined:!1,dense:!1,danger:!1}},additional:{icon:"library_add",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},approve:{icon:"assignment_turned_in",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},arrived:{icon:"where_to_vote",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},assignment:{icon:"assignment",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},back:{icon:"arrow_back_ios_new",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},cancel:{icon:"cancel",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!0}},clear:{icon:"clear",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!0}},connect:{icon:"mediation",emphasis:{raised:!0,outlined:!1,dense:!1,danger:!1}},copy:{icon:"content_copy",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},confirm:{icon:"fact_check",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},delete:{icon:"delete_outline",emphasis:{raised:!0,outlined:!1,dense:!1,danger:!0}},draft:{icon:"create",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},edit:{icon:"edit",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},export:{icon:"open_in_browser",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},generate:{icon:"add_task",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},import:{icon:"save_alt",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},init:{icon:"content_paste",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},inspect:{icon:"pageview",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},issue:{icon:"error",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!0}},label:{icon:"print",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},load:{icon:"local_shipping",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},logistics:{icon:"moped",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},pause:{icon:"pause",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},play:{icon:"play_arrow",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},preview:{icon:"preview",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},print:{icon:"print",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},receive:{icon:"assignment_turn_in",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},refresh:{icon:"refresh",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},register:{icon:"add",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},reject:{icon:"not_interested",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!0}},relocate:{icon:"edit_location_alt",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},save:{icon:"done",emphasis:{raised:!0,outlined:!1,dense:!1,danger:!1}},submit:{icon:"task_alt",emphasis:{raised:!0,outlined:!1,dense:!1,danger:!1}},sync:{icon:"sync",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},transfer:{icon:"swap_horiz",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},undo:{icon:"undo",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}},warehouse:{icon:"add_business",emphasis:{raised:!1,outlined:!0,dense:!1,danger:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(90);n.d(t,"b",(function(){return i.a}));
|
|
227
|
-
/**
|
|
228
|
-
* @license
|
|
229
|
-
* Copyright 2018 Google LLC
|
|
230
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
231
|
-
*/
|
|
232
|
-
class o extends r.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(e,t){var n=Array.isArray;e.exports=n},,function(e,t,n){var r=n(50),i=n(167),o=n(168),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t,n){var r=n(26).Symbol;e.exports=r},,function(e,t,n){"use strict";var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},function(e,t,n){var r=n(202),i=n(69),o=n(203),a=n(204),s=n(205),c=n(49),u=n(101),l=u(r),p=u(i),d=u(o),f=u(a),h=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case p:return"[object Map]";case d:return"[object Promise]";case f:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(233);e.exports=function(e,t){return r(e,t)}},,function(e,t,n){var r=n(156),i=n(157),o=n(158),a=n(159),s=n(160);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(78);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(38)(Object,"create");e.exports=r},function(e,t,n){var r=n(180);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(102),i=n(103);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=o?o(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),a?i(n,u,l):r(n,u,l)}return n}},function(e,t,n){(function(r){var i;if("function"==typeof fetch&&(void 0!==r&&r.fetch?i=r.fetch:"undefined"!=typeof window&&window.fetch&&(i=window.fetch)),"undefined"==typeof window||void 0===window.document){var o=i||n(154);o.default&&(o=o.default),t.default=o,e.exports=t.default}}).call(this,n(37))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
233
|
-
/**
|
|
234
|
-
* @license
|
|
235
|
-
* Copyright 2020 Google LLC
|
|
236
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
237
|
-
*/
|
|
238
|
-
class r{constructor(e){this.startPress=t=>{e().then(e=>{e&&e.startPress(t)})},this.endPress=()=>{e().then(e=>{e&&e.endPress()})},this.startFocus=()=>{e().then(e=>{e&&e.startFocus()})},this.endFocus=()=>{e().then(e=>{e&&e.endFocus()})},this.startHover=()=>{e().then(e=>{e&&e.startHover()})},this.endHover=()=>{e().then(e=>{e&&e.endHover()})}}}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},,function(e,t,n){(function(e){var r=n(26),i=n(189),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c}).call(this,n(68)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(52);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+a(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(38)(n(26),"Map");e.exports=r},function(e,t,n){var r=n(104),i=n(147),o=n(88);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(100),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(68)(e))},function(e,t,n){var r=n(104),i=n(194),o=n(88);e.exports=function(e){return o(e)?r(e,!0):i(e)}},function(e,t,n){var r=n(199),i=n(107),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},function(e,t,n){var r=n(120);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(62);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Object(i.a)(e,t,n[t])}))}return e}var a=n(23),s=n(24),c=n(112),u=n.n(c);function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){if(t&&("object"===u()(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}var m={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},v=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(a.a)(this,e),this.init(t,n)}return Object(s.a)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||m,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,o({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),y=function(){function e(){Object(a.a)(this,e),this.observers={}}return Object(s.a)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function b(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function g(e){return null==e?"":""+e}function w(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function x(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function O(e,t,n){var r=x(e,t,Object);r.obj[r.k]=n}function _(e,t){var n=x(e,t),r=n.obj,i=n.k;if(r)return r[i]}function k(e,t,n){var r=_(e,n);return void 0!==r?r:_(t,n)}function E(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):E(e[r],t[r],n):e[r]=t[r]);return e}function S(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var j={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function A(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return j[e]})):e}var T="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,C=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Object(a.a)(this,t),n=p(this,d(t).call(this)),T&&y.call(l(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return h(t,e),Object(s.a)(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),_(this.data,o)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),O(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(s=e.split("."))[1]),this.addNamespaces(t);var c=_(this.data,s)||{};r?E(c,n,i):c=o({},c,n),O(this.data,s,c),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?o({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(y),P={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}},I={},R=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)(this,t),n=p(this,d(t).call(this)),T&&y.call(l(n)),w(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,l(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=v.create("translator"),n}return h(t,e),Object(s.a)(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:i};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,i){var a=this;if("object"!==r(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,c=this.extractFromKey(e[e.length-1],n),u=c.key,l=c.namespaces,p=l[l.length-1],d=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(f){var h=n.nsSeparator||this.options.nsSeparator;return p+h+u}return u}var m=this.resolve(e,n),v=m&&m.res,y=m&&m.usedKey||u,b=m&&m.exactUsedKey||u,g=Object.prototype.toString.apply(v),w=["[object Number]","[object Function]","[object RegExp]"],x=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject,_="string"!=typeof v&&"boolean"!=typeof v&&"number"!=typeof v;if(O&&v&&_&&w.indexOf(g)<0&&("string"!=typeof x||"[object Array]"!==g)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,n):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(s){var k="[object Array]"===g,E=k?[]:{},S=k?b:y;for(var j in v)if(Object.prototype.hasOwnProperty.call(v,j)){var A="".concat(S).concat(s).concat(j);E[j]=this.translate(A,o({},n,{joinArrays:!1,ns:l})),E[j]===A&&(E[j]=v[j])}v=E}}else if(O&&"string"==typeof x&&"[object Array]"===g)(v=v.join(x))&&(v=this.extendTranslation(v,e,n,i));else{var T=!1,C=!1,P=void 0!==n.count&&"string"!=typeof n.count,I=t.hasDefaultValue(n),R=P?this.pluralResolver.getSuffix(d,n.count):"",N=n["defaultValue".concat(R)]||n.defaultValue;!this.isValidLookup(v)&&I&&(T=!0,v=N),this.isValidLookup(v)||(C=!0,v=u);var D=I&&N!==v&&this.options.updateMissing;if(C||T||D){if(this.logger.log(D?"updateKey":"missingKey",d,p,u,D?N:v),s){var L=this.resolve(u,o({},n,{keySeparator:!1}));L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var M=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var B=0;B<F.length;B++)M.push(F[B]);else"all"===this.options.saveMissingTo?M=this.languageUtils.toResolveHierarchy(n.lng||this.language):M.push(n.lng||this.language);var q=function(e,t,r){a.options.missingKeyHandler?a.options.missingKeyHandler(e,p,t,D?r:v,D,n):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,p,t,D?r:v,D,n),a.emit("missingKey",e,p,t,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?M.forEach((function(e){a.pluralResolver.getSuffixes(e).forEach((function(t){q([e],u+t,n["defaultValue".concat(t)]||N)}))})):q(M,u,N))}v=this.extendTranslation(v,e,n,m,i),C&&v===u&&this.options.appendNamespaceToMissingKey&&(v="".concat(p,":").concat(u)),C&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(v))}return v}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(o({},n,{interpolation:o({},this.options.interpolation,n.interpolation)}));var s,c=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(c){var u=e.match(this.interpolator.nestingRegexp);s=u&&u.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=o({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),c){var p=e.match(this.interpolator.nestingRegexp);s<(p&&p.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=P.handle(f,e,t,this.options&&this.options.postProcessPassResolved?o({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var c=a.extractFromKey(e,s),u=c.key;n=u;var l=c.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var p=void 0!==s.count&&"string"!=typeof s.count,d=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,f=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(o=e,!I["".concat(f[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(I["".concat(f[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,c,l=u,f=[l];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(f,u,n,e,s);else p&&(o=a.pluralResolver.getSuffix(n,s.count)),p&&d&&f.push(l+o),d&&f.push(l+="".concat(a.options.contextSeparator).concat(s.context)),p&&f.push(l+=o);for(;c=f.pop();)a.isValidLookup(t)||(r=c,t=a.getResource(n,e,c,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),t}(y);function N(e){return e.charAt(0).toUpperCase()+e.slice(1)}var D=function(){function e(t){Object(a.a)(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=v.create("languageUtils")}return Object(s.a)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=N(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),L=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],M={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function F(){var e={};return L.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:M[t.fc]}}))})),e}var B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(a.a)(this,e),this.languageUtils=t,this.options=n,this.logger=v.create("pluralResolver"),this.rules=F()}return Object(s.a)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(this,e),this.logger=v.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return Object(s.a)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:A,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?S(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?S(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?S(t.nestingPrefix):t.nestingPrefixEscaped||S("$t("),this.nestingSuffix=t.nestingSuffix?S(t.nestingSuffix):t.nestingSuffixEscaped||S(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var i=k(t,c,e);return s.alwaysFormat?s.format(i,void 0,n):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),u=o.join(s.formatSeparator).trim();return s.format(k(t,c,a),u,n,r)};this.resetRegExp();var p=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){if(void 0===(o=l(i[1].trim())))if("function"==typeof p){var n=p(e,i,r);o="string"==typeof n?n:""}else{if(d){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=g(o));if(e=e.replace(i[0],t.safeValue(o)),t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o({},a);function c(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=(i=this.interpolate(i,s)).replace(/'/g,'"');try{s=JSON.parse(i),t&&(s=o({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],l=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var p=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=p.shift(),u=p,l=!0}if((r=t(c.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=g(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=u.reduce((function(e,t){return i.format(e,t,a.lng,a)}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();var U=function(e){function t(e,n,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Object(a.a)(this,t),i=p(this,d(t).call(this)),T&&y.call(l(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=o,i.logger=v.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,o.backend,o),i}return h(t,e),Object(s.a)(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o=[],a=[],s=[],c=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?a.indexOf(s)<0&&a.push(s):(i.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),o.indexOf(s)<0&&o.push(s),c.indexOf(t)<0&&c.push(t)))})),r||s.push(e)})),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var r,s,c,u,l,p;r=n.loaded,s=o,u=x(r,[i],Object),l=u.obj,p=u.k,l[p]=l[p]||[],c&&(l[p]=l[p].concat(s)),c||l[p].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,c){s&&c&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,c)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,o({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}(y);function V(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function z(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Q(){}var H=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(Object(a.a)(this,t),e=p(this,d(t).call(this)),T&&y.call(l(e)),e.options=z(n),e.services={},e.logger=v,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),p(e,l(e));setTimeout((function(){e.init(n,r)}),0)}return e}return h(t,e),Object(s.a)(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=o({},V(),this.options,z(t)),this.format=this.options.interpolation.format,n||(n=Q),!this.options.isClone){this.modules.logger?v.init(r(this.modules.logger),this.options):v.init(null,this.options);var i=new D(this.options);this.store=new C(this.options.resources,this.options);var a=this.services;a.logger=v,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new B(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new q(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new U(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new R(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var l=b(),p=function(){var t=function(t,r){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(i)a(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=b();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Q),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&P.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=b();this.emit("languageChanging",e);var i=function(e){var i="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t){var n=this,i=function e(t,i){var a;if("object"!==r(i)){for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];a=n.options.overloadTranslationOptionHandler([t,i].concat(c))}else a=o({},i);return a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,n.t(t,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=b();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=b();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,i=o({},this.options,n,{isClone:!0}),a=new t(i),s=["store","services","language"];return s.forEach((function(t){a[t]=e[t]})),a.services=o({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new R(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),t}(y));t.a=H},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
239
|
-
/**
|
|
240
|
-
@license
|
|
241
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
242
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
243
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
244
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
245
|
-
Code distributed by Google as part of the polymer project is also
|
|
246
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
247
|
-
*/
|
|
248
|
-
var r=e=>t=>class extends t{connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._storeUnsubscribe=e.subscribe(()=>this.stateChanged(e.getState())),this.stateChanged(e.getState())}disconnectedCallback(){this._storeUnsubscribe(),super.disconnectedCallback&&super.disconnectedCallback()}stateChanged(e){}}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=o(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var a=0;a<t.length&&i(t[a]);)++a;for(var s=t.length;s>a&&i(t[s-1]);)--s;return t.slice(a,s).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function o(e){for(var t,n=!0,r=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===o||i<o)&&(o=i),r=!1}return null!==(t=o)&&void 0!==t?t:0}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||o||a||n,c="";return!s||r&&i||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}))},,function(e,t,n){"use strict";n.r(t),n.d(t,"print",(function(){return o}));var r=n(20),i=n(79);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=l("(",c(e.variableDefinitions,", "),")"),i=c(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?c([t,c([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+l(" = ",r)+l(" ",c(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=l("",t,": ")+n,s=a+l("(",c(r,", "),")");return s.length>80&&(s=a+l("(\n",p(c(r,"\n")),"\n)")),c([s,c(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return c(["...",l("on ",t),c(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",c(r,", "),")")," ")+"on ".concat(n," ").concat(l("",c(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return c(["schema",c(t," "),u(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return c(["scalar",e.name,c(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return c(["type",t,l("implements ",c(n," & ")),c(r," "),u(i)]," ")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(f(n)?l("(\n",p(c(n,"\n")),"\n)"):l("(",c(n,", "),")"))+": "+r+l(" ",c(i," "))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return c([t+": "+n,l("= ",r),c(i," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return c(["interface",t,l("implements ",c(n," & ")),c(r," "),u(i)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return c(["union",t,c(n," "),r&&0!==r.length?"= "+c(r," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return c(["enum",t,c(n," "),u(r)]," ")})),EnumValueDefinition:s((function(e){return c([e.name,c(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return c(["input",t,c(n," "),u(r)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(f(n)?l("(\n",p(c(n,"\n")),"\n)"):l("(",c(n,", "),")"))+(r?" repeatable":"")+" on "+c(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return c(["extend schema",c(t," "),u(n)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return c(["extend type",t,l("implements ",c(n," & ")),c(r," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return c(["extend interface",t,l("implements ",c(n," & ")),c(r," "),u(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return c(["extend union",t,c(n," "),r&&0!==r.length?"= "+c(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return c(["extend enum",t,c(n," "),u(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return c(["extend input",t,c(n," "),u(r)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function u(e){return l("{\n",p(c(e,"\n")),"\n}")}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function p(e){return l(" ",e.replace(/\n/g,"\n "))}function d(e){return-1!==e.indexOf("\n")}function f(e){return null!=e&&e.some(d)}},function(e,t,n){var r=n(249);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){"use strict";n.r(t),function(e,r){var i,o=n(138);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(37),n(266)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(123),i=n(52);function o(e){var t=e.prototype.toJSON;"function"==typeof t||Object(r.a)(0),e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}},,,,function(e,t,n){var r=n(99),i=n(105);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},,function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));
|
|
249
|
-
/**
|
|
250
|
-
* @license
|
|
251
|
-
* Copyright 2018 Google LLC
|
|
252
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
253
|
-
*/
|
|
254
|
-
var r=e=>e.nodeType===Node.ELEMENT_NODE;function i(e){return{addClass:t=>{e.classList.add(t)},removeClass:t=>{e.classList.remove(t)},hasClass:t=>e.classList.contains(t)}}var o=()=>{},a={get passive(){return!0,!1}};document.addEventListener("x",o,a),document.removeEventListener("x",o);var s=(e=window.document)=>{var t=e.activeElement,n=[];if(!t)return n;for(;t&&(n.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return n},c=e=>{var t=s();if(!t.length)return!1;var n=t[t.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0}),i=[],o=e=>{i=e.composedPath()};return document.body.addEventListener("check-if-focused",o),n.dispatchEvent(r),document.body.removeEventListener("check-if-focused",o),-1!==i.indexOf(e)}},function(e,t,n){var r=n(191),i=n(71),o=n(72),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5),i=new WeakMap,o=Object(r.f)(e=>t=>{if(!(t instanceof r.a)||t instanceof r.e||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=t,{style:o}=n.element,a=i.get(t);for(var s in void 0===a&&(o.cssText=n.strings.join(" "),i.set(t,a=new Set)),a.forEach(t=>{t in e||(a.delete(t),-1===t.indexOf("-")?o[t]=null:o.removeProperty(t))}),e)a.add(s),-1===s.indexOf("-")?o[s]=e[s]:o.setProperty(s,e[s])});
|
|
255
|
-
/**
|
|
256
|
-
* @license
|
|
257
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
258
|
-
* This code may only be used under the BSD style license found at
|
|
259
|
-
* http://polymer.github.io/LICENSE.txt
|
|
260
|
-
* The complete set of authors may be found at
|
|
261
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
262
|
-
* The complete set of contributors may be found at
|
|
263
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
264
|
-
* Code distributed by Google as part of the polymer project is also
|
|
265
|
-
* subject to an additional IP rights grant found at
|
|
266
|
-
* http://polymer.github.io/PATENTS.txt
|
|
267
|
-
*/},,function(e,t,n){"use strict";var r,i,o,a,s,c=n(1),u=n(0),l=(n(42),n(122),n(63)),p=n(32);function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}
|
|
268
|
-
/**
|
|
269
|
-
* @license
|
|
270
|
-
* Copyright 2019 Google LLC
|
|
271
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
272
|
-
*/class f extends u.a{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new l.a(()=>(this.shouldRenderRipple=!0,this.ripple))}renderOverlay(){return Object(u.e)(r||(r=d([""])))}renderRipple(){var e=this.raised||this.unelevated;return this.shouldRenderRipple?Object(u.e)(i||(i=d(['<mwc-ripple class="ripple" .primary="','" .disabled="','"></mwc-ripple>'])),!e,this.disabled):""}focus(){var e=this.buttonElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){var e=this.buttonElement;e&&(this.rippleHandlers.endFocus(),e.blur())}getRenderClasses(){return Object(p.a)({"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense})}render(){return Object(u.e)(o||(o=d(['\n <button\n id="button"\n class="mdc-button ','"\n ?disabled="','"\n aria-label="','"\n @focus="','"\n @blur="','"\n @mousedown="','"\n @mouseenter="','"\n @mouseleave="','"\n @touchstart="','"\n @touchend="','"\n @touchcancel="','">\n ',"\n ",'\n <span class="leading-icon">\n <slot name="icon">\n ','\n </slot>\n </span>\n <span class="mdc-button__label">','</span>\n <span class="slot-container ','">\n <slot></slot>\n </span>\n <span class="trailing-icon">\n <slot name="trailingIcon">\n ',"\n </slot>\n </span>\n </button>"])),this.getRenderClasses(),this.disabled,this.label||this.icon,this.handleRippleFocus,this.handleRippleBlur,this.handleRippleActivate,this.handleRippleMouseEnter,this.handleRippleMouseLeave,this.handleRippleActivate,this.handleRippleDeactivate,this.handleRippleDeactivate,this.renderOverlay(),this.renderRipple(),this.icon&&!this.trailingIcon?this.renderIcon():"",this.label,Object(p.a)({flex:this.expandContent}),this.icon&&this.trailingIcon?this.renderIcon():"")}renderIcon(){return Object(u.e)(a||(a=d(['\n <mwc-icon class="mdc-button__icon">\n ',"\n </mwc-icon>"])),this.icon)}handleRippleActivate(e){var t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}f.shadowRootOptions={mode:"open",delegatesFocus:!0},Object(c.c)([Object(u.f)({type:Boolean,reflect:!0})],f.prototype,"raised",void 0),Object(c.c)([Object(u.f)({type:Boolean,reflect:!0})],f.prototype,"unelevated",void 0),Object(c.c)([Object(u.f)({type:Boolean,reflect:!0})],f.prototype,"outlined",void 0),Object(c.c)([Object(u.f)({type:Boolean})],f.prototype,"dense",void 0),Object(c.c)([Object(u.f)({type:Boolean,reflect:!0})],f.prototype,"disabled",void 0),Object(c.c)([Object(u.f)({type:Boolean,attribute:"trailingicon"})],f.prototype,"trailingIcon",void 0),Object(c.c)([Object(u.f)({type:Boolean,reflect:!0})],f.prototype,"fullwidth",void 0),Object(c.c)([Object(u.f)({type:String})],f.prototype,"icon",void 0),Object(c.c)([Object(u.f)({type:String})],f.prototype,"label",void 0),Object(c.c)([Object(u.f)({type:Boolean})],f.prototype,"expandContent",void 0),Object(c.c)([Object(u.g)("#button")],f.prototype,"buttonElement",void 0),Object(c.c)([Object(u.i)("mwc-ripple")],f.prototype,"ripple",void 0),Object(c.c)([Object(u.j)()],f.prototype,"shouldRenderRipple",void 0),Object(c.c)([Object(u.d)({passive:!0})],f.prototype,"handleRippleActivate",null);
|
|
273
|
-
/**
|
|
274
|
-
* @license
|
|
275
|
-
* Copyright 2021 Google LLC
|
|
276
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
|
277
|
-
*/
|
|
278
|
-
var h,m,v=Object(u.b)(s||(h=[".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:transparent}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;font-size:1.125rem;height:1.125rem;vertical-align:top;width:1.125rem}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,[dir=rtl] .mdc-button--unelevated .mdc-button__icon,[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],.mdc-button--unelevated .mdc-button__icon[dir=rtl],.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-button--outlined{border-style:solid}.mdc-button{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px);padding:0 8px 0 8px}.mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised,.mdc-button--unelevated{padding:0 16px 0 16px;height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0, 0, 0, 0.12)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--raised .mdc-button__ripple,.mdc-button--unelevated .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined{height:36px;border-radius:4px;border-radius:var(--mdc-shape-small, 4px);padding:0 15px 0 15px;border-width:1px}.mdc-button--outlined:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button--outlined:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--outlined .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined:disabled{border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined.mdc-button--icon-trailing{padding:0 11px 0 15px}.mdc-button--outlined.mdc-button--icon-leading{padding:0 15px 0 11px}.mdc-button--outlined .mdc-button__ripple{top:-1px;left:-1px;border:1px solid transparent}.mdc-button--outlined .mdc-button__touch{left:-1px;width:calc(100% + 2 * 1px)}:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:transparent;vertical-align:top}:host([fullwidth]){width:100%}:host([raised]),:host([unelevated]){--mdc-ripple-color:#fff;--mdc-ripple-focus-opacity:0.24;--mdc-ripple-hover-opacity:0.08;--mdc-ripple-press-opacity:0.24}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon,.leading-icon ::slotted(*),.leading-icon .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;font-size:1.125rem;height:1.125rem;vertical-align:top;width:1.125rem}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,[dir=rtl] .leading-icon ::slotted(*),[dir=rtl] .leading-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl],.leading-icon ::slotted(*[dir=rtl]),.leading-icon .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .trailing-icon ::slotted(*),[dir=rtl] .trailing-icon .mdc-button__icon,.trailing-icon ::slotted(*[dir=rtl]),.trailing-icon .mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}.slot-container{display:inline-flex;align-items:center;justify-content:center}.slot-container.flex{flex:auto}.mdc-button{flex:auto;overflow:hidden;padding-left:8px;padding-left:var(--mdc-button-horizontal-padding, 8px);padding-right:8px;padding-right:var(--mdc-button-horizontal-padding, 8px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-focus, var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)))}.mdc-button--raised:hover{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-active, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-disabled, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised,.mdc-button--unelevated{padding-left:16px;padding-left:var(--mdc-button-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mdc-button-horizontal-padding, 16px)}.mdc-button--outlined{border-width:1px;border-width:var(--mdc-button-outline-width, 1px);padding-left:calc(16px - 1px);padding-left:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));padding-right:calc(16px - 1px);padding-right:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px))}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined .ripple{top:calc(-1 * 1px);top:calc(-1 * var(--mdc-button-outline-width, 1px));left:calc(-1 * 1px);left:calc(-1 * var(--mdc-button-outline-width, 1px));right:initial;right:initial;border-width:1px;border-width:var(--mdc-button-outline-width, 1px);border-style:solid;border-color:transparent}[dir=rtl] .mdc-button--outlined .ripple,.mdc-button--outlined .ripple[dir=rtl]{left:initial;left:initial;right:calc(-1 * 1px);right:calc(-1 * var(--mdc-button-outline-width, 1px))}.mdc-button--dense{height:28px;margin-top:0;margin-bottom:0}.mdc-button--dense .mdc-button__touch{display:none}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-button{color:rgba(0, 0, 0, 0.38);color:var(--mdc-button-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-button--raised,:host([disabled]) .mdc-button--unelevated{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-button-disabled-fill-color, rgba(0, 0, 0, 0.12))}:host([disabled]) .mdc-button--outlined{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}"],m||(m=h.slice(0)),s=Object.freeze(Object.defineProperties(h,{raw:{value:Object.freeze(m)}})))),y=class extends f{};
|
|
279
|
-
/**
|
|
280
|
-
* @license
|
|
281
|
-
* Copyright 2018 Google LLC
|
|
282
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
283
|
-
*/y.styles=[v],y=Object(c.c)([Object(u.c)("mwc-button")],y)},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,p=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++p<t;)c&&c[p].run();p=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,function(e,t,n){var r=n(36),i=n(273),o=n(274),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,p,d,f,h=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=c,r=u;return c=u=void 0,h=t,p=e.apply(r,n)}function g(e){return h=e,d=setTimeout(x,t),m?b(e):p}function w(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=l}function x(){var e=i();if(w(e))return O(e);d=setTimeout(x,function(e){var n=t-(e-f);return v?s(n,l-(e-h)):n}(e))}function O(e){return d=void 0,y&&c?b(e):(c=u=void 0,p)}function _(){var e=i(),n=w(e);if(c=arguments,u=this,f=e,n){if(void 0===d)return g(f);if(v)return clearTimeout(d),d=setTimeout(x,t),b(f)}return void 0===d&&(d=setTimeout(x,t)),p}return t=o(t)||0,r(n)&&(m=!!n.leading,l=(v="maxWait"in n)?a(o(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),_.cancel=function(){void 0!==d&&clearTimeout(d),h=0,c=f=u=d=void 0},_.flush=function(){return void 0===d?p:O(i())},_}},function(e,t,n){var r=n(155);e.exports=function(e){return r(e,5)}},function(e,t,n){var r=n(49),i=n(36);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(37))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(103),i=n(78),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(185);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(187),i=n(146),o=n(47),a=n(66),s=n(190),c=n(91),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),p=!n&&!l&&a(e),d=!n&&!l&&!p&&c(e),f=n||l||p||d,h=f?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(109),i=n(110),o=n(74),a=n(107),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(106)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(109),i=n(47);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(23),i=n(24),o=[],a=o.forEach,s=o.slice;function c(e){return a.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}var u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l=function(e,t,n){var r=n||{};r.path=r.path||"/";var i=e+"="+encodeURIComponent(t);if(r.maxAge>0){var o=r.maxAge-0;if(isNaN(o))throw new Error("maxAge should be a Number");i+="; Max-Age="+Math.floor(o)}if(r.domain){if(!u.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!u.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},p=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*n*1e3)),r&&(i.domain=r),document.cookie=l(e,encodeURIComponent(t),i)},d=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},f={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=d(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&p(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var n=window.location.search.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");if(i>0)n[r].substring(0,i)===e.lookupQuerystring&&(t=n[r].substring(i+1))}return t}},m=null,v=function(){if(null!==m)return m;try{m="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){m=!1}return m},y={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&v()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&v()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},b=null,g=function(){if(null!==b)return b;try{b="undefined"!==window&&null!==window.sessionStorage;window.sessionStorage.setItem("i18next.translate.boo","foo"),window.sessionStorage.removeItem("i18next.translate.boo")}catch(e){b=!1}return b},w={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&g()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&g()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},x={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},O={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},_={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},k={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var E=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(r.a)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Object(i.a)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=c(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(f),this.addDetector(h),this.addDetector(y),this.addDetector(w),this.addDetector(x),this.addDetector(O),this.addDetector(_),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();E.type="languageDetector",t.a=E},function(e,t,n){"use strict";var r=n(34),i=n(115);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n||"")},request:i.a,reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}var t,n,i;return t=e,(n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=Object(r.a)(n,this.options||{},s()),this.allOptions=i,this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,i,o){var a=this,s=this.options.loadPath;"function"==typeof this.options.loadPath&&(s=this.options.loadPath(e,n)),(s=Object(r.c)(s)).then((function(r){var s=a.services.interpolator.interpolate(r,{lng:e.join("+"),ns:n.join("+")});a.loadUrl(s,o,t,i)}))}},{key:"loadUrl",value:function(e,t,n,r){var i=this;this.options.request(this.options,e,void 0,(function(o,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e+"; status code: "+a.status,!1);if(!a&&o&&o.message&&o.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e+": "+o.message,!0);if(o)return t(o,!1);var s,c;try{s="string"==typeof a.data?i.options.parse(a.data,n,r):a.data}catch(t){c="failed parsing "+e+" to json"}if(c)return t(c,!1);t(null,s)}))}},{key:"create",value:function(e,t,n,r,i){var o=this;if(this.options.addPath){"string"==typeof e&&(e=[e]);var a=this.options.parsePayload(t,n,r),s=0,c=[],u=[];e.forEach((function(n){var r=o.options.addPath;"function"==typeof o.options.addPath&&(r=o.options.addPath(n,t));var l=o.services.interpolator.interpolate(r,{lng:n,ns:t});o.options.request(o.options,l,a,(function(t,n){s+=1,c.push(t),u.push(n),s===e.length&&i&&i(c,u)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,i=t.logger,o=n.language;if(!o||"cimode"!==o.toLowerCase()){var a=[],s=function(e){r.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};s(o),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return s(e)})),a.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(r,o){r&&i.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&o&&i.log("loaded namespace ".concat(e," for language ").concat(t),o),n.loaded("".concat(t,"|").concat(e),r,o)}))}))}))}}}])&&a(t.prototype,n),i&&a(t,i),e}();c.type="backend",t.a=c},function(e,t,n){"use strict";(function(e){var r,i,o,a=n(34),s=n(61),c=n.n(s);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"function"==typeof fetch&&(void 0!==e&&e.fetch?r=e.fetch:"undefined"!=typeof window&&window.fetch&&(r=window.fetch)),a.b&&(void 0!==e&&e.XMLHttpRequest?i=e.XMLHttpRequest:"undefined"!=typeof window&&window.XMLHttpRequest&&(i=window.XMLHttpRequest)),"function"==typeof ActiveXObject&&(void 0!==e&&e.ActiveXObject?o=e.ActiveXObject:"undefined"!=typeof window&&window.ActiveXObject&&(o=window.ActiveXObject)),r||!s||i||o||(r=c.a||s),"function"!=typeof r&&(r=void 0);var l=function(e,t){if(t&&"object"===u(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e};t.a=function(e,t,n,s){return"function"==typeof n&&(s=n,n=void 0),s=s||function(){},r?function(e,t,n,i){e.queryStringParams&&(t=l(t,e.queryStringParams));var o=Object(a.a)({},"function"==typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(o["Content-Type"]="application/json"),r(t,Object(a.a)({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:o},"function"==typeof e.requestOptions?e.requestOptions(n):e.requestOptions)).then((function(e){if(!e.ok)return i(e.statusText||"Error",{status:e.status});e.text().then((function(t){i(null,{status:e.status,data:t})})).catch(i)})).catch(i)}(e,t,n,s):a.b||"function"==typeof ActiveXObject?function(e,t,n,r){n&&"object"===u(n)&&(n=l("",n).slice(1)),e.queryStringParams&&(t=l(t,e.queryStringParams));try{var a;(a=i?new i:new o("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.withCredentials=!!e.withCredentials,n&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.overrideMimeType&&a.overrideMimeType("application/json");var s=e.customHeaders;if(s="function"==typeof s?s():s)for(var c in s)a.setRequestHeader(c,s[c]);a.onreadystatechange=function(){a.readyState>3&&r(a.status>=400?a.statusText:null,{status:a.status,data:a.responseText})},a.send(n)}catch(e){console&&console.log(e)}}(e,t,n,s):void 0}}).call(this,n(37))},function(e,t,n){"use strict";function r(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(56),i=n(161),o=n(162),a=n(163),s=n(164),c=n(165);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(172),i=n(179),o=n(181),a=n(182),s=n(183);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(111),i=n(74),o=n(70);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(26).Uint8Array;e.exports=r},,function(e,t,n){"use strict";var r=n(1),i=n(0);function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}var a=n(46),s=n(43),c={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},u={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},l={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
|
|
284
|
-
/**
|
|
285
|
-
* @license
|
|
286
|
-
* Copyright 2016 Google Inc.
|
|
287
|
-
*
|
|
288
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
289
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
290
|
-
* in the Software without restriction, including without limitation the rights
|
|
291
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
292
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
293
|
-
* furnished to do so, subject to the following conditions:
|
|
294
|
-
*
|
|
295
|
-
* The above copyright notice and this permission notice shall be included in
|
|
296
|
-
* all copies or substantial portions of the Software.
|
|
297
|
-
*
|
|
298
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
299
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
300
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
301
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
302
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
303
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
304
|
-
* THE SOFTWARE.
|
|
305
|
-
*/
|
|
306
|
-
var p,d,f=["touchstart","pointerdown","mousedown","keydown"],h=["touchend","pointerup","mouseup","contextmenu"],m=[],v=function(e){function t(n){var i=e.call(this,Object(r.a)(Object(r.a)({},t.defaultAdapter),n))||this;return i.activationAnimationHasEnded=!1,i.activationTimer=0,i.fgDeactivationRemovalTimer=0,i.fgScale="0",i.frame={width:0,height:0},i.initialSize=0,i.layoutFrame=0,i.maxRadius=0,i.unboundedCoords={left:0,top:0},i.activationState=i.defaultActivationState(),i.activationTimerCallback=function(){i.activationAnimationHasEnded=!0,i.runDeactivationUXLogicIfReady()},i.activateHandler=function(e){i.activateImpl(e)},i.deactivateHandler=function(){i.deactivateImpl()},i.focusHandler=function(){i.handleFocus()},i.blurHandler=function(){i.handleBlur()},i.resizeHandler=function(){i.layout()},i}return Object(r.d)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,i=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(o),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,i=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(r),e.adapter.removeClass(i),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,n;if(e){try{for(var i=Object(r.j)(f),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=Object(r.j)(h),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=Object(r.j)(f),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=Object(r.j)(h),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings;Object.keys(n).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&m.length>0&&m.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(m.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){m=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive(e),n.wasElementMadeActive&&t.animateActivation()),n.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,i=n.VAR_FG_TRANSLATE_END,o=t.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,c=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),d=p.startPoint,f=p.endPoint;u=d.x+"px, "+d.y+"px",l=f.x+"px, "+f.y+"px"}this.adapter.updateCssVariable(r,u),this.adapter.updateCssVariable(i,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),c)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,n){if(!e)return{x:0,y:0};var r,i,o=t.x,a=t.y,s=o+n.left,c=a+n.top;if("touchstart"===e.type){var u=e;r=u.changedTouches[0].pageX-s,i=u.changedTouches[0].pageY-c}else{var l=e;r=l.pageX-s,i=l.pageY-c}return{x:r,y:i}}(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,i=r.hasDeactivationUXRun,o=r.isActivated;(i||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(n)}),l.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var n=Object(r.a)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(n)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,i=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},t}(s.a),y=n(32),b=n(92);
|
|
307
|
-
/**
|
|
308
|
-
* @license
|
|
309
|
-
* Copyright 2018 Google LLC
|
|
310
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
311
|
-
*/
|
|
312
|
-
class g extends a.a{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=v}get isActive(){return o(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation(()=>{this.mdcFoundation.activate(e)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(e){this.mdcFoundation?e():this.updateComplete.then(e)}update(e){e.has("disabled")&&this.disabled&&this.endHover(),super.update(e)}render(){var e=this.activated&&(this.primary||!this.accent),t=this.selected&&(this.primary||!this.accent),n={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":e,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":t,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return Object(i.e)(p||(p=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n <div class="mdc-ripple-surface mdc-ripple-upgraded ','"\n style="','"></div>'])),Object(y.a)(n),Object(b.a)({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos}))}}Object(r.c)([Object(i.g)(".mdc-ripple-surface")],g.prototype,"mdcRoot",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"primary",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"accent",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"unbounded",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"disabled",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"activated",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"selected",void 0),Object(r.c)([Object(i.f)({type:Boolean})],g.prototype,"internalUseStateLayerCustomProperties",void 0),Object(r.c)([Object(i.j)()],g.prototype,"hovering",void 0),Object(r.c)([Object(i.j)()],g.prototype,"bgFocused",void 0),Object(r.c)([Object(i.j)()],g.prototype,"fgActivation",void 0),Object(r.c)([Object(i.j)()],g.prototype,"fgDeactivation",void 0),Object(r.c)([Object(i.j)()],g.prototype,"fgScale",void 0),Object(r.c)([Object(i.j)()],g.prototype,"fgSize",void 0),Object(r.c)([Object(i.j)()],g.prototype,"translateStart",void 0),Object(r.c)([Object(i.j)()],g.prototype,"translateEnd",void 0),Object(r.c)([Object(i.j)()],g.prototype,"leftPos",void 0),Object(r.c)([Object(i.j)()],g.prototype,"topPos",void 0);
|
|
313
|
-
/**
|
|
314
|
-
* @license
|
|
315
|
-
* Copyright 2021 Google LLC
|
|
316
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
|
317
|
-
*/
|
|
318
|
-
var w=Object(i.b)(d||(d=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}']))),x=class extends g{};
|
|
319
|
-
/**
|
|
320
|
-
* @license
|
|
321
|
-
* Copyright 2018 Google LLC
|
|
322
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
323
|
-
*/x.styles=[w],x=Object(r.c)([Object(i.c)("mwc-ripple")],x)},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(0),i=n(28),o=n(25),a=n(54),s=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}class f extends r.a{shouldUpdate(e){var t="true"==String(this.active),{active:n=!1}=this._oldLifecycleInfo$||{};return(t||n)&&this.pageUpdate({active:t}),t}static get properties(){return{active:Boolean,lifecycle:Object,contextPath:{attribute:"context-path"}}}pageUpdate(e={},t=!1){var n=this;return d((function*(){var r=n._oldLifecycleInfo$||{},i=u(u(u({},r),n.lifecycle),{},{contextPath:n.contextPath},e);"initialized"in e||!i.active||r.initialized||(i.initialized=!0),t&&(i.updated=Date.now());var o=function(e,t){var n=!1,r={};return Object.getOwnPropertyNames(e).forEach((function(i){var o=t[i],a=e[i];s()(o,a)||(r[i]=a,n=!0)})),n&&r}(i,r);o&&(n._oldLifecycleInfo$=i,r.initialized&&o.contextPath?yield n.pageReset():(o.initialized&&(yield n.pageInitialized(i)),"initialized"in o?o.initialized?requestAnimationFrame(d((function*(){yield n.pageUpdated(o,i,r),i.active&&n.updateContext()}))):yield n.pageDisposed(i):(yield n.pageUpdated(o,i,r),i.active&&n.updateContext())))}))()}pageReset(){var e=this;return d((function*(){var{initialized:t}=e._oldLifecycleInfo$||{};t&&(yield e.pageDispose(),yield e.pageUpdate({},!0))}))()}pageDispose(){var e=this;return d((function*(){yield e.pageUpdate({initialized:!1})}))()}pageInitialized(e){}pageUpdated(e,t,n){}pageDisposed(e){}updateContext(e){i.a.dispatch({type:o.e,context:e?u(u({},this.context),e):this.context})}get context(){return{}}}},function(e,t,n){var r=n(235),i=n(238),o=n(239);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var d=c.get(e),f=c.get(t);if(d&&f)return d==t&&f==e;var h=-1,m=!0,v=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var y=e[h],b=t[h];if(a)var g=u?a(b,y,h,t,e,c):a(y,b,h,e,t,c);if(void 0!==g){if(g)continue;m=!1;break}if(v){if(!i(t,(function(e,t){if(!o(v,t)&&(y===e||s(y,e,n,a,c)))return v.push(t)}))){m=!1;break}}else if(y!==b&&!s(y,b,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=void 0!==r?r:t=>e.from(t,"base64").toString();function i(e){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(r(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}}).call(this,n(149).Buffer)},function(e,t,n){var r=n(49),i=n(41);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=Object.prototype,i=r.toString,o=r.hasOwnProperty,a=new Map;function s(e,t){try{return function e(t,n){if(t===n)return!0;var r=i.call(t),a=i.call(n);if(r!==a)return!1;switch(r){case"[object Array]":if(t.length!==n.length)return!1;case"[object Object]":if(c(t,n))return!0;var s=Object.keys(t),u=Object.keys(n),l=s.length;if(l!==u.length)return!1;for(var p=0;p<l;++p)if(!o.call(n,s[p]))return!1;for(p=0;p<l;++p){var d=s[p];if(!e(t[d],n[d]))return!1}return!0;case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==""+n;case"[object Map]":case"[object Set]":if(t.size!==n.size)return!1;if(c(t,n))return!0;for(var f=t.entries(),h="[object Map]"===r;;){var m=f.next();if(m.done)break;var v=m.value,y=v[0],b=v[1];if(!n.has(y))return!1;if(h&&!e(b,n.get(y)))return!1}return!0}return!1}(e,t)}finally{a.clear()}}function c(e,t){var n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
324
|
-
/**
|
|
325
|
-
@license
|
|
326
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
327
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
328
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
329
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
330
|
-
Code distributed by Google as part of the polymer project is also
|
|
331
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
332
|
-
*/
|
|
333
|
-
var r=({title:e,description:t,url:n,image:r,imageAlt:o})=>{e&&(document.title=e,i("property","og:title",e)),t&&(i("name","description",t),i("property","og:description",t)),r&&i("property","og:image",r),o&&i("property","og:image:alt",o),i("property","og:url",n=n||window.location.href)};function i(e,t,n){var r=document.head.querySelector("meta[".concat(e,'="').concat(t,'"]'));r||((r=document.createElement("meta")).setAttribute(e,t),document.head.appendChild(r)),r.setAttribute("content",n||"")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
334
|
-
/**
|
|
335
|
-
@license
|
|
336
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
337
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
338
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
339
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
340
|
-
Code distributed by Google as part of the polymer project is also
|
|
341
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
342
|
-
*/
|
|
343
|
-
var r=e=>{document.body.addEventListener("click",t=>{if(!(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)){var n=t.composedPath().filter(e=>"A"===e.tagName)[0];if(n&&!n.target&&!n.hasAttribute("download")&&"external"!==n.getAttribute("rel")){var r=n.href;if(r&&-1===r.indexOf("mailto:")){var i=window.location,o=i.origin||i.protocol+"//"+i.host;0===r.indexOf(o)&&(t.preventDefault(),r!==i.href&&(window.history.pushState({},"",r),e(i,t)))}}}}),window.addEventListener("popstate",t=>e(window.location,t)),e(window.location,null)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
|
|
344
|
-
/**
|
|
345
|
-
@license
|
|
346
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
347
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
348
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
349
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
350
|
-
Code distributed by Google as part of the polymer project is also
|
|
351
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
352
|
-
*/
|
|
353
|
-
var r=e=>t=>(n,r)=>{var i={},o=t(n,r);return Object.assign({},o,{addReducers(t){var n=Object.assign({},i,t);this.replaceReducer(e(i=n))}})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s}));var r=n(1),i=n(13),o=n(14),a=n(30),s=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,s=e.fetch,c=e.includeExtensions,u=e.useGETForQueries,l=Object(r.g)(e,["uri","fetch","includeExtensions","useGETForQueries"]);Object(a.checkFetcher)(s),s||(s=fetch);var p={http:{includeExtensions:c},options:l.fetchOptions,credentials:l.credentials,headers:l.headers};return new i.ApolloLink((function(e){var t=Object(a.selectURI)(e,n),c=e.getContext(),l={};if(c.clientAwareness){var d=c.clientAwareness,f=d.name,h=d.version;f&&(l["apollographql-client-name"]=f),h&&(l["apollographql-client-version"]=h)}var m,v=Object(r.a)({},l,c.headers),y={http:c.http,options:c.fetchOptions,credentials:c.credentials,headers:v},b=Object(a.selectHttpOptionsAndBody)(e,a.fallbackHttpConfig,p,y),g=b.options,w=b.body;if(!g.signal){var x=Object(a.createSignalIfSupported)(),O=x.controller,_=x.signal;(m=O)&&(g.signal=_)}if(u&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(g.method="GET"),"GET"===g.method){var k=function(e,t){var n=[],r=function(e,t){n.push(e+"="+encodeURIComponent(t))};"query"in t&&r("query",t.query);t.operationName&&r("operationName",t.operationName);if(t.variables){var i=void 0;try{i=Object(a.serializeFetchParameter)(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",i)}if(t.extensions){var o=void 0;try{o=Object(a.serializeFetchParameter)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",o)}var s="",c=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),c=e.substr(0,u));var l=-1===c.indexOf("?")?"?":"&";return{newURI:c+l+n.join("&")+s}}(t,w),E=k.newURI,S=k.parseError;if(S)return Object(i.fromError)(S);t=E}else try{g.body=Object(a.serializeFetchParameter)(w,"Payload")}catch(S){return Object(i.fromError)(S)}return new o.a((function(n){return s(t,g).then((function(t){return e.setContext({response:t}),t})).then(Object(a.parseAndCheckHttpResponse)(e)).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){m&&m.abort()}}))}))};var c=function(e){function t(t){return e.call(this,s(t).request)||this}return Object(r.d)(t,e),t}(i.ApolloLink)},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function u(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=o(e[t],n)})),s(t).forEach((function(i){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(c(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function l(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):u(e,t,n):o(t,n)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var p=l;e.exports=p},function(e,t,n){var r=n(244),i=n(255),o=r((function(e,t,n){return e+(n?" ":"")+i(t)}));e.exports=o},function(e,t,n){!function(e){"use strict";var t=function(){function e(e){var t=e.debug,n=void 0!==t&&t;this.debug=n,this.lines=[]}return e.prototype.emit=function(t,n){if(t in console){var r=e.prefix;console[t].apply(console,[r].concat(n))}},e.prototype.tailLogs=function(){var e=this;this.lines.forEach((function(t){var n=t[0],r=t[1];return e.emit(n,r)}))},e.prototype.getLogs=function(){return this.lines},e.prototype.write=function(t,n){var r=e.buffer;this.lines=this.lines.slice(1-r).concat([[t,n]]),(this.debug||"log"!==t)&&this.emit(t,n)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("log",e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("warn",e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("error",e)},e.buffer=30,e.prefix="[apollo-cache-persist]",e}(),n=function(){function e(e){var t=e.cache,n=e.serialize,r=void 0===n||n;this.cache=t,this.serialize=r}return e.prototype.extract=function(){var e=this.cache.extract();return this.serialize&&(e=JSON.stringify(e)),e},e.prototype.restore=function(e){this.serialize&&"string"==typeof e&&(e=JSON.parse(e)),null!=e&&this.cache.restore(e)},e}(),r=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=r[2&o[0]?"return":o[0]?"throw":"next"])&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[0,i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},o=function(){function e(e){var t=e.storage,n=e.key,r=void 0===n?"apollo-cache-persist":n;this.storage=t,this.key=r}return e.prototype.read=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return[2,this.storage.getItem(this.key)]}))}))},e.prototype.write=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.storage.setItem(this.key,e)];case 1:return t.sent(),[2]}}))}))},e.prototype.purge=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.storage.removeItem(this.key)];case 1:return e.sent(),[2]}}))}))},e.prototype.getSize=function(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,this.storage.getItem(this.key)];case 1:return null==(e=t.sent())?[2,0]:[2,"string"==typeof e?e.length:null]}}))}))},e}(),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=r[2&o[0]?"return":o[0]?"throw":"next"])&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[0,i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},c=function(){function e(e,t){var n=e.log,r=e.cache,i=e.storage,o=t.maxSize,a=void 0===o?1048576:o;this.log=n,this.cache=r,this.storage=i,this.paused=!1,a&&(this.maxSize=a)}return e.prototype.persist=function(){return a(this,void 0,void 0,(function(){var e,t;return s(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),e=this.cache.extract(),null!=this.maxSize&&"string"==typeof e&&e.length>this.maxSize&&!this.paused?[4,this.purge()]:[3,2];case 1:return n.sent(),this.paused=!0,[2];case 2:return this.paused&&(this.paused=!1),[4,this.storage.write(e)];case 3:return n.sent(),this.log.info("string"==typeof e?"Persisted cache of size "+e.length:"Persisted cache"),[3,5];case 4:throw t=n.sent(),this.log.error("Error persisting cache",t),t;case 5:return[2]}}))}))},e.prototype.restore=function(){return a(this,void 0,void 0,(function(){var e,t;return s(this,(function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.storage.read()];case 1:return null==(e=n.sent())?[3,3]:[4,this.cache.restore(e)];case 2:return n.sent(),this.log.info("string"==typeof e?"Restored cache of size "+e.length:"Restored cache"),[3,4];case 3:this.log.info("No stored cache to restore"),n.label=4;case 4:return[3,6];case 5:throw t=n.sent(),this.log.error("Error restoring cache",t),t;case 6:return[2]}}))}))},e.prototype.purge=function(){return a(this,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.storage.purge()];case 1:return t.sent(),this.log.info("Purged cache storage"),[3,3];case 2:throw e=t.sent(),this.log.error("Error purging cache storage",e),e;case 3:return[2]}}))}))},e}(),u=function(e){var t=e.cache;return function(e){var n=t.write;return t.write=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(t,r),e()},function(){t.write=n}}},l=function(){function e(t,n){var r=t.log,i=t.persistor,o=this;this.fire=function(){o.debounce?(null!=o.timeout&&clearTimeout(o.timeout),o.timeout=setTimeout(o.persist,o.debounce)):o.persist()},this.persist=function(){o.paused||o.persistor.persist()};var a=e.defaultDebounce,s=n.cache,c=n.debounce,l=n.trigger,p=void 0===l?"write":l;if(p)switch(this.debounce=null!=c?c:a,this.persistor=i,this.paused=!1,p){case"write":this.uninstall=u({cache:s})(this.fire);break;case"background":c&&r.warn("Debounce is not recommended with `background` trigger"),this.debounce=c,this.uninstall=function(e){var t=e.log,n=e.cache;return function(e){return t.warn("Trigger option `background` not available on web; using `write` trigger"),u({cache:n})(e)}}({cache:s,log:r})(this.fire);break;default:if("function"!=typeof p)throw Error("Unrecognized trigger option: "+p);this.uninstall=p(this.fire)}}return e.prototype.pause=function(){this.paused=!0},e.prototype.resume=function(){this.paused=!1},e.prototype.remove=function(){this.uninstall&&(this.uninstall(),this.uninstall=null,this.paused=!0)},e.defaultDebounce=1e3,e}(),p=function(){function e(e){if(!e.cache)throw new Error("In order to persist your Apollo Cache, you need to pass in a cache. Please see https://www.apollographql.com/docs/react/basics/caching.html for our default InMemoryCache.");if(!e.storage)throw new Error("In order to persist your Apollo Cache, you need to pass in an underlying storage provider. Please see https://github.com/apollographql/apollo-cache-persist#storage-providers");var r=new t(e),i=new n(e),a=new o(e),s=new c({log:r,cache:i,storage:a},e),u=new l({log:r,persistor:s},e);this.log=r,this.cache=i,this.storage=a,this.persistor=s,this.trigger=u}return e.prototype.persist=function(){return this.persistor.persist()},e.prototype.restore=function(){return this.persistor.restore()},e.prototype.purge=function(){return this.persistor.purge()},e.prototype.pause=function(){this.trigger.pause()},e.prototype.resume=function(){this.trigger.resume()},e.prototype.remove=function(){this.trigger.remove()},e.prototype.getLogs=function(e){if(void 0===e&&(e=!1),!e)return this.log.getLogs();this.log.tailLogs()},e.prototype.getSize=function(){return this.storage.getSize()},e}();e.CachePersistor=p,e.persistCache=function(e){return new p(e).restore()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";(function(e){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionClient=void 0;var s=void 0!==e?e:"undefined"!=typeof window?window:{},c=s.WebSocket||s.MozWebSocket,u=n(262),l=n(263),p=n(264),d=n(265),f=n(81),h=n(231),m=n(83),v=n(267),y=n(268),b=n(269),g=function(){function e(e,t,n,r){var i=t||{},o=i.connectionCallback,a=void 0===o?void 0:o,s=i.connectionParams,p=void 0===s?{}:s,d=i.minTimeout,f=void 0===d?y.MIN_WS_TIMEOUT:d,h=i.timeout,m=void 0===h?y.WS_TIMEOUT:h,b=i.reconnect,g=void 0!==b&&b,w=i.reconnectionAttempts,x=void 0===w?1/0:w,O=i.lazy,_=void 0!==O&&O,k=i.inactivityTimeout,E=void 0===k?0:k,S=i.wsOptionArguments,j=void 0===S?[]:S;if(this.wsImpl=n||c,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=r||v.GRAPHQL_WS,this.connectionCallback=a,this.url=e,this.operations={},this.nextOperationId=0,this.minWsTimeout=f,this.wsTimeout=m,this.unsentMessagesQueue=[],this.reconnect=g,this.reconnecting=!1,this.reconnectionAttempts=x,this.lazy=!!_,this.inactivityTimeout=E,this.closedByUser=!1,this.backoff=new u({jitter:.5}),this.eventEmitter=new l.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(p),this.wsOptionArguments=j,this.lazy||this.connect()}return Object.defineProperty(e.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),e.prototype.close=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=t,e&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,b.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit("disconnected"),e||this.tryReconnect())},e.prototype.request=function(e){var t,n,r=this.getObserver.bind(this),i=this.executeOperation.bind(this),o=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(t={})[m.default]=function(){return this},t.subscribe=function(t,a,s){var c=r(t,a,s);return n=i(e,(function(e,t){null===e&&null===t?c.complete&&c.complete():e?c.error&&c.error(e[0]):c.next&&c.next(t)})),{unsubscribe:function(){n&&(o(n),n=null)}}},t},e.prototype.on=function(e,t,n){var r=this.eventEmitter.on(e,t,n);return function(){r.off(e,t,n)}},e.prototype.onConnected=function(e,t){return this.on("connected",e,t)},e.prototype.onConnecting=function(e,t){return this.on("connecting",e,t)},e.prototype.onDisconnected=function(e,t){return this.on("disconnected",e,t)},e.prototype.onReconnected=function(e,t){return this.on("reconnected",e,t)},e.prototype.onReconnecting=function(e,t){return this.on("reconnecting",e,t)},e.prototype.onError=function(e,t){return this.on("error",e,t)},e.prototype.unsubscribeAll=function(){var e=this;Object.keys(this.operations).forEach((function(t){e.unsubscribe(t)}))},e.prototype.applyMiddlewares=function(e){var t=this;return new Promise((function(n,r){var i,o,s;i=a(t.middlewares),o=t,(s=function(t){if(t)r(t);else if(i.length>0){var a=i.shift();a&&a.applyMiddleware.apply(o,[e,s])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,b.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!p.default(n)&&!h.getOperationAST(n,i)||i&&!p.default(i)||r&&!d.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"==typeof n.query?n.query:f.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,b.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case b.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,b.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=g}).call(this,n(37))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,c=Object.keys(t).sort(i&&i(t));for(a="",n=0;n<c.length;n++){var u=c[n],l=e(t[u]);l&&(a&&(a+=","),a+=JSON.stringify(u)+":"+l)}return o.splice(s,1),"{"+a+"}"}}(e)}},function(e,t,n){e.exports=n(270).Observable},function(e,t,n){"use strict";var r=n(271)(n(272)),i=n(13),o=i.ApolloLink,a=i.Observable,s=n(30),c=s.selectURI,u=s.selectHttpOptionsAndBody,l=s.fallbackHttpConfig,p=s.serializeFetchParameter,d=s.createSignalIfSupported,f=s.parseAndCheckHttpResponse,h=n(278),m=h.extractFiles,v=h.ReactNativeFile;t.ReactNativeFile=v,t.createUploadLink=function(e){var t=void 0===e?{}:e,n=t.uri,i=void 0===n?"/graphql":n,s=t.fetch,h=void 0===s?fetch:s,v=t.fetchOptions,y=t.credentials,b=t.headers,g={http:{includeExtensions:t.includeExtensions},options:v,credentials:y,headers:b};return new o((function(e){var t=c(e,i),n=e.getContext(),o=n.clientAwareness,s=(o=void 0===o?{}:o).name,v=o.version,y=n.headers,b={http:n.http,options:n.fetchOptions,credentials:n.credentials,headers:(0,r.default)({},s&&{"apollographql-client-name":s},{},v&&{"apollographql-client-version":v},{},y)},w=u(e,l,g,b),x=w.options,O=w.body,_=m(O),k=_.clone,E=_.files,S=p(k,"Payload");if(E.size){delete x.headers["content-type"];var j=new FormData;j.append("operations",S);var A={},T=0;E.forEach((function(e){A[++T]=e})),j.append("map",JSON.stringify(A)),T=0,E.forEach((function(e,t){j.append(++T,t,t.name)})),x.body=j}else x.body=S;return new a((function(n){var r;if(!x.signal){var i=d().controller;i&&(r=i,x.signal=r.signal)}return h(t,x).then((function(t){return e.setContext({response:t}),t})).then(f(e)).then((function(e){n.next(e),n.complete()})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){r&&r.abort()}}))}))}},function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return(c=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&a(i,n.prototype),i}).apply(null,arguments)}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var p=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},d=function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){return Array.prototype.slice.call(e)},h=function(t){console.warn("".concat("SweetAlert2:"," ").concat("object"===e(t)?t.join(" "):t))},m=function(e){console.error("".concat("SweetAlert2:"," ").concat(e))},v=[],y=function(e,t){var n;n='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),-1===v.indexOf(n)&&(v.push(n),h(n))},b=function(e){return"function"==typeof e?e():e},g=function(e){return e&&"function"==typeof e.toPromise},w=function(e){return g(e)?e.toPromise():Promise.resolve(e)},x=function(e){return e&&Promise.resolve(e)===e},O=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),_=function(t){return t instanceof Element||function(t){return"object"===e(t)&&t.jquery}(t)},k=function(e){var t={};for(var n in e)t[e[n]]="swal2-"+e[n];return t},E=k(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","header","content","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),S=k(["success","warning","info","question","error"]),j=function(){return document.body.querySelector(".".concat(E.container))},A=function(e){var t=j();return t?t.querySelector(e):null},T=function(e){return A(".".concat(e))},C=function(){return T(E.popup)},P=function(){return T(E.icon)},I=function(){return T(E.title)},R=function(){return T(E.content)},N=function(){return T(E["html-container"])},D=function(){return T(E.image)},L=function(){return T(E["progress-steps"])},M=function(){return T(E["validation-message"])},F=function(){return A(".".concat(E.actions," .").concat(E.confirm))},B=function(){return A(".".concat(E.actions," .").concat(E.deny))},q=function(){return A(".".concat(E.loader))},U=function(){return A(".".concat(E.actions," .").concat(E.cancel))},V=function(){return T(E.actions)},z=function(){return T(E.header)},Q=function(){return T(E.footer)},H=function(){return T(E["timer-progress-bar"])},G=function(){return T(E.close)},Y=function(){var e=f(C().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(e,t){return(e=parseInt(e.getAttribute("tabindex")))>(t=parseInt(t.getAttribute("tabindex")))?1:e<t?-1:0})),t=f(C().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter((function(e){return"-1"!==e.getAttribute("tabindex")}));return function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(e.concat(t)).filter((function(e){return de(e)}))},K=function(){return!W()&&!document.body.classList.contains(E["no-backdrop"])},W=function(){return document.body.classList.contains(E["toast-shown"])},J={previousBodyPadding:null},$=function(e,t){if(e.textContent="",t){var n=(new DOMParser).parseFromString(t,"text/html");f(n.querySelector("head").childNodes).forEach((function(t){e.appendChild(t)})),f(n.querySelector("body").childNodes).forEach((function(t){e.appendChild(t)}))}},X=function(e,t){if(!t)return!1;for(var n=t.split(/\s+/),r=0;r<n.length;r++)if(!e.classList.contains(n[r]))return!1;return!0},Z=function(t,n,r){if(function(e,t){f(e.classList).forEach((function(n){-1===d(E).indexOf(n)&&-1===d(S).indexOf(n)&&-1===d(t.showClass).indexOf(n)&&e.classList.remove(n)}))}(t,n),n.customClass&&n.customClass[r]){if("string"!=typeof n.customClass[r]&&!n.customClass[r].forEach)return h("Invalid type of customClass.".concat(r,'! Expected string or iterable object, got "').concat(e(n.customClass[r]),'"'));ie(t,n.customClass[r])}};function ee(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return ae(e,E[t]);case"checkbox":return e.querySelector(".".concat(E.checkbox," input"));case"radio":return e.querySelector(".".concat(E.radio," input:checked"))||e.querySelector(".".concat(E.radio," input:first-child"));case"range":return e.querySelector(".".concat(E.range," input"));default:return ae(e,E.input)}}var te,ne=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},re=function(e,t,n){e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((function(t){e.forEach?e.forEach((function(e){n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},ie=function(e,t){re(e,t,!0)},oe=function(e,t){re(e,t,!1)},ae=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(X(e.childNodes[n],t))return e.childNodes[n]},se=function(e,t,n){n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},ue=function(e){e.style.display="none"},le=function(e,t,n,r){var i=e.querySelector(t);i&&(i.style[n]=r)},pe=function(e,t,n){t?ce(e,n):ue(e)},de=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},fe=function(e){return!!(e.scrollHeight>e.clientHeight)},he=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},me=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=H();de(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},ve=function(){return"undefined"==typeof window||"undefined"==typeof document},ye='\n <div aria-labelledby="'.concat(E.title,'" aria-describedby="').concat(E.content,'" class="').concat(E.popup,'" tabindex="-1">\n <div class="').concat(E.header,'">\n <ul class="').concat(E["progress-steps"],'"></ul>\n <div class="').concat(E.icon,'"></div>\n <img class="').concat(E.image,'" />\n <h2 class="').concat(E.title,'" id="').concat(E.title,'"></h2>\n <button type="button" class="').concat(E.close,'"></button>\n </div>\n <div class="').concat(E.content,'">\n <div id="').concat(E.content,'" class="').concat(E["html-container"],'"></div>\n <input class="').concat(E.input,'" />\n <input type="file" class="').concat(E.file,'" />\n <div class="').concat(E.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(E.select,'"></select>\n <div class="').concat(E.radio,'"></div>\n <label for="').concat(E.checkbox,'" class="').concat(E.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(E.label,'"></span>\n </label>\n <textarea class="').concat(E.textarea,'"></textarea>\n <div class="').concat(E["validation-message"],'" id="').concat(E["validation-message"],'"></div>\n </div>\n <div class="').concat(E.actions,'">\n <div class="').concat(E.loader,'"></div>\n <button type="button" class="').concat(E.confirm,'"></button>\n <button type="button" class="').concat(E.deny,'"></button>\n <button type="button" class="').concat(E.cancel,'"></button>\n </div>\n <div class="').concat(E.footer,'"></div>\n <div class="').concat(E["timer-progress-bar-container"],'">\n <div class="').concat(E["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),be=function(e){Fn.isVisible()&&te!==e.target.value&&Fn.resetValidationMessage(),te=e.target.value},ge=function(e){var t,n=!!(t=j())&&(t.parentNode.removeChild(t),oe([document.documentElement,document.body],[E["no-backdrop"],E["toast-shown"],E["has-column"]]),!0);if(ve())m("SweetAlert2 requires document to initialize");else{var r=document.createElement("div");r.className=E.container,n&&ie(r,E["no-transition"]),$(r,ye);var i,o,a,s,c,u,l,p,d,f="string"==typeof(i=e.target)?document.querySelector(i):i;f.appendChild(r),function(e){var t=C();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")}(e),function(e){"rtl"===window.getComputedStyle(e).direction&&ie(j(),E.rtl)}(f),o=R(),a=ae(o,E.input),s=ae(o,E.file),c=o.querySelector(".".concat(E.range," input")),u=o.querySelector(".".concat(E.range," output")),l=ae(o,E.select),p=o.querySelector(".".concat(E.checkbox," input")),d=ae(o,E.textarea),a.oninput=be,s.onchange=be,l.onchange=be,p.onchange=be,d.oninput=be,c.oninput=function(e){be(e),u.value=c.value},c.onchange=function(e){be(e),c.nextSibling.value=c.value}}},we=function(t,n){t instanceof HTMLElement?n.appendChild(t):"object"===e(t)?xe(t,n):t&&$(n,t)},xe=function(e,t){e.jquery?Oe(t,e):$(t,e.toString())},Oe=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},_e=function(){if(ve())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1}(),ke=function(e,t){var n=V(),r=q(),i=F(),o=B(),a=U();t.showConfirmButton||t.showDenyButton||t.showCancelButton||ue(n),Z(n,t,"actions"),Ee(i,"confirm",t),Ee(o,"deny",t),Ee(a,"cancel",t),function(e,t,n,r){if(!r.buttonsStyling)return oe([e,t,n],E.styled);ie([e,t,n],E.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor)}(i,o,a,t),t.reverseButtons&&(n.insertBefore(a,r),n.insertBefore(o,r),n.insertBefore(i,r)),$(r,t.loaderHtml),Z(r,t,"loader")};function Ee(e,t,n){pe(e,n["show".concat(p(t),"Button")],"inline-block"),$(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=E[t],Z(e,n,"".concat(t,"Button")),ie(e,n["".concat(t,"ButtonClass")])}var Se=function(e,t){var n=j();if(n){!function(e,t){"string"==typeof t?e.style.background=t:t||ie([document.documentElement,document.body],E["no-backdrop"])}(n,t.backdrop),!t.backdrop&&t.allowOutsideClick&&h('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(e,t){t in E?ie(e,E[t]):(h('The "position" parameter is not valid, defaulting to "center"'),ie(e,E.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){var n="grow-".concat(t);n in E&&ie(e,E[n])}}(n,t.grow),Z(n,t,"container");var r=document.body.getAttribute("data-swal2-queue-step");r&&(n.setAttribute("data-queue-step",r),document.body.removeAttribute("data-swal2-queue-step"))}},je={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Ae=["input","file","range","select","radio","checkbox","textarea"],Te=function(e){if(!De[e.input])return m('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=Ne(e.input),n=De[e.input](t,e);ce(n),setTimeout((function(){ne(n)}))},Ce=function(e,t){var n=ee(R(),e);if(n)for(var r in function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t].name;-1===["type","value","style"].indexOf(n)&&e.removeAttribute(n)}}(n),t)"range"===e&&"placeholder"===r||n.setAttribute(r,t[r])},Pe=function(e){var t=Ne(e.input);e.customClass&&ie(t,e.customClass.input)},Ie=function(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Re=function(e,t,n){if(n.inputLabel){e.id=E.input;var r=document.createElement("label"),i=E["input-label"];r.setAttribute("for",e.id),r.className=i,ie(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},Ne=function(e){var t=E[e]?E[e]:E.input;return ae(R(),t)},De={};De.text=De.email=De.password=De.number=De.tel=De.url=function(t,n){return"string"==typeof n.inputValue||"number"==typeof n.inputValue?t.value=n.inputValue:x(n.inputValue)||h('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(e(n.inputValue),'"')),Re(t,t,n),Ie(t,n),t.type=n.input,t},De.file=function(e,t){return Re(e,e,t),Ie(e,t),e},De.range=function(e,t){var n=e.querySelector("input"),r=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,r.value=t.inputValue,Re(n,e,t),e},De.select=function(e,t){if(e.textContent="",t.inputPlaceholder){var n=document.createElement("option");$(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return Re(e,e,t),e},De.radio=function(e){return e.textContent="",e},De.checkbox=function(e,t){var n=ee(R(),"checkbox");n.value=1,n.id=E.checkbox,n.checked=Boolean(t.inputValue);var r=e.querySelector("span");return $(r,t.inputPlaceholder),e},De.textarea=function(e,t){e.value=t.inputValue,Ie(e,t),Re(e,e,t);var n=function(e){return parseInt(window.getComputedStyle(e).paddingLeft)+parseInt(window.getComputedStyle(e).paddingRight)};if("MutationObserver"in window){var r=parseInt(window.getComputedStyle(C()).width);new MutationObserver((function(){var t=e.offsetWidth+n(C())+n(R());C().style.width=t>r?"".concat(t,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var Le=function(e,t){var n=N();Z(n,t,"htmlContainer"),t.html?(we(t.html,n),ce(n,"block")):t.text?(n.textContent=t.text,ce(n,"block")):ue(n),function(e,t){var n=R(),r=je.innerParams.get(e),i=!r||t.input!==r.input;Ae.forEach((function(e){var r=E[e],o=ae(n,r);Ce(e,t.inputAttributes),o.className=r,i&&ue(o)})),t.input&&(i&&Te(t),Pe(t))}(e,t),Z(R(),t,"content")},Me=function(e,t){for(var n in S)t.icon!==n&&oe(e,S[n]);ie(e,S[t.icon]),qe(e,t),Fe(),Z(e,t,"icon")},Fe=function(){for(var e=C(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),r=0;r<n.length;r++)n[r].style.backgroundColor=t},Be=function(e,t){e.textContent="",t.iconHtml?$(e,Ue(t.iconHtml)):"success"===t.icon?$(e,'\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n '):"error"===t.icon?$(e,'\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n '):$(e,Ue({question:"?",warning:"!",info:"i"}[t.icon]))},qe=function(e,t){if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(var n=0,r=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];n<r.length;n++)le(e,r[n],"backgroundColor",t.iconColor);le(e,".swal2-success-ring","borderColor",t.iconColor)}},Ue=function(e){return'<div class="'.concat(E["icon-content"],'">').concat(e,"</div>")},Ve=[],ze=function(){return j()&&j().getAttribute("data-queue-step")},Qe=function(e,t){var n=L();if(!t.progressSteps||0===t.progressSteps.length)return ue(n);ce(n),n.textContent="";var r=parseInt(void 0===t.currentProgressStep?ze():t.currentProgressStep);r>=t.progressSteps.length&&h("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,i){var o=function(e){var t=document.createElement("li");return ie(t,E["progress-step"]),$(t,e),t}(e);if(n.appendChild(o),i===r&&ie(o,E["active-progress-step"]),i!==t.progressSteps.length-1){var a=function(e){var t=document.createElement("li");return ie(t,E["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t}(t);n.appendChild(a)}}))},He=function(e,t){var n=z();Z(n,t,"header"),Qe(0,t),function(e,t){var n=je.innerParams.get(e),r=P();n&&t.icon===n.icon?(Be(r,t),Me(r,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(S).indexOf(t.icon)?(m('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),ue(r)):(ce(r),Be(r,t),Me(r,t),ie(r,t.showClass.icon)):ue(r)}(e,t),function(e,t){var n=D();if(!t.imageUrl)return ue(n);ce(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),se(n,"width",t.imageWidth),se(n,"height",t.imageHeight),n.className=E.image,Z(n,t,"image")}(0,t),function(e,t){var n=I();pe(n,t.title||t.titleText,"block"),t.title&&we(t.title,n),t.titleText&&(n.innerText=t.titleText),Z(n,t,"title")}(0,t),function(e,t){var n=G();$(n,t.closeButtonHtml),Z(n,t,"closeButton"),pe(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,t)},Ge=function(e,t){e.className="".concat(E.popup," ").concat(de(e)?t.showClass.popup:""),t.toast?(ie([document.documentElement,document.body],E["toast-shown"]),ie(e,E.toast)):ie(e,E.modal),Z(e,t,"popup"),"string"==typeof t.customClass&&ie(e,t.customClass),t.icon&&ie(e,E["icon-".concat(t.icon)])},Ye=function(e,t){!function(e,t){var n=j(),r=C();t.toast?(se(n,"width",t.width),r.style.width="100%"):se(r,"width",t.width),se(r,"padding",t.padding),t.background&&(r.style.background=t.background),ue(M()),Ge(r,t)}(0,t),Se(0,t),He(e,t),Le(e,t),ke(0,t),function(e,t){var n=Q();pe(n,t.footer),t.footer&&we(t.footer,n),Z(n,t,"footer")}(0,t),"function"==typeof t.didRender?t.didRender(C()):"function"==typeof t.onRender&&t.onRender(C())},Ke=function(){return F()&&F().click()},We=function(e){var t=C();t||Fn.fire(),t=C();var n=V(),r=q();!e&&de(F())&&(e=F()),ce(n),e&&(ue(e),r.setAttribute("data-button-to-replace",e.className)),r.parentNode.insertBefore(r,e),ie([t,n],E.loading),ce(r),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Je={},$e=function(e){return new Promise((function(t){if(!e)return t();var n=window.scrollX,r=window.scrollY;Je.restoreFocusTimeout=setTimeout((function(){Je.previousActiveElement&&Je.previousActiveElement.focus?(Je.previousActiveElement.focus(),Je.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==n&&void 0!==r&&window.scrollTo(n,r)}))},Xe=function(){if(Je.timeout)return function(){var e=H(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=parseInt(window.getComputedStyle(e).width),r=parseInt(t/n*100);e.style.removeProperty("transition"),e.style.width="".concat(r,"%")}(),Je.timeout.stop()},Ze=function(){if(Je.timeout){var e=Je.timeout.start();return me(e),e}},et=!1,tt={},nt=function(e){for(var t=e.target;t&&t!==document;t=t.parentNode)for(var n in tt){var r=t.getAttribute(n);if(r)return void tt[n].fire({template:r})}},rt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,willOpen:void 0,didOpen:void 0,onRender:void 0,didRender:void 0,onClose:void 0,onAfterClose:void 0,willClose:void 0,didClose:void 0,onDestroy:void 0,didDestroy:void 0,scrollbarPadding:!0},it=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],ot={animation:'showClass" and "hideClass',onBeforeOpen:"willOpen",onOpen:"didOpen",onRender:"didRender",onClose:"willClose",onAfterClose:"didClose",onDestroy:"didDestroy"},at=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],st=function(e){return Object.prototype.hasOwnProperty.call(rt,e)},ct=function(e){return ot[e]},ut=function(e){st(e)||h('Unknown parameter "'.concat(e,'"'))},lt=function(e){-1!==at.indexOf(e)&&h('The parameter "'.concat(e,'" is incompatible with toasts'))},pt=function(e){ct(e)&&y(e,ct(e))},dt=function(e){for(var t in e)ut(t),e.toast&<(t),pt(t)},ft=Object.freeze({isValidParameter:st,isUpdatableParameter:function(e){return-1!==it.indexOf(e)},isDeprecatedParameter:ct,argsToParams:function(t){var n={};return"object"!==e(t[0])||_(t[0])?["title","html","icon"].forEach((function(r,i){var o=t[i];"string"==typeof o||_(o)?n[r]=o:void 0!==o&&m("Unexpected type of ".concat(r,'! Expected "string" or "Element", got ').concat(e(o)))})):i(n,t[0]),n},isVisible:function(){return de(C())},clickConfirm:Ke,clickDeny:function(){return B()&&B().click()},clickCancel:function(){return U()&&U().click()},getContainer:j,getPopup:C,getTitle:I,getContent:R,getHtmlContainer:N,getImage:D,getIcon:P,getInputLabel:function(){return T(E["input-label"])},getCloseButton:G,getActions:V,getConfirmButton:F,getDenyButton:B,getCancelButton:U,getLoader:q,getHeader:z,getFooter:Q,getTimerProgressBar:H,getFocusableElements:Y,getValidationMessage:M,isLoading:function(){return C().hasAttribute("data-loading")},fire:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)},mixin:function(e){return function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(f,n);var c,p,d=(c=f,p=s(),function(){var e,t=o(c);if(p){var n=o(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){return t(this,f),d.apply(this,arguments)}return r(f,[{key:"_main",value:function(t,n){return l(o(f.prototype),"_main",this).call(this,t,i({},e,n))}}]),f}(this)},queue:function(e){y("Swal.queue()","async/await");var t=this;Ve=e;var n=function(e,t){Ve=[],e(t)},r=[];return new Promise((function(e){!function i(o,a){o<Ve.length?(document.body.setAttribute("data-swal2-queue-step",o),t.fire(Ve[o]).then((function(t){void 0!==t.value?(r.push(t.value),i(o+1,a)):n(e,{dismiss:t.dismiss})}))):n(e,{value:r})}(0)}))},getQueueStep:ze,insertQueueStep:function(e,t){return t&&t<Ve.length?Ve.splice(t,0,e):Ve.push(e)},deleteQueueStep:function(e){void 0!==Ve[e]&&Ve.splice(e,1)},showLoading:We,enableLoading:We,getTimerLeft:function(){return Je.timeout&&Je.timeout.getTimerLeft()},stopTimer:Xe,resumeTimer:Ze,toggleTimer:function(){var e=Je.timeout;return e&&(e.running?Xe():Ze())},increaseTimer:function(e){if(Je.timeout){var t=Je.timeout.increase(e);return me(t,!0),t}},isTimerRunning:function(){return Je.timeout&&Je.timeout.isRunning()},bindClickHandler:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template";tt[e]=this,et||(document.body.addEventListener("click",nt),et=!0)}});function ht(){if(je.innerParams.get(this)){var e=je.domCache.get(this);ue(e.loader);var t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?ce(t[0],"inline-block"):de(F())||de(B())||de(U())||ue(e.actions),oe([e.popup,e.actions],E.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}}var mt=function(){null===J.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(J.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(J.previousBodyPadding+function(){var e=document.createElement("div");e.className=E["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t}(),"px"))},vt=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||C().scrollHeight>window.innerHeight-44&&(j().style.paddingBottom="".concat(44,"px"))},yt=function(){var e,t=j();t.ontouchstart=function(t){e=bt(t)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},bt=function(e){var t=e.target,n=j();return!(gt(e)||wt(e)||t!==n&&(fe(n)||"INPUT"===t.tagName||fe(R())&&R().contains(t)))},gt=function(e){return e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType},wt=function(e){return e.touches&&e.touches.length>1},xt=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Ot=function(){var e=j(),t=C();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")},_t={swalPromiseResolve:new WeakMap};function kt(e,t,n,r){W()?Ct(e,r):($e(n).then((function(){return Ct(e,r)})),Je.keydownTarget.removeEventListener("keydown",Je.keydownHandler,{capture:Je.keydownListenerCapture}),Je.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),K()&&(null!==J.previousBodyPadding&&(document.body.style.paddingRight="".concat(J.previousBodyPadding,"px"),J.previousBodyPadding=null),function(){if(X(document.body,E.iosfix)){var e=parseInt(document.body.style.top,10);oe(document.body,E.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}}(),"undefined"!=typeof window&&xt()&&window.removeEventListener("resize",Ot),f(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))),oe([document.documentElement,document.body],[E.shown,E["height-auto"],E["no-backdrop"],E["toast-shown"]])}function Et(e){var t=C();if(t){e=St(e);var n=je.innerParams.get(this);if(n&&!X(t,n.hideClass.popup)){var r=_t.swalPromiseResolve.get(this);oe(t,n.showClass.popup),ie(t,n.hideClass.popup);var i=j();oe(i,n.showClass.backdrop),ie(i,n.hideClass.backdrop),jt(this,t,n),r(e)}}}var St=function(e){return void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:i({isConfirmed:!1,isDenied:!1,isDismissed:!1},e)},jt=function(e,t,n){var r=j(),i=_e&&he(t),o=n.onClose,a=n.onAfterClose,s=n.willClose,c=n.didClose;At(t,s,o),i?Tt(e,t,r,n.returnFocus,c||a):kt(e,r,n.returnFocus,c||a)},At=function(e,t,n){null!==t&&"function"==typeof t?t(e):null!==n&&"function"==typeof n&&n(e)},Tt=function(e,t,n,r,i){Je.swalCloseEventFinishedCallback=kt.bind(null,e,n,r,i),t.addEventListener(_e,(function(e){e.target===t&&(Je.swalCloseEventFinishedCallback(),delete Je.swalCloseEventFinishedCallback)}))},Ct=function(e,t){setTimeout((function(){"function"==typeof t&&t(),e._destroy()}))};function Pt(e,t,n){var r=je.domCache.get(e);t.forEach((function(e){r[e].disabled=n}))}function It(e,t){if(!e)return!1;if("radio"===e.type)for(var n=e.parentNode.parentNode.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=t;else e.disabled=t}var Rt=function(){function e(n,r){t(this,e),this.callback=n,this.remaining=r,this.running=!1,this.start()}return r(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),e}(),Nt={email:function(e,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function Dt(e){!function(e){e.inputValidator||Object.keys(Nt).forEach((function(t){e.input===t&&(e.inputValidator=Nt[t])}))}(e),e.showLoaderOnConfirm&&!e.preConfirm&&h("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),e.animation=b(e.animation),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(h('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),ge(e)}var Lt,Mt=["swal-title","swal-html","swal-footer"],Ft=function(t){var n={};return f(t.querySelectorAll("swal-param")).forEach((function(t){Ht(t,["name","value"]);var r=t.getAttribute("name"),i=t.getAttribute("value");"boolean"==typeof rt[r]&&"false"===i&&(i=!1),"object"===e(rt[r])&&(i=JSON.parse(i)),n[r]=i})),n},Bt=function(e){var t={};return f(e.querySelectorAll("swal-button")).forEach((function(e){Ht(e,["type","color","aria-label"]);var n=e.getAttribute("type");t["".concat(n,"ButtonText")]=e.innerHTML,t["show".concat(p(n),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},qt=function(e){var t={},n=e.querySelector("swal-image");return n&&(Ht(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},Ut=function(e){var t={},n=e.querySelector("swal-icon");return n&&(Ht(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},Vt=function(e){var t={},n=e.querySelector("swal-input");n&&(Ht(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));var r=e.querySelectorAll("swal-input-option");return r.length&&(t.inputOptions={},f(r).forEach((function(e){Ht(e,["value"]);var n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},zt=function(e,t){var n={};for(var r in t){var i=t[r],o=e.querySelector(i);o&&(Ht(o,[]),n[i.replace(/^swal-/,"")]=o.innerHTML.trim())}return n},Qt=function(e){var t=Mt.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);f(e.querySelectorAll("*")).forEach((function(n){if(n.parentNode===e){var r=n.tagName.toLowerCase();-1===t.indexOf(r)&&h("Unrecognized element <".concat(r,">"))}}))},Ht=function(e,t){f(e.attributes).forEach((function(n){-1===t.indexOf(n.name)&&h(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},Gt=function(e){var t=j(),n=C();"function"==typeof e.willOpen?e.willOpen(n):"function"==typeof e.onBeforeOpen&&e.onBeforeOpen(n);var r=window.getComputedStyle(document.body).overflowY;$t(t,n,e),setTimeout((function(){Wt(t,n)}),10),K()&&(Jt(t,e.scrollbarPadding,r),f(document.body.children).forEach((function(e){e===j()||function(e,t){if("function"==typeof e.contains)return e.contains(t)}(e,j())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),W()||Je.previousActiveElement||(Je.previousActiveElement=document.activeElement),Yt(n,e),oe(t,E["no-transition"])},Yt=function(e,t){"function"==typeof t.didOpen?setTimeout((function(){return t.didOpen(e)})):"function"==typeof t.onOpen&&setTimeout((function(){return t.onOpen(e)}))},Kt=function e(t){var n=C();if(t.target===n){var r=j();n.removeEventListener(_e,e),r.style.overflowY="auto"}},Wt=function(e,t){_e&&he(t)?(e.style.overflowY="hidden",t.addEventListener(_e,Kt)):e.style.overflowY="auto"},Jt=function(e,t,n){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!X(document.body,E.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),ie(document.body,E.iosfix),yt(),vt()}}(),"undefined"!=typeof window&&xt()&&(Ot(),window.addEventListener("resize",Ot)),t&&"hidden"!==n&&mt(),setTimeout((function(){e.scrollTop=0}))},$t=function(e,t,n){ie(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),ce(t),setTimeout((function(){ie(t,n.showClass.popup),t.style.removeProperty("opacity")}),10),ie([document.documentElement,document.body],E.shown),n.heightAuto&&n.backdrop&&!n.toast&&ie([document.documentElement,document.body],E["height-auto"])},Xt=function(e){return e.checked?1:0},Zt=function(e){return e.checked?e.value:null},en=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},tn=function(t,n){var r=R(),i=function(e){return rn[n.input](r,on(e),n)};g(n.inputOptions)||x(n.inputOptions)?(We(F()),w(n.inputOptions).then((function(e){t.hideLoading(),i(e)}))):"object"===e(n.inputOptions)?i(n.inputOptions):m("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(n.inputOptions)))},nn=function(e,t){var n=e.getInput();ue(n),w(t.inputValue).then((function(r){n.value="number"===t.input?parseFloat(r)||0:"".concat(r),ce(n),n.focus(),e.hideLoading()})).catch((function(t){m("Error in inputValue promise: ".concat(t)),n.value="",ce(n),n.focus(),e.hideLoading()}))},rn={select:function(e,t,n){var r=ae(e,E.select),i=function(e,t,r){var i=document.createElement("option");i.value=r,$(i,t),i.selected=an(r,n.inputValue),e.appendChild(i)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var o=document.createElement("optgroup");o.label=t,o.disabled=!1,r.appendChild(o),n.forEach((function(e){return i(o,e[1],e[0])}))}else i(r,n,t)})),r.focus()},radio:function(e,t,n){var r=ae(e,E.radio);t.forEach((function(e){var t=e[0],i=e[1],o=document.createElement("input"),a=document.createElement("label");o.type="radio",o.name=E.radio,o.value=t,an(t,n.inputValue)&&(o.checked=!0);var s=document.createElement("span");$(s,i),s.className=E.label,a.appendChild(o),a.appendChild(s),r.appendChild(a)}));var i=r.querySelectorAll("input");i.length&&i[0].focus()}},on=function t(n){var r=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((function(n,i){var o=n;"object"===e(o)&&(o=t(o)),r.push([i,o])})):Object.keys(n).forEach((function(i){var o=n[i];"object"===e(o)&&(o=t(o)),r.push([i,o])})),r},an=function(e,t){return t&&t.toString()===e.toString()},sn=function(e,t,n){var r=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Xt(n);case"radio":return Zt(n);case"file":return en(n);default:return t.inputAutoTrim?n.value.trim():n.value}}(e,t);t.inputValidator?cn(e,t,r):e.getInput().checkValidity()?"deny"===n?un(e,t,r):pn(e,t,r):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},cn=function(e,t,n){e.disableInput(),Promise.resolve().then((function(){return w(t.inputValidator(n,t.validationMessage))})).then((function(r){e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):pn(e,t,n)}))},un=function(e,t,n){t.showLoaderOnDeny&&We(B()),t.preDeny?Promise.resolve().then((function(){return w(t.preDeny(n,t.validationMessage))})).then((function(t){!1===t?e.hideLoading():e.closePopup({isDenied:!0,value:void 0===t?n:t})})):e.closePopup({isDenied:!0,value:n})},ln=function(e,t){e.closePopup({isConfirmed:!0,value:t})},pn=function(e,t,n){t.showLoaderOnConfirm&&We(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then((function(){return w(t.preConfirm(n,t.validationMessage))})).then((function(t){de(M())||!1===t?e.hideLoading():ln(e,void 0===t?n:t)}))):ln(e,n)},dn=function(e,t,n){var r=Y();if(r.length)return(t+=n)===r.length?t=0:-1===t&&(t=r.length-1),r[t].focus();C().focus()},fn=["ArrowRight","ArrowDown","Right","Down"],hn=["ArrowLeft","ArrowUp","Left","Up"],mn=["Escape","Esc"],vn=function(e,t,n){var r=je.innerParams.get(e);r&&(r.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?yn(e,t,r):"Tab"===t.key?bn(t,r):-1!==[].concat(fn,hn).indexOf(t.key)?gn(t.key):-1!==mn.indexOf(t.key)&&wn(t,r,n))},yn=function(e,t,n){if(!t.isComposing&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;Ke(),t.preventDefault()}},bn=function(e,t){for(var n=e.target,r=Y(),i=-1,o=0;o<r.length;o++)if(n===r[o]){i=o;break}e.shiftKey?dn(0,i,-1):dn(0,i,1),e.stopPropagation(),e.preventDefault()},gn=function(e){if(-1!==[F(),B(),U()].indexOf(document.activeElement)){var t=-1!==fn.indexOf(e)?"nextElementSibling":"previousElementSibling",n=document.activeElement[t];n&&n.focus()}},wn=function(e,t,n){b(t.allowEscapeKey)&&(e.preventDefault(),n(O.esc))},xn=function(e,t,n){t.popup.onclick=function(){var t=je.innerParams.get(e);t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton||t.timer||t.input||n(O.close)}},On=!1,_n=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(On=!0)}}},kn=function(e){e.container.onmousedown=function(){e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(On=!0)}}},En=function(e,t,n){t.container.onclick=function(r){var i=je.innerParams.get(e);On?On=!1:r.target===t.container&&b(i.allowOutsideClick)&&n(O.backdrop)}},Sn=function(e,t){var n=function(e){var t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};var n=t.content||t;return Qt(n),i(Ft(n),Bt(n),qt(n),Ut(n),Vt(n),zt(n,Mt))}(e),r=i({},rt,t,n,e);return r.showClass=i({},rt.showClass,r.showClass),r.hideClass=i({},rt.hideClass,r.hideClass),!1===e.animation&&(r.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},r.hideClass={}),r},jn=function(e,t,n){return new Promise((function(r){var i=function(t){e.closePopup({isDismissed:!0,dismiss:t})};_t.swalPromiseResolve.set(e,r),t.confirmButton.onclick=function(){return function(e,t){e.disableButtons(),t.input?sn(e,t,"confirm"):pn(e,t,!0)}(e,n)},t.denyButton.onclick=function(){return function(e,t){e.disableButtons(),t.returnInputValueOnDeny?sn(e,t,"deny"):un(e,t,!1)}(e,n)},t.cancelButton.onclick=function(){return function(e,t){e.disableButtons(),t(O.cancel)}(e,i)},t.closeButton.onclick=function(){return i(O.close)},function(e,t,n){je.innerParams.get(e).toast?xn(e,t,n):(_n(t),kn(t),En(e,t,n))}(e,t,i),function(e,t,n,r){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return vn(e,t,r)},t.keydownTarget=n.keydownListenerCapture?window:C(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}(e,Je,n,i),function(e,t){"select"===t.input||"radio"===t.input?tn(e,t):-1!==["text","email","number","tel","textarea"].indexOf(t.input)&&(g(t.inputValue)||x(t.inputValue))&&nn(e,t)}(e,n),Gt(n),Tn(Je,n,i),Cn(t,n),setTimeout((function(){t.container.scrollTop=0}))}))},An=function(e){var t={popup:C(),container:j(),content:R(),actions:V(),confirmButton:F(),denyButton:B(),cancelButton:U(),loader:q(),closeButton:G(),validationMessage:M(),progressSteps:L()};return je.domCache.set(e,t),t},Tn=function(e,t,n){var r=H();ue(r),t.timer&&(e.timeout=new Rt((function(){n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(ce(r),setTimeout((function(){e.timeout&&e.timeout.running&&me(t.timer)}))))},Cn=function(e,t){if(!t.toast)return b(t.allowEnterKey)?void(Pn(e,t)||dn(0,-1,1)):In()},Pn=function(e,t){return t.focusDeny&&de(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&de(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!de(e.confirmButton)||(e.confirmButton.focus(),0))},In=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},Rn=function(e){"function"==typeof e.didDestroy?e.didDestroy():"function"==typeof e.onDestroy&&e.onDestroy()},Nn=function(e){delete e.params,delete Je.keydownHandler,delete Je.keydownTarget,Dn(je),Dn(_t)},Dn=function(e){for(var t in e)e[t]=new WeakMap},Ln=Object.freeze({hideLoading:ht,disableLoading:ht,getInput:function(e){var t=je.innerParams.get(e||this),n=je.domCache.get(e||this);return n?ee(n.content,t.input):null},close:Et,closePopup:Et,closeModal:Et,closeToast:Et,enableButtons:function(){Pt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Pt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return It(this.getInput(),!1)},disableInput:function(){return It(this.getInput(),!0)},showValidationMessage:function(e){var t=je.domCache.get(this),n=je.innerParams.get(this);$(t.validationMessage,e),t.validationMessage.className=E["validation-message"],n.customClass&&n.customClass.validationMessage&&ie(t.validationMessage,n.customClass.validationMessage),ce(t.validationMessage);var r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedBy",E["validation-message"]),ne(r),ie(r,E.inputerror))},resetValidationMessage:function(){var e=je.domCache.get(this);e.validationMessage&&ue(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),oe(t,E.inputerror))},getProgressSteps:function(){return je.domCache.get(this).progressSteps},_main:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};dt(i({},t,e)),Je.currentInstance&&Je.currentInstance._destroy(),Je.currentInstance=this;var n=Sn(e,t);Dt(n),Object.freeze(n),Je.timeout&&(Je.timeout.stop(),delete Je.timeout),clearTimeout(Je.restoreFocusTimeout);var r=An(this);return Ye(this,n),je.innerParams.set(this,n),jn(this,r,n)},update:function(e){var t=C(),n=je.innerParams.get(this);if(!t||X(t,n.hideClass.popup))return h("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var r={};Object.keys(e).forEach((function(t){Fn.isUpdatableParameter(t)?r[t]=e[t]:h('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}));var o=i({},n,r);Ye(this,o),je.innerParams.set(this,o),Object.defineProperties(this,{params:{value:i({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){var e=je.domCache.get(this),t=je.innerParams.get(this);t&&(e.popup&&Je.swalCloseEventFinishedCallback&&(Je.swalCloseEventFinishedCallback(),delete Je.swalCloseEventFinishedCallback),Je.deferDisposalTimer&&(clearTimeout(Je.deferDisposalTimer),delete Je.deferDisposalTimer),Rn(t),Nn(this))}}),Mn=function(){function e(){if(t(this,e),"undefined"!=typeof window){"undefined"==typeof Promise&&m("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Lt=this;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=Object.freeze(this.constructor.argsToParams(r));Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}});var a=this._main(this.params);je.promise.set(this,a)}}return r(e,[{key:"then",value:function(e){return je.promise.get(this).then(e)}},{key:"finally",value:function(e){return je.promise.get(this).finally(e)}}]),e}();i(Mn.prototype,Ln),i(Mn,ft),Object.keys(Ln).forEach((function(e){Mn[e]=function(){var t;if(Lt)return(t=Lt)[e].apply(t,arguments)}})),Mn.DismissReason=O,Mn.version="10.16.9";var Fn=Mn;return Fn.default=Fn,Fn}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{flex-direction:column;align-items:stretch;width:auto;padding:1.25em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;margin:0 .625em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container{padding:.625em 0 0}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex:1;flex-basis:auto!important;align-self:stretch;width:auto;height:2.2em;height:auto;margin:0 .3125em;margin-top:.3125em;padding:0}.swal2-popup.swal2-toast .swal2-styled{margin:.125em .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:5px;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#2778c4;color:#fff;font-size:1em}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#d14529;color:#fff;font-size:1em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#757575;color:#fff;font-size:1em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto}.swal2-validation-message{align-items:center;justify-content:center;margin:0 -2.7em;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o}));var r="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",o="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(188),i=n(41),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){var r=n(64),i=n(192),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},,function(e,t,n){"use strict";(function(e){
|
|
354
|
-
/*!
|
|
355
|
-
* The buffer module from node.js, for the browser.
|
|
356
|
-
*
|
|
357
|
-
* @author Feross Aboukhadijeh <http://feross.org>
|
|
358
|
-
* @license MIT
|
|
359
|
-
*/
|
|
360
|
-
var r=n(218),i=n(219),o=n(153);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|f(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(l(t),e=s(e,t<0?0:0|f(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|f(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var p=!0,d=0;d<c;d++)if(u(e,o+d)!==u(t,d)){p=!1;break}if(p)return o}return-1}function g(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return V(q(t,e.length-n),e,n,r)}function x(e,t,n,r){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function O(e,t,n,r){return x(e,t,n,r)}function _(e,t,n,r){return V(U(t),e,n,r)}function k(e,t,n,r){return V(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,u=e[i],l=null,p=u>239?4:u>223?3:u>191?2:1;if(i+p<=n)switch(p){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return u(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return p(null,e)},c.allocUnsafeSlow=function(e){return p(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):m.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n),p=0;p<s;++p)if(u[p]!==l[p]){o=u[p],a=l[p];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function T(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=B(e[o]);return i}function C(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=c.isBuffer(e)?e:q(new c(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(37))},,,,function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=u(e),t=l(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[u(e)]},d.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},d.prototype.set=function(e,t){this.map[u(e)]=l(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(e,t){var n,r,i=(t=t||{}).body;if(e instanceof g){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),b.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];x.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function _(e,n){return new Promise((function(r,o){var a=new g(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new x(i,n))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}_.polyfill=!0,e.fetch||(e.fetch=_,e.Headers=d,e.Request=g,e.Response=x),t.Headers=d,t.Request=g,t.Response=x,t.fetch=_,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},function(e,t,n){var r=n(117),i=n(184),o=n(102),a=n(186),s=n(193),c=n(196),u=n(197),l=n(198),p=n(200),d=n(119),f=n(201),h=n(53),m=n(206),v=n(207),y=n(212),b=n(47),g=n(66),w=n(214),x=n(36),O=n(216),_=n(70),k=n(73),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,S,j,A,T){var C,P=1&n,I=2&n,R=4&n;if(S&&(C=A?S(t,j,A,T):S(t)),void 0!==C)return C;if(!x(t))return t;var N=b(t);if(N){if(C=m(t),!P)return u(t,C)}else{var D=h(t),L="[object Function]"==D||"[object GeneratorFunction]"==D;if(g(t))return c(t,P);if("[object Object]"==D||"[object Arguments]"==D||L&&!A){if(C=I||L?{}:y(t),!P)return I?p(t,s(C,t)):l(t,a(C,t))}else{if(!E[D])return A?t:{};C=v(t,D,P)}}T||(T=new r);var M=T.get(t);if(M)return M;T.set(t,C),O(t)?t.forEach((function(r){C.add(e(r,n,S,r,t,T))})):w(t)&&t.forEach((function(r,i){C.set(i,e(r,n,S,i,t,T))}));var F=N?void 0:(R?I?f:d:I?k:_)(t);return i(F||t,(function(r,i){F&&(r=t[i=r]),o(C,i,e(r,n,S,i,t,T))})),C}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(57),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(57);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(57);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(57);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(56);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(56),i=n(69),o=n(118);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(99),i=n(169),o=n(36),a=n(101),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,d=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},function(e,t,n){var r=n(50),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(170),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(26)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(173),i=n(56),o=n(69);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(174),i=n(175),o=n(176),a=n(177),s=n(178);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(58);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(58),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(58),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(58);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(59);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(59);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(59);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(59);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(38),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,n){var r=n(60),i=n(70);e.exports=function(e,t){return e&&r(t,i(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(49),i=n(41);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(49),i=n(105),o=n(41),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(106)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(60),i=n(73);e.exports=function(e,t){return e&&r(t,i(t),e)}},function(e,t,n){var r=n(36),i=n(64),o=n(195),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(26),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(68)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(60),i=n(74);e.exports=function(e,t){return r(e,i(e),t)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},function(e,t,n){var r=n(60),i=n(108);e.exports=function(e,t){return r(e,i(e),t)}},function(e,t,n){var r=n(111),i=n(108),o=n(73);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(38)(n(26),"DataView");e.exports=r},function(e,t,n){var r=n(38)(n(26),"Promise");e.exports=r},function(e,t,n){var r=n(38)(n(26),"Set");e.exports=r},function(e,t,n){var r=n(38)(n(26),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(75),i=n(208),o=n(209),a=n(210),s=n(211);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Set]":return new c;case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(75);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(50),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,n){var r=n(75);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(213),i=n(110),o=n(64);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},function(e,t,n){var r=n(36),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var r=n(215),i=n(71),o=n(72),a=o&&o.isMap,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(53),i=n(41);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(217),i=n(71),o=n(72),a=o&&o.isSet,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(53),i=n(41);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},function(e,t,n){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=u(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,p=s>0?a-4:a;for(n=0;n<p;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){
|
|
361
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
362
|
-
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,u=c>>1,l=-7,p=n?i-1:0,d=n?-1:1,f=e[t+p];for(p+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+p],p+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,p=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*c-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+f]=255&a,f+=h,a/=256,u-=8);e[n+f-h]|=128*m}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u}));var r=n(144),i=n(67),o=n(145),a=n(289);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||Object(o.a)(0,"Body must be a string. Received: ".concat(Object(i.a)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(o.a)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Object(o.a)(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,a;return t=e,(n=[{key:r.c,get:function(){return"Source"}}])&&s(t.prototype,n),a&&s(t,a),e}();function u(e){return Object(a.a)(e,c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(39),i=n(16),o=n(3),a=n(79),s=function(){function e(e){var t=new i.b(o.a.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==o.a.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=l(this,e)}while(e.kind===o.a.COMMENT);return e},e}();function c(e){return e===o.a.BANG||e===o.a.DOLLAR||e===o.a.AMP||e===o.a.PAREN_L||e===o.a.PAREN_R||e===o.a.SPREAD||e===o.a.COLON||e===o.a.EQUALS||e===o.a.AT||e===o.a.BRACKET_L||e===o.a.BRACKET_R||e===o.a.BRACE_L||e===o.a.PIPE||e===o.a.BRACE_R}function u(e){return isNaN(e)?o.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function l(e,t){for(var n=e.source,a=n.body,s=a.length,c=t.end;c<s;){var u=a.charCodeAt(c),l=e.line,h=1+c-e.lineStart;switch(u){case 65279:case 9:case 32:case 44:++c;continue;case 10:++c,++e.line,e.lineStart=c;continue;case 13:10===a.charCodeAt(c+1)?c+=2:++c,++e.line,e.lineStart=c;continue;case 33:return new i.b(o.a.BANG,c,c+1,l,h,t);case 35:return d(n,c,l,h,t);case 36:return new i.b(o.a.DOLLAR,c,c+1,l,h,t);case 38:return new i.b(o.a.AMP,c,c+1,l,h,t);case 40:return new i.b(o.a.PAREN_L,c,c+1,l,h,t);case 41:return new i.b(o.a.PAREN_R,c,c+1,l,h,t);case 46:if(46===a.charCodeAt(c+1)&&46===a.charCodeAt(c+2))return new i.b(o.a.SPREAD,c,c+3,l,h,t);break;case 58:return new i.b(o.a.COLON,c,c+1,l,h,t);case 61:return new i.b(o.a.EQUALS,c,c+1,l,h,t);case 64:return new i.b(o.a.AT,c,c+1,l,h,t);case 91:return new i.b(o.a.BRACKET_L,c,c+1,l,h,t);case 93:return new i.b(o.a.BRACKET_R,c,c+1,l,h,t);case 123:return new i.b(o.a.BRACE_L,c,c+1,l,h,t);case 124:return new i.b(o.a.PIPE,c,c+1,l,h,t);case 125:return new i.b(o.a.BRACE_R,c,c+1,l,h,t);case 34:return 34===a.charCodeAt(c+1)&&34===a.charCodeAt(c+2)?v(n,c,l,h,t,e):m(n,c,l,h,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return f(n,c,u,l,h,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return b(n,c,l,h,t)}throw Object(r.a)(n,c,p(u))}var y=e.line,g=1+c-e.lineStart;return new i.b(o.a.EOF,s,s,y,g,t)}function p(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(u(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(u(e),".")}function d(e,t,n,r,a){var s,c=e.body,u=t;do{s=c.charCodeAt(++u)}while(!isNaN(s)&&(s>31||9===s));return new i.b(o.a.COMMENT,t,u,n,r,a,c.slice(t+1,u))}function f(e,t,n,a,s,c){var l=e.body,p=n,d=t,f=!1;if(45===p&&(p=l.charCodeAt(++d)),48===p){if((p=l.charCodeAt(++d))>=48&&p<=57)throw Object(r.a)(e,d,"Invalid number, unexpected digit after 0: ".concat(u(p),"."))}else d=h(e,d,p),p=l.charCodeAt(d);if(46===p&&(f=!0,p=l.charCodeAt(++d),d=h(e,d,p),p=l.charCodeAt(d)),69!==p&&101!==p||(f=!0,43!==(p=l.charCodeAt(++d))&&45!==p||(p=l.charCodeAt(++d)),d=h(e,d,p),p=l.charCodeAt(d)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw Object(r.a)(e,d,"Invalid number, expected digit but got: ".concat(u(p),"."));return new i.b(f?o.a.FLOAT:o.a.INT,t,d,a,s,c,l.slice(t,d))}function h(e,t,n){var i=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(r.a)(e,o,"Invalid number, expected digit but got: ".concat(u(a),"."))}function m(e,t,n,a,s){for(var c,l,p,d,f=e.body,h=t+1,m=h,v=0,b="";h<f.length&&!isNaN(v=f.charCodeAt(h))&&10!==v&&13!==v;){if(34===v)return b+=f.slice(m,h),new i.b(o.a.STRING,t,h+1,n,a,s,b);if(v<32&&9!==v)throw Object(r.a)(e,h,"Invalid character within String: ".concat(u(v),"."));if(++h,92===v){switch(b+=f.slice(m,h-1),v=f.charCodeAt(h)){case 34:b+='"';break;case 47:b+="/";break;case 92:b+="\\";break;case 98:b+="\b";break;case 102:b+="\f";break;case 110:b+="\n";break;case 114:b+="\r";break;case 116:b+="\t";break;case 117:var g=(c=f.charCodeAt(h+1),l=f.charCodeAt(h+2),p=f.charCodeAt(h+3),d=f.charCodeAt(h+4),y(c)<<12|y(l)<<8|y(p)<<4|y(d));if(g<0){var w=f.slice(h+1,h+5);throw Object(r.a)(e,h,"Invalid character escape sequence: \\u".concat(w,"."))}b+=String.fromCharCode(g),h+=4;break;default:throw Object(r.a)(e,h,"Invalid character escape sequence: \\".concat(String.fromCharCode(v),"."))}m=++h}}throw Object(r.a)(e,h,"Unterminated string.")}function v(e,t,n,s,c,l){for(var p=e.body,d=t+3,f=d,h=0,m="";d<p.length&&!isNaN(h=p.charCodeAt(d));){if(34===h&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2))return m+=p.slice(f,d),new i.b(o.a.BLOCK_STRING,t,d+3,n,s,c,Object(a.a)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw Object(r.a)(e,d,"Invalid character within String: ".concat(u(h),"."));10===h?(++d,++l.line,l.lineStart=d):13===h?(10===p.charCodeAt(d+1)?d+=2:++d,++l.line,l.lineStart=d):92===h&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2)&&34===p.charCodeAt(d+3)?(m+=p.slice(f,d)+'"""',f=d+=4):++d}throw Object(r.a)(e,d,"Unterminated string.")}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function b(e,t,n,r,a){for(var s=e.body,c=s.length,u=t+1,l=0;u!==c&&!isNaN(l=s.charCodeAt(u))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++u;return new i.b(o.a.NAME,t,u,n,r,a,s.slice(t,u))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(116);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,c=t.line+o,u=1===t.line?n:0,l=t.column+u,p="".concat(e.name,":").concat(c,":").concat(l,"\n"),d=r.split(/\r\n|[\n\r]/g),f=d[i];if(f.length>120){for(var h=Math.floor(l/80),m=l%80,v=[],y=0;y<f.length;y+=80)v.push(f.slice(y,y+80));return p+a([["".concat(c),v[0]]].concat(v.slice(1,h+1).map((function(e){return["",e]})),[[" ",s(m-1)+"^"],["",v[h+1]]]))}return p+a([["".concat(c-1),d[i-1]],["".concat(c),f],["",s(l-1)+"^"],["".concat(c+1),d[i+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return s(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function s(e){return Array(e+1).join(" ")}},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"getOperationAST",(function(){return i}));var r=n(7);function i(e,t){for(var n=null,i=0,o=e.definitions;i<o.length;i++){var a,s=o[i];if(s.kind===r.a.OPERATION_DEFINITION)if(null==t){if(n)return null;n=s}else if((null===(a=s.name)||void 0===a?void 0:a.value)===t)return s}return n}},function(e,t){!function(e){var t=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";t[i]=t[i]||[],t[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),e.addEventListener("storage",(function(t){if(t.storageArea===e.localStorage&&null!=t.newValue&&""!==t.newValue&&t.key.substring(0,i.length)===i){var n=JSON.parse(t.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());e.localStorage.setItem(a,o),setTimeout((function(){e.localStorage.removeItem(a)}),500),t[this._id].forEach((function(e){e!==r&&e._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var e=t[this._id].indexOf(this);t[this._id].splice(e,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(e){this._mc.port1.onmessage=e},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},e.BroadcastChannel=e.BroadcastChannel||n}(self)},function(e,t,n){var r=n(234),i=n(41);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},function(e,t,n){var r=n(117),i=n(125),o=n(240),a=n(243),s=n(53),c=n(47),u=n(66),l=n(91),p="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,f,h,m){var v=c(e),y=c(t),b=v?"[object Array]":s(e),g=y?"[object Array]":s(t),w=(b="[object Arguments]"==b?p:b)==p,x=(g="[object Arguments]"==g?p:g)==p,O=b==g;if(O&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(O&&!w)return m||(m=new r),v||l(e)?i(e,t,n,f,h,m):o(e,t,b,n,f,h,m);if(!(1&n)){var _=w&&d.call(e,"__wrapped__"),k=x&&d.call(t,"__wrapped__");if(_||k){var E=_?e.value():e,S=k?t.value():t;return m||(m=new r),h(E,S,n,f,m)}}return!!O&&(m||(m=new r),a(e,t,n,f,h,m))}},function(e,t,n){var r=n(118),i=n(236),o=n(237);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(50),i=n(120),o=n(78),a=n(125),s=n(241),c=n(242),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var v=a(f(e),f(t),r,u,p,d);return d.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(119),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var d=u[p];if(!(c?d in t:i.call(t,d)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=c;++p<l;){var y=e[d=u[p]],b=t[d];if(o)var g=c?o(b,y,d,t,e,s):o(y,b,d,e,t,s);if(!(void 0===g?y===b||a(y,b,n,o,s):g)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},function(e,t,n){var r=n(245),i=n(246),o=n(251),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},function(e,t,n){var r=n(247),i=n(82),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},function(e,t,n){var r=n(248)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(50),i=n(250),o=n(47),a=n(127),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(252),i=n(253),o=n(82),a=n(254);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+n+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",p="(?:"+a+"|"+s+")",d="(?:"+l+"|"+s+")",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+f+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*"),m="(?:"+[o,c,u].join("|")+")"+h,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",d+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+p,"$"].join("|")+")",l+"?"+p+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(256)("toUpperCase");e.exports=r},function(e,t,n){var r=n(257),i=n(128),o=n(259),a=n(82);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return s[e]()+c}}},function(e,t,n){var r=n(258);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},function(e,t,n){var r=n(260),i=n(128),o=n(261);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+r+"?",r,a,s,n].join("|")+")",p=RegExp(i+"(?="+i+")|"+l+u,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},u.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var c,u,l=this._events[s],p=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),p){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,n),!0;case 4:return l.fn.call(l.context,t,n,r),!0;case 5:return l.fn.call(l.context,t,n,r,o),!0;case 6:return l.fn.call(l.context,t,n,r,o,a),!0}for(u=1,c=new Array(p-1);u<p;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var d,f=l.length;for(u=0;u<f;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),p){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,n);break;case 4:l[u].fn.call(l[u].context,t,n,r);break;default:if(!c)for(d=1,c=new Array(p-1);d<p;d++)c[d-1]=arguments[d];l[u].fn.apply(l[u].context,c)}}return!0},u.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,u=[],l=a.length;s<l;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:c(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&c(this,t)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"==typeof e}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GRAPHQL_SUBSCRIPTIONS=t.GRAPHQL_WS=void 0;t.GRAPHQL_WS="graphql-ws";t.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WS_TIMEOUT=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;t.WS_TIMEOUT=3e4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){throw new Error("Static Class")}return e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_CONNECTION_TERMINATE="connection_terminate",e.GQL_START="start",e.GQL_DATA="data",e.GQL_ERROR="error",e.GQL_COMPLETE="complete",e.GQL_STOP="stop",e.SUBSCRIPTION_START="subscription_start",e.SUBSCRIPTION_DATA="subscription_data",e.SUBSCRIPTION_SUCCESS="subscription_success",e.SUBSCRIPTION_FAIL="subscription_fail",e.SUBSCRIPTION_END="subscription_end",e.INIT="init",e.INIT_SUCCESS="init_success",e.INIT_FAIL="init_fail",e.KEEP_ALIVE="keepalive",e}();t.default=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&Boolean(Symbol[e])},c=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=c("iterator"),l=c("observable"),p=c("species");function d(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[p])&&(t=void 0),void 0!==t?t:_}function h(e){return e instanceof _}function m(e){m.log?m.log(e):setTimeout((function(){throw e}))}function v(e){Promise.resolve().then((function(){try{e()}catch(e){m(e)}}))}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=d(t,"unsubscribe");n&&n.call(t)}}catch(e){m(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,n){e._state="running";var r=e._observer;try{var i=d(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(b(e),!i)throw n;i.call(r,n);break;case"complete":b(e),i&&i.call(r)}}catch(e){m(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function w(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void v((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(g(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void g(e,t,n);e._queue.push({type:t,value:n})}}var x=function(){function e(t,n){r(this,e),this._cleanup=void 0,this._observer=t,this._queue=void 0,this._state="initializing";var i=new O(this);try{this._cleanup=n.call(void 0,i)}catch(e){i.error(e)}"initializing"===this._state&&(this._state="ready")}return o(e,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(b(this),y(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),e}(),O=function(){function e(t){r(this,e),this._subscription=t}return o(e,[{key:"next",value:function(e){w(this._subscription,"next",e)}},{key:"error",value:function(e){w(this._subscription,"error",e)}},{key:"complete",value:function(){w(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),_=function(){function e(t){if(r(this,e),!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}return o(e,[{key:"subscribe",value:function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new x(e,this._subscriber)}},{key:"forEach",value:function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))}},{key:"map",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"filter",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"reduce",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=f(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=f(this);return new i((function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))}},{key:"flatMap",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=f(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))}},{key:l,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=d(t,l);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return h(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(s("iterator")&&(r=d(t,u)))return new n((function(e){v((function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;if(e.next(c),e.closed)return}}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){v((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")}},{key:"of",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i="function"==typeof this?this:e;return new i((function(e){v((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))}},{key:p,get:function(){return this}}]),e}();t.Observable=_,a()&&Object.defineProperty(_,Symbol("extensions"),{value:{symbol:l,hostReportError:m},configurable:!0})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(26);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(275),i=n(36),o=n(127),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(276),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},,function(e,t,n){"use strict";n.r(t),n.d(t,"extractFiles",(function(){return i})),n.d(t,"ReactNativeFile",(function(){return r}));var r=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r};function i(e,t){var n;void 0===t&&(t="");var o=new Map;function a(e,t){var n=o.get(t);n?n.push.apply(n,e):o.set(t,e)}if("undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r)n=null,a([t],e);else{var s=t?t+".":"";if("undefined"!=typeof FileList&&e instanceof FileList)n=Array.prototype.map.call(e,(function(e,t){return a([""+s+t],e),null}));else if(Array.isArray(e))n=e.map((function(e,t){var n=i(e,""+s+t);return n.files.forEach(a),n.clone}));else if(e&&e.constructor===Object)for(var c in n={},e){var u=i(e[c],""+s+c);u.files.forEach(a),n[c]=u.clone}else n=e}return{clone:n,files:o}}},,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(1),i=n(321),o=new Map,a=new Map,s=!0,c=!1;function u(e){return e.replace(/[\s,]+/g," ").trim()}function l(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=u((c=e.loc).source.body.substring(c.start,c.end)),o=a.get(r);o&&!o.has(i)?s&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||a.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var c})),Object(r.a)(Object(r.a)({},e),{definitions:n})}function p(e){var t=u(e);if(!o.has(t)){var n=Object(i.a)(e,{experimentalFragmentVariables:c});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");o.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(l(n)))}return o.get(t)}function d(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),p(r)}var f,h={gql:d,resetCaches:function(){o.clear(),a.clear()},disableFragmentWarnings:function(){s=!1},enableExperimentalFragmentVariables:function(){c=!0},disableExperimentalFragmentVariables:function(){c=!1}};(f=d||(d={})).gql=h.gql,f.resetCaches=h.resetCaches,f.disableFragmentWarnings=h.disableFragmentWarnings,f.enableExperimentalFragmentVariables=h.enableExperimentalFragmentVariables,f.disableExperimentalFragmentVariables=h.disableExperimentalFragmentVariables,d.default=d,t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return y}));var r=n(288),i=n(144),o=n(116),a=n(226);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function d(e,t,n){return(d=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(v,e);var t,n,a,s,p,d=(t=v,n=f(),function(){var e,r=m(t);if(n){var i=m(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return u(this,e)});function v(e,t,n,i,a,s,c){var p,f,h,m,y;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),y=d.call(this,e);var b,g=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,w=n;!w&&g&&(w=null===(b=g[0].loc)||void 0===b?void 0:b.source);var x,O=i;!O&&g&&(O=g.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),O&&0===O.length&&(O=void 0),i&&n?x=i.map((function(e){return Object(o.a)(n,e)})):g&&(x=g.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var _=c;if(null==_&&null!=s){var k=s.extensions;Object(r.a)(k)&&(_=k)}return Object.defineProperties(l(y),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(p=x)&&void 0!==p?p:void 0,enumerable:null!=x},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=g?g:void 0},source:{value:null!==(f=w)&&void 0!==f?f:void 0},positions:{value:null!==(h=O)&&void 0!==h?h:void 0},originalError:{value:s},extensions:{value:null!==(m=_)&&void 0!==m?m:void 0,enumerable:null!=_}}),null!=s&&s.stack?(Object.defineProperty(l(y),"stack",{value:s.stack,writable:!0,configurable:!0}),u(y)):(Error.captureStackTrace?Error.captureStackTrace(l(y),v):Object.defineProperty(l(y),"stack",{value:Error().stack,writable:!0,configurable:!0}),y)}return a=v,(s=[{key:"toString",value:function(){return y(this)}},{key:i.c,get:function(){return"Object"}}])&&c(a.prototype,s),p&&c(a,p),v}(p(Error));function y(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+Object(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var c=s[o];t+="\n\n"+Object(a.b)(e.source,c)}return t}},,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return"object"==r(e)&&null!==e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";t.a=function(e,t){return e instanceof t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(39),i=n(7),o=n(16),a=n(3),s=n(224),c=n(290),u=n(225);function l(e,t){return new f(e,t).parseDocument()}function p(e,t){var n=new f(e,t);n.expectToken(a.a.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(a.a.EOF),r}function d(e,t){var n=new f(e,t);n.expectToken(a.a.SOF);var r=n.parseTypeReference();return n.expectToken(a.a.EOF),r}var f=function(){function e(e,t){var n=Object(s.b)(e)?e:new s.a(e);this._lexer=new u.a(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(a.a.NAME);return{kind:i.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:i.a.DOCUMENT,definitions:this.many(a.a.SOF,this.parseDefinition,a.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(a.a.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(a.a.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(a.a.BRACE_L))return{kind:i.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(a.a.NAME)&&(t=this.parseName()),{kind:i.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(a.a.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(a.a.PAREN_L,this.parseVariableDefinition,a.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.a.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(a.a.DOLLAR),{kind:i.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:i.a.SELECTION_SET,selections:this.many(a.a.BRACE_L,this.parseSelection,a.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(a.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(a.a.COLON)?(e=r,t=this.parseName()):t=r,{kind:i.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.a.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.a.PAREN_L,t,a.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.a.COLON),{kind:i.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:i.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(a.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.a.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(a.a.NAME)?{kind:i.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:i.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:i.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:i.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case a.a.BRACKET_L:return this.parseList(e);case a.a.BRACE_L:return this.parseObject(e);case a.a.INT:return this._lexer.advance(),{kind:i.a.INT,value:t.value,loc:this.loc(t)};case a.a.FLOAT:return this._lexer.advance(),{kind:i.a.FLOAT,value:t.value,loc:this.loc(t)};case a.a.STRING:case a.a.BLOCK_STRING:return this.parseStringLiteral();case a.a.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:i.a.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:i.a.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:i.a.NULL,loc:this.loc(t)};default:return{kind:i.a.ENUM,value:t.value,loc:this.loc(t)}}case a.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:i.a.STRING,value:e.value,block:e.kind===a.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:i.a.LIST,values:this.any(a.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),a.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:i.a.OBJECT,fields:this.any(a.a.BRACE_L,(function(){return t.parseObjectField(e)}),a.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(a.a.COLON),{kind:i.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(a.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.a.AT),{kind:i.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(a.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.a.BRACKET_R),e={kind:i.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.a.BANG)?{kind:i.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:i.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===a.a.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(a.a.STRING)||this.peek(a.a.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(a.a.BRACE_L,this.parseOperationTypeDefinition,a.a.BRACE_R);return{kind:i.a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.a.COLON);var n=this.parseNamedType();return{kind:i.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:i.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(a.a.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(a.a.AMP)||this.peek(a.a.NAME));return t}return this.delimitedMany(a.a.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(a.a.BRACE_L)&&this._lexer.lookahead().kind===a.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.a.BRACE_L,this.parseFieldDefinition,a.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.a.COLON);var o=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:i.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(a.a.PAREN_L,this.parseInputValueDef,a.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.a.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(a.a.EQUALS)&&(r=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:i.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:s,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:i.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.a.EQUALS)?this.delimitedMany(a.a.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:i.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(a.a.BRACE_L,this.parseEnumValueDefinition,a.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:i.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:i.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(a.a.BRACE_L,this.parseInputValueDef,a.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(a.a.BRACE_L,this.parseOperationTypeDefinition,a.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:i.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:i.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:i.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:i.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:i.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.a.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:i.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(a.a.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==c.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new o.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Object(r.a)(this._lexer.source,t.start,"Expected ".concat(m(e),", found ").concat(h(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==a.a.NAME||t.value!==e)throw Object(r.a)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(h(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===a.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return Object(r.a)(this._lexer.source,t.start,"Unexpected ".concat(h(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function h(e){var t=e.value;return m(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function m(e){return Object(u.b)(e)?'"'.concat(e,'"'):e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r,i,o,a,s=n(0);function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}class u extends s.a{static get properties(){return{roleCategory:String,user:Object,roles:Array,userRoles:Array}}constructor(){super(),this.roleCategory="Roles",this.user={},this.roles=[],this.userRoles=[]}static get styles(){return[Object(s.b)(r||(r=c(["\n [subtitle] {\n margin: 0;\n padding: var(--subtitle-padding);\n font: var(--subtitle-font);\n color: var(--subtitle-text-color);\n }\n div {\n margin: 0 var(--margin-default) var(--margin-default) var(--margin-default);\n }\n ul {\n flex: 1;\n display: grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 20px;\n overflow: auto;\n margin: 0;\n padding: var(--padding-default);\n list-style: none;\n border: 1px dashed rgba(0, 0, 0, 0.1);\n border-width: 1px 0;\n }\n input[type='checkbox'] {\n display: inline;\n }\n label {\n padding-left: var(--padding-narrow);\n text-transform: capitalize;\n font: var(--label-font);\n color: var(--label-color);\n }\n li {\n padding: var(--padding-narrow);\n }\n #checkAll,\n [for='checkAll'] {\n margin-bottom: var(--margin-default);\n padding-bottom: var(--padding-narrow);\n font-weight: bold;\n }\n "])))]}render(){var e=(this.userRoles||[]).map(e=>e.id);return Object(s.e)(i||(i=c(["\n ","\n "])),this.roles.length?Object(s.e)(o||(o=c(["\n <div>\n <h3 subtitle>",'</h3>\n <input id="checkAll" type="checkbox" @change=',' />\n <label for="checkAll">Check all</label>\n </div>\n\n <ul roles>\n ',"\n </ul>\n "])),this.roleCategory,this.checkAll.bind(this),this.roles.map(t=>Object(s.e)(a||(a=c(['\n <li>\n <input\n id="','"\n type="checkbox"\n .checked=',"\n .data-role=",'\n />\n <label for="','">',"</label>\n </li>\n "])),t.id,e.indexOf(t.id)>=0,t,t.id,t.name))):"")}checkAll(e){var t=e.currentTarget.checked;Array.from(this.renderRoot.querySelectorAll("ul[roles] input[type=checkbox]")).forEach(e=>e.checked=t)}selectedRoles(){return Array.from(this.renderRoot.querySelectorAll("ul[roles] input[type=checkbox]")).filter(e=>e.checked).map(e=>{var{id:t,name:n}=e["data-role"];return{id:t,name:n}})}}customElements.define("role-selector",u)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(904)},function(e,t,n){"use strict";n.r(t);n(94);var r,i,o,a=n(8),s=n(35),c=n(284),u=n(0);n(612);function l(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)}))}}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}class f extends u.a{static get styles(){return Object(u.b)(r||(r=d(["\n :host {\n display: flex;\n flex-direction: column;\n\n border: 1px solid var(--primary-color);\n margin: var(--margin-default);\n padding: var(--padding-default);\n font: normal 15px var(--theme-font);\n color: var(--secondary-color);\n }\n [field-2column] {\n border-radius: var(--border-radius);\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 5px 15px;\n clear: both;\n max-width: var(--input-container-max-width);\n }\n [field] {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--padding-default);\n }\n input {\n border: var(--border-dark-color);\n border-radius: var(--border-radius);\n margin: var(--input-margin);\n padding: var(--input-padding);\n min-width: 250px;\n font: var(--input-font);\n }\n label {\n display: flex;\n flex-direction: column;\n font: var(--label-font);\n color: var(--label-color);\n text-transform: var(--label-text-transform);\n }\n [buttons] {\n margin: 0;\n padding: var(--padding-default);\n background-color: rgba(var(--primary-color-rgb), 0.2);\n }\n mwc-button {\n margin-right: var(--padding-narrow);\n }\n [danger] {\n --mdc-theme-primary: var(--mdc-danger-button-primary-color);\n }\n "])))}static get properties(){return{data:Object,user:Object,client:Object,domain:Object,req:Object,redirectURI:String,transactionID:String,roles:Array}}constructor(){super(),this.data={},this.user={},this.client={},this.domain={},this.req={},this.redirectURI="",this.transactionID="",this.roles=[]}render(){return Object(u.e)(i||(i=d(["\n <h2>Application Binding</h2>\n <p>Hi ","!</p>\n <p><b> "," </b> is requesting access to your account.</p>\n <p>Do you approve?</p>\n\n <form field-2column>\n <div field>\n <label\n >",'\n <input readonly value="','" />\n </label>\n\n <label\n >','\n <input readonly value="','" />\n </label>\n </div>\n\n <div field>\n <label\n >','\n <input readonly value="','" />\n </label>\n\n <label\n >','\n <input readonly value="','" />\n </label>\n </div>\n </form>\n\n <role-selector .roleCategory="','" .roles="','"></role-selector>\n\n <div buttons>\n <mwc-button @click="','" raised label="Allow"></mwc-button>\n <mwc-button @click="','" raised danger label="Deny"></mwc-button>\n </div>\n '])),this.user.name,this.client.name,a.a.t("label.company"),this.domain.subdomain,a.a.t("label.client_id"),this.req.clientID,a.a.t("label.redirect_uri"),this.redirectURI,a.a.t("label.state"),this.req.state,this.domain.name,this.roles,()=>this.decision(!0),()=>this.decision(!1))}get roleSelector(){return this.renderRoot.querySelector("role-selector")}firstUpdated(){var e=this;return p((function*(){e.fetchMyRoles()}))()}updated(e){var t,n,r,i,o,a,s,c,u,l,p;e.has("data")&&(this.user=(null===(t=this.data)||void 0===t||null===(n=t.oauth2)||void 0===n?void 0:n.user)||this.user,this.client=(null===(r=this.data)||void 0===r||null===(i=r.oauth2)||void 0===i?void 0:i.client)||this.client,this.domain=(null===(o=this.data)||void 0===o?void 0:o.domain)||this.domain,this.req=(null===(a=this.data)||void 0===a||null===(s=a.oauth2)||void 0===s?void 0:s.req)||this.req,this.redirectURI=(null===(c=this.data)||void 0===c||null===(u=c.oauth2)||void 0===u?void 0:u.redirectURI)||this.redirectURI,this.transactionID=(null===(l=this.data)||void 0===l||null===(p=l.oauth2)||void 0===p?void 0:p.transactionID)||this.transactionID)}fetchMyRoles(){var e=this;return p((function*(){var t,n=yield s.client.query({query:Object(c.a)(o||(o=d(["\n query myRoles {\n myRoles {\n id\n name\n description\n }\n }\n "])))});null!==(t=n.errors)&&void 0!==t&&t.length||(e.roles=n.data.myRoles)}))()}decision(e){var t=this;return p((function*(){var n=t.selectedRoles();if(!e||null!=n&&n.length){var r={transaction_id:t.transactionID,subdomain:t.domain.subdomain,appKey:t.req.clientID,state:t.req.state,email:t.user.email,scopes:n};e||(r.cancel="Deny");var i=yield fetch("/oauth/decision",{method:"POST",mode:"cors",credentials:"include",headers:{"Content-Type":"application/json"},redirect:"follow",body:JSON.stringify(r)});i.redirected&&(location.href=i.url)}else Object(s.CustomAlert)({title:a.a.t("title.nothing selected"),text:a.a.t("text.should select at least one of x",{x:a.a.t("label.role")}),confirmButton:{text:a.a.t("button.confirm")}})}))()}selectedRoles(){return this.roleSelector.selectedRoles()}}customElements.define("oauth2-decision",f)}]);
|