favesalon-embed 1.0.16 → 1.0.18

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.
Files changed (49) hide show
  1. package/dist/custom-elements/index.d.ts +30 -0
  2. package/dist/favesalon-embed/activate-form.entry.js +1 -1
  3. package/dist/favesalon-embed/buy-giftcard-form.entry.js +168 -95
  4. package/dist/favesalon-embed/buy-giftcard-verification.entry.js +38 -18
  5. package/dist/favesalon-embed/change-password-form.entry.js +1 -1
  6. package/dist/favesalon-embed/chat-box.entry.js +1 -1
  7. package/dist/favesalon-embed/chat-button.entry.js +1 -1
  8. package/dist/favesalon-embed/chat-form.entry.js +1 -1
  9. package/dist/favesalon-embed/chat-messages.entry.js +1 -1
  10. package/dist/favesalon-embed/chat-rooms.entry.js +2 -2
  11. package/dist/favesalon-embed/favesalon-embed.esm.js +1 -1
  12. package/dist/favesalon-embed/icon-checked.entry.js +19 -0
  13. package/dist/favesalon-embed/icon-date.entry.js +19 -0
  14. package/dist/favesalon-embed/icon-loading.entry.js +19 -0
  15. package/dist/favesalon-embed/icon-location-marker.entry.js +19 -0
  16. package/dist/favesalon-embed/icon-phone.entry.js +19 -0
  17. package/dist/favesalon-embed/inputmask-afacb9e0.js +3777 -0
  18. package/dist/favesalon-embed/login-form.entry.js +1 -1
  19. package/dist/favesalon-embed/register-form.entry.js +1 -1
  20. package/dist/favesalon-embed/reset-password-form.entry.js +1 -1
  21. package/dist/favesalon-embed/salon-info.entry.js +1 -1
  22. package/dist/favesalon-embed/salon-latest-reviews.entry.js +2 -2
  23. package/dist/favesalon-embed/salon-latest-styles.entry.js +1 -1
  24. package/dist/favesalon-embed/salon-locations.entry.js +2 -2
  25. package/dist/favesalon-embed/salon-lookbook.entry.js +1 -1
  26. package/dist/favesalon-embed/salon-reviews.entry.js +1 -1
  27. package/dist/favesalon-embed/salon-schedules.entry.js +1 -1
  28. package/dist/favesalon-embed/salon-services.entry.js +1 -1
  29. package/dist/favesalon-embed/salon-stylists.entry.js +1 -1
  30. package/dist/favesalon-embed/{services-baa3f112.js → services-82948efc.js} +8 -8
  31. package/dist/favesalon-embed/style-detail.entry.js +1 -1
  32. package/dist/favesalon-embed/{utils-fd30fb29.js → utils-359c37f7.js} +4 -3
  33. package/dist/favesalon-embed/wizard-existing-user.entry.js +37 -15
  34. package/dist/favesalon-embed/wizard-new-user.entry.js +36 -14
  35. package/dist/types/components/buy-giftcard-form/buy-giftcard-form.d.ts +4 -1
  36. package/dist/types/components/buy-giftcard-verification/buy-giftcard-verification.d.ts +2 -0
  37. package/dist/types/components/icon-checked/icon-checked.d.ts +4 -0
  38. package/dist/types/components/icon-date/icon-date.d.ts +4 -0
  39. package/dist/types/components/icon-loading/icon-loading.d.ts +4 -0
  40. package/dist/types/components/icon-location-marker/icon-location-marker.d.ts +4 -0
  41. package/dist/types/components/icon-phone/icon-phone.d.ts +4 -0
  42. package/dist/types/components.d.ts +75 -0
  43. package/dist/types/services/services.d.ts +3 -3
  44. package/package.json +2 -1
  45. package/dist/favesalon-embed/services-3dd9f820.js +0 -24104
  46. package/dist/favesalon-embed/services-45c0e274.js +0 -24122
  47. package/dist/favesalon-embed/services-65861516.js +0 -24095
  48. package/dist/favesalon-embed/services-935ba09f.js +0 -24118
  49. package/dist/favesalon-embed/services-9a686ade.js +0 -24122
@@ -1,6 +1,8 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
+ import { I as Inputmask } from './inputmask-afacb9e0.js';
3
+ import { f as formatPhoneNumber } from './utils-359c37f7.js';
2
4
  import { C as Colors } from './colors-ea36347a.js';
3
- import { H as HttpService } from './services-9a686ade.js';
5
+ import { H as HttpService } from './services-82948efc.js';
4
6
  import './_commonjsHelpers-9bc404fc.js';
5
7
 
6
8
  const buyGiftcardVerificationCss = ".buy-giftcard--verification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}";
