@flarehr/apollo-benefits 0.1.109 → 0.3.53396
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/README.md +19 -0
- package/dist/assets/@splitsoftware-7d799540.js +18 -0
- package/dist/assets/all_tab_color-548783b9.svg +21 -0
- package/dist/assets/all_tab_gray-a5051313.svg +6 -0
- package/dist/assets/check-57fe1dcb.svg +15 -0
- package/dist/assets/datadog-c7ede347.js +5 -0
- package/dist/assets/date-fns-c5d8fbc0.js +1 -0
- package/dist/assets/default_backdrop-fdd955b8.png +0 -0
- package/dist/assets/external_link-599a0aec.svg +3 -0
- package/dist/assets/external_link_white-55111b2e.svg +3 -0
- package/dist/assets/framer-motion-bb8d6b82.js +1 -0
- package/dist/assets/index-87923fdc.js +35 -0
- package/dist/assets/index-cfa25e28.css +1 -0
- package/dist/assets/index-ee9d2045.js +5 -0
- package/dist/assets/lodash-5d893f8c.js +1 -0
- package/dist/assets/logo-a34e9b4b.png +0 -0
- package/dist/assets/oidc-client-6f6e47c2.js +101 -0
- package/dist/assets/padlock-8c081120.svg +26 -0
- package/dist/assets/suitcase-6471ad05.svg +17 -0
- package/dist/assets/vendor-2d0139ca.js +788 -0
- package/dist/assets/warning-a7f1af23.svg +14 -0
- package/dist/assets/welcome_image_mobile-dbde6c80.png +0 -0
- package/dist/assets/welcome_image_v2-869c59e4.png +0 -0
- package/dist/assets/wellbeing_banner-6903d615.png +0 -0
- package/dist/assets/workplace_link_banner_mobile-6ebaa24b.png +0 -0
- package/dist/assets/workplace_link_banner_v2-c81ed849.png +0 -0
- package/dist/config.json +14 -0
- package/dist/favicon.ico +0 -0
- package/dist/icons/android-chrome-192x192.png +0 -0
- package/dist/icons/android-chrome-512x512.png +0 -0
- package/dist/icons/apple-touch-icon.png +0 -0
- package/dist/icons/favicon-16x16.png +0 -0
- package/dist/icons/favicon-32x32.png +0 -0
- package/dist/index.html +114 -0
- package/dist/manifest.json +21 -0
- package/dist/sw-esm.js +16 -0
- package/package.json +129 -60
- package/LICENSE +0 -21
- package/dist/lib/apollo-benefits/apollo-benefits.esm.js +0 -1
- package/dist/lib/apollo-benefits/assets/car-placeholder.svg +0 -5
- package/dist/lib/apollo-benefits/assets/check.svg +0 -13
- package/dist/lib/apollo-benefits/index.esm.js +0 -0
- package/dist/lib/apollo-benefits/p-06a1f65f.js +0 -1
- package/dist/lib/apollo-benefits/p-077d7f8d.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-14054f15.js +0 -1
- package/dist/lib/apollo-benefits/p-24a37d64.js +0 -1
- package/dist/lib/apollo-benefits/p-2b3f3b72.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-3111d565.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-327396fa.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-3d4d2683.js +0 -1
- package/dist/lib/apollo-benefits/p-4474bcf8.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-4bff99bd.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-50fe790f.js +0 -1
- package/dist/lib/apollo-benefits/p-53bcbd1d.js +0 -1
- package/dist/lib/apollo-benefits/p-68c136da.js +0 -1
- package/dist/lib/apollo-benefits/p-6bd16f5b.js +0 -1
- package/dist/lib/apollo-benefits/p-71dbc8ff.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-774d9bc5.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-7a2ca86d.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-7a572b50.js +0 -1
- package/dist/lib/apollo-benefits/p-7c2cd94a.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-839493d7.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-a24d169b.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-b33fc683.js +0 -1
- package/dist/lib/apollo-benefits/p-beb8f728.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-e241f55b.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-e28cee25.js +0 -1
- package/dist/lib/apollo-benefits/p-e3cf51f1.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-ef8ea713.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-f0a7c9fa.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-f603197d.js +0 -15
- package/dist/lib/cjs/active-router-0ecaf2b8.js +0 -75
- package/dist/lib/cjs/ap-ben-choose-vehicle-section_4.cjs.entry.js +0 -2708
- package/dist/lib/cjs/ap-ben-complete-section_4.cjs.entry.js +0 -108
- package/dist/lib/cjs/ap-ben-notifications-section.cjs.entry.js +0 -238
- package/dist/lib/cjs/apollo-benefits.cjs.js +0 -25
- package/dist/lib/cjs/app-globals-67583b8b.js +0 -12
- package/dist/lib/cjs/async-6a7926f0.js +0 -753
- package/dist/lib/cjs/cars-calculator-app.cjs.entry.js +0 -55
- package/dist/lib/cjs/cars-calculator.service-c0e51584.js +0 -904
- package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
- package/dist/lib/cjs/datorama-akita-31d23240.js +0 -2551
- package/dist/lib/cjs/delay-d31618c3.js +0 -206
- package/dist/lib/cjs/distinctUntilChanged-e8538790.js +0 -371
- package/dist/lib/cjs/dom-utils-b8befdd5.js +0 -63
- package/dist/lib/cjs/fl-button_2.cjs.entry.js +0 -50
- package/dist/lib/cjs/fl-dropdown-async_2.cjs.entry.js +0 -467
- package/dist/lib/cjs/fl-dropdown.cjs.entry.js +0 -232
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -91
- package/dist/lib/cjs/index-f1fadf90.js +0 -1735
- package/dist/lib/cjs/index.cjs.js +0 -2
- package/dist/lib/cjs/loader.cjs.js +0 -27
- package/dist/lib/cjs/location-utils-36fe7e5e.js +0 -237
- package/dist/lib/cjs/match-path-be4ea5f6.js +0 -279
- package/dist/lib/cjs/session.query-d61ba7ec.js +0 -1731
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route-link.cjs.entry.js +0 -78
- package/dist/lib/cjs/stencil-route-switch.cjs.entry.js +0 -104
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route.cjs.entry.js +0 -97
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-router.cjs.entry.js +0 -640
- package/dist/lib/collection/assets/image/complete.svg +0 -122
- package/dist/lib/collection/collection-manifest.json +0 -53
- package/dist/lib/collection/components/cars-calculator-app/api/api-client.js +0 -5
- package/dist/lib/collection/components/cars-calculator-app/api/cars-calculator.api.js +0 -45
- package/dist/lib/collection/components/cars-calculator-app/cars-calculator-app.css +0 -22
- package/dist/lib/collection/components/cars-calculator-app/cars-calculator-app.js +0 -97
- package/dist/lib/collection/components/cars-calculator-app/modal-section/modal-section.css +0 -0
- package/dist/lib/collection/components/cars-calculator-app/modal-section/modal-section.js +0 -144
- package/dist/lib/collection/components/cars-calculator-app/notifications-section/notifications-section.js +0 -25
- package/dist/lib/collection/components/cars-calculator-app/pages/assets/car-placeholder.svg +0 -5
- package/dist/lib/collection/components/cars-calculator-app/pages/assets/check.svg +0 -13
- package/dist/lib/collection/components/cars-calculator-app/pages/choose-vehicle-section.component.js +0 -196
- package/dist/lib/collection/components/cars-calculator-app/pages/complete-section.component.js +0 -38
- package/dist/lib/collection/components/cars-calculator-app/pages/cost-breakdown-section.component.js +0 -45
- package/dist/lib/collection/components/cars-calculator-app/pages/model-variants-section.component.css +0 -34
- package/dist/lib/collection/components/cars-calculator-app/pages/model-variants-section.component.js +0 -85
- package/dist/lib/collection/components/cars-calculator-app/pages/personal-info-section.component.js +0 -66
- package/dist/lib/collection/components/cars-calculator-app/pages/quote-result-section.component.js +0 -86
- package/dist/lib/collection/components/cars-calculator-app/pages/submit-quote-section.component.js +0 -75
- package/dist/lib/collection/components/cars-calculator-app/services/app-configuration.service.js +0 -13
- package/dist/lib/collection/components/cars-calculator-app/services/cars-calculator.service.js +0 -106
- package/dist/lib/collection/components/cars-calculator-app/services/notifications.service.js +0 -37
- package/dist/lib/collection/components/cars-calculator-app/services/notifications.store.js +0 -3
- package/dist/lib/collection/components/cars-calculator-app/services/session.query.js +0 -35
- package/dist/lib/collection/components/cars-calculator-app/services/session.store.js +0 -78
- package/dist/lib/collection/global/config.js +0 -2
- package/dist/lib/collection/global/main.dev.js +0 -5
- package/dist/lib/collection/global/main.js +0 -5
- package/dist/lib/collection/index.js +0 -2
- package/dist/lib/collection/utils/config.js +0 -2
- package/dist/lib/collection/utils/index.js +0 -15
- package/dist/lib/collection/utils/lazy.js +0 -29
- package/dist/lib/esm/active-router-7c2ca849.js +0 -73
- package/dist/lib/esm/ap-ben-choose-vehicle-section_4.entry.js +0 -2701
- package/dist/lib/esm/ap-ben-complete-section_4.entry.js +0 -101
- package/dist/lib/esm/ap-ben-notifications-section.entry.js +0 -234
- package/dist/lib/esm/apollo-benefits.js +0 -23
- package/dist/lib/esm/app-globals-65714cca.js +0 -10
- package/dist/lib/esm/async-68e9cad7.js +0 -738
- package/dist/lib/esm/cars-calculator-app.entry.js +0 -51
- package/dist/lib/esm/cars-calculator.service-27826530.js +0 -897
- package/dist/lib/esm/context-consumer.entry.js +0 -25
- package/dist/lib/esm/datorama-akita-c87196a0.js +0 -2545
- package/dist/lib/esm/delay-115d4292.js +0 -200
- package/dist/lib/esm/distinctUntilChanged-bf69e0f8.js +0 -363
- package/dist/lib/esm/dom-utils-109a7d75.js +0 -55
- package/dist/lib/esm/fl-button_2.entry.js +0 -45
- package/dist/lib/esm/fl-dropdown-async_2.entry.js +0 -462
- package/dist/lib/esm/fl-dropdown.entry.js +0 -228
- package/dist/lib/esm/fl-style-guide.entry.js +0 -87
- package/dist/lib/esm/index-19c4d245.js +0 -1703
- package/dist/lib/esm/index.js +0 -1
- package/dist/lib/esm/loader.js +0 -23
- package/dist/lib/esm/location-utils-312665d3.js +0 -226
- package/dist/lib/esm/match-path-4b5c7d98.js +0 -276
- package/dist/lib/esm/polyfills/core-js.js +0 -11
- package/dist/lib/esm/polyfills/css-shim.js +0 -1
- package/dist/lib/esm/polyfills/dom.js +0 -79
- package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
- package/dist/lib/esm/polyfills/index.js +0 -34
- package/dist/lib/esm/polyfills/system.js +0 -6
- package/dist/lib/esm/session.query-0f1c9503.js +0 -1719
- package/dist/lib/esm/stencil-async-content.entry.js +0 -28
- package/dist/lib/esm/stencil-route-link.entry.js +0 -74
- package/dist/lib/esm/stencil-route-switch.entry.js +0 -100
- package/dist/lib/esm/stencil-route-title.entry.js +0 -28
- package/dist/lib/esm/stencil-route.entry.js +0 -93
- package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
- package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/lib/esm/stencil-router.entry.js +0 -636
- package/dist/lib/index.cjs.js +0 -1
- package/dist/lib/index.js +0 -1
- package/dist/lib/loader/cdn.js +0 -3
- package/dist/lib/loader/index.cjs.js +0 -3
- package/dist/lib/loader/index.d.ts +0 -13
- package/dist/lib/loader/index.es2017.js +0 -3
- package/dist/lib/loader/index.js +0 -4
- package/dist/lib/loader/package.json +0 -10
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
- package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
- package/dist/lib/types/components/cars-calculator-app/api/api-client.d.ts +0 -2
- package/dist/lib/types/components/cars-calculator-app/api/cars-calculator.api.d.ts +0 -99
- package/dist/lib/types/components/cars-calculator-app/cars-calculator-app.d.ts +0 -17
- package/dist/lib/types/components/cars-calculator-app/modal-section/modal-section.d.ts +0 -16
- package/dist/lib/types/components/cars-calculator-app/notifications-section/notifications-section.d.ts +0 -5
- package/dist/lib/types/components/cars-calculator-app/pages/choose-vehicle-section.component.d.ts +0 -23
- package/dist/lib/types/components/cars-calculator-app/pages/complete-section.component.d.ts +0 -5
- package/dist/lib/types/components/cars-calculator-app/pages/cost-breakdown-section.component.d.ts +0 -6
- package/dist/lib/types/components/cars-calculator-app/pages/model-variants-section.component.d.ts +0 -12
- package/dist/lib/types/components/cars-calculator-app/pages/personal-info-section.component.d.ts +0 -10
- package/dist/lib/types/components/cars-calculator-app/pages/quote-result-section.component.d.ts +0 -13
- package/dist/lib/types/components/cars-calculator-app/pages/submit-quote-section.component.d.ts +0 -10
- package/dist/lib/types/components/cars-calculator-app/services/app-configuration.service.d.ts +0 -7
- package/dist/lib/types/components/cars-calculator-app/services/cars-calculator.service.d.ts +0 -11
- package/dist/lib/types/components/cars-calculator-app/services/notifications.service.d.ts +0 -15
- package/dist/lib/types/components/cars-calculator-app/services/notifications.store.d.ts +0 -14
- package/dist/lib/types/components/cars-calculator-app/services/session.query.d.ts +0 -25
- package/dist/lib/types/components/cars-calculator-app/services/session.store.d.ts +0 -77
- package/dist/lib/types/components.d.ts +0 -170
- package/dist/lib/types/global/config.d.ts +0 -2
- package/dist/lib/types/global/main.d.ts +0 -1
- package/dist/lib/types/global/main.dev.d.ts +0 -1
- package/dist/lib/types/index.d.ts +0 -2
- package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
- package/dist/lib/types/utils/config.d.ts +0 -2
- package/dist/lib/types/utils/index.d.ts +0 -7
- package/dist/lib/types/utils/lazy.d.ts +0 -12
- package/readme.md +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="44" height="45" viewBox="0 0 44 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="o-warning 1" clip-path="url(#clip0_2388_1087)">
|
|
3
|
+
<g id="Group">
|
|
4
|
+
<path id="Vector" d="M22.0005 10.4258V26.7662" stroke="#DC2626" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path id="Vector_2" d="M22.0005 36.2985C23.1051 36.2985 24.0005 35.384 24.0005 34.2559C24.0005 33.1279 23.1051 32.2134 22.0005 32.2134C20.8959 32.2134 20.0005 33.1279 20.0005 34.2559C20.0005 35.384 20.8959 36.2985 22.0005 36.2985Z" fill="#DC2626"/>
|
|
6
|
+
<path id="Vector_3" d="M30.2845 2.25586H13.7165L2.00049 14.2211V31.1416L13.7165 43.1069H30.2845L42.0005 31.1416V14.2211L30.2845 2.25586Z" stroke="#111827" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
</g>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_2388_1087">
|
|
11
|
+
<rect width="42.6667" height="43.5745" fill="white" transform="translate(0.666992 0.894043)"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"oidcAuthority": "__OIDC_AUTHORITY",
|
|
3
|
+
"apiBaseUrl": "__API_BASE_URL",
|
|
4
|
+
"apiGatewayBaseUrl": "__API_GATEWAY_BASE_URL",
|
|
5
|
+
"apolloBaseUrl": "__APOLLO_BASE_URL",
|
|
6
|
+
"apiV2BaseUrl": "__API_V2_BASE_URL",
|
|
7
|
+
"workplaceBackendUrl": "__WORKPLACE_BACKEND_URL",
|
|
8
|
+
"appInsightsKey": "__APP_INSIGHTS_KEY",
|
|
9
|
+
"contentfulSpace": "hos0i9i3wvo7",
|
|
10
|
+
"contentfulEnvironment": "__CONTENTFUL_ENVIRONMENT",
|
|
11
|
+
"contentfulApiKey": "pZ8KQVJZ8iSqixnowan6aKl9xmpE61FDPJvyAB49bpY",
|
|
12
|
+
"carsCalculatorUrl": "https://www.flarehr.com/cars/calculator",
|
|
13
|
+
"splitAuthorizationKey": "__SPLIT_AUTHORIZATION_KEY"
|
|
14
|
+
}
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<script>
|
|
7
|
+
(function (w, d, s, l, i) {
|
|
8
|
+
w[l] = w[l] || [];
|
|
9
|
+
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
|
|
10
|
+
var f = d.getElementsByTagName(s)[0],
|
|
11
|
+
j = d.createElement(s),
|
|
12
|
+
dl = l != 'dataLayer' ? '&l=' + l : '';
|
|
13
|
+
j.async = true;
|
|
14
|
+
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
|
|
15
|
+
f.parentNode.insertBefore(j, f);
|
|
16
|
+
})(window, document, 'script', 'dataLayer', 'GTM-WFKJ7G4H');
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<meta charset="utf-8" >
|
|
21
|
+
<title>Flare Benefits</title>
|
|
22
|
+
<meta name="viewport" content="width=device-width,initial-scale=1" >
|
|
23
|
+
<meta name="mobile-web-app-capable" content="yes" >
|
|
24
|
+
<meta name="apple-mobile-web-app-capable" content="yes" >
|
|
25
|
+
<link rel="apple-touch-icon" href="./icons/apple-touch-icon.png" >
|
|
26
|
+
<link rel="icon" type="image/x-icon" href="./favicon.ico">
|
|
27
|
+
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" >
|
|
28
|
+
<link rel="manifest" href="./manifest.json" >
|
|
29
|
+
<script>
|
|
30
|
+
!(function () {
|
|
31
|
+
var analytics = (window.analytics = window.analytics || []);
|
|
32
|
+
if (!analytics.initialize)
|
|
33
|
+
if (analytics.invoked)
|
|
34
|
+
window.console && console.error && console.error('Segment snippet included twice.');
|
|
35
|
+
else {
|
|
36
|
+
analytics.invoked = !0;
|
|
37
|
+
analytics.methods = [
|
|
38
|
+
'trackSubmit',
|
|
39
|
+
'trackClick',
|
|
40
|
+
'trackLink',
|
|
41
|
+
'trackForm',
|
|
42
|
+
'pageview',
|
|
43
|
+
'identify',
|
|
44
|
+
'reset',
|
|
45
|
+
'group',
|
|
46
|
+
'track',
|
|
47
|
+
'ready',
|
|
48
|
+
'alias',
|
|
49
|
+
'debug',
|
|
50
|
+
'page',
|
|
51
|
+
'once',
|
|
52
|
+
'off',
|
|
53
|
+
'on',
|
|
54
|
+
'addSourceMiddleware',
|
|
55
|
+
'addIntegrationMiddleware',
|
|
56
|
+
'setAnonymousId',
|
|
57
|
+
'addDestinationMiddleware'
|
|
58
|
+
];
|
|
59
|
+
analytics.factory = function (e) {
|
|
60
|
+
return function () {
|
|
61
|
+
var t = Array.prototype.slice.call(arguments);
|
|
62
|
+
t.unshift(e);
|
|
63
|
+
analytics.push(t);
|
|
64
|
+
return analytics;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
for (var e = 0; e < analytics.methods.length; e++) {
|
|
68
|
+
var key = analytics.methods[e];
|
|
69
|
+
analytics[key] = analytics.factory(key);
|
|
70
|
+
}
|
|
71
|
+
analytics.load = function (key, e) {
|
|
72
|
+
var t = document.createElement('script');
|
|
73
|
+
t.type = 'text/javascript';
|
|
74
|
+
t.async = !0;
|
|
75
|
+
t.src = 'https://cdn.segment.com/analytics.js/v1/' + key + '/analytics.min.js';
|
|
76
|
+
var n = document.getElementsByTagName('script')[0];
|
|
77
|
+
n.parentNode.insertBefore(t, n);
|
|
78
|
+
analytics._loadOptions = e;
|
|
79
|
+
};
|
|
80
|
+
analytics._writeKey = '';
|
|
81
|
+
analytics.SNIPPET_VERSION = '4.15.2';
|
|
82
|
+
analytics.load('');
|
|
83
|
+
analytics.page();
|
|
84
|
+
}
|
|
85
|
+
})();
|
|
86
|
+
</script>
|
|
87
|
+
<script type="module" crossorigin src="/benefits/app/assets/index-ee9d2045.js"></script>
|
|
88
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/lodash-5d893f8c.js">
|
|
89
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/vendor-2d0139ca.js">
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/oidc-client-6f6e47c2.js">
|
|
91
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/@splitsoftware-7d799540.js">
|
|
92
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/date-fns-c5d8fbc0.js">
|
|
93
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/framer-motion-bb8d6b82.js">
|
|
94
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/datadog-c7ede347.js">
|
|
95
|
+
<link rel="stylesheet" href="/benefits/app/assets/index-cfa25e28.css">
|
|
96
|
+
</head>
|
|
97
|
+
<body>
|
|
98
|
+
<script type="module" src="https://npm-cdn.flarehr.com/@flarehr/salpac-cars-calculator@__ENVIRONMENT/dist/salpac-cars-calculator.js"></script>
|
|
99
|
+
<script type="module" src="https://npm-cdn.flarehr.com/@flarehr/apollo-customer-workplace-link@__ENVIRONMENT/build/bundle.esm.js"></script>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<noscript ><iframe
|
|
104
|
+
src="https://www.googletagmanager.com/ns.html?id=GTM-WFKJ7G4H"
|
|
105
|
+
height="0"
|
|
106
|
+
width="0"
|
|
107
|
+
style="display: none; visibility: hidden"
|
|
108
|
+
></iframe
|
|
109
|
+
></noscript>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</body>
|
|
114
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Flare Benefits",
|
|
3
|
+
"short_name": "Flare Benefits",
|
|
4
|
+
"start_url": "/",
|
|
5
|
+
"display": "standalone",
|
|
6
|
+
"orientation": "portrait",
|
|
7
|
+
"background_color": "#fff",
|
|
8
|
+
"theme_color": "#673ab8",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "./icons/android-chrome-192x192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "./icons/android-chrome-512x512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
package/dist/sw-esm.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// To deregister the current service worker.
|
|
2
|
+
// Can be removed when we are confident all client services workers are deregistered (~1 year)
|
|
3
|
+
|
|
4
|
+
self.addEventListener('install', function(_) {
|
|
5
|
+
self.skipWaiting();
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
self.addEventListener('activate', function(_) {
|
|
9
|
+
self.registration.unregister()
|
|
10
|
+
.then(function() {
|
|
11
|
+
return self.clients.matchAll();
|
|
12
|
+
})
|
|
13
|
+
.then(function(clients) {
|
|
14
|
+
clients.forEach(client => client.navigate(client.url))
|
|
15
|
+
});
|
|
16
|
+
});
|
package/package.json
CHANGED
|
@@ -1,73 +1,142 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/apollo-benefits",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"module": "dist/lib/index.js",
|
|
7
|
-
"es2015": "dist/lib/esm/index.mjs",
|
|
8
|
-
"es2017": "dist/lib/esm/index.mjs",
|
|
9
|
-
"types": "dist/lib/types/index.d.ts",
|
|
10
|
-
"collection": "dist/lib/collection/collection-manifest.json",
|
|
11
|
-
"collection:main": "dist/lib/collection/index.js",
|
|
12
|
-
"unpkg": "dist/lib/apollo-benefits/apollo-benefits.js",
|
|
3
|
+
"version": "0.3.53396",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Flare Benefits",
|
|
13
6
|
"files": [
|
|
14
|
-
"dist/
|
|
7
|
+
"dist/"
|
|
15
8
|
],
|
|
16
9
|
"scripts": {
|
|
17
|
-
"
|
|
18
|
-
"build
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
10
|
+
"dev": "vite --debug",
|
|
11
|
+
"build": "tsc && vite build",
|
|
12
|
+
"preview": "vite preview",
|
|
13
|
+
"analyze": "npx vite-bundle-visualizer",
|
|
14
|
+
"dev:api": "cd ../api/Benefits.Api && func start --build",
|
|
15
|
+
"typescript": "tsc",
|
|
16
|
+
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
|
17
|
+
"lint:fix": "eslint src/**/*.{js,jsx,ts,tsx} --fix",
|
|
18
|
+
"lint:staged": "lint-staged --config ./lint-staged.config.js",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"test:watch": "jest --watch",
|
|
21
|
+
"prepare": "cd .. && husky install benefits-client/.husky"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@babel/plugin-proposal-decorators": "^7.23.2",
|
|
25
|
+
"@contentful/rich-text-react-renderer": "^15.11.1",
|
|
26
|
+
"@datadog/browser-rum": "^5.1.0",
|
|
27
|
+
"@datorama/akita": "^8.0.1",
|
|
28
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
29
|
+
"@fortawesome/pro-duotone-svg-icons": "^6.4.2",
|
|
30
|
+
"@fortawesome/pro-light-svg-icons": "^6.4.2",
|
|
31
|
+
"@fortawesome/pro-regular-svg-icons": "^6.4.2",
|
|
32
|
+
"@fortawesome/pro-solid-svg-icons": "^6.4.2",
|
|
33
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
34
|
+
"@headlessui/react": "^1.7.16",
|
|
35
|
+
"@heroicons/react": "^2.0.12",
|
|
36
|
+
"@juggle/resize-observer": "^3.3.1",
|
|
37
|
+
"@microsoft/applicationinsights-web": "^2.6.5",
|
|
38
|
+
"@popperjs/core": "^2.9.3",
|
|
39
|
+
"@splitsoftware/splitio-react": "^1.11.0",
|
|
40
|
+
"@typeform/embed-react": "^3.9.0",
|
|
41
|
+
"contentful": "^9.1.13",
|
|
42
|
+
"date-fns": "^2.23.0",
|
|
43
|
+
"flowbite-datepicker": "^1.2.1",
|
|
44
|
+
"formik": "^2.2.9",
|
|
45
|
+
"fp-ts": "^2.11.1",
|
|
46
|
+
"framer-motion": "^10.16.4",
|
|
47
|
+
"history": "^5.0.0",
|
|
48
|
+
"immer": "^9.0.6",
|
|
49
|
+
"is-primitive": "^3.0.1",
|
|
50
|
+
"jwt-decode": "^3.1.2",
|
|
51
|
+
"mime": "^2.5.2",
|
|
52
|
+
"oidc-client": "^1.11.5",
|
|
53
|
+
"preact": "^10.16.0",
|
|
54
|
+
"preact-iso": "^2.3.2",
|
|
55
|
+
"preact-render-to-string": "^5.1.19",
|
|
56
|
+
"preact-router": "^3.2.1",
|
|
57
|
+
"rxjs": "^7.8.1",
|
|
58
|
+
"smoothscroll-polyfill": "^0.4.4",
|
|
59
|
+
"ts-pattern": "^3.2.4",
|
|
60
|
+
"uuid": "^8.3.2",
|
|
61
|
+
"wretch": "^2.3.2",
|
|
62
|
+
"yup": "^0.32.9"
|
|
26
63
|
},
|
|
27
64
|
"devDependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
65
|
+
"@babel/plugin-syntax-decorators": "^7.22.10",
|
|
66
|
+
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
67
|
+
"@babel/preset-env": "^7.24.3",
|
|
68
|
+
"@babel/preset-typescript": "^7.23.2",
|
|
69
|
+
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
70
|
+
"@preact/preset-vite": "^2.6.0",
|
|
71
|
+
"@rollup/plugin-replace": "^2.4.2",
|
|
72
|
+
"@tailwindcss/forms": "^0.5.2",
|
|
73
|
+
"@tailwindcss/typography": "^0.5.2",
|
|
74
|
+
"@testing-library/jest-dom": "^4.2.4",
|
|
75
|
+
"@testing-library/preact": "^3.2.3",
|
|
76
|
+
"@types/enzyme": "^3.10.9",
|
|
77
|
+
"@types/jest": "^29.5.12",
|
|
78
|
+
"@types/mime": "^2.0.3",
|
|
79
|
+
"@types/node": "^15.6.1",
|
|
80
|
+
"@types/resize-observer-browser": "^0.1.6",
|
|
81
|
+
"@types/segment-analytics": "^0.0.34",
|
|
82
|
+
"@types/smoothscroll-polyfill": "^0.3.1",
|
|
83
|
+
"@types/tailwindcss": "^3.0.11",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
85
|
+
"@typescript-eslint/parser": "^6.8.0",
|
|
86
|
+
"autoprefixer": "10.4.5",
|
|
87
|
+
"babel-jest": "^29.7.0",
|
|
88
|
+
"browserslist-useragent-regexp": "^3.0.0",
|
|
89
|
+
"copy-webpack-plugin": "^6.4.1",
|
|
38
90
|
"cross-zip": "^4.0.0",
|
|
39
91
|
"env-cmd": "^10.1.0",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"eslint
|
|
43
|
-
"eslint-
|
|
92
|
+
"enzyme": "^3.11.0",
|
|
93
|
+
"enzyme-adapter-preact-pure": "^3.1.0",
|
|
94
|
+
"eslint": "^8.49.0",
|
|
95
|
+
"eslint-config-preact": "^1.3.0",
|
|
96
|
+
"eslint-config-prettier": "^9.0.0",
|
|
97
|
+
"eslint-plugin-jest": "^27.2.3",
|
|
98
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
44
99
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
45
|
-
"eslint-plugin-unused-imports": "^
|
|
46
|
-
"husky": "^
|
|
47
|
-
"jest": "^
|
|
48
|
-
"jest-cli": "^
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
100
|
+
"eslint-plugin-unused-imports": "^3.0.0",
|
|
101
|
+
"husky": "^6.0.0",
|
|
102
|
+
"jest": "^29.0.0",
|
|
103
|
+
"jest-cli": "^28.1.3",
|
|
104
|
+
"jest-preset-preact": "^4.1.0",
|
|
105
|
+
"jest-svg-transformer": "^1.0.0",
|
|
106
|
+
"jest-transform-stub": "^2.0.0",
|
|
107
|
+
"lint-staged": "^11.1.2",
|
|
108
|
+
"postcss": "^8.4.14",
|
|
109
|
+
"prettier": "^3.0.3",
|
|
110
|
+
"rollup-plugin-ignore": "^1.0.9",
|
|
111
|
+
"sirv-cli": "^1.0.12",
|
|
112
|
+
"tailwindcss": "^3.1.4",
|
|
113
|
+
"typescript": "^5.1.6",
|
|
114
|
+
"vite": "^4.5.0",
|
|
115
|
+
"vite-plugin-commonjs": "^0.10.0",
|
|
116
|
+
"vite-plugin-html": "^3.2.0",
|
|
117
|
+
"vite-plugin-pwa": "^0.16.5",
|
|
118
|
+
"vite-plugin-static-copy": "^0.17.0",
|
|
119
|
+
"workbox-build": "^6.5.3",
|
|
120
|
+
"workbox-webpack-plugin": "^6.5.3"
|
|
66
121
|
},
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
122
|
+
"overrides": {
|
|
123
|
+
"autoprefixer": "10.4.5",
|
|
124
|
+
"ini": "1.3.8",
|
|
125
|
+
"set-value": "4.1.0",
|
|
126
|
+
"glob-parent": "6.0.2",
|
|
127
|
+
"minimist": "1.2.6"
|
|
71
128
|
},
|
|
72
|
-
"
|
|
129
|
+
"browserslist": [
|
|
130
|
+
"last 2 versions",
|
|
131
|
+
"and_chr >= 80.0.3987.99",
|
|
132
|
+
"samsung > 8",
|
|
133
|
+
"chrome >= 64",
|
|
134
|
+
"ios_saf > 11",
|
|
135
|
+
"safari >= 11.1",
|
|
136
|
+
"firefox >= 70",
|
|
137
|
+
"edge >= 80",
|
|
138
|
+
"opera >= 51",
|
|
139
|
+
"not dead",
|
|
140
|
+
"not IE 11"
|
|
141
|
+
]
|
|
73
142
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-50fe790f.js";import"./p-f603197d.js";import"./p-68c136da.js";import"./p-b33fc683.js";import"./p-24a37d64.js";import{g as o}from"./p-7a572b50.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>(o(),t([["p-f0a7c9fa",[[1,"cars-calculator-app",{apiBaseUrl:[1,"api-base-url"],areStylesLoaded:[32],isModelSelected:[32],isVariantSelected:[32],isQuoteCalculated:[32]}]]],["p-4474bcf8",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-ef8ea713",[[0,"ap-ben-notifications-section"]]],["p-2b3f3b72",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-71dbc8ff",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-327396fa",[[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]],["p-077d7f8d",[[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}]]],["p-7c2cd94a",[[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}]]],["p-3111d565",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-774d9bc5",[[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}]]],["p-7a2ca86d",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-e241f55b",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-a24d169b",[[0,"fl-loading-indicator",{theme:[1]}],[4,"fl-button",{isBlockElement:[4,"is-block-element"],disabled:[4],variant:[1]}]]],["p-839493d7",[[4,"fl-promise-button",{isBlockElement:[4,"is-block-element"],isRounded:[4,"is-rounded"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[0,"fl-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]]]],["p-beb8f728",[[0,"fl-dropdown",{placeholder:[1],options:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]]]],["p-e3cf51f1",[[0,"ap-ben-complete-section"],[4,"ap-ben-modal-section",{show:[8],modalTitle:[8,"modal-title"],showFooter:[4,"show-footer"],showHeader:[4,"show-header"]}],[0,"ap-ben-submit-quote-section",{userDetails:[32]}],[0,"ap-ben-cost-breakdown-section",{quote:[16]}]]],["p-4bff99bd",[[0,"ap-ben-quote-result-section",{quote:[32],showRequestQuoteModal:[32],showBreakdownModal:[32],showCompletePage:[32]}],[0,"ap-ben-model-variants-section",{variantsList:[32],selectedVariant:[32]}],[0,"ap-ben-choose-vehicle-section",{makeList:[32],modelList:[32],yearList:[32],bodyTypeList:[32],vehicleInfo:[32]}],[0,"ap-ben-personal-info-section",{userInfo:[32]}]]]],e))));
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="150" height="50" viewBox="0 0 150 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M147.859 27.2664C147.859 27.2664 147.49 21.3963 146.743 19.2433C145.999 17.0924 146.546 17.6277 146.053 16.1782C146.053 16.1782 143.395 15.9454 142.648 16.0886C134.017 16.4473 114.222 1.89957 98.524 0.393849C98.524 0.393849 67.4955 -0.642153 61.8405 0.64636C56.1856 1.9366 43.3008 14.0127 41.2199 14.5146C30.5077 14.9425 3.2471 24.7294 3.2471 24.7294C2.50302 25.2314 1.90757 29.1369 1.90757 29.1369L2.27984 30.1407C-0.771056 32.8674 0.121669 38.603 0.121669 38.603L0.986842 42.5865L2.27984 41.1099C-0.247905 42.2569 1.61029 43.2612 1.61029 43.2612L7.26526 43.6934C9.01838 44.2178 14.8966 44.4013 19.0306 44.4307C18.4495 43.0167 18.119 41.4824 18.119 39.8711C18.119 33.0175 23.9042 27.4434 31.0173 27.4434C38.1277 27.4434 43.9156 33.0175 43.9156 39.8711C43.9156 41.3587 43.6273 42.7818 43.1275 44.1079L109.348 44.0006C108.874 42.7052 108.602 41.321 108.602 39.8711C108.602 33.0175 114.388 27.4434 121.501 27.4434C128.611 27.4434 134.399 33.0175 134.399 39.8711C134.399 41.1458 134.197 42.3781 133.825 43.5368C140.415 42.0691 148.091 41.0407 148.091 41.0407L149.504 39.2481C149.504 39.2481 150.62 31.5772 149.504 30.3579C148.387 29.1416 147.859 27.2664 147.859 27.2664Z" fill="#D0D0D0"/>
|
|
3
|
-
<path d="M31.0143 49.9995C35.2439 49.9995 38.8669 47.5773 40.5365 44.1073C41.1571 42.8144 41.5294 41.3875 41.5294 39.8657C41.5294 34.269 36.8206 29.7324 31.0125 29.7324C25.2039 29.7324 20.4951 34.2669 20.4951 39.8657C20.4951 41.5129 20.9415 43.0476 21.6672 44.4205C23.4059 47.7188 26.9148 49.9995 31.0143 49.9995Z" fill="#D0D0D0"/>
|
|
4
|
-
<path d="M121.495 49.9995C125.676 49.9995 129.257 47.6288 130.95 44.2237C131.611 42.9014 132.01 41.432 132.01 39.8657C132.01 34.269 127.301 29.7324 121.493 29.7324C115.684 29.7324 110.976 34.2669 110.976 39.8657C110.976 41.3377 111.317 42.7292 111.903 43.9904C113.55 47.5263 117.217 49.9995 121.495 49.9995Z" fill="#D0D0D0"/>
|
|
5
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0)">
|
|
3
|
-
<path d="M19.6095 10C19.6095 15.3072 15.3072 19.6095 10 19.6095C4.69284 19.6095 0.390625 15.3072 0.390625 10C0.390625 4.69284 4.69284 0.390625 10 0.390625C15.3072 0.390625 19.6095 4.69284 19.6095 10Z" fill="white"/>
|
|
4
|
-
<path d="M13.3468 5.46326L8.69177 10.1183L6.65411 8.0806L4.44434 10.2904L6.48199 12.328L8.69177 14.5377L15.5564 7.67303L13.3468 5.46326Z" fill="#FDBD00"/>
|
|
5
|
-
<path d="M8.69177 14.9283C8.58817 14.9283 8.48883 14.8871 8.41559 14.8138L4.16815 10.5666C4.01556 10.414 4.01556 10.1666 4.16815 10.014L6.37778 7.80441C6.53036 7.65182 6.77771 7.65182 6.9303 7.80441L8.69177 9.56589L13.0704 5.18707C13.1437 5.11383 13.2432 5.07263 13.3468 5.07263C13.4502 5.07263 13.5497 5.11383 13.623 5.18707L15.8326 7.39685C15.9852 7.54929 15.9852 7.79663 15.8326 7.94922L8.96796 14.814C8.89471 14.8872 8.79538 14.9283 8.69177 14.9283ZM4.99686 10.2904L8.69177 13.9853L15.004 7.67303L13.3468 6.01562L8.96796 10.3944C8.81537 10.547 8.56802 10.547 8.41559 10.3944L6.65411 8.63297L4.99686 10.2904Z" fill="black"/>
|
|
6
|
-
<path d="M9.99756 20C9.74243 20 9.487 19.9902 9.23111 19.9707C6.85471 19.7885 4.61655 18.7587 2.92892 17.0712C1.04019 15.1823 0 12.6712 0 10C0 7.32895 1.04019 4.81766 2.92892 2.92892C4.81766 1.04019 7.32895 0 10 0C12.6712 0 15.1823 1.04019 17.0712 2.92892C18.7587 4.61655 19.7885 6.85471 19.9707 9.23111C20.1509 11.5817 19.4963 13.9247 18.1276 15.8287C18.0017 16.0039 15.4883 18.9844 15.2539 18.1276C15.2539 18.0078 17.3674 15.5478 17.4933 15.3726C20.1389 11.6927 19.729 6.69174 16.5187 3.48129C12.9243 -0.113068 7.07581 -0.113068 3.48145 3.48129C-0.113068 7.07581 -0.113068 12.9242 3.48145 16.5187C6.69174 19.7289 11.6928 20.1389 15.3728 17.4931C15.5479 17.3672 18.4961 14.5703 16.6992 16.9183C17.4414 16.9183 15.9961 18.0114 15.8287 18.1276C14.1319 19.3474 12.0863 20 9.99756 20Z" fill="black"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0">
|
|
10
|
-
<rect width="20" height="20" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-50fe790f.js";const e=(()=>{let e=new Map,r={historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:()=>{}};const o=(t,e)=>{Array.isArray(t)?[...t].forEach((t=>{e[t]=r[t]})):e[t]=Object.assign({},r)},s=(t,r)=>(e.has(t)||(e.set(t,r),o(r,t)),()=>{e.has(t)&&e.delete(t)});return{Provider:({state:t},s)=>(r=t,e.forEach(o),s),Consumer:(e,r)=>((e,r)=>t("context-consumer",{subscribe:e,renderer:r}))(s,r[0]),injectProps:(t,r)=>{const o=t.prototype,n=o.connectedCallback,i=o.disconnectedCallback;o.connectedCallback=function(){if(s(this,r),n)return n.call(this)},o.disconnectedCallback=function(){e.delete(this),i&&i.call(this)}}}})();export{e as A}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,a as s}from"./p-50fe790f.js";import{A as h}from"./p-06a1f65f.js";import{m as a}from"./p-14054f15.js";import"./p-6bd16f5b.js";import{i as r}from"./p-53bcbd1d.js";const e=class{constructor(i){t(this,i),this.unsubscribe=()=>{},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){var i,s;if(!r(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((s=this.root,"/"==(i=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+i:s+i))}render(){let t={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(t.class[this.anchorClass]=!0),"a"===this.custom&&(t=Object.assign({},t,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),i(this.custom,Object.assign({},t),i("slot",null))}get el(){return s(this)}static get watchers(){return{location:["computeMatch"]}}};h.injectProps(e,["history","location","root"]);export{e as stencil_route_link}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{v as r}from"./p-6bd16f5b.js";const e=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g"),t=r=>r.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),n=r=>r.replace(/([=!:$/()])/g,"\\$1"),a=r=>r&&r.sensitive?"":"i",l=(r,e,n)=>{for(var l=(n=n||{}).strict,i=!1!==n.end,p=t(n.delimiter||"/"),o=n.delimiters||"./",s=[].concat(n.endsWith||[]).map(t).concat("$").join("|"),u="",f=!1,v=0;v<r.length;v++){var c=r[v];if("string"==typeof c)u+=t(c),f=v===r.length-1&&o.indexOf(c[c.length-1])>-1;else{var g=t(c.prefix||""),x=c.repeat?"(?:"+c.pattern+")(?:"+g+"(?:"+c.pattern+"))*":c.pattern;e&&e.push(c),u+=c.optional?c.partial?g+"("+x+")?":"(?:"+g+"("+x+"))?":g+"("+x+")"}}return i?(l||(u+="(?:"+p+")?"),u+="$"===s?"$":"(?="+s+")"):(l||(u+="(?:"+p+"(?="+s+"))?"),f||(u+="(?="+p+"|"+s+")")),new RegExp("^"+u,a(n))},i=(r,p,o)=>r instanceof RegExp?((r,e)=>{if(!e)return r;var t=r.source.match(/\((?!\?)/g);if(t)for(var n=0;n<t.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return r})(r,p):Array.isArray(r)?((r,e,t)=>{for(var n=[],l=0;l<r.length;l++)n.push(i(r[l],e,t).source);return new RegExp("(?:"+n.join("|")+")",a(t))})(r,p,o):((r,a,i)=>l(((r,a)=>{for(var l,i=[],p=0,o=0,s="",u=a&&a.delimiter||"/",f=a&&a.delimiters||"./",v=!1;null!==(l=e.exec(r));){var c=l[0],g=l[1],x=l.index;if(s+=r.slice(o,x),o=x+c.length,g)s+=g[1],v=!0;else{var $="",m=r[o],d=l[2],y=l[3],E=l[4],w=l[5];if(!v&&s.length){var R=s.length-1;f.indexOf(s[R])>-1&&($=s[R],s=s.slice(0,R))}s&&(i.push(s),s="",v=!1);var h=$||u,b=y||E;i.push({name:d||p++,prefix:$,delimiter:h,optional:"?"===w||"*"===w,repeat:"+"===w||"*"===w,partial:""!==$&&void 0!==m&&m!==$,pattern:b?n(b):"[^"+t(h)+"]+?"})}}return(s||o<r.length)&&i.push(s+r.substr(o)),i})(r,i),a,i))(r,p,o);let p=0;const o={},s=(r,e={})=>{"string"==typeof e&&(e={path:e});const{path:t="/",exact:n=!1,strict:a=!1}=e,{re:l,keys:s}=((r,e)=>{const t=`${e.end}${e.strict}`,n=o[t]||(o[t]={}),a=JSON.stringify(r);if(n[a])return n[a];const l=[],s={re:i(r,l,e),keys:l};return p<1e4&&(n[a]=s,p+=1),s})(t,{end:n,strict:a}),u=l.exec(r);if(!u)return null;const[f,...v]=u,c=r===f;return n&&!c?null:{path:t,url:"/"===t&&""===f?"/":f,isExact:c,params:s.reduce(((r,e,t)=>(r[e.name]=v[t],r)),{})}},u=(e,t)=>null==e&&null==t||null!=t&&e&&t&&e.path===t.path&&e.url===t.url&&r(e.params,t.params);export{u as a,s as m}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t,h as n,o as r,s as e,i as o,O as s,S as i,c}from"./p-68c136da.js";function u(t,n){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new f(t,n))}}class f{constructor(t,n){this.project=t,this.thisArg=n}call(t,n){return n.subscribe(new h(t,this.project,this.thisArg))}}class h extends t{constructor(t,n,r){super(t),this.project=n,this.count=0,this.thisArg=r||this}_next(t){let n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)}}const a="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",l=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function p(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const y=t=>{if(t&&"function"==typeof t[r])return c=t,t=>{const n=c[r]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)};if(l(t))return e(t);if(p(t))return i=t,t=>(i.then((n=>{t.closed||(t.next(n),t.complete())}),(n=>t.error(n))).then(null,n),t);if(t&&"function"==typeof t[a])return s=t,t=>{const n=s[a]();for(;;){let r;try{r=n.next()}catch(n){return t.error(n),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add((()=>{n.return&&n.return()})),t};{const n=o(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${n} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var s,i,c};function w(t,n){return n?function(t,n){if(null!=t){if(function(t){return t&&"function"==typeof t[r]}(t))return function(t,n){return new s((e=>{const o=new i;return o.add(n.schedule((()=>{const s=t[r]();o.add(s.subscribe({next(t){o.add(n.schedule((()=>e.next(t))))},error(t){o.add(n.schedule((()=>e.error(t))))},complete(){o.add(n.schedule((()=>e.complete())))}}))}))),o}))}(t,n);if(p(t))return function(t,n){return new s((r=>{const e=new i;return e.add(n.schedule((()=>t.then((t=>{e.add(n.schedule((()=>{r.next(t),e.add(n.schedule((()=>r.complete())))})))}),(t=>{e.add(n.schedule((()=>r.error(t))))}))))),e}))}(t,n);if(l(t))return c(t,n);if(function(t){return t&&"function"==typeof t[a]}(t)||"string"==typeof t)return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new s((r=>{const e=new i;let o;return e.add((()=>{o&&"function"==typeof o.return&&o.return()})),e.add(n.schedule((()=>{o=t[a](),e.add(n.schedule((function(){if(r.closed)return;let t,n;try{const r=o.next();t=r.value,n=r.done}catch(t){return void r.error(t)}n?r.complete():(r.next(t),this.schedule())})))}))),e}))}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof s?t:new s(y(t))}class b extends t{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class m extends t{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function d(t,n){if(!n.closed)return t instanceof s?t.subscribe(n):y(t)(n)}function x(t,n){return function(r){return r.lift(new v(t,n))}}class v{constructor(t,n){this.predicate=t,this.thisArg=n}call(t,n){return n.subscribe(new S(t,this.predicate,this.thisArg))}}class S extends t{constructor(t,n,r){super(t),this.predicate=n,this.thisArg=r,this.count=0}_next(t){let n;try{n=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}n&&this.destination.next(t)}}function E(t,n){return r=>r.lift(new _(t,n))}class _{constructor(t,n){this.compare=t,this.keySelector=n}call(t,n){return n.subscribe(new T(t,this.compare,this.keySelector))}}class T extends t{constructor(t,n,r){super(t),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}compare(t,n){return t===n}_next(t){let n;try{const{keySelector:r}=this;n=r?r(t):t}catch(t){return this.destination.error(t)}let r=!1;if(this.hasKey)try{const{compare:t}=this;r=t(this.key,n)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=n,this.destination.next(t))}}export{m as S,b as a,x as b,E as d,w as f,d as i,u as m}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as s}from"./p-50fe790f.js";const e=class{constructor(s){t(this,s),this.context={},this.renderer=()=>null}connectedCallback(){null!=this.subscribe&&(this.unsubscribe=this.subscribe(this.el,"context"))}disconnectedCallback(){null!=this.unsubscribe&&this.unsubscribe()}render(){return this.renderer(Object.assign({},this.context))}get el(){return s(this)}};export{e as context_consumer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as s}from"./p-50fe790f.js";import{A as e}from"./p-06a1f65f.js";const i=class{constructor(s){t(this,s),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return s(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};e.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,a as i}from"./p-50fe790f.js";import{A as h}from"./p-06a1f65f.js";import{m as o,a as e}from"./p-14054f15.js";import"./p-6bd16f5b.js";const n=class{constructor(s){t(this,s),this.group=null,this.match=null,this.componentProps={},this.exact=!1,this.scrollOnNextRender=!1,this.previousMatch=null}computeMatch(t){const s=null!=this.group||null!=this.el.parentElement&&"stencil-route-switch"===this.el.parentElement.tagName.toLowerCase();if(t&&!s)return this.previousMatch=this.match,this.match=o(t.pathname,{path:this.url,exact:this.exact,strict:!0})}async loadCompleted(){let t={};this.history&&this.history.location.hash?t={scrollToId:this.history.location.hash.substr(1)}:this.scrollTopOffset&&(t={scrollTopOffset:this.scrollTopOffset}),"function"==typeof this.componentUpdated?this.componentUpdated(t):this.match&&!e(this.match,this.previousMatch)&&this.routeViewsUpdated&&this.routeViewsUpdated(t)}async componentDidUpdate(){await this.loadCompleted()}async componentDidLoad(){await this.loadCompleted()}render(){if(!this.match||!this.history)return null;const t=Object.assign({},this.componentProps,{history:this.history,match:this.match});return this.routeRender?this.routeRender(Object.assign({},t,{component:this.component})):this.component?s(this.component,Object.assign({},t)):void 0}get el(){return i(this)}static get watchers(){return{location:["computeMatch"]}}};h.injectProps(n,["location","history","historyType","routeViewsUpdated"]),n.style="stencil-route.inactive{display:none}";export{n as stencil_route}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as n,a as t,Q as r}from"./p-f603197d.js";var e=function(n){return"Some"===n._tag},u=function(n){return"None"===n._tag},i={_tag:"None"},c=function(n){return{_tag:"Some",value:n}};function o(n){return null==n?i:c(n)}function f(n,t){return function(r){return u(r)?n():t(r.value)}}var a=function(n){return function(t){return u(t)?n():t.value}},s=a;function l(n,t,r){return n(r={path:t,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var h=l((function(n,t){function r(n){return n}function e(n){return function(){return n}}function u(){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(t,"__esModule",{value:!0}),t.bindTo_=t.bind_=t.hole=t.pipe=t.untupled=t.tupled=t.absurd=t.decrement=t.increment=t.tuple=t.flow=t.flip=t.constVoid=t.constUndefined=t.constNull=t.constFalse=t.constTrue=t.constant=t.not=t.unsafeCoerce=t.identity=void 0,t.identity=r,t.unsafeCoerce=r,t.not=function(n){return function(t){return!n(t)}},t.constant=e,t.constTrue=e(!0),t.constFalse=e(!1),t.constNull=e(null),t.constUndefined=e(void 0),t.constVoid=t.constUndefined,t.flip=function(n){return function(t,r){return n(r,t)}},t.flow=function(n,t,r,e,u,i,c,o,f){switch(arguments.length){case 1:return n;case 2:return function(){return t(n.apply(this,arguments))};case 3:return function(){return r(t(n.apply(this,arguments)))};case 4:return function(){return e(r(t(n.apply(this,arguments))))};case 5:return function(){return u(e(r(t(n.apply(this,arguments)))))};case 6:return function(){return i(u(e(r(t(n.apply(this,arguments))))))};case 7:return function(){return c(i(u(e(r(t(n.apply(this,arguments)))))))};case 8:return function(){return o(c(i(u(e(r(t(n.apply(this,arguments))))))))};case 9:return function(){return f(o(c(i(u(e(r(t(n.apply(this,arguments)))))))))}}},t.tuple=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return n},t.increment=function(n){return n+1},t.decrement=function(n){return n-1},t.absurd=u,t.tupled=function(n){return function(t){return n.apply(void 0,t)}},t.untupled=function(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return n(t)}},t.pipe=function(n,t,r,e,u,i,c,o,f,a,s,l,h,p,d,m,v,b,g,y){switch(arguments.length){case 1:return n;case 2:return t(n);case 3:return r(t(n));case 4:return e(r(t(n)));case 5:return u(e(r(t(n))));case 6:return i(u(e(r(t(n)))));case 7:return c(i(u(e(r(t(n))))));case 8:return o(c(i(u(e(r(t(n)))))));case 9:return f(o(c(i(u(e(r(t(n))))))));case 10:return a(f(o(c(i(u(e(r(t(n)))))))));case 11:return s(a(f(o(c(i(u(e(r(t(n))))))))));case 12:return l(s(a(f(o(c(i(u(e(r(t(n)))))))))));case 13:return h(l(s(a(f(o(c(i(u(e(r(t(n))))))))))));case 14:return p(h(l(s(a(f(o(c(i(u(e(r(t(n)))))))))))));case 15:return d(p(h(l(s(a(f(o(c(i(u(e(r(t(n))))))))))))));case 16:return m(d(p(h(l(s(a(f(o(c(i(u(e(r(t(n)))))))))))))));case 17:return v(m(d(p(h(l(s(a(f(o(c(i(u(e(r(t(n))))))))))))))));case 18:return b(v(m(d(p(h(l(s(a(f(o(c(i(u(e(r(t(n)))))))))))))))));case 19:return g(b(v(m(d(p(h(l(s(a(f(o(c(i(u(e(r(t(n))))))))))))))))));case 20:return y(g(b(v(m(d(p(h(l(s(a(f(o(c(i(u(e(r(t(n)))))))))))))))))))}},t.hole=u,t.bind_=function(n,t,r){var e;return Object.assign({},n,((e={})[t]=r,e))},t.bindTo_=function(n){return function(t){var r;return(r={})[n]=t,r}}})),p=l((function(n,t){function r(n){return null==n?t.none:t.some(n)}function e(n){return"Right"===n._tag?t.none:t.some(n.left)}function u(n){return"Left"===n._tag?t.none:t.some(n.right)}function i(n){return function(e){return t.isNone(e)?t.none:r(n(e.value))}}Object.defineProperty(t,"__esModule",{value:!0}),t.getApplySemigroup=t.getOrd=t.getEq=t.getShow=t.URI=t.wilt=t.wither=t.sequence=t.traverse=t.partitionMap=t.partition=t.filterMap=t.filter=t.separate=t.compact=t.reduceRight=t.foldMap=t.reduce=t.duplicate=t.extend=t.throwError=t.zero=t.alt=t.altW=t.flatten=t.chainFirst=t.chain=t.of=t.apSecond=t.apFirst=t.ap=t.map=t.chainNullableK=t.mapNullable=t.fromNullableK=t.getOrElse=t.getOrElseW=t.toUndefined=t.toNullable=t.fold=t.fromEither=t.getRight=t.getLeft=t.tryCatch=t.fromPredicate=t.fromNullable=t.some=t.none=t.isNone=t.isSome=void 0,t.sequenceArray=t.traverseArray=t.traverseArrayWithIndex=t.apS=t.bind=t.bindTo=t.Do=t.getRefinement=t.exists=t.elem=t.option=t.MonadThrow=t.Witherable=t.Traversable=t.Filterable=t.Compactable=t.Extend=t.Alternative=t.Alt=t.Foldable=t.Monad=t.Applicative=t.Functor=t.getMonoid=t.getLastMonoid=t.getFirstMonoid=t.getApplyMonoid=void 0,t.isSome=function(n){return"Some"===n._tag},t.isNone=function(n){return"None"===n._tag},t.none={_tag:"None"},t.some=function(n){return{_tag:"Some",value:n}},t.fromNullable=r,t.fromPredicate=function(n){return function(r){return n(r)?t.some(r):t.none}},t.tryCatch=function(n){try{return t.some(n())}catch(n){return t.none}},t.getLeft=e,t.getRight=u,t.fromEither=u,t.fold=function(n,r){return function(e){return t.isNone(e)?n():r(e.value)}},t.toNullable=function(n){return t.isNone(n)?null:n.value},t.toUndefined=function(n){return t.isNone(n)?void 0:n.value},t.getOrElseW=function(n){return function(r){return t.isNone(r)?n():r.value}},t.getOrElse=t.getOrElseW,t.fromNullableK=function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r(n.apply(void 0,t))}},t.mapNullable=i,t.chainNullableK=i;var c=function(n,r){return h.pipe(n,t.map(r))},o=function(n,r){return h.pipe(n,t.ap(r))},f=function(n,r){return h.pipe(n,t.chain(r))},a=function(n,r,e){return h.pipe(n,t.reduce(r,e))},s=function(n){var r=t.foldMap(n);return function(n,t){return h.pipe(n,r(t))}},l=function(n,r,e){return h.pipe(n,t.reduceRight(r,e))},p=function(n){var r=t.traverse(n);return function(n,t){return h.pipe(n,r(t))}},d=function(n,r){return h.pipe(n,t.alt(r))},m=function(n,r){return h.pipe(n,t.filter(r))},v=function(n,r){return h.pipe(n,t.filterMap(r))},b=function(n,r){return h.pipe(n,t.extend(r))},g=function(n,r){return h.pipe(n,t.partition(r))},y=function(n,r){return h.pipe(n,t.partitionMap(r))},R=function(n){var r=t.wither(n);return function(n,t){return h.pipe(n,r(t))}},w=function(n){var r=t.wilt(n);return function(n,t){return h.pipe(n,r(t))}};t.map=function(n){return function(r){return t.isNone(r)?t.none:t.some(n(r.value))}},t.ap=function(n){return function(r){return t.isNone(r)||t.isNone(n)?t.none:t.some(r.value(n.value))}},t.apFirst=function(n){return h.flow(t.map((function(n){return function(){return n}})),t.ap(n))},t.apSecond=function(n){return h.flow(t.map((function(){return function(n){return n}})),t.ap(n))},t.of=t.some,t.chain=function(n){return function(r){return t.isNone(r)?t.none:n(r.value)}},t.chainFirst=function(n){return t.chain((function(r){return h.pipe(n(r),t.map((function(){return r})))}))},t.flatten=t.chain(h.identity),t.altW=function(n){return function(r){return t.isNone(r)?n():r}},t.alt=t.altW,t.zero=function(){return t.none},t.throwError=function(){return t.none},t.extend=function(n){return function(r){return t.isNone(r)?t.none:t.some(n(r))}},t.duplicate=t.extend(h.identity),t.reduce=function(n,r){return function(e){return t.isNone(e)?n:r(n,e.value)}},t.foldMap=function(n){return function(r){return function(e){return t.isNone(e)?n.empty:r(e.value)}}},t.reduceRight=function(n,r){return function(e){return t.isNone(e)?n:r(e.value,n)}},t.compact=t.flatten;var I={left:t.none,right:t.none};function U(n){return{equals:function(r,e){return r===e||(t.isNone(r)?t.isNone(e):!t.isNone(e)&&n.equals(r.value,e.value))}}}function j(n){return{concat:function(r,e){return t.isSome(r)&&t.isSome(e)?t.some(n.concat(r.value,e.value)):t.none}}}t.separate=function(n){var r=h.pipe(n,t.map((function(n){return{left:e(n),right:u(n)}})));return t.isNone(r)?I:r.value},t.filter=function(n){return function(r){return t.isNone(r)?t.none:n(r.value)?r:t.none}},t.filterMap=function(n){return function(r){return t.isNone(r)?t.none:n(r.value)}},t.partition=function(n){return function(t){return{left:m(t,(function(t){return!n(t)})),right:m(t,n)}}},t.partitionMap=function(n){return h.flow(t.map(n),t.separate)},t.traverse=function(n){return function(r){return function(e){return t.isNone(e)?n.of(t.none):n.map(r(e.value),t.some)}}},t.sequence=function(n){return function(r){return t.isNone(r)?n.of(t.none):n.map(r.value,t.some)}},t.wither=function(n){return function(r){return function(e){return t.isNone(e)?n.of(t.none):r(e.value)}}},t.wilt=function(n){return function(r){return function(i){return t.isNone(i)?n.of({left:t.none,right:t.none}):n.map(r(i.value),(function(n){return{left:e(n),right:u(n)}}))}}},t.URI="Option",t.getShow=function(n){return{show:function(r){return t.isNone(r)?"none":"some("+n.show(r.value)+")"}}},t.getEq=U,t.getOrd=function(n){return{equals:U(n).equals,compare:function(r,e){return r===e?0:t.isSome(r)?t.isSome(e)?n.compare(r.value,e.value):1:-1}}},t.getApplySemigroup=j,t.getApplyMonoid=function(n){return{concat:j(n).concat,empty:t.some(n.empty)}},t.getFirstMonoid=function(){return{concat:function(n,r){return t.isNone(n)?r:n},empty:t.none}},t.getLastMonoid=function(){return{concat:function(n,r){return t.isNone(r)?n:r},empty:t.none}},t.getMonoid=function(n){return{concat:function(r,e){return t.isNone(r)?e:t.isNone(e)?r:t.some(n.concat(r.value,e.value))},empty:t.none}},t.Functor={URI:t.URI,map:c},t.Applicative={URI:t.URI,map:c,ap:o,of:t.of},t.Monad={URI:t.URI,map:c,ap:o,of:t.of,chain:f},t.Foldable={URI:t.URI,reduce:a,foldMap:s,reduceRight:l},t.Alt={URI:t.URI,map:c,alt:d},t.Alternative={URI:t.URI,map:c,ap:o,of:t.of,alt:d,zero:t.zero},t.Extend={URI:t.URI,map:c,extend:b},t.Compactable={URI:t.URI,compact:t.compact,separate:t.separate},t.Filterable={URI:t.URI,map:c,compact:t.compact,separate:t.separate,filter:m,filterMap:v,partition:g,partitionMap:y},t.Traversable={URI:t.URI,map:c,reduce:a,foldMap:s,reduceRight:l,traverse:p,sequence:t.sequence},t.Witherable={URI:t.URI,map:c,reduce:a,foldMap:s,reduceRight:l,traverse:p,sequence:t.sequence,compact:t.compact,separate:t.separate,filter:m,filterMap:v,partition:g,partitionMap:y,wither:R,wilt:w},t.MonadThrow={URI:t.URI,map:c,ap:o,of:t.of,chain:f,throwError:t.throwError},t.option={URI:t.URI,map:c,of:t.of,ap:o,chain:f,reduce:a,foldMap:s,reduceRight:l,traverse:p,sequence:t.sequence,zero:t.zero,alt:d,extend:b,compact:t.compact,separate:t.separate,filter:m,filterMap:v,partition:g,partitionMap:y,wither:R,wilt:w,throwError:t.throwError},t.elem=function(n){return function(r,e){return!t.isNone(e)&&n.equals(r,e.value)}},t.exists=function(n){return function(r){return!t.isNone(r)&&n(r.value)}},t.getRefinement=function(n){return function(r){return t.isSome(n(r))}},t.Do=t.of({}),t.bindTo=function(n){return t.map(h.bindTo_(n))},t.bind=function(n,r){return t.chain((function(e){return h.pipe(r(e),t.map((function(t){return h.bind_(e,n,t)})))}))},t.apS=function(n,r){return h.flow(t.map((function(t){return function(r){return h.bind_(t,n,r)}})),t.ap(r))},t.traverseArrayWithIndex=function(n){return function(r){for(var e=[],u=0;u<r.length;u++){var i=n(u,r[u]);if(t.isNone(i))return t.none;e.push(i.value)}return t.some(e)}},t.traverseArray=function(n){return t.traverseArrayWithIndex((function(t,r){return n(r)}))},t.sequenceArray=t.traverseArray(h.identity)}));class d{set apiBaseUrl(n){d._apiBaseUrl=p.fromNullable(n)}get apiBaseUrl(){if(p.isNone(d._apiBaseUrl))throw Error("API base URL is not set");return d._apiBaseUrl.value}}const m=new d;let v=class extends t{constructor(){super({vehicle:{make:i,makeId:i,model:i,modelId:i,year:i,bodyType:i,bodyTypeId:i,selectedVariant:i,isUsedCarRequested:c(!1),approximatePrice:i},user:{annualSalary:i,annualKms:i,paymentPeriod:i,state:i,term:i},quote:{afterTaxEffectPerPayCycle:i,taxSaving:i,residualValue:i,financedAmount:i,fuel:i,serviceAndMaintenance:i,registrationAndCtp:i,comprehensiveInsurance:i,managementFee:i,quoteState:"Not calculated"},userDetails:{employerName:i,userFirstName:i,userLastName:i,contactNumber:i,emailAddress:i},refLists:{makeList:i,modelList:i,yearList:i,bodyTypeList:i,modelVariantsList:i}})}updateQuote(n){this.update({quote:n})}setVehicleState(n,t){this.update((r=>Object.assign(Object.assign({},r),{vehicle:Object.assign(Object.assign({},r.vehicle),{[n]:null===t?i:c(t)})})))}updateList(n,t){this.update((r=>Object.assign(Object.assign({},r),{refLists:Object.assign(Object.assign({},r.refLists),{[n]:c(t)})})))}};v=function(n,t,r,e){var u,i=arguments.length,c=i<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(n,t,r,e);else for(var o=n.length-1;o>=0;o--)(u=n[o])&&(c=(i<3?u(c):i>3?u(t,r,c):u(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c}([n({name:"cars-calc-session",resettable:!0})],v);const b=new v,g=new class extends r{constructor(n){super(n),this.store=n,this.vehicle$=this.select((n=>n.vehicle)),this.user$=this.select((n=>n.user)),this.result$=this.select((n=>n.quote)),this.userDetails$=this.select((n=>n.userDetails)),this.makeList$=this.select((n=>n.refLists.makeList)),this.modelList$=this.select((n=>n.refLists.modelList)),this.yearList$=this.select((n=>n.refLists.yearList)),this.bodyTypeList$=this.select((n=>n.refLists.bodyTypeList)),this.modelVariantsList$=this.select((n=>n.refLists.modelVariantsList)),this.selectedVariant$=this.select((n=>n.vehicle.selectedVariant)),this.quote$=this.select((n=>n.quote))}get selectedVariant(){return this.getValue().vehicle.selectedVariant}get vehicle(){return this.getValue().vehicle}get user(){return this.getValue().user}get result(){return this.getValue().quote}get userDetails(){return this.getValue().userDetails}}(b);export{m as a,u as b,b as c,f as d,c as e,o as f,s as g,a as h,e as i,i as n,g as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,h as s,H as t}from"./p-50fe790f.js";import{e,O as i,d as a}from"./p-68c136da.js";import{i as n,o as r,d as o}from"./p-b33fc683.js";function c(l){return!e(l)&&l-parseFloat(l)+1>=0}function u(l){const{index:s,period:t,subscriber:e}=l;if(e.next(s),!e.closed){if(-1===t)return e.complete();l.index=s+1,this.schedule(l,t)}}const d=l=>{const s=document.querySelector('script[data-fl-namespace="design-system"][data-fl-resources-url]'),t=s&&s.getAttribute("data-fl-resources-url")||"";try{return new URL(l,t).href}catch(s){return`${t}/${l}`}},m=class{constructor(s){l(this,s),this.data=["Apple","Application","Appetizer","Anna","Banana","Archery","Apogee"].map((l=>({label:l,value:l}))),this.searchFunction=l=>{const s=this.data.filter((s=>s.label.toLowerCase().includes(l.toLowerCase())));return r(s).pipe(o(1e3)).toPromise()}}render(){return s(t,null,s("link",{rel:"stylesheet",href:d("beacon.css"),media:"all"}),this.themeCssUrl&&s("link",{rel:"stylesheet",href:this.themeCssUrl,media:"all"}),s("div",{class:"container m-3 p-5 shadow"},s("h1",null,"Beacon"),s("h5",null,"Flare-Apollo Component Library 🚀"),s("div",{class:"row"},s("div",{class:"col"},s("ul",{class:"list-group"},s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Typography"),s("div",{class:"col"},s("h1",null,"h1 Heading"),s("h2",null,"h2 Sub-heading"),s("h3",null,"h3 Sub-heading"),s("h4",null,"h4 Sub-heading"),s("p",null,"Paragraph"),s("div",{class:"d-flex flex-column"},s("strong",null,"Strong"),s("small",null,"small"),s("a",{href:"https://www.flarehr.com",target:"_blank"},"Weblink")))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Buttons"),s("div",{class:"col-3 my-2"},this.renderButtonVariants())),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Loading indicator"),s("div",{class:"col"},s("fl-loading-indicator",null),s("fl-loading-indicator",{theme:"dark"}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Dropdown"),s("div",{class:"col-4"},s("fl-dropdown",{options:this.data}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Async Dropdown"),s("div",{class:"col-4"},s("fl-dropdown-async",{"min-search-string-length":"2",searchFunction:this.searchFunction}))),s("li",{class:"list-group-item"},s("small",{class:"text-muted"},"Promise Button"),s("div",{class:"col-3 my-2"},s("fl-promise-button",{isBlockElement:!0,promiseFn:()=>this.takeTime()},"Promise Button block")),s("div",{class:"col-3 my-2"},s("fl-promise-button",{promiseFn:()=>this.takeTime()},"Promise Button")),s("div",{class:"col-3 my-2"},s("fl-promise-button",{variant:"secondary",promiseFn:()=>this.takeTime()},"Secondary Promise Button"))))))))}renderButtonVariants(){return s("ul",{class:"list-group"},s("li",{class:"list-group-item"},s("i",null,"Primary"),s("fl-button",{isBlockElement:!0},"Button")),s("li",{class:"list-group-item"},s("i",null,"Primary, disabled"),s("fl-button",{isBlockElement:!0,disabled:!0},"Button")),s("li",{class:"list-group-item"},s("i",null,"Secondary"),s("fl-button",{isBlockElement:!0,variant:"secondary"},"Button")),s("li",{class:"list-group-item"},s("i",null,"Secondary, disabled"),s("fl-button",{isBlockElement:!0,disabled:!0,variant:"secondary"},"Button")))}async takeTime(){return function(l=0,s,t){let e=-1;return c(s)?e=Number(s)<1?1:Number(s):n(s)&&(t=s),n(t)||(t=a),new i((s=>{const i=c(l)?l:+l-t.now();return t.schedule(u,i,{index:0,period:e,subscriber:s})}))}(2e3*Math.random()+2e3).toPromise()}};m.style="";export{m as fl_style_guide}
|