@@ -18,7 +20,8 @@ const BuyGiftcardVerification = class {
18
20
  this.onSearchClient = async () => {
19
21
  this.isSearchingUser = true;
20
22
  try {
21
- if (this.inputtedPhone && this.inputtedPhone.length >= 10) {
23
+ const formattedPhone = formatPhoneNumber(this.inputtedPhone);
24
+ if (formattedPhone && formattedPhone.length >= 10) {
22
25
  const userClient = await HttpService().fetchSalonClientInfo(this.salonId, this.inputtedPhone);
23
26
  this.userInfo = { ...userClient, mobilePhone: this.inputtedPhone };
24
27
  this.step = FormStep.BookingGuests;
@@ -34,6 +37,9 @@ const BuyGiftcardVerification = class {
34
37
  this.inputtedPhone = undefined;
35
38
  this.isSearchingUser = undefined;
36
39
  }
40
+ componentDidLoad() {
41
+ Inputmask({ mask: '(999) 999-9999' }).mask(this.nativeInput);
42
+ }
37
43
  onSubmitUserInfo() {
38
44
  if (this.userInfo && this.userInfo.id) {
39
45
  this.step = FormStep.UserLogin;
@@ -46,7 +52,7 @@ const BuyGiftcardVerification = class {
46
52
  if (this.step === FormStep.UserLogin) {
47
53
  return (h("div", { class: "buy-giftcard--verification", style: {
48
54
  backgroundColor: Colors.White,
49
- border: `1px solid ${Colors.Gray02}`,
55
+ border: `1px solid ${Colors.Gray03}`,
50
56
  borderRadius: '8px',
51
57
  padding: '24px',
52
58
  } }, h("wizard-existing-user", { "salon-id": this.salonId, "inputted-phone": this.inputtedPhone, onClose: () => this.step = FormStep.BookingGuests, onSuccess: (user) => this.onSuccess(user) })));
@@ -54,46 +60,50 @@ const BuyGiftcardVerification = class {
54
60
  if (this.step === FormStep.UserRegister) {
55
61
  return (h("div", { class: "buy-giftcard--verification", style: {
56
62
  backgroundColor: Colors.White,
57
- border: `1px solid ${Colors.Gray02}`,
63
+ border: `1px solid ${Colors.Gray03}`,
58
64
  borderRadius: '8px',
59
65
  padding: '24px',
60
66
  } }, h("wizard-new-user", { "salon-id": this.salonId, "inputted-phone": this.inputtedPhone, "first-name": this.userInfo.firstName, "last-name": this.userInfo.lastName, onClose: () => this.step = FormStep.BookingGuests, onSuccess: (user) => this.onSuccess(user) })));
61
67
  }
62
68
  return (h("div", { class: "buy-giftcard--verification", style: {
63
69
  backgroundColor: Colors.White,
64
- border: `1px solid ${Colors.Gray02}`,
70
+ border: `1px solid ${Colors.Gray03}`,
65
71
  borderRadius: '8px',
66
72
  padding: '24px',
67
73
  } }, h("div", { style: {
68
- fontSize: '18px',
74
+ fontSize: '20px',
69
75
  fontWeight: '600',
70
76
  marginBottom: '12px',
71
77
  } }, this.userInfo && this.userInfo.id ? 'Welcome back!' : 'Welcome', " ", this.inputtedPhone), h("div", { style: { display: 'flex', alignItems: 'center' } }, h("div", { style: { width: '48%' } }, h("label", { ...{ for: "form--verification-username" }, class: "form--verification-label", style: { color: Colors.Gray05 } }, "First name"), h("div", { style: { marginTop: '12px' } }, h("input", { id: "form--verification-firstname", type: "text", required: true, value: this.userInfo.firstName, onInput: (evt) => {
72
78
  const firstName = evt.target.value.trim();
73
79
  this.userInfo = { ...this.userInfo, firstName };
74
80
  }, style: {
75
- border: `1px solid ${Colors.Gray02}`,
81
+ border: `1px solid ${Colors.Gray03}`,
76
82
  backgroundColor: Colors.White,
77
83
  borderRadius: '8px',
78
84
  padding: '8px 16px',
79
85
  height: '48px',
80
86
  width: '100%',
87
+ fontSize: '18px',
88
+ fontWeight: '700',
81
89
  } }))), h("div", { style: { width: '48%', marginLeft: '4%' } }, h("label", { ...{ for: "form--verification-username" }, class: "form--verification-label", style: { color: Colors.Gray05 } }, "Last name"), h("div", { style: { marginTop: '12px' } }, h("input", { id: "form--verification-lastname", type: "text", required: true, value: this.userInfo.lastName, onInput: (evt) => {
82
90
  const lastName = evt.target.value.trim();
83
91
  this.userInfo = { ...this.userInfo, lastName };
84
92
  }, style: {
85
- border: `1px solid ${Colors.Gray02}`,
93
+ border: `1px solid ${Colors.Gray03}`,
86
94
  backgroundColor: Colors.White,
87
95
  borderRadius: '8px',
88
96
  padding: '8px 16px',
89
97
  height: '48px',
90
98
  width: '100%',
99
+ fontSize: '18px',
100
+ fontWeight: '700',
91
101
  } })))), h("div", { style: {
92
- borderTop: `1px solid ${Colors.Gray02}`,
102
+ borderTop: `1px solid ${Colors.Gray03}`,
93
103
  marginBottom: '24px',
94
104
  marginTop: '24px',
95
105
  } }), h("div", { style: { display: 'flex', justifyContent: 'space-between' } }, h("button", { type: "button", style: {
96
- border: `1px solid ${Colors.Gray02}`,
106
+ border: `1px solid ${Colors.Gray03}`,
97
107
  background: Colors.White,
98
108
  color: Colors.TextColor,
99
109
  borderRadius: '8px',
@@ -104,7 +114,7 @@ const BuyGiftcardVerification = class {
104
114
  height: '48px',
105
115
  }, onClick: () => this.step = FormStep.InputPhone }, "Back"), h("button", { type: "button", style: {
106
116
  border: `1px solid ${Colors.Secondary}`,
107
- background: Colors.Secondary,
117
+ backgroundColor: Colors.Secondary,
108
118
  borderRadius: '8px',
109
119
  cursor: 'pointer',
110
120
  color: Colors.White,
@@ -116,23 +126,28 @@ const BuyGiftcardVerification = class {
116
126
  }, onClick: () => this.onSubmitUserInfo() }, "Next"))));
117
127
  }
118
128
  renderSearchClientForm() {
129
+ const formattedPhone = formatPhoneNumber(this.inputtedPhone);
119
130
  return (h("div", { class: "buy-giftcard--verification" }, h("div", { style: {
120
131
  fontSize: '16px',
121
132
  fontWeight: '600',
122
133
  marginBottom: '12px',
123
- } }, "Enter your phone to start booking"), h("div", { style: { display: 'flex', alignItems: 'center' } }, h("input", { type: "text", value: this.inputtedPhone, onInput: (evt) => this.inputtedPhone = evt.target.value, style: {
124
- border: `1px solid ${Colors.Gray02}`,
134
+ } }, "Enter your phone to start"), h("div", { style: { display: 'flex', alignItems: 'center' } }, h("input", { type: "tel", placeholder: "(123) 456-7890", disabled: this.isSearchingUser, ref: el => this.nativeInput = el, onInput: (evt) => this.inputtedPhone = evt.target.value, style: {
135
+ border: `1px solid ${Colors.Gray03}`,
125
136
  backgroundColor: Colors.White,
126
137
  borderRadius: '8px',
127
138
  padding: '8px 16px',
128
139
  height: '48px',
129
- fontSize: '18px',
130
- fontWeight: '600',
140
+ fontSize: '22px',
141
+ fontWeight: '700',
131
142
  flexShrink: '1',
132
143
  flexGrow: '1',
133
- } }), this.inputtedPhone && (h("button", { type: "button", disabled: this.isSearchingUser, style: {
144
+ ...this.isSearchingUser ? {
145
+ borderColor: Colors.Gray03,
146
+ backgroundColor: Colors.Gray03,
147
+ } : {},
148
+ } }), formattedPhone && formattedPhone.length >= 10 && (h("button", { type: "button", disabled: this.isSearchingUser, style: {
134
149
  border: `1px solid ${Colors.Secondary}`,
135
- background: Colors.Secondary,
150
+ backgroundColor: Colors.Secondary,
136
151
  color: Colors.White,
137
152
  borderRadius: '8px',
138
153
  cursor: 'pointer',
@@ -142,7 +157,12 @@ const BuyGiftcardVerification = class {
142
157
  paddingRight: '24px',
143
158
  height: '48px',
144
159
  marginLeft: '16px',
145
- }, onClick: () => this.onSearchClient() }, "Next")))));
160
+ ...this.isSearchingUser ? {
161
+ color: Colors.TextColor,
162
+ borderColor: Colors.Gray03,
163
+ backgroundColor: Colors.Gray03,
164
+ } : {},
165
+ }, onClick: () => this.onSearchClient() }, "Next ", this.isSearchingUser && (h("span", { style: { marginLeft: '4px' } }, h("icon-loading", null))))))));
146
166
  }
147
167
  render() {
148
168
  return (h("div", null, this.step === FormStep.InputPhone ? this.renderSearchClientForm() : this.renderUserInfoForm(), h("div", { style: { paddingBottom: '24px', paddingTop: '32px', textAlign: 'center' } }, h("powered-by-favesalon", null))));
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
- import { H as HttpService, g as get_1 } from './services-9a686ade.js';
2
+ import { H as HttpService, g as get_1 } from './services-82948efc.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-9bc404fc.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
- import { H as HttpService } from './services-9a686ade.js';
3
+ import { H as HttpService } from './services-82948efc.js';
4
4
  import './_commonjsHelpers-9bc404fc.js';
5
5
 
6
6
  const indexCss = ".chat-widget,.chat-widget--sidebar,.chat-widget--content{display:flex;height:100%;width:100%}.chat-widget{font-size:16px;position:relative;font-family:'Roboto', sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.chat-widget--sidebar,.chat-widget--content{background-color:#fff;border:1px solid #EFEFEF;position:absolute;inset:0;flex-direction:column}.chat-widget .chat-widget--sidebar{z-index:10}.chat-widget .chat-widget--content{z-index:5}.chat-widget.has-chat-room .chat-widget--content{z-index:10}.chat-widget--content-header{background-color:#001529;border-bottom:1px solid #EFEFEF;display:flex;align-items:center;justify-content:space-between;padding:16px}.chat-widget--content-title{font-size:20px;font-weight:600;line-height:1;margin:0}.chat-widget--content-close{border:1px solid #fff;cursor:pointer;display:block;position:absolute;z-index:1000;top:50%;right:0;width:30px;height:30px;transform:translate(0, -50%);-moz-border-radius:30px;-webkit-border-radius:30px;border-radius:30px;background-size:contain;background-repeat:no-repeat;background-position:center center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')}@media (min-width: 992px){.chat-widget--sidebar,.chat-widget--content{position:static;width:auto;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.chat-widget--sidebar{min-width:320px;max-width:320px;margin-right:24px}.chat-widget--content{flex-grow:1;flex-shrink:1}.chat-rooms--search,.chat-widget--content-header{-moz-border-radius:8px 8px 0 0;-webkit-border-radius:8px 8px 0 0;border-radius:8px 8px 0 0}}";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
- import { H as HttpService } from './services-9a686ade.js';
3
+ import { H as HttpService } from './services-82948efc.js';
4
4
  import './_commonjsHelpers-9bc404fc.js';
5
5
 
6
6
  const indexCss = "@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap'); chat-button{display:block;position:relative}.chat-button--indicator{cursor:pointer;position:absolute;inset:0}.chat-button--counter{background-color:rgb(240, 90, 97);border:1px solid rgb(255, 255, 255);position:absolute;right:6px;top:0px;height:8px;width:8px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.chat-box{font-family:'Roboto', sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px;-moz-box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;-webkit-box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;background-color:#fff;display:flex;flex-direction:column;position:fixed;right:1px;bottom:0px;z-index:20000;font-size:16px;text-align:left;color:#141414;width:80vw;height:480px;max-height:80vh}.chat-box--header{display:flex;justify-content:space-between;padding:16px;position:relative;-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px}.chat-box--title{color:#fff;font-size:24px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:space-between;margin:0}.chat-box--close:hover{opacity:0.85}.chat-box--close{cursor:pointer;display:block;position:absolute;z-index:1000;top:50%;right:0;width:40px;height:40px;transform:translate(0, -50%);background-size:contain;background-repeat:no-repeat;background-position:center center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')}.chat-box--help{font-family:'Roboto', sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:fixed;right:16px;bottom:80px;z-index:20000}.chat-box--help-icon{background-color:rgba(0, 21, 41, 1);cursor:pointer;color:#fff;height:50px;width:50px;display:flex;align-items:center;justify-content:center;-moz-border-radius:50px;-webkit-border-radius:50px;border-radius:50px}.chat-box--help-icon:hover{background-color:rgba(0, 21, 41, 0.85)}.chat-box--help-icon svg{height:30px;width:30px}.chat-box--help-close:hover{opacity:0.85}.chat-box--help-close{cursor:pointer;display:block;position:absolute;z-index:1000;top:6px;right:6px;width:24px;height:24px;background-size:contain;background-repeat:no-repeat;background-position:center center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')}.chat-box--help-content-wrapper{background-color:#fff;border:1px solid #f5f5f5;width:200px;padding:20px;position:absolute;bottom:100%;right:-8px;margin-bottom:16px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;-moz-box-shadow:rgba(0, 0, 0, 0.15) 0px 0px 24px;-webkit-box-shadow:rgba(0, 0, 0, 0.15) 0px 0px 24px;box-shadow:rgba(0, 0, 0, 0.15) 0px 0px 24px}.chat-box--help-content{cursor:pointer;display:flex;align-items:center}.chat-box--help-content:hover{opacity:0.85}.chat-box--help-content:before{content:' ';position:absolute;top:100%;right:22px;border-style:solid;border-width:10px;border-color:#f5f5f5 transparent transparent transparent}.chat-box--help-content:after{content:' ';position:absolute;margin-top:-1px;top:100%;right:22px;border-style:solid;border-width:10px;border-color:#fff transparent transparent transparent}.chat-box--help-avatar{margin-right:16px;height:48px;min-width:48px;max-width:48px;overflow:hidden;-moz-border-radius:48px;-webkit-border-radius:48px;border-radius:48px}.chat-box--help-avatar img{height:100%;width:100%;object-fit:cover}.chat-box--help-text{color:#141414;font-size:16px;line-height:1.3;text-align:left}@media (min-width: 768px){.chat-box{border:1px solid #fff;height:480px;max-height:90vh;width:560px}.chat-box--header{-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px}.chat-box--help{bottom:96px}}@media (min-width: 1024px){.chat-box--help{bottom:24px}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
- import { d as dayjs_min, H as HttpService } from './services-9a686ade.js';
2
+ import { d as dayjs_min, H as HttpService } from './services-82948efc.js';
3
3
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9bc404fc.js';
4
4
  import './colors-ea36347a.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
- import { d as dayjs_min, H as HttpService, t as timeFormatAmPm } from './services-9a686ade.js';
2
+ import { d as dayjs_min, H as HttpService, t as timeFormatAmPm } from './services-82948efc.js';
3
3
  import { l as lodash } from './lodash-b4fe554a.js';
4
4
  import { C as Colors } from './colors-ea36347a.js';
5
5
  import { r as relativeTime } from './relativeTime-15477f02.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h } from './index-888e99e3.js';
2
2
  import { l as lodash } from './lodash-b4fe554a.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
- import { H as HttpService } from './services-9a686ade.js';
5
- import { f as formatPhoneNumber } from './utils-fd30fb29.js';
4
+ import { H as HttpService } from './services-82948efc.js';
5
+ import { f as formatPhoneNumber } from './utils-359c37f7.js';
6
6
  import './_commonjsHelpers-9bc404fc.js';
7
7
 
8
8
  const indexCss = "chat-rooms,.chat-rooms{display:flex;flex-direction:column;height:100%;width:100%}.chat-rooms--search{background-color:#001529;border-bottom:1px solid #EFEFEF;display:flex;padding:16px}.chat-rooms--search>input{background-color:#F5F5F5;border:1px solid #EFEFEF;height:40px;width:100%;font-size:16px;padding-left:16px;padding-right:16px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.chat-rooms--search>input:hover,.chat-rooms--search>input:active{border:1px solid #DBDBDB}.chat-rooms--search>button{background-color:#F5F5F5;border:1px solid #EFEFEF;font-size:16px;min-width:80px;height:40px;margin-left:12px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.chat-rooms--list{flex-grow:1;flex-shrink:1;overflow-y:auto}.chat-room{cursor:pointer;display:flex;position:relative;margin-bottom:1px;padding:12px 16px}.chat-room:hover,.chat-room.is-active{background-color:#F5F5F5}.chat-room--user{flex-grow:1;flex-shrink:1;overflow:hidden}.chat-room--user-name{font-size:16px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-room--latest-message{font-size:12px;line-height:14px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-room--user-indicator{background-color:rgb(240, 90, 97);border:1px solid rgb(255, 255, 255);height:8px;width:8px;position:absolute;right:8px;top:50%;transform:translate(0, -50%);-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}";
@@ -144,5 +144,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
144
144
 
145
145
  patchBrowser().then(options => {
146
146
  globalScripts();
147
- return bootstrapLazy([["chat-button",[[0,"chat-button",{"primaryColor":[1,"primary-color"],"receiverId":[1,"receiver-id"],"receiverAvatar":[1,"receiver-avatar"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"senderIdState":[32],"accessTokenState":[32],"senderInfo":[32],"receiverInfo":[32],"chatRoom":[32],"chatMessages":[32],"isChatIconVisible":[32],"isChatHelpVisible":[32],"isChatExpanded":[32],"isChatVerificationExpanded":[32],"isChatExpandedOnScroll":[32],"onSetupChat":[64],"onClickChat":[64],"fetchData":[64],"onVerificationSuccess":[64]}]]],["buy-giftcard-form",[[0,"buy-giftcard-form",{"salonId":[1,"salon-id"],"teConnect":[32],"isLoading":[32],"isSubmitting":[32],"errorMessage":[32],"userInfo":[32],"salonInfo":[32],"giftCardSettings":[32],"magensaCredentials":[32],"step":[32],"selectedAmount":[32],"customAmount":[32],"deliveryType":[32],"deliveryDate":[32],"recipientFirstName":[32],"recipientLastName":[32],"recipientEmail":[32],"recipientEmailConfirm":[32],"recipientMessage":[32],"isInvalidEmails":[32],"isInvalidPhones":[32],"selectedStyleId":[32]}]]],["chat-box",[[0,"chat-box",{"primaryColor":[1,"primary-color"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"salonId":[1,"salon-id"],"chatRooms":[32],"activeRoom":[32],"fetchData":[64]}]]],["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonReviews":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"sortBy":[32],"filterBy":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onChangeFiltering":[64],"onChangeSorting":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonInfo":[32],"stats":[32],"totalReviews":[32],"allReviews":[32],"isLoading":[32],"isSorting":[32],"isFiltering":[32],"isLoadingMore":[32],"canLoadMore":[32],"page":[32],"filterBy":[32],"sortBy":[32]}]]],["style-detail",[[0,"style-detail",{"salonId":[2,"salon-id"],"salonLookbook":[1,"salon-lookbook"],"lookbookInfo":[32],"isModalOpen":[32],"currentMediaIdx":[32],"currentMedia":[32],"albumMedias":[32],"similarStyles":[32],"totalComments":[32],"lookbookComments":[32],"isLayoutSetup":[32],"fetchData":[64]}]]],["salon-booking",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card",[[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"isModalOpen":[32]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"salonServices":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"totalStylists":[32],"page":[32],"isLoading":[32],"isLoadingMore":[32],"canLoadMore":[32],"fetchData":[64],"onLoadMore":[64]}]]],["register-form",[[0,"register-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"firstName":[32],"lastName":[32],"email":[32],"phone":[32],"password":[32],"onSubmit":[64]}]]],["user-form",[[0,"user-form",{"onSuccess":[16],"type":[32],"currentUser":[32]}]]],["buy-giftcard-verification",[[0,"buy-giftcard-verification",{"salonId":[1,"salon-id"],"onSuccess":[16],"step":[32],"userInfo":[32],"inputtedPhone":[32],"isSearchingUser":[32]}]]],["chat-rooms",[[0,"chat-rooms",{"senderId":[2,"sender-id"],"salonId":[2,"salon-id"],"chatRooms":[16],"clients":[16],"activeRoom":[16],"accessToken":[1,"access-token"],"onClickRoom":[16],"keyword":[32]}]]],["salon-locations",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["credit-card-types",[[0,"credit-card-types",{"css":[8]}]]],["notify-sounds",[[0,"notify-sounds"]]],["salon-latest-styles",[[0,"salon-latest-styles",{"salonId":[2,"salon-id"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"isLoadingState":[32],"latestStyles":[32],"fetchData":[64]}]]],["salon-schedules",[[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["chat-messages",[[0,"chat-messages",{"sender":[16],"receiver":[16],"messages":[16],"chatRoomId":[1,"chat-room-id"],"messagesLength":[32],"isScrollIconVisible":[32]}]]],["activate-form",[[0,"activate-form",{"username":[1],"password":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"onSubmit":[64],"resendCode":[64]}]]],["change-password-form",[[0,"change-password-form",{"username":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"password":[32],"onSubmit":[64],"resendCode":[64]}]]],["chat-form",[[0,"chat-form",{"senderId":[2,"sender-id"],"chatRoomId":[1,"chat-room-id"]}]]],["google-map",[[0,"google-map",{"locationName":[1,"location-name"],"locationAddress":[1,"location-address"]}]]],["login-form",[[0,"login-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"password":[32],"onSubmit":[64]}]]],["powered-by-favesalon",[[0,"powered-by-favesalon",{"css":[8]}]]],["reset-password-form",[[0,"reset-password-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"onSubmit":[64]}]]],["wizard-existing-user",[[0,"wizard-existing-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["wizard-new-user",[[0,"wizard-new-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"firstName":[1,"first-name"],"lastName":[1,"last-name"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"description":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]]], options);
147
+ return bootstrapLazy([["buy-giftcard-form",[[0,"buy-giftcard-form",{"salonId":[1,"salon-id"],"teConnect":[32],"isLoading":[32],"isSubmitting":[32],"errorMessage":[32],"userInfo":[32],"salonInfo":[32],"giftCardSettings":[32],"magensaCredentials":[32],"step":[32],"selectedAmount":[32],"customAmount":[32],"deliveryType":[32],"deliveryDate":[32],"recipientFirstName":[32],"recipientLastName":[32],"recipientEmail":[32],"recipientEmailConfirm":[32],"recipientMessage":[32],"isInvalidEmails":[32],"isInvalidPhones":[32],"selectedStyleId":[32],"isDeliveryDoneVisible":[32]}]]],["chat-button",[[0,"chat-button",{"primaryColor":[1,"primary-color"],"receiverId":[1,"receiver-id"],"receiverAvatar":[1,"receiver-avatar"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"senderIdState":[32],"accessTokenState":[32],"senderInfo":[32],"receiverInfo":[32],"chatRoom":[32],"chatMessages":[32],"isChatIconVisible":[32],"isChatHelpVisible":[32],"isChatExpanded":[32],"isChatVerificationExpanded":[32],"isChatExpandedOnScroll":[32],"onSetupChat":[64],"onClickChat":[64],"fetchData":[64],"onVerificationSuccess":[64]}]]],["chat-box",[[0,"chat-box",{"primaryColor":[1,"primary-color"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"salonId":[1,"salon-id"],"chatRooms":[32],"activeRoom":[32],"fetchData":[64]}]]],["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonReviews":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"sortBy":[32],"filterBy":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onChangeFiltering":[64],"onChangeSorting":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonInfo":[32],"stats":[32],"totalReviews":[32],"allReviews":[32],"isLoading":[32],"isSorting":[32],"isFiltering":[32],"isLoadingMore":[32],"canLoadMore":[32],"page":[32],"filterBy":[32],"sortBy":[32]}]]],["style-detail",[[0,"style-detail",{"salonId":[2,"salon-id"],"salonLookbook":[1,"salon-lookbook"],"lookbookInfo":[32],"isModalOpen":[32],"currentMediaIdx":[32],"currentMedia":[32],"albumMedias":[32],"similarStyles":[32],"totalComments":[32],"lookbookComments":[32],"isLayoutSetup":[32],"fetchData":[64]}]]],["salon-booking",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card",[[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"isModalOpen":[32]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"salonServices":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"totalStylists":[32],"page":[32],"isLoading":[32],"isLoadingMore":[32],"canLoadMore":[32],"fetchData":[64],"onLoadMore":[64]}]]],["user-form",[[0,"user-form",{"onSuccess":[16],"type":[32],"currentUser":[32]}]]],["powered-by-favesalon",[[0,"powered-by-favesalon",{"css":[8]}]]],["buy-giftcard-verification",[[0,"buy-giftcard-verification",{"salonId":[1,"salon-id"],"onSuccess":[16],"step":[32],"userInfo":[32],"inputtedPhone":[32],"isSearchingUser":[32]}]]],["chat-rooms",[[0,"chat-rooms",{"senderId":[2,"sender-id"],"salonId":[2,"salon-id"],"chatRooms":[16],"clients":[16],"activeRoom":[16],"accessToken":[1,"access-token"],"onClickRoom":[16],"keyword":[32]}]]],["salon-locations",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["credit-card-types",[[0,"credit-card-types",{"css":[8]}]]],["icon-checked",[[0,"icon-checked",{"size":[2]}]]],["icon-date",[[0,"icon-date",{"size":[2]}]]],["icon-location-marker",[[0,"icon-location-marker",{"size":[2]}]]],["icon-phone",[[0,"icon-phone",{"size":[2]}]]],["notify-sounds",[[0,"notify-sounds"]]],["salon-latest-styles",[[0,"salon-latest-styles",{"salonId":[2,"salon-id"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"isLoadingState":[32],"latestStyles":[32],"fetchData":[64]}]]],["salon-schedules",[[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["chat-messages",[[0,"chat-messages",{"sender":[16],"receiver":[16],"messages":[16],"chatRoomId":[1,"chat-room-id"],"messagesLength":[32],"isScrollIconVisible":[32]}]]],["icon-loading",[[0,"icon-loading",{"size":[2]}]]],["wizard-existing-user",[[0,"wizard-existing-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["wizard-new-user",[[0,"wizard-new-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"firstName":[1,"first-name"],"lastName":[1,"last-name"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["activate-form",[[0,"activate-form",{"username":[1],"password":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"onSubmit":[64],"resendCode":[64]}]]],["change-password-form",[[0,"change-password-form",{"username":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"password":[32],"onSubmit":[64],"resendCode":[64]}]]],["chat-form",[[0,"chat-form",{"senderId":[2,"sender-id"],"chatRoomId":[1,"chat-room-id"]}]]],["google-map",[[0,"google-map",{"locationName":[1,"location-name"],"locationAddress":[1,"location-address"]}]]],["login-form",[[0,"login-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"password":[32],"onSubmit":[64]}]]],["register-form",[[0,"register-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"firstName":[32],"lastName":[32],"email":[32],"phone":[32],"password":[32],"onSubmit":[64]}]]],["reset-password-form",[[0,"reset-password-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"onSubmit":[64]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"description":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]]], options);
148
148
  });
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-888e99e3.js';
2
+
3
+ const iconCheckedCss = "";
4
+
5
+ const IconChecked = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.size = 32;
9
+ }
10
+ render() {
11
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
12
+ width: `${this.size}px`,
13
+ height: 'auto',
14
+ } }, h("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11.0026 16L18.0737 8.92893L16.6595 7.51472L11.0026 13.1716L8.17421 10.3431L6.75999 11.7574L11.0026 16Z" })));
15
+ }
16
+ };
17
+ IconChecked.style = iconCheckedCss;
18
+
19
+ export { IconChecked as icon_checked };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-888e99e3.js';
2
+
3
+ const iconDateCss = "";
4
+
5
+ const IconDate = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.size = 24;
9
+ }
10
+ render() {
11
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
12
+ width: `${this.size}px`,
13
+ height: 'auto',
14
+ } }, h("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })));
15
+ }
16
+ };
17
+ IconDate.style = iconDateCss;
18
+
19
+ export { IconDate as icon_date };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-888e99e3.js';
2
+
3
+ const iconLoadingCss = ".fs-spin svg{display:inline-block;-webkit-animation:loadingCircle 1s infinite linear;animation:loadingCircle 1s infinite linear}@-webkit-keyframes loadingCircle{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loadingCircle{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
4
+
5
+ const IconLoading = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.size = 18;
9
+ }
10
+ render() {
11
+ return (h("span", { class: "fs-spin", style: { position: 'relative', top: '3px' } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
12
+ width: `${this.size}px`,
13
+ height: 'auto',
14
+ } }, h("path", { d: "M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z" }))));
15
+ }
16
+ };
17
+ IconLoading.style = iconLoadingCss;
18
+
19
+ export { IconLoading as icon_loading };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-888e99e3.js';
2
+
3
+ const iconLocationMarkerCss = "";
4
+
5
+ const IconLocationMarker = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.size = 24;
9
+ }
10
+ render() {
11
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
12
+ width: `${this.size}px`,
13
+ height: 'auto',
14
+ } }, h("path", { d: "M18.364 17.364L12 23.7279L5.63604 17.364C2.12132 13.8492 2.12132 8.15076 5.63604 4.63604C9.15076 1.12132 14.8492 1.12132 18.364 4.63604C21.8787 8.15076 21.8787 13.8492 18.364 17.364ZM12 15C14.2091 15 16 13.2091 16 11C16 8.79086 14.2091 7 12 7C9.79086 7 8 8.79086 8 11C8 13.2091 9.79086 15 12 15ZM12 13C10.8954 13 10 12.1046 10 11C10 9.89543 10.8954 9 12 9C13.1046 9 14 9.89543 14 11C14 12.1046 13.1046 13 12 13Z" })));
15
+ }
16
+ };
17
+ IconLocationMarker.style = iconLocationMarkerCss;
18
+
19
+ export { IconLocationMarker as icon_location_marker };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-888e99e3.js';
2
+
3
+ const iconPhoneCss = "";
4
+
5
+ const IconPhone = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.size = 24;
9
+ }
10
+ render() {
11
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
12
+ width: `${this.size}px`,
13
+ height: 'auto',
14
+ } }, h("path", { d: "M21 16.42V19.9561C21 20.4811 20.5941 20.9167 20.0705 20.9537C19.6331 20.9846 19.2763 21 19 21C10.1634 21 3 13.8366 3 5C3 4.72371 3.01545 4.36687 3.04635 3.9295C3.08337 3.40588 3.51894 3 4.04386 3H7.5801C7.83678 3 8.05176 3.19442 8.07753 3.4498C8.10067 3.67907 8.12218 3.86314 8.14207 4.00202C8.34435 5.41472 8.75753 6.75936 9.3487 8.00303C9.44359 8.20265 9.38171 8.44159 9.20185 8.57006L7.04355 10.1118C8.35752 13.1811 10.8189 15.6425 13.8882 16.9565L15.4271 14.8019C15.5572 14.6199 15.799 14.5573 16.001 14.6532C17.2446 15.2439 18.5891 15.6566 20.0016 15.8584C20.1396 15.8782 20.3225 15.8995 20.5502 15.9225C20.8056 15.9483 21 16.1633 21 16.42Z" })));
15
+ }
16
+ };
17
+ IconPhone.style = iconPhoneCss;
18
+
19
+ export { IconPhone as icon_phone };