@salla.sa/twilight-components 1.4.21 → 1.5.2

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 (62) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/salla-button_24.cjs.entry.js +287 -242
  3. package/dist/cjs/salla-scopes.cjs.entry.js +156 -0
  4. package/dist/cjs/search-b487cc49.js +13 -0
  5. package/dist/cjs/twilight-components.cjs.js +1 -1
  6. package/dist/collection/assets/{flat.svg → svg/flat.svg} +0 -0
  7. package/dist/collection/assets/svg/tag.svg +0 -1
  8. package/dist/collection/components/salla-login-modal/salla-login-modal.js +12 -6
  9. package/dist/collection/components/salla-loyalty/salla-loyalty.js +1 -1
  10. package/dist/collection/components/salla-modal/salla-modal.js +21 -51
  11. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +39 -32
  12. package/dist/collection/components/salla-product-availability/salla-product-availability.js +4 -2
  13. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +12 -9
  14. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +4 -2
  15. package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +4 -3
  16. package/dist/collection/components/salla-search/salla-search.js +7 -4
  17. package/dist/collection/components/salla-social-share/salla-social-share.js +3 -1
  18. package/dist/collection/components/salla-swiper/salla-swiper.css +0 -23
  19. package/dist/collection/components/salla-swiper/salla-swiper.js +4 -2
  20. package/dist/collection/components/salla-tel-input/salla-tel-input.css +1 -2
  21. package/dist/collection/components/salla-verify/salla-verify.js +4 -1
  22. package/dist/components/arrow-right.js +11 -0
  23. package/dist/components/cancel.js +11 -0
  24. package/dist/components/keyboard_arrow_right.js +11 -0
  25. package/dist/components/mail.js +11 -0
  26. package/dist/components/salla-login-modal.js +20 -3
  27. package/dist/components/salla-loyalty.js +3 -15
  28. package/dist/components/salla-modal2.js +25 -25
  29. package/dist/components/salla-offer-modal.js +25 -3
  30. package/dist/components/salla-product-availability2.js +9 -2
  31. package/dist/components/salla-quantity-input.js +16 -2
  32. package/dist/components/salla-rating-modal.js +10 -3
  33. package/dist/components/salla-rating-stars2.js +4 -3
  34. package/dist/components/salla-scopes.js +1 -7
  35. package/dist/components/salla-search.js +7 -4
  36. package/dist/components/salla-social-share.js +10 -8
  37. package/dist/components/salla-swiper2.js +10 -2
  38. package/dist/components/salla-tel-input2.js +1 -1
  39. package/dist/components/salla-verify2.js +8 -1
  40. package/dist/components/search.js +11 -0
  41. package/dist/components/star2.js +11 -0
  42. package/dist/esm/loader.js +1 -1
  43. package/dist/esm/salla-button_24.entry.js +287 -242
  44. package/dist/esm/salla-scopes.entry.js +152 -0
  45. package/dist/esm/search-19ea3313.js +11 -0
  46. package/dist/esm/twilight-components.js +1 -1
  47. package/dist/twilight-components/p-282f9df8.entry.js +4 -0
  48. package/dist/twilight-components/p-40a01521.entry.js +4 -0
  49. package/dist/twilight-components/p-475ef754.js +4 -0
  50. package/dist/twilight-components/twilight-components.esm.js +1 -1
  51. package/dist/types/components/salla-modal/salla-modal.d.ts +2 -10
  52. package/dist/types/components/salla-search/salla-search.d.ts +1 -1
  53. package/dist/types/components.d.ts +4 -18
  54. package/example/assets/tailwind.css +269 -75
  55. package/package.json +4 -4
  56. package/dist/cjs/Helper-8ae6a805.js +0 -28
  57. package/dist/cjs/salla-quantity-input.cjs.entry.js +0 -87
  58. package/dist/esm/Helper-e1d414a5.js +0 -26
  59. package/dist/esm/salla-quantity-input.entry.js +0 -83
  60. package/dist/twilight-components/p-4c5055cf.entry.js +0 -4
  61. package/dist/twilight-components/p-9d2ca9c8.js +0 -4
  62. package/dist/twilight-components/p-b31f472a.entry.js +0 -4
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index$1 = require('./index-0d0167d5.js');
9
- const Helper = require('./Helper-8ae6a805.js');
9
+ const search = require('./search-b487cc49.js');
10
10
 
11
11
  const sallaButtonCss = "";
12
12
 
@@ -117,6 +117,28 @@ const SallaButton = class {
117
117
  };
118
118
  SallaButton.style = sallaButtonCss;
119
119
 
120
+ //TODO::check why there are too much listeners for languages::translations.loaded
121
+ salla.event.setMaxListeners(20);
122
+ class Helper extends salla.AppHelpers {
123
+ setHost(host) {
124
+ this.host = host;
125
+ }
126
+ getElement(selector) {
127
+ return this.host.querySelector(selector);
128
+ }
129
+ getAttribute(selector, attribute) {
130
+ var _a;
131
+ return (_a = this.getElement(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(attribute);
132
+ }
133
+ val(selector) {
134
+ return this.getAttribute(selector, 'value');
135
+ }
136
+ isUser() {
137
+ return salla.config.get('user.type') === 'user';
138
+ }
139
+ }
140
+ const Helper$1 = new Helper;
141
+
120
142
  const sallaInfiniteScrollCss = "";
121
143
 
122
144
  const SallaInfiniteScroll = class {
@@ -138,7 +160,7 @@ const SallaInfiniteScroll = class {
138
160
  * Class selector to know list items
139
161
  */
140
162
  this.item = 'salla-infinite-scroll > *';
141
- Helper.Helper.setHost(this.host);
163
+ Helper$1.setHost(this.host);
142
164
  this.status = document.createElement('div');
143
165
  this.status.className = 's-infinite-scroll-wrapper';
144
166
  this.status.innerHTML = `<div class="s-infinite-scroll-status" style="display:none">
@@ -158,7 +180,7 @@ const SallaInfiniteScroll = class {
158
180
  }
159
181
  loading(isLoading = true) {
160
182
  let btnText = this.status.querySelector('.s-button-text');
161
- Helper.Helper.toggleElementClassIf(btnText, 's-button-hide', 's-button-show', () => isLoading);
183
+ Helper$1.toggleElementClassIf(btnText, 's-button-hide', 's-button-show', () => isLoading);
162
184
  this.btnLoader.style.display = isLoading ? 'inherit' : 'none';
163
185
  }
164
186
  render() {
@@ -258,7 +280,7 @@ const SallaLocalizationModal = class {
258
280
  this.isLoading = true;
259
281
  this.language = salla.config.get('user.language_code');
260
282
  this.currency = salla.config.get('user.currency_code');
261
- Helper.Helper.setHost(this.host);
283
+ Helper$1.setHost(this.host);
262
284
  salla.event.on('localization::open', () => this.open());
263
285
  salla.lang.onLoaded(() => {
264
286
  var _a;
@@ -275,8 +297,8 @@ const SallaLocalizationModal = class {
275
297
  * Because scoped templates not supported in stencil );
276
298
  * we made a workaround to pass language & currency attributes, then replace names in rendering
277
299
  */
278
- this.languageSlot = ((_a = Helper.Helper.getElement('[slot="language"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || '<label class="s-localization-modal-label" for="lang-{code}"><span>{name}</span><div class="s-localization-modal-flag flag iti__flag iti__{country_code}"></div></label>';
279
- this.currencySlot = ((_b = Helper.Helper.getElement('[slot="currency"]')) === null || _b === void 0 ? void 0 : _b.innerHTML) || '<label class="s-localization-modal-label" for="currency-{code}"><span>{name}</span><small class="s-localization-modal-currency">{code}</small></label>';
300
+ this.languageSlot = ((_a = Helper$1.getElement('[slot="language"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || '<label class="s-localization-modal-label" for="lang-{code}"><span>{name}</span><div class="s-localization-modal-flag flag iti__flag iti__{country_code}"></div></label>';
301
+ this.currencySlot = ((_b = Helper$1.getElement('[slot="currency"]')) === null || _b === void 0 ? void 0 : _b.innerHTML) || '<label class="s-localization-modal-label" for="currency-{code}"><span>{name}</span><small class="s-localization-modal-currency">{code}</small></label>';
280
302
  }
281
303
  /**
282
304
  * open the component
@@ -356,6 +378,41 @@ const SallaLocalizationModal = class {
356
378
  };
357
379
  SallaLocalizationModal.style = sallaLocalizationModalCss;
358
380
 
381
+ const UserIcon = `<!-- Generated by IcoMoon.io -->
382
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
383
+ <title>user</title>
384
+ <path d="M16 16c4.412 0 8-3.588 8-8s-3.588-8-8-8-8 3.588-8 8 3.588 8 8 8zM16 2.667c2.941 0 5.333 2.392 5.333 5.333s-2.392 5.333-5.333 5.333-5.333-2.392-5.333-5.333 2.392-5.333 5.333-5.333zM16 18.667c-7.476 0-13.333 3.66-13.333 8.333v3.667c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-3.667c0-3.019 4.984-5.667 10.667-5.667s10.667 2.648 10.667 5.667v3.667c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-3.667c0-4.673-5.857-8.333-13.333-8.333z"></path>
385
+ </svg>
386
+ `;
387
+
388
+ const PhoneIcon = `<!-- Generated by IcoMoon.io -->
389
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
390
+ <title>phone</title>
391
+ <path d="M30.823 21.713l-3.883-3.883c-1.569-1.568-4.12-1.568-5.689 0l-2.568 2.568c-3.063-1.499-5.583-4.019-7.081-7.083l2.568-2.567c0.759-0.76 1.177-1.771 1.177-2.845s-0.419-2.084-1.179-2.844l-3.881-3.881c-1.52-1.521-4.171-1.521-5.689 0l-1.845 1.847c-2.22 2.219-3.183 5.407-2.573 8.527 1.98 10.144 10.125 18.292 20.269 20.271 0.616 0.121 1.236 0.18 1.849 0.18 2.492 0 4.896-0.972 6.677-2.752l1.847-1.847c1.568-1.571 1.568-4.121 0.001-5.691zM28.936 25.517l-1.845 1.847c-1.592 1.592-3.883 2.283-6.132 1.841-9.089-1.776-16.388-9.075-18.163-18.165-0.439-2.247 0.249-4.539 1.841-6.129l1.847-1.847c0.256-0.257 0.596-0.397 0.959-0.397s0.703 0.14 0.959 0.397l3.883 3.883c0.256 0.256 0.397 0.596 0.397 0.959s-0.141 0.703-0.397 0.96l-3.22 3.217c-0.383 0.384-0.496 0.959-0.287 1.457 1.813 4.339 5.343 7.868 9.683 9.684 0.497 0.207 1.073 0.095 1.457-0.288l3.22-3.22c0.529-0.529 1.389-0.528 1.917 0l3.881 3.883c0.528 0.529 0.528 1.389 0 1.919z"></path>
392
+ </svg>
393
+ `;
394
+
395
+ const email = `<!-- Generated by IcoMoon.io -->
396
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
397
+ <title>mail</title>
398
+ <path d="M28 2.667h-24c-2.205 0-4 1.795-4 4v18.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-18.667c0-2.205-1.795-4-4-4zM29.333 25.333c0 0.735-0.599 1.333-1.333 1.333h-24c-0.735 0-1.333-0.599-1.333-1.333v-12.685l10.54 4.865c0.888 0.409 1.84 0.613 2.793 0.613s1.907-0.204 2.793-0.615l10.54-4.864zM29.333 9.711l-11.657 5.38c-1.065 0.492-2.288 0.492-3.353 0l-11.656-5.38v-3.044c0-0.735 0.599-1.333 1.333-1.333h24c0.735 0 1.333 0.599 1.333 1.333z"></path>
399
+ </svg>
400
+ `;
401
+
402
+ const KeyboardArrowRightIcon = `<!-- Generated by IcoMoon.io -->
403
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
404
+ <title>keyboard_arrow_right</title>
405
+ <path d="M11.438 22.479l6.125-6.125-6.125-6.125 1.875-1.875 8 8-8 8z"></path>
406
+ </svg>
407
+ `;
408
+
409
+ const ArrowRightIcon = `<!-- Generated by IcoMoon.io -->
410
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
411
+ <title>arrow-right</title>
412
+ <path d="M29.217 15.465c-0.019-0.044-0.056-0.077-0.080-0.119-0.067-0.116-0.139-0.227-0.236-0.317-0.011-0.009-0.013-0.024-0.024-0.033l-10.667-9.333c-0.553-0.484-1.396-0.429-1.881 0.125-0.484 0.555-0.428 1.396 0.127 1.881l7.996 6.997h-20.452c-0.737 0-1.333 0.597-1.333 1.333s0.596 1.333 1.333 1.333h20.452l-7.996 6.997c-0.555 0.485-0.611 1.327-0.127 1.881 0.264 0.3 0.633 0.455 1.004 0.455 0.312 0 0.625-0.109 0.877-0.331l10.667-9.333c0.011-0.009 0.015-0.024 0.024-0.033 0.097-0.091 0.169-0.201 0.236-0.317 0.024-0.041 0.060-0.075 0.080-0.119 0.073-0.163 0.116-0.343 0.116-0.533s-0.043-0.371-0.116-0.535z"></path>
413
+ </svg>
414
+ `;
415
+
359
416
  const sallaLoginModalCss = "";
360
417
 
361
418
  const SallaLoginModal = class {
@@ -388,7 +445,7 @@ const SallaLoginModal = class {
388
445
  this.login(this.smsBtn, { type: 'mobile', phone: phone, country_code: countryCode });
389
446
  };
390
447
  this.loginByEmail = () => {
391
- if (!Helper.Helper.isValidEmail(this.loginEmail.value)) {
448
+ if (!Helper$1.isValidEmail(this.loginEmail.value)) {
392
449
  this.validateField(this.loginEmail, this.emailErrorMsg);
393
450
  return;
394
451
  }
@@ -497,8 +554,8 @@ const SallaLoginModal = class {
497
554
  var _a, _b;
498
555
  evt === null || evt === void 0 ? void 0 : evt.preventDefault();
499
556
  let tabs = [this.homeTab, this.mobileTab, this.emailTab, this.verifyTab, this.registrationTab];
500
- tabs.map(el => Helper.Helper.toggleElementClassIf(el, 'visible', 's-hidden', () => el == tab));
501
- setTimeout(() => tabs.map(el => Helper.Helper.toggleElementClassIf(el, 's-login-modal-active', 's-login-modal-unactive', () => el == tab)), 200);
557
+ tabs.map(el => Helper$1.toggleElementClassIf(el, 'visible', 's-hidden', () => el == tab));
558
+ setTimeout(() => tabs.map(el => Helper$1.toggleElementClassIf(el, 's-login-modal-active', 's-login-modal-unactive', () => el == tab)), 200);
502
559
  //we should have only one salla-login, so it's okay to get it from document
503
560
  //todo:: use better way for resize the modal
504
561
  setTimeout(() => { var _a; return (_a = this.modal.querySelector('.s-login-modal-wrapper')) === null || _a === void 0 ? void 0 : _a.setAttribute('style', 'height:' + (tab === null || tab === void 0 ? void 0 : tab.scrollHeight) + 'px'); });
@@ -509,7 +566,7 @@ const SallaLoginModal = class {
509
566
  (_a = tab.querySelector('input')) === null || _a === void 0 ? void 0 : _a.focus(); // focus the first input in tab
510
567
  (_b = this.modal) === null || _b === void 0 ? void 0 : _b.setTitle(isRegistrationTab ? salla.lang.get('common.titles.registration') : this.title);
511
568
  if (!isRegistrationTab) {
512
- Helper.Helper.toggleElementClassIf(this.regMobileBlock, 's-hidden', 's-show', () => this.regType === 'phone')
569
+ Helper$1.toggleElementClassIf(this.regMobileBlock, 's-hidden', 's-show', () => this.regType === 'phone')
513
570
  .toggleElementClassIf(this.regEmailBlock, 's-hidden', 's-show', () => this.regType === 'email');
514
571
  }
515
572
  return this;
@@ -523,7 +580,7 @@ const SallaLoginModal = class {
523
580
  .finally(() => btn.stop() && btn.enable());
524
581
  }
525
582
  async newUserValidation() {
526
- const isLogByPhone = this.regType == "phone", isLogByEmail = this.regType == "email", emailValue = this.regEmail.value || (isLogByEmail && this.loginEmail.value), isEmailValid = Helper.Helper.isValidEmail(emailValue), isFirstNameValid = this.firstName.value.length > 0, isLastNameValid = this.lastName.value.length > 0, isPhoneValid = await this.regTelInput.isValid() || isLogByPhone && await this.loginTelInput.isValid(), emailValidation = (emailValue && isEmailValid) || (!emailValue && !this.isEmailRequired);
583
+ const isLogByPhone = this.regType == "phone", isLogByEmail = this.regType == "email", emailValue = this.regEmail.value || (isLogByEmail && this.loginEmail.value), isEmailValid = Helper$1.isValidEmail(emailValue), isFirstNameValid = this.firstName.value.length > 0, isLastNameValid = this.lastName.value.length > 0, isPhoneValid = await this.regTelInput.isValid() || isLogByPhone && await this.loginTelInput.isValid(), emailValidation = (emailValue && isEmailValid) || (!emailValue && !this.isEmailRequired);
527
584
  if (emailValidation && isPhoneValid && isFirstNameValid && isLastNameValid)
528
585
  return;
529
586
  !isEmailValid && this.validateField(this.regEmail, this.emailErrorMsg);
@@ -537,14 +594,14 @@ const SallaLoginModal = class {
537
594
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
538
595
  }
539
596
  render() {
540
- return (index$1.h("salla-modal", { id: "salla-login", icon: "sicon-user", "modal-title": this.title, ref: modal => this.modal = modal, width: "xs" }, index$1.h("div", { class: "s-login-modal-wrapper" }, this.isEmailAllowed && this.isMobileAllowed ?
541
- index$1.h("div", { class: "s-login-modal-tab", ref: tab => this.homeTab = tab }, index$1.h("p", { class: "s-login-modal-sub-title" }, this.loginTypeTitle), index$1.h("slot", { name: "before-login-type" }), index$1.h("a", { href: "#", class: "s-login-modal-main-btn", onClick: (evt) => this.showTab(this.mobileTab, evt) }, index$1.h("i", { class: "s-login-modal-main-btn-icon sicon-phone" }), index$1.h("span", { class: "s-login-modal-main-btn-text" }, this.smsLabel), index$1.h("i", { class: "sicon-keyboard_arrow_left arrow" })), index$1.h("a", { href: "#", class: "s-login-modal-main-btn", onClick: (evt) => this.showTab(this.emailTab, evt) }, index$1.h("i", { class: "s-login-modal-main-btn-icon sicon-mail" }), index$1.h("span", { class: "s-login-modal-main-btn-text" }, this.emailLabel), index$1.h("i", { class: "sicon-keyboard_arrow_left arrow" })), index$1.h("slot", { name: "after-login-type" }))
597
+ return (index$1.h("salla-modal", { class: "s-login-modal", "modal-title": this.title, ref: modal => this.modal = modal, width: "xs" }, index$1.h("span", { slot: 'icon', class: "s-login-modal-header-icon", innerHTML: UserIcon }), index$1.h("div", { class: "s-login-modal-wrapper" }, this.isEmailAllowed && this.isMobileAllowed ?
598
+ index$1.h("div", { class: "s-login-modal-tab", ref: tab => this.homeTab = tab }, index$1.h("p", { class: "s-login-modal-sub-title" }, this.loginTypeTitle), index$1.h("slot", { name: "before-login-type" }), index$1.h("a", { href: "#", class: "s-login-modal-main-btn", onClick: (evt) => this.showTab(this.mobileTab, evt) }, index$1.h("span", { class: "s-login-modal-main-btn-icon", innerHTML: PhoneIcon }), index$1.h("span", { class: "s-login-modal-main-btn-text" }, this.smsLabel), index$1.h("span", { class: "s-login-modal-main-btn-arrow", innerHTML: KeyboardArrowRightIcon })), index$1.h("a", { href: "#", class: "s-login-modal-main-btn", onClick: (evt) => this.showTab(this.emailTab, evt) }, index$1.h("span", { class: "s-login-modal-main-btn-icon", innerHTML: email }), index$1.h("span", { class: "s-login-modal-main-btn-text" }, this.emailLabel), index$1.h("span", { class: "s-login-modal-main-btn-arrow", innerHTML: KeyboardArrowRightIcon })), index$1.h("slot", { name: "after-login-type" }))
542
599
  : '', this.isMobileAllowed ?
543
600
  index$1.h("div", { class: "s-login-modal-tab", ref: tab => this.mobileTab = tab }, index$1.h("slot", { name: "before-login-mobile" }), index$1.h("label", { class: "s-login-modal-label" }, this.mobileLabel), index$1.h("salla-tel-input", { ref: el => this.loginTelInput = el, onKeyDown: e => this.typing(e, this.loginBySMS) }), index$1.h("salla-button", { "loader-position": 'center', width: "wide", onClick: () => this.loginBySMS(), ref: b => this.smsBtn = b }, salla.lang.get('blocks.header.enter')), this.isEmailAllowed ?
544
601
  index$1.h("a", { href: "#", onClick: () => this.showTab(this.emailTab), class: "s-login-modal-link" }, this.byEmailText) : '', index$1.h("slot", { name: "after-login-mobile" })) : '', this.isEmailAllowed ?
545
602
  index$1.h("div", { class: "s-login-modal-tab", ref: tab => this.emailTab = tab }, index$1.h("slot", { name: "before-login-email" }), index$1.h("label", { class: "s-login-modal-label" }, this.emailLabel), index$1.h("input", { type: "email", ref: el => this.loginEmail = el, onKeyDown: e => this.typing(e, this.loginByEmail), placeholder: "your@email.com", class: "s-login-modal-input s-ltr" }), index$1.h("span", { class: "s-login-modal-error-message" }), index$1.h("salla-button", { "loader-position": 'center', width: "wide", onClick: () => this.loginByEmail(), ref: b => this.emailBtn = b }, salla.lang.get('blocks.header.enter')), this.isMobileAllowed ?
546
603
  index$1.h("a", { href: "#", onClick: () => this.showTab(this.mobileTab), class: "s-login-modal-link" }, this.bySMSText)
547
- : '', index$1.h("slot", { name: "after-login-email" })) : '', index$1.h("salla-verify", { display: "inline", ref: tab => this.verifyTab = tab, autoReload: false }, index$1.h("a", { onClick: () => this.showTab(this.regType == 'phone' ? this.mobileTab : this.emailTab), class: "s-verify-back sicon-arrow-right", slot: "after-footer", href: "#" })), index$1.h("div", { ref: tab => this.registrationTab = tab }, index$1.h("slot", { name: "before-registration" }), index$1.h("div", null, index$1.h("label", { class: "s-login-modal-label" }, this.firstNameLabel), index$1.h("input", { type: "text", class: "s-login-modal-input", ref: el => this.firstName = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: salla.lang.get('pages.profile.first_name') }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("div", null, index$1.h("label", { class: "s-login-modal-label" }, this.lastNameLabel), index$1.h("input", { type: "text", class: "s-login-modal-input", ref: el => this.lastName = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: salla.lang.get('pages.profile.last_name') }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("div", { ref: el => this.regMobileBlock = el, class: "mb-1.5" }, index$1.h("label", { class: "s-login-modal-label" }, this.mobileLabel), index$1.h("salla-tel-input", { ref: el => this.regTelInput = el, onKeyDown: e => this.typing(e, this.newUser) })), index$1.h("div", { ref: el => this.regEmailBlock = el, class: "mb-1.5" }, index$1.h("label", { class: "s-login-modal-label" }, this.emailLabel), index$1.h("input", { type: "email", ref: el => this.regEmail = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: "your@email.com", class: "s-login-modal-input s-ltr" }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("salla-button", { "loader-position": 'center', width: "wide", onClick: () => this.newUser(), ref: b => this.regBtn = b }, salla.lang.get('blocks.header.register')), index$1.h("slot", { name: "after-registration" })))));
604
+ : '', index$1.h("slot", { name: "after-login-email" })) : '', index$1.h("salla-verify", { display: "inline", ref: tab => this.verifyTab = tab, autoReload: false }, index$1.h("a", { onClick: () => this.showTab(this.regType == 'phone' ? this.mobileTab : this.emailTab), class: "s-verify-back", innerHTML: ArrowRightIcon, slot: "after-footer", href: "#" })), index$1.h("div", { ref: tab => this.registrationTab = tab }, index$1.h("slot", { name: "before-registration" }), index$1.h("div", null, index$1.h("label", { class: "s-login-modal-label" }, this.firstNameLabel), index$1.h("input", { type: "text", class: "s-login-modal-input", ref: el => this.firstName = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: salla.lang.get('pages.profile.first_name') }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("div", null, index$1.h("label", { class: "s-login-modal-label" }, this.lastNameLabel), index$1.h("input", { type: "text", class: "s-login-modal-input", ref: el => this.lastName = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: salla.lang.get('pages.profile.last_name') }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("div", { ref: el => this.regMobileBlock = el, class: "mb-1.5" }, index$1.h("label", { class: "s-login-modal-label" }, this.mobileLabel), index$1.h("salla-tel-input", { ref: el => this.regTelInput = el, onKeyDown: e => this.typing(e, this.newUser) })), index$1.h("div", { ref: el => this.regEmailBlock = el, class: "mb-1.5" }, index$1.h("label", { class: "s-login-modal-label" }, this.emailLabel), index$1.h("input", { type: "email", ref: el => this.regEmail = el, onKeyDown: e => this.typing(e, this.newUser), placeholder: "your@email.com", class: "s-login-modal-input s-ltr" }), index$1.h("span", { class: "s-login-modal-error-message" })), index$1.h("salla-button", { "loader-position": 'center', width: "wide", onClick: () => this.newUser(), ref: b => this.regBtn = b }, salla.lang.get('blocks.header.register')), index$1.h("slot", { name: "after-registration" })))));
548
605
  }
549
606
  get host() { return index$1.getElement(this); }
550
607
  };
@@ -607,7 +664,7 @@ const Star3 = `<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" vi
607
664
  </svg>
608
665
  `;
609
666
 
610
- const CancelIcon = `<!-- Generated by IcoMoon.io -->
667
+ const Cancel = `<!-- Generated by IcoMoon.io -->
611
668
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
612
669
  <title>cancel</title>
613
670
  <path d="M17.885 16l7.057-7.057c0.521-0.521 0.521-1.364 0-1.885s-1.364-0.521-1.885 0l-7.057 7.057-7.057-7.057c-0.521-0.521-1.364-0.521-1.885 0s-0.521 1.364 0 1.885l7.057 7.057-7.057 7.057c-0.521 0.521-0.521 1.364 0 1.885 0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391l7.057-7.057 7.057 7.057c0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391c0.521-0.521 0.521-1.364 0-1.885z"></path>
@@ -698,7 +755,7 @@ const SallaLoyalty = class {
698
755
  ];
699
756
  }
700
757
  getAfterExchangeUI() {
701
- return index$1.h("slot", { name: 'points-applied-widget' }, index$1.h("salla-list-tile", { class: "s-loyalty-after-exchange" }, index$1.h("div", { slot: "title", class: "s-loyalty-after-exchange-title" }, this.prizeTitle, " \u00A0 - \u00A0 ", this.prizePoints), index$1.h("div", { slot: 'action', class: "s-loyalty-after-exchange-action" }, index$1.h("salla-button", { class: "s-loyalty-after-exchange-reset", shape: "icon", fill: 'outline', color: "danger", size: "small", onClick: () => this.resetExchange() }, index$1.h("span", { innerHTML: CancelIcon })))));
758
+ return index$1.h("slot", { name: 'points-applied-widget' }, index$1.h("salla-list-tile", { class: "s-loyalty-after-exchange" }, index$1.h("div", { slot: "title", class: "s-loyalty-after-exchange-title" }, this.prizeTitle, " \u00A0 - \u00A0 ", this.prizePoints), index$1.h("div", { slot: 'action', class: "s-loyalty-after-exchange-action" }, index$1.h("salla-button", { class: "s-loyalty-after-exchange-reset", shape: "icon", fill: 'outline', color: "danger", size: "small", onClick: () => this.resetExchange() }, index$1.h("span", { innerHTML: Cancel })))));
702
759
  }
703
760
  /**
704
761
  * Show loyalty modal
@@ -792,6 +849,20 @@ const SallaLoyalty = class {
792
849
  };
793
850
  SallaLoyalty.style = sallaLoyaltyCss;
794
851
 
852
+ const AlertEngineIcon = `<!-- Generated by IcoMoon.io -->
853
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
854
+ <title>alert-engine</title>
855
+ <path d="M16 18.673c-0.736 0-1.333 0.604-1.333 1.34s0.597 1.333 1.333 1.333 1.333-0.597 1.333-1.333v-0.013c0-0.736-0.597-1.327-1.333-1.327zM2.667 16c0-3.092 1.083-6.105 3.047-8.484 0.469-0.568 0.389-1.408-0.179-1.877-0.568-0.468-1.408-0.388-1.877 0.179-2.359 2.857-3.657 6.473-3.657 10.183s1.299 7.325 3.657 10.183c0.264 0.319 0.645 0.484 1.029 0.484 0.299 0 0.6-0.1 0.848-0.305 0.568-0.469 0.648-1.309 0.179-1.877-1.964-2.379-3.047-5.392-3.047-8.484zM16 10.667c-0.736 0-1.333 0.597-1.333 1.333v4c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-4c0-0.736-0.597-1.333-1.333-1.333zM16 5.333c-5.881 0-10.667 4.785-10.667 10.667s4.785 10.667 10.667 10.667 10.667-4.785 10.667-10.667-4.785-10.667-10.667-10.667zM16 24c-4.412 0-8-3.588-8-8s3.588-8 8-8 8 3.588 8 8-3.588 8-8 8zM28.343 5.817c-0.469-0.567-1.307-0.647-1.877-0.179-0.568 0.469-0.648 1.309-0.179 1.877 1.964 2.379 3.047 5.392 3.047 8.484s-1.083 6.105-3.047 8.484c-0.469 0.568-0.389 1.408 0.179 1.877 0.249 0.205 0.549 0.305 0.848 0.305 0.384 0 0.765-0.165 1.028-0.484 2.36-2.857 3.659-6.473 3.659-10.183s-1.299-7.325-3.657-10.183z"></path>
856
+ </svg>
857
+ `;
858
+
859
+ const CheckCircle2 = `<!-- Generated by IcoMoon.io -->
860
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
861
+ <title>check-circle2</title>
862
+ <path d="M29.333 14.133c-0.8 0-1.333 0.533-1.333 1.333v1.2c0 6.667-5.333 12-12 12 0 0 0 0 0 0-6.667 0-12-5.333-12-12s5.333-12 12-12c0 0 0 0 0 0 1.733 0 3.333 0.4 4.933 1.067 0.667 0.267 1.467 0 1.733-0.667s0-1.467-0.667-1.733c-1.867-0.8-3.867-1.333-6-1.333 0 0 0 0 0 0-8.133 0-14.667 6.533-14.667 14.667s6.533 14.667 14.667 14.667c0 0 0 0 0 0 8.133 0 14.667-6.533 14.667-14.667v-1.2c0-0.8-0.533-1.333-1.333-1.333zM12.933 14.4c-0.533-0.533-1.333-0.533-1.867 0s-0.533 1.333 0 1.867l4 4c0.267 0.267 0.533 0.4 0.933 0.4s0.667-0.133 0.933-0.4l13.333-13.333c0.533-0.533 0.533-1.333 0-1.867s-1.333-0.533-1.867 0l-12.4 12.4-3.067-3.067z"></path>
863
+ </svg>
864
+ `;
865
+
795
866
  const sallaModalCss = "";
796
867
 
797
868
  const SallaModal = class {
@@ -821,21 +892,14 @@ const SallaModal = class {
821
892
  this.subTitleFirst = false; //todo:: choose better name
822
893
  this.noPadding = false; //todo:: choose better name
823
894
  this.subTitle = '';
824
- /**
825
- * Icon css class, default for types `error` is `sicon-alert-engine`, `success` is `sicon-check-circle2`
826
- */
827
- this.icon = '';
828
- this.iconStyle = '';
829
- /**
830
- * url of an image
831
- */
832
- this.imageIcon = '';
833
- Helper.Helper.setHost(this.host);
895
+ this.centered = false;
896
+ this.iconStyle = undefined;
897
+ Helper$1.setHost(this.host);
834
898
  salla.event.on('modal::open', target => target == this.host.id && this.open());
835
899
  salla.event.on('modal::close', target => target == this.host.id && this.close());
836
900
  this.modalTitle = this.host.getAttribute('modal-title');
837
901
  // close modal on Escape button clicked
838
- Helper.Helper.onKeyUp(document.body, e => e.keyCode === 27 && this.closeModal());
902
+ Helper$1.onKeyUp(document.body, e => e.keyCode === 27 && this.closeModal());
839
903
  }
840
904
  handleVisible(newValue) {
841
905
  if (!newValue) {
@@ -885,7 +949,7 @@ const SallaModal = class {
885
949
  }
886
950
  toggleModal(isOpen) {
887
951
  const body = this.host.querySelector('.s-modal-body');
888
- Helper.Helper.toggleElementClassIf(body, 's-modal-entering', 's-modal-leaving', () => isOpen)
952
+ Helper$1.toggleElementClassIf(body, 's-modal-entering', 's-modal-leaving', () => isOpen)
889
953
  .toggleElementClassIf(this.overlay, 's-modal-entering', 's-modal-overlay-leaving', () => isOpen)
890
954
  .toggleElementClassIf(document.body, 'modal-is-open', 'modal-is-closed', () => isOpen);
891
955
  if (!isOpen) {
@@ -903,17 +967,10 @@ const SallaModal = class {
903
967
  's-modal-icon': true,
904
968
  's-modal-bg-error': this.iconStyle == 'error',
905
969
  's-modal-bg-success': this.iconStyle == 'success',
906
- 's-modal-bg-normal': this.iconStyle != 'error' && this.iconStyle != 'success',
970
+ 's-modal-bg-normal': !this.iconStyle,
907
971
  's-modal-bg-primary': this.iconStyle == 'primary'
908
972
  };
909
973
  }
910
- iconClasses() {
911
- return {
912
- [this.icon]: true,
913
- 'sicon-alert-engine': !this.icon && this.iconStyle == 'error' && !this.imageIcon,
914
- 'sicon-check-circle2': !this.icon && this.iconStyle == 'success' && !this.imageIcon,
915
- };
916
- }
917
974
  getWidth() {
918
975
  return this.isLoading ? (this.hasSkeleton ? 'md' : 'xs') : this.width;
919
976
  }
@@ -923,12 +980,12 @@ const SallaModal = class {
923
980
  if (this.isLoading) {
924
981
  return (index$1.h(index$1.Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, index$1.h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal() }), index$1.h("div", { class: "s-modal-wrapper" }, index$1.h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), index$1.h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, index$1.h("slot", { name: "loading" }, index$1.h("salla-loading", null)), index$1.h("div", { class: "s-hidden" }, index$1.h("slot", null))))));
925
982
  }
926
- return (index$1.h(index$1.Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, index$1.h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal() }), index$1.h("div", { class: "s-modal-wrapper" }, index$1.h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), index$1.h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, index$1.h("div", { class: { 's-modal-header': true, 's-modal-is-center': this.icon != '' || this.imageIcon != '' } }, this.isClosable ?
927
- index$1.h("button", { class: "s-modal-close", onClick: () => this.closeModal(), type: "button" }, index$1.h("span", { class: "sicon-cancel" }))
983
+ return (index$1.h(index$1.Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, index$1.h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal() }), index$1.h("div", { class: "s-modal-wrapper" }, index$1.h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), index$1.h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, index$1.h("div", { class: { 's-modal-header': true, 's-modal-is-center': this.centered } }, this.isClosable ?
984
+ index$1.h("button", { class: "s-modal-close", onClick: () => this.closeModal(), type: "button" }, index$1.h("span", { innerHTML: Cancel }))
928
985
  : '', this.modalTitle || this.subTitle ?
929
- index$1.h("div", { class: "s-modal-header-inner" }, this.iconStyle || this.icon
930
- ? index$1.h("div", { class: this.iconBlockClasses() }, index$1.h("i", { class: this.iconClasses() }))
931
- : this.imageIcon ? index$1.h("img", { class: "s-modal-header-img", src: this.imageIcon }) : '', index$1.h("div", { class: "s-modal-header-content" }, index$1.h("div", { class: { 's-modal-title': true, 's-modal-title-below': this.subTitleFirst }, innerHTML: this.modalTitle }), index$1.h("p", { class: { 's-modal-sub-title': true }, innerHTML: this.subTitle })))
986
+ index$1.h("div", { class: "s-modal-header-inner" }, index$1.h("slot", { name: 'icon' }, !!this.iconStyle ?
987
+ index$1.h("div", { class: this.iconBlockClasses(), innerHTML: this.iconStyle == 'error' ? AlertEngineIcon : CheckCircle2 })
988
+ : ''), index$1.h("div", { class: "s-modal-header-content" }, index$1.h("div", { class: { 's-modal-title': true, 's-modal-title-below': this.subTitleFirst }, innerHTML: this.modalTitle }), index$1.h("p", { class: { 's-modal-sub-title': true }, innerHTML: this.subTitle })))
932
989
  : ""), index$1.h("slot", null), index$1.h("slot", { name: "footer" })))));
933
990
  }
934
991
  //move the modal as root dom, because we need the model to be outside the forms
@@ -942,6 +999,26 @@ const SallaModal = class {
942
999
  };
943
1000
  SallaModal.style = sallaModalCss;
944
1001
 
1002
+ const SpecialDiscountIcon = `<!-- Generated by IcoMoon.io -->
1003
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1004
+ <title>special-discount</title>
1005
+ <path d="M20.667 19.333c-0.737 0-1.333 0.596-1.333 1.333v0.013c0 0.737 0.596 1.327 1.333 1.327s1.333-0.603 1.333-1.34-0.596-1.333-1.333-1.333zM11.333 12.673c0.737 0 1.333-0.603 1.333-1.34s-0.596-1.333-1.333-1.333-1.333 0.596-1.333 1.333v0.013c0 0.736 0.596 1.327 1.333 1.327zM30.307 16l0.947-4.244c0.107-0.473-0.055-0.969-0.417-1.291l-3.259-2.876-1.732-3.987c-0.193-0.444-0.612-0.749-1.095-0.796l-4.327-0.417-3.748-2.204c-0.416-0.248-0.933-0.248-1.353 0l-3.744 2.204-4.329 0.417c-0.483 0.047-0.901 0.352-1.095 0.796l-1.732 3.987-3.259 2.877c-0.363 0.321-0.525 0.816-0.417 1.289l0.947 4.244-0.947 4.244c-0.107 0.473 0.055 0.969 0.417 1.291l3.259 2.876 1.732 3.987c0.193 0.444 0.612 0.749 1.095 0.796l4.325 0.416 3.749 2.207c0.208 0.123 0.441 0.184 0.676 0.184s0.468-0.061 0.676-0.185l3.747-2.205 4.328-0.416c0.483-0.045 0.903-0.351 1.095-0.796l1.732-3.985 3.259-2.877c0.363-0.321 0.525-0.816 0.417-1.291zM28.48 20.056l-2.892 2.552c-0.145 0.131-0.261 0.291-0.34 0.469l-1.536 3.536-3.84 0.369c-0.195 0.019-0.381 0.080-0.551 0.179l-3.321 1.959-3.324-1.959c-0.168-0.099-0.356-0.16-0.549-0.179l-3.839-0.369-1.536-3.537c-0.077-0.18-0.195-0.339-0.34-0.469l-2.892-2.551 0.84-3.765c0.043-0.192 0.043-0.389 0-0.581l-0.84-3.765 2.892-2.551c0.145-0.131 0.263-0.289 0.34-0.469l1.536-3.539 3.84-0.369c0.195-0.019 0.381-0.080 0.549-0.179l3.323-1.957 3.325 1.957c0.167 0.099 0.355 0.16 0.548 0.179l3.839 0.369 1.536 3.539c0.077 0.18 0.195 0.339 0.34 0.469l2.892 2.551-0.84 3.765c-0.043 0.192-0.043 0.389 0 0.581zM20.391 9.724l-10.667 10.667c-0.521 0.521-0.521 1.364 0 1.885 0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391l10.667-10.667c0.521-0.521 0.521-1.364 0-1.885s-1.364-0.521-1.885 0z"></path>
1006
+ </svg>
1007
+ `;
1008
+
1009
+ const KeyboardArrowLeftIcon = `<!-- Generated by IcoMoon.io -->
1010
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1011
+ <title>keyboard_arrow_left</title>
1012
+ <path d="M20.563 22.104l-1.875 1.875-8-8 8-8 1.875 1.875-6.125 6.125z"></path>
1013
+ </svg>
1014
+ `;
1015
+
1016
+ const Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1017
+ <title>tag</title>
1018
+ <path d="M28 0h-9.344c-1.059 0-2.056 0.411-2.809 1.153l-14.673 14.456c-1.56 1.56-1.561 4.097-0.001 5.657l9.56 9.56c0.755 0.755 1.76 1.172 2.828 1.173h0.003c1.068 0 2.072-0.416 2.833-1.179l14.451-14.668c0.743-0.753 1.153-1.751 1.153-2.809v-9.344c0-2.205-1.795-4-4-4zM29.333 13.344c0 0.353-0.137 0.685-0.385 0.937l-14.444 14.661c-0.252 0.252-0.587 0.391-0.941 0.391-0.001 0-0.001 0-0.001 0-0.356-0.001-0.691-0.139-0.943-0.392l-9.561-9.56c-0.52-0.52-0.52-1.365-0.005-1.88l14.667-14.449c0.253-0.248 0.585-0.385 0.937-0.385h9.344c0.736 0 1.333 0.597 1.333 1.333zM24 6.673c-0.737 0-1.333 0.604-1.333 1.341s0.596 1.333 1.333 1.333 1.333-0.596 1.333-1.333v-0.015c0-0.737-0.596-1.327-1.333-1.327z"></path>
1019
+ </svg>
1020
+ `;
1021
+
945
1022
  const sallaOfferModalCss = "";
946
1023
 
947
1024
  const SallaOfferModal = class {
@@ -953,15 +1030,15 @@ const SallaOfferModal = class {
953
1030
  this.remember_my_choice = salla.lang.get('commone.remember_my_choice');
954
1031
  this.add_to_cart = salla.lang.get('pages.cart.add_to_cart');
955
1032
  this.out_of_stock = salla.lang.get('pages.products.out_of_stock');
956
- Helper.Helper.setHost(this.host);
1033
+ Helper$1.setHost(this.host);
957
1034
  salla.lang.onLoaded(() => {
958
1035
  this.offer_expires_in = salla.lang.get('pages.products.offer_expires_in');
959
1036
  this.remember_my_choice = salla.lang.get('common.elements.remember_my_choice');
960
1037
  this.add_to_cart = salla.lang.get('pages.cart.add_to_cart');
961
1038
  this.out_of_stock = salla.lang.get('pages.products.out_of_stock');
962
1039
  });
963
- this.categorySlot = ((_a = Helper.Helper.getElement('[slot="category"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || '<i class="s-offer-modal-badge-icon sicon-tag"></i><span class="s-offer-modal-badge-text">{name}</span>';
964
- this.productSlot = ((_b = Helper.Helper.getElement('[slot="product"]')) === null || _b === void 0 ? void 0 : _b.innerHTML) || this.defaultProductSlot();
1040
+ this.categorySlot = ((_a = Helper$1.getElement('[slot="category"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || `<span class="s-offer-modal-badge-icon">{tagIcon}</span><span class="s-offer-modal-badge-text">{name}</span>`;
1041
+ this.productSlot = ((_b = Helper$1.getElement('[slot="product"]')) === null || _b === void 0 ? void 0 : _b.innerHTML) || this.defaultProductSlot();
965
1042
  salla.product.event.onOfferExisted(offer => {
966
1043
  if (salla.storage.get('remember-offer-' + offer.id)) {
967
1044
  salla.log('User selected to don\'t show this offer again.');
@@ -1010,9 +1087,10 @@ const SallaOfferModal = class {
1010
1087
  }
1011
1088
  render() {
1012
1089
  var _a, _b;
1013
- return index$1.h("salla-modal", { "sub-title-first": true, icon: "sicon-special-discount", "sub-title": this.offer_message, ref: modal => this.modal = modal, "is-loading": this.offer === null }, this.offer !== null
1090
+ return index$1.h("salla-modal", { "sub-title-first": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, "is-loading": this.offer === null }, index$1.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.offer !== null
1014
1091
  ? [index$1.h("div", { class: "s-offer-modal-scrolled-slider-wrap" }, index$1.h("div", { class: "s-offer-modal-body s-offer-modal-scrolled-slider" }, ((_a = this.offer.get.categories) === null || _a === void 0 ? void 0 : _a.length) > 0
1015
1092
  ? this.offer.get.categories.map(category => index$1.h("a", { href: category.urls.customer, class: "s-offer-modal-badge s-offer-modal-slider-item", innerHTML: this.categorySlot
1093
+ .replace(/\{tagIcon\}/g, Tag)
1016
1094
  .replace(/\{name\}/g, category.name)
1017
1095
  .replace(/\{url\}/g, category.urls.customer) }))
1018
1096
  : (_b = this.offer.get.products) === null || _b === void 0 ? void 0 : _b.map(product => index$1.h("div", { class: { "s-offer-modal-product": true, "s-offer-modal-slider-item": true, "s-offer-modal-not-available": !product.is_available }, id: 'product_' + product.id, innerHTML: this.productSlot
@@ -1021,7 +1099,7 @@ const SallaOfferModal = class {
1021
1099
  .replace(/\{image\}/g, product.thumbnail)
1022
1100
  .replace(/\{price\}/g, product.has_special_price
1023
1101
  ? salla.money(product.price) + '<span class="s-offer-modal-product-old-price">' + salla.money(product.regular_price) + '</span>'
1024
- : salla.money(product.price)) }, index$1.h("div", { class: "s-offer-modal-btn-wrap" }, index$1.h("salla-button", { width: "wide", fill: 'outline', "data-id": product.id, disabled: !product.is_available, "loader-position": "center", onClick: this.addItem }, product.is_available ? this.add_to_cart : this.out_of_stock))))), index$1.h("div", { class: "s-offer-modal-slider-nav" }, index$1.h("button", { class: "s-offer-modal-nav-btn s-offer-modal-prev-btn" }, index$1.h("span", { class: "s-offer-modal-nav-btn-icon sicon-keyboard_arrow_left" })), index$1.h("button", { class: "s-offer-modal-nav-btn s-offer-modal-next-btn" }, index$1.h("span", { class: "s-offer-modal-nav-btn-icon sicon-keyboard_arrow_right" })))), index$1.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
1102
+ : salla.money(product.price)) }, index$1.h("div", { class: "s-offer-modal-btn-wrap" }, index$1.h("salla-button", { width: "wide", fill: 'outline', "data-id": product.id, disabled: !product.is_available, "loader-position": "center", onClick: this.addItem }, product.is_available ? this.add_to_cart : this.out_of_stock))))), index$1.h("div", { class: "s-offer-modal-slider-nav" }, index$1.h("button", { class: "s-offer-modal-nav-btn s-offer-modal-prev-btn" }, index$1.h("span", { class: "s-offer-modal-nav-btn-icon", innerHTML: KeyboardArrowLeftIcon })), index$1.h("button", { class: "s-offer-modal-nav-btn s-offer-modal-next-btn" }, index$1.h("span", { class: "s-offer-modal-nav-btn-icon", innerHTML: KeyboardArrowRightIcon })))), index$1.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
1025
1103
  index$1.h("p", { class: "s-offer-modal-expiry" }, this.offer_expires_in, " ", this.offer.formatted_date)
1026
1104
  : '', index$1.h("label", { class: "s-offer-modal-remember-label" }, index$1.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", this.remember_my_choice)),
1027
1105
  ] : '');
@@ -1118,12 +1196,19 @@ const SallaPlaceholder = class {
1118
1196
  };
1119
1197
  SallaPlaceholder.style = sallaPlaceholderCss;
1120
1198
 
1199
+ const BellRingIcon = `<!-- Generated by IcoMoon.io -->
1200
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1201
+ <title>bell-ring</title>
1202
+ <path d="M2.667 13.333v-4c0-2.592 0.748-5.107 2.161-7.271 0.404-0.616 0.231-1.443-0.387-1.845-0.616-0.401-1.443-0.228-1.845 0.388-1.699 2.599-2.596 5.617-2.596 8.728v4c0 0.736 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333zM25.333 15.647v-6.313c0-5.147-4.188-9.333-9.333-9.333s-9.333 4.187-9.333 9.333v6.312l-5.157 9.027c-0.236 0.413-0.235 0.92 0.004 1.331 0.239 0.412 0.679 0.664 1.153 0.664h8c0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333h8c0.475 0 0.915-0.252 1.153-0.664 0.239-0.411 0.24-0.917 0.004-1.331zM16 29.333c-1.471 0-2.667-1.196-2.667-2.667h5.333c0 1.472-1.196 2.667-2.667 2.667zM4.965 24l4.193-7.339c0.113-0.2 0.175-0.429 0.175-0.661v-6.667c0-3.676 2.991-6.667 6.667-6.667s6.667 2.991 6.667 6.667v6.667c0 0.232 0.061 0.46 0.176 0.661l4.192 7.339zM29.403 0.603c-0.403-0.616-1.232-0.789-1.845-0.387-0.617 0.403-0.791 1.229-0.387 1.845 1.415 2.165 2.163 4.68 2.163 7.272v4c0 0.736 0.596 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-4c0-3.112-0.899-6.132-2.597-8.731z"></path>
1203
+ </svg>
1204
+ `;
1205
+
1121
1206
  const sallaProductAvailabilityCss = "";
1122
1207
 
1123
1208
  const SallaProductAvailability = class {
1124
1209
  constructor(hostRef) {
1125
1210
  index$1.registerInstance(this, hostRef);
1126
- this.isUser = Helper.Helper.isUser();
1211
+ this.isUser = Helper$1.isUser();
1127
1212
  this.emailPlaceholder = 'your@email.com';
1128
1213
  /**
1129
1214
  * product id that can visitor subscribe to its availability notification
@@ -1195,7 +1280,7 @@ const SallaProductAvailability = class {
1195
1280
  async validateform() {
1196
1281
  try {
1197
1282
  if (this.channels_.includes('email')) {
1198
- const isEmailValid = Helper.Helper.isValidEmail(this.email.value);
1283
+ const isEmailValid = Helper$1.isValidEmail(this.email.value);
1199
1284
  if (isEmailValid)
1200
1285
  return;
1201
1286
  !isEmailValid && this.validateField(this.email, this.emailErrorMsg);
@@ -1216,12 +1301,12 @@ const SallaProductAvailability = class {
1216
1301
  }
1217
1302
  render() {
1218
1303
  return (index$1.h(index$1.Host, { class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
1219
- ? index$1.h("div", { class: "s-product-availability-subscribed" }, index$1.h("i", { class: "sicon-bell-ring s-product-availability-subs-icon" }), " ", this.subscribedMessage)
1304
+ ? index$1.h("div", { class: "s-product-availability-subscribed" }, index$1.h("span", { innerHTML: BellRingIcon, class: "s-product-availability-subs-icon" }), " ", this.subscribedMessage)
1220
1305
  :
1221
1306
  index$1.h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.modal.open(), ref: btn => this.inlineBtn = btn }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
1222
1307
  }
1223
1308
  renderModal() {
1224
- return (index$1.h("salla-modal", { ref: modal => this.modal = modal, "modal-title": this.title_, subTitle: this.subTitle, icon: "sicon-bell-ring", width: "sm" }, index$1.h("div", { class: "s-product-availability-body" }, this.channels_.includes('email') ? [
1309
+ return (index$1.h("salla-modal", { ref: modal => this.modal = modal, "modal-title": this.title_, subTitle: this.subTitle, width: "sm" }, index$1.h("span", { slot: 'icon', innerHTML: BellRingIcon }), index$1.h("div", { class: "s-product-availability-body" }, this.channels_.includes('email') ? [
1225
1310
  index$1.h("label", { class: "s-product-availability-label" }, this.emailLabel),
1226
1311
  index$1.h("input", { class: "s-product-availability-input", onKeyDown: e => this.typing(e, this.submit), placeholder: this.emailPlaceholder, ref: el => this.email = el, type: "email" }),
1227
1312
  index$1.h("span", { class: "s-product-availability-error-msg" })
@@ -1242,7 +1327,7 @@ const sallaProductSizeGuideCss = "";
1242
1327
  const SallaProductSizeGuide = class {
1243
1328
  constructor(hostRef) {
1244
1329
  index$1.registerInstance(this, hostRef);
1245
- Helper.Helper.setHost(document);
1330
+ Helper$1.setHost(document);
1246
1331
  salla.event.on('size-guide::open', (product_id) => this.open(product_id));
1247
1332
  }
1248
1333
  /**
@@ -1278,6 +1363,103 @@ const SallaProductSizeGuide = class {
1278
1363
  };
1279
1364
  SallaProductSizeGuide.style = sallaProductSizeGuideCss;
1280
1365
 
1366
+ const Add = `<!-- Generated by IcoMoon.io -->
1367
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1368
+ <title>add</title>
1369
+ <path d="M26.667 14.667h-9.333v-9.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333v9.333h-9.333c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333h9.333v9.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-9.333h9.333c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333z"></path>
1370
+ </svg>
1371
+ `;
1372
+
1373
+ const Minus = `<!-- Generated by IcoMoon.io -->
1374
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1375
+ <title>minus</title>
1376
+ <path d="M26.667 14.667h-21.333c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333h21.333c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333z"></path>
1377
+ </svg>
1378
+ `;
1379
+
1380
+ const sallaQuantityInputCss = "";
1381
+
1382
+ const SallaQuantityInput = class {
1383
+ constructor(hostRef) {
1384
+ index$1.registerInstance(this, hostRef);
1385
+ this.hostAttributes = {};
1386
+ this.hasIncrementSlot = false;
1387
+ this.hasDecrementSlot = false;
1388
+ this.didLoaded = false;
1389
+ this.quantity = 1;
1390
+ }
1391
+ /**
1392
+ * Workaround to fire change event for the input.
1393
+ */
1394
+ watchPropHandler() {
1395
+ if (!this.didLoaded) {
1396
+ return;
1397
+ }
1398
+ Helper$1.debounce(() => salla.document.event.fireEvent(this.textInput, 'change', { 'bubbles': true }));
1399
+ }
1400
+ componentWillLoad() {
1401
+ this.quantity = parseInt(this.host.getAttribute('value')) || 1;
1402
+ this.hasIncrementSlot = !!this.host.querySelector('[slot="increment-button"]');
1403
+ this.hasDecrementSlot = !!this.host.querySelector('[slot="decrement-button"]');
1404
+ }
1405
+ componentDidLoad() {
1406
+ this.didLoaded = true;
1407
+ this.textInput.addEventListener('input', (event) => salla.helpers.inputDigitsOnly(event.target));
1408
+ }
1409
+ getInputAttributes() {
1410
+ for (let i = 0; i < this.host.attributes.length; i++) {
1411
+ if (!['id', 'value', 'min', 'class'].includes(this.host.attributes[i].name)) {
1412
+ this.hostAttributes[this.host.attributes[i].name] = this.host.attributes[i].value;
1413
+ }
1414
+ }
1415
+ return this.hostAttributes;
1416
+ }
1417
+ /**
1418
+ * decrease quantity by one.
1419
+ * @return HTMLSallaQuantityInputElement
1420
+ */
1421
+ async decrease() {
1422
+ return this.setValue(this.quantity - 1);
1423
+ }
1424
+ /**
1425
+ * increase quantity by one.
1426
+ * @return HTMLSallaQuantityInputElement
1427
+ */
1428
+ async increase() {
1429
+ return this.setValue(Number(this.quantity) + 1);
1430
+ }
1431
+ /**
1432
+ * set quantity by one.
1433
+ * @return HTMLSallaQuantityInputElement
1434
+ */
1435
+ async setValue(value) {
1436
+ let maxQuantity = parseInt(this.host.getAttribute('max'));
1437
+ if (maxQuantity && value > maxQuantity) {
1438
+ value = maxQuantity;
1439
+ }
1440
+ if (value <= 1) {
1441
+ value = 1;
1442
+ }
1443
+ this.quantity = value;
1444
+ return this.host;
1445
+ }
1446
+ render() {
1447
+ return (index$1.h(index$1.Host, { class: "s-quantity-input" }, index$1.h("div", { class: "s-quantity-input-container" }, index$1.h("button", { onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button" }, !this.hasIncrementSlot ? index$1.h("span", { innerHTML: Add }) : '', index$1.h("slot", { name: "increment-button" })), index$1.h("input", Object.assign({ class: "s-quantity-input-input" }, this.getInputAttributes(), { ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), min: "1", value: this.quantity })), index$1.h("button", { class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button" }, !this.hasDecrementSlot ? index$1.h("span", { innerHTML: Minus }) : '', index$1.h("slot", { name: "decrement-button" })))));
1448
+ }
1449
+ get host() { return index$1.getElement(this); }
1450
+ static get watchers() { return {
1451
+ "quantity": ["watchPropHandler"]
1452
+ }; }
1453
+ };
1454
+ SallaQuantityInput.style = sallaQuantityInputCss;
1455
+
1456
+ const ShippingFast = `<!-- Generated by IcoMoon.io -->
1457
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1458
+ <title>shipping-fast</title>
1459
+ <path d="M10.667 14.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333h8c0.736 0 1.333-0.596 1.333-1.333zM9.333 18.667c-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333 5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM9.333 26.667c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM1.333 10.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.123 13.103l-3.147-3.935c-1.273-1.589-3.171-2.501-5.205-2.501h-1.437c0-2.205-1.795-4-4-4h-13.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333h13.333c0.735 0 1.333 0.597 1.333 1.333v1.333c0 0.248 0.087 0.468 0.204 0.667-0.117 0.199-0.204 0.419-0.204 0.667v5.333c0 0.737 0.597 1.333 1.333 1.333h9.333v6.667h-1.333c-0.063 0-0.117 0.028-0.179 0.036-0.583-2.313-2.664-4.036-5.155-4.036-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c2.491 0 4.572-1.723 5.155-4.036 0.061 0.008 0.116 0.036 0.179 0.036h2.667c0.736 0 1.333-0.596 1.333-1.333v-8.399c0-0.905-0.311-1.792-0.877-2.499zM21.333 13.333v-4h1.437c1.221 0 2.36 0.547 3.124 1.501l1.997 2.499zM22.667 26.667c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z"></path>
1460
+ </svg>
1461
+ `;
1462
+
1281
1463
  const sallaRatingModalCss = "";
1282
1464
 
1283
1465
  const SallaRatingModal = class {
@@ -1299,7 +1481,7 @@ const SallaRatingModal = class {
1299
1481
  this.thanks = salla.lang.get('pages.rating.thanks');
1300
1482
  this.back = salla.lang.get('common.elements.back');
1301
1483
  this.next = salla.lang.get('common.elements.next');
1302
- Helper.Helper.setHost(document);
1484
+ Helper$1.setHost(document);
1303
1485
  salla.event.on('rating::open', () => this.open());
1304
1486
  salla.lang.onLoaded(() => {
1305
1487
  this.rate_the_store = salla.lang.get('pages.rating.rate_the_store');
@@ -1339,12 +1521,12 @@ const SallaRatingModal = class {
1339
1521
  showActiveStep(current = null) {
1340
1522
  var _a;
1341
1523
  this.currentTab = current || this.steps[this.currentIndex];
1342
- Helper.Helper.toggleClassIf('.s-rating-modal-step-dot', 's-rating-modal-bg-gray', 's-rating-modal-bg-primary', dot => dot != this.dots[this.currentIndex])
1524
+ Helper$1.toggleClassIf('.s-rating-modal-step-dot', 's-rating-modal-bg-gray', 's-rating-modal-bg-primary', dot => dot != this.dots[this.currentIndex])
1343
1525
  .toggleClassIf('.s-rating-modal-step', 's-rating-modal-active', 's-rating-modal-hidden', tab => tab == this.currentTab);
1344
1526
  if (this.currentIndex != 0) {
1345
1527
  // the animation
1346
- Helper.Helper.toggleElementClassIf(this.currentTab, 's-rating-modal-unactive', 's-rating-modal-hidden', () => true);
1347
- setTimeout(() => Helper.Helper.toggleElementClassIf(this.currentTab, 's-rating-modal-active', 's-rating-modal-unactive', () => true), 300);
1528
+ Helper$1.toggleElementClassIf(this.currentTab, 's-rating-modal-unactive', 's-rating-modal-hidden', () => true);
1529
+ setTimeout(() => Helper$1.toggleElementClassIf(this.currentTab, 's-rating-modal-active', 's-rating-modal-unactive', () => true), 300);
1348
1530
  }
1349
1531
  // Btn text
1350
1532
  let nextType = (_a = this.steps[this.currentIndex + 1]) === null || _a === void 0 ? void 0 : _a.dataset.type;
@@ -1354,7 +1536,7 @@ const SallaRatingModal = class {
1354
1536
  }
1355
1537
  previousTab() {
1356
1538
  this.currentIndex > 0 && this.currentIndex--;
1357
- Helper.Helper.toggleElementClassIf(this.backBtn, 's-rating-modal-unvisiable', 'block', () => this.currentIndex == 0);
1539
+ Helper$1.toggleElementClassIf(this.backBtn, 's-rating-modal-unvisiable', 'block', () => this.currentIndex == 0);
1358
1540
  this.showActiveStep();
1359
1541
  }
1360
1542
  submit() {
@@ -1365,7 +1547,7 @@ const SallaRatingModal = class {
1365
1547
  .then(() => this.currentTab.querySelectorAll('[name],.s-rating-modal-btn-star').forEach(el => el.setAttribute('disabled', '')))
1366
1548
  .then(() => this.currentIndex < this.stepsCount && this.currentIndex++)
1367
1549
  .then(() => this.showActiveStep())
1368
- .then(() => Helper.Helper.toggleClassIf('#prev-btn', 'block', 's-rating-modal-unvisiable', () => true))
1550
+ .then(() => Helper$1.toggleClassIf('#prev-btn', 'block', 's-rating-modal-unvisiable', () => true))
1369
1551
  .finally(() => {
1370
1552
  this.nextBtn.stop();
1371
1553
  salla.config.canLeave = true;
@@ -1390,7 +1572,7 @@ const SallaRatingModal = class {
1390
1572
  return;
1391
1573
  }
1392
1574
  type = type || rating['dataset'].type;
1393
- Helper.Helper.toggleElementClassIf(comment, 'save', 's-has-error', el => el.value.length > 3);
1575
+ Helper$1.toggleElementClassIf(comment, 'save', 's-has-error', el => el.value.length > 3);
1394
1576
  throw validationMessage.innerHTML = stars
1395
1577
  ? (salla.lang.get('common.errors.not_less_than_chars', { chars: 4 }) + ' ' + comment.getAttribute('placeholder'))
1396
1578
  : salla.lang.get(`pages.rating.rate_${type}_stars`).replace(' (:item)', '');
@@ -1433,8 +1615,8 @@ const SallaRatingModal = class {
1433
1615
  : '', this.order.shipping_enabled
1434
1616
  ? index$1.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step s-rating-modal-hidden", "data-type": "shipping" }, index$1.h("input", { type: "hidden", name: "shipping_company_id", value: this.order.shipping.company.id }), this.order.shipping.company.logo
1435
1617
  ? index$1.h("div", { class: "s-rating-modal-rounded-icon" }, index$1.h("img", { src: this.order.shipping.company.logo, class: "s-rating-modal-shipping-logo", alt: this.order.shipping.company.name }))
1436
- : index$1.h("span", { class: "s-rating-modal-icon sicon-shipping-fast" }), index$1.h("div", { class: "s-rating-modal-title" }, " ", this.rate_shipping + ' ' + this.order.shipping.company.name), index$1.h("div", { class: "s-rating-modal-stars-company" }, index$1.h("salla-rating-stars", { size: "large" })), index$1.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: this.write_shipping_rate }), index$1.h("small", { class: "s-rating-modal-validation-msg" }))
1437
- : '', index$1.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index$1.h("span", { class: "s-rating-modal-icon sicon-check-circle2" }), index$1.h("h3", { class: "s-rating-modal-thanks-title" }, this.thanks), index$1.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index$1.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), index$1.h("div", { class: "s-rating-modal-footer" }, index$1.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, this.back), this.stepsCount > 1 ? index$1.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map(() => index$1.h("li", { class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index$1.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, this.next)),]
1618
+ : index$1.h("span", { class: "s-rating-modal-icon", innerHTML: ShippingFast }), index$1.h("div", { class: "s-rating-modal-title" }, " ", this.rate_shipping + ' ' + this.order.shipping.company.name), index$1.h("div", { class: "s-rating-modal-stars-company" }, index$1.h("salla-rating-stars", { size: "large" })), index$1.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: this.write_shipping_rate }), index$1.h("small", { class: "s-rating-modal-validation-msg" }))
1619
+ : '', index$1.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index$1.h("span", { class: "s-rating-modal-icon", innerHTML: CheckCircle2 }), index$1.h("h3", { class: "s-rating-modal-thanks-title" }, this.thanks), index$1.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index$1.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), index$1.h("div", { class: "s-rating-modal-footer" }, index$1.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, this.back), this.stepsCount > 1 ? index$1.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map(() => index$1.h("li", { class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index$1.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, this.next)),]
1438
1620
  : '')));
1439
1621
  }
1440
1622
  componentDidLoad() {
@@ -1465,7 +1647,7 @@ const SallaRatingStars = class {
1465
1647
  this.startsElem.querySelector('.rating_hidden_input').value = selectedIndex;
1466
1648
  // Loop through each star, and add or remove the `.selected` class to toggle highlighting
1467
1649
  this.startsElem.querySelectorAll('.s-rating-stars-btn-star')
1468
- .forEach((star, index) => Helper.Helper.toggleElementClassIf(star, 's-rating-stars-selected', 's-rating-stars-unselected', () => index < parseInt(selectedIndex)));
1650
+ .forEach((star, index) => Helper$1.toggleElementClassIf(star, 's-rating-stars-selected', 's-rating-stars-unselected', () => index < parseInt(selectedIndex)));
1469
1651
  // update aria-pressed attr status
1470
1652
  this.startsElem.querySelectorAll('[aria-pressed]').forEach(star => star.removeAttribute('aria-pressed'));
1471
1653
  selected.setAttribute('aria-pressed', 'true');
@@ -1488,10 +1670,10 @@ const SallaRatingStars = class {
1488
1670
  let stars = [];
1489
1671
  for (let i = 0; i < 5; i++) {
1490
1672
  stars.push(index$1.h("span", { class: {
1491
- 's-rating-stars-btn-star sicon-star2': true,
1673
+ 's-rating-stars-btn-star': true,
1492
1674
  ['s-rating-stars-' + this.size]: true,
1493
1675
  's-rating-stars-selected': i < n
1494
- } }));
1676
+ }, innerHTML: Star2 }));
1495
1677
  }
1496
1678
  return stars;
1497
1679
  }
@@ -1499,7 +1681,7 @@ const SallaRatingStars = class {
1499
1681
  return (index$1.h(index$1.Host, null, this.value ?
1500
1682
  index$1.h("div", { class: "s-rating-stars-wrapper" }, " ", this.createStars(this.value), " ")
1501
1683
  :
1502
- index$1.h("div", { class: "s-rating-stars-element", ref: (el) => this.startsElem = el }, index$1.h("input", { type: "hidden", class: "rating_hidden_input", name: this.name, value: "" }), [1, 2, 3, 4, 5].map(star => index$1.h("button", { class: `s-rating-stars-btn-star s-rating-stars-` + this.size, "data-star": star }, index$1.h("i", { class: "sicon-star2" }))))));
1684
+ index$1.h("div", { class: "s-rating-stars-element", ref: (el) => this.startsElem = el }, index$1.h("input", { type: "hidden", class: "rating_hidden_input", name: this.name, value: "" }), [1, 2, 3, 4, 5].map(star => index$1.h("button", { class: `s-rating-stars-btn-star s-rating-stars-` + this.size, "data-star": star }, index$1.h("span", { innerHTML: Star2 }))))));
1503
1685
  }
1504
1686
  componentDidLoad() {
1505
1687
  this.initiateRating();
@@ -1509,158 +1691,6 @@ const SallaRatingStars = class {
1509
1691
  };
1510
1692
  SallaRatingStars.style = sallaRatingStarsCss;
1511
1693
 
1512
- const StoreAlt = `<!-- Generated by IcoMoon.io -->
1513
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1514
- <title>store-alt</title>
1515
- <path d="M6.667 24h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.86 10.071l-4-8c-0.227-0.452-0.688-0.737-1.193-0.737h-21.333c-0.505 0-0.967 0.285-1.193 0.737l-4 8c-0.092 0.184-0.14 0.389-0.14 0.596v18.667c0 0.737 0.597 1.333 1.333 1.333h29.333c0.736 0 1.333-0.596 1.333-1.333v-18.667c0-0.207-0.048-0.412-0.14-0.596zM6.157 4h19.685l3.333 6.667h-26.352zM24 28h-5.333v-9.333h5.333zM29.333 28h-2.667v-10.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333v10.667h-13.333v-14.667h26.667zM6.667 18.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333z"></path>
1516
- </svg>
1517
- `;
1518
-
1519
- const Search = `<!-- Generated by IcoMoon.io -->
1520
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1521
- <title>search</title>
1522
- <path d="M30.276 28.391l-7.576-7.576c1.644-2.053 2.633-4.652 2.633-7.481 0-6.616-5.384-12-12-12s-12 5.384-12 12 5.384 12 12 12c2.829 0 5.428-0.989 7.481-2.633l7.576 7.576c0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391c0.521-0.521 0.521-1.364 0-1.885zM13.333 22.667c-5.147 0-9.333-4.187-9.333-9.333s4.187-9.333 9.333-9.333 9.333 4.187 9.333 9.333-4.187 9.333-9.333 9.333z"></path>
1523
- </svg>
1524
- `;
1525
-
1526
- var ModeType;
1527
- (function (ModeType) {
1528
- ModeType["DEFAULT"] = "default";
1529
- ModeType["AVAILABILITY"] = "availability";
1530
- })(ModeType || (ModeType = {}));
1531
-
1532
- const sallaScopesCss = ".s-scopes-availability-content{display:flex;justify-content:center;align-items:center}.s-scopes-placeholder{flex:0 0 85%}";
1533
-
1534
- const SallaScopees = class {
1535
- constructor(hostRef) {
1536
- index$1.registerInstance(this, hostRef);
1537
- this.mode = ModeType.DEFAULT;
1538
- this.scopes = [];
1539
- this.originalScopesList = [];
1540
- this.isOpenedBefore = salla.storage.get("branch-choosed-before");
1541
- /**
1542
- * Optionally open the modal or enforce the pop-up to the viewer
1543
- */
1544
- this.selection = 'optional';
1545
- /**
1546
- * Dictates when to show the search field
1547
- */
1548
- this.searchDisplayLimit = 6;
1549
- this.getFormTitle = () => {
1550
- var _a;
1551
- if (((_a = this.originalScopesList) === null || _a === void 0 ? void 0 : _a.length) < 2)
1552
- return "";
1553
- return this.mode === ModeType.DEFAULT ?
1554
- this.shoppingFromAnotherBranch :
1555
- this.searchForAvailabilityInOtherBranch;
1556
- };
1557
- salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
1558
- this.open(mode, product_id);
1559
- });
1560
- salla.lang.onLoaded(() => {
1561
- this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
1562
- this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
1563
- this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
1564
- this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
1565
- this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
1566
- this.confirmButton = salla.lang.get('common.elements.confirm');
1567
- this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
1568
- });
1569
- }
1570
- async close() {
1571
- var _a;
1572
- return await ((_a = this.modal) === null || _a === void 0 ? void 0 : _a.close());
1573
- }
1574
- async open(mode = ModeType.DEFAULT, product_id = null) {
1575
- this.setScopeValues([]);
1576
- if (typeof mode !== 'undefined' && [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode)) {
1577
- this.mode = mode;
1578
- }
1579
- else {
1580
- this.mode = ModeType.DEFAULT;
1581
- }
1582
- this.modal.loading();
1583
- this.modal.open();
1584
- return await (mode == ModeType.AVAILABILITY ? salla.scope.getProductAvailability(product_id) : salla.scope.get())
1585
- .then((resp) => {
1586
- if (mode == ModeType.AVAILABILITY) {
1587
- this.setScopeValues(resp.data);
1588
- }
1589
- else {
1590
- this.setScopeValues(resp.data.scopes);
1591
- }
1592
- }).catch(e => console.log(e))
1593
- .finally(() => {
1594
- this.modal.stopLoading();
1595
- });
1596
- }
1597
- async handleSubmit() {
1598
- let payload = { 'scope_id': this.current_scope.id };
1599
- this.changeBtn.load();
1600
- return await salla.scope.change(payload)
1601
- .then(() => {
1602
- salla.storage.set("branch-choosed-before", true);
1603
- salla.storage.set("scope", this.current_scope.id);
1604
- window.location.search += "&scope=" + this.current_scope.id;
1605
- }).catch(e => console.log(e))
1606
- .finally(() => {
1607
- this.changeBtn.stop();
1608
- });
1609
- }
1610
- setScopeValues(value) {
1611
- this.scopes = value;
1612
- this.originalScopesList = value;
1613
- if (value.length == 1) {
1614
- this.current_scope = value[0];
1615
- this.selected_scope = value[0];
1616
- }
1617
- else {
1618
- this.current_scope = value.find(scope => scope.selected);
1619
- this.selected_scope = value.find(scope => scope.selected);
1620
- }
1621
- }
1622
- handleSearchFieldTyping(e) {
1623
- let value = e.target.value.toLocaleLowerCase();
1624
- if (!!value) {
1625
- this.scopes = this.originalScopesList.filter(scope => scope.name.toLowerCase().includes(value));
1626
- }
1627
- else {
1628
- this.scopes = this.originalScopesList;
1629
- }
1630
- }
1631
- handleScopeSelection(event) {
1632
- this.current_scope = this.scopes.find(scope => scope.id == event.target.value);
1633
- }
1634
- placeholderContent() {
1635
- return index$1.h("salla-placeholder", { alignment: "center", class: "s-scopes-placeholder" }, index$1.h("span", { slot: "title" }, this.branchNotFound), index$1.h("span", { slot: "description" }, this.ourServiceIsNotFound));
1636
- }
1637
- defaultContent() {
1638
- return [index$1.h("div", { class: "s-scopes-container s-scrollbar" }, this.scopes.map((scope) => index$1.h("div", { class: "s-scopes-input-wrap", "data-selection": this.selection }, index$1.h("input", { id: `${this.selection} + '_scope_' + ${scope.id}`, name: "lang", type: "radio", value: scope.id, onChange: (event) => this.handleScopeSelection(event), class: "s-scopes-input", checked: !!this.current_scope && this.current_scope.id == scope.id }), index$1.h("label", { htmlFor: `${this.selection} + '_scope_' + ${scope.id}`, class: "s-scopes-label s-scopes-clickable" }, index$1.h("span", null, scope.name))))), this.footerContent()];
1639
- }
1640
- availabilityContent() {
1641
- return index$1.h("div", { class: "s-scopes-container" }, this.scopes.map((scope) => {
1642
- var _a, _b, _c, _d, _e, _f;
1643
- return index$1.h("div", { class: "s-scopes-input-wrap", "data-selection": this.selection }, index$1.h("h2", { class: { "s-scopes-label": true, "s-scopes-clickable": this.mode === ModeType.DEFAULT } }, index$1.h("span", null, scope.name)), index$1.h("h2", { style: { 'color': (_b = (_a = scope) === null || _a === void 0 ? void 0 : _a.availability) === null || _b === void 0 ? void 0 : _b.color }, class: `s-scopes-${(_d = (_c = scope) === null || _c === void 0 ? void 0 : _c.availability) === null || _d === void 0 ? void 0 : _d.key}` }, (_f = (_e = scope) === null || _e === void 0 ? void 0 : _e.availability) === null || _f === void 0 ? void 0 : _f.label));
1644
- }));
1645
- }
1646
- footerContent() {
1647
- return index$1.h("div", { class: "s-scopes-footer" }, index$1.h("slot", { name: "footer" }, index$1.h("salla-button", { ref: btn => this.changeBtn = btn, disabled: !this.current_scope, onClick: () => this.handleSubmit(), class: "s-scopes-submit", "loader-position": "center", width: "wide" }, this.confirmButton)));
1648
- }
1649
- render() {
1650
- return (index$1.h(index$1.Host, null, index$1.h("salla-modal", { ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: true, "has-skeleton": true }, index$1.h("div", { slot: "loading" }, index$1.h("div", { class: "s-scopes-skeleton" }, index$1.h("salla-list-tile", { class: "s-scopes-header" }, index$1.h("div", { slot: "icon", class: "s-scopes-header-icon" }, index$1.h("salla-skeleton", { type: "circle" })), index$1.h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, index$1.h("salla-skeleton", { height: '15px', width: '50%' })), index$1.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, index$1.h("salla-skeleton", { height: '10px' }), index$1.h("salla-skeleton", { height: '10px', width: '75%' }))), index$1.h("div", { class: "s-scopes-skeleton-search" }, index$1.h("salla-skeleton", { height: '10px', width: '50%' }), index$1.h("salla-skeleton", { height: '30px', width: '100%' })), index$1.h("div", { class: "s-scopes-skeleton-scopes" }, index$1.h("salla-skeleton", { height: '10px', width: '30%' }), index$1.h("salla-skeleton", { height: '10px', width: '25%' }), index$1.h("salla-skeleton", { height: '10px', width: '30%' }), index$1.h("salla-skeleton", { height: '10px', width: '25%' }), index$1.h("salla-skeleton", { height: '10px', width: '30%' }), index$1.h("salla-skeleton", { height: '10px', width: '25%' }), index$1.h("salla-skeleton", { height: '10px', width: '30%' }), index$1.h("salla-skeleton", { height: '10px', width: '25%' })), index$1.h("div", { class: "s-scopes-skeleton-btn" }, index$1.h("salla-skeleton", { height: '40px', width: '100%' })))), index$1.h("salla-list-tile", { class: this.originalScopesList.length ? "s-scopes-header block" : "s-hidden" }, index$1.h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), index$1.h("div", { slot: "title", class: "s-scopes-header-title" }, this.nowBrowsingFrom), index$1.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), index$1.h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList.length && index$1.h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList.length > this.searchDisplayLimit ?
1651
- index$1.h("div", { class: "s-scopes-search-wrapper" }, index$1.h("div", { class: "s-scopes-search-icon", innerHTML: Search }), index$1.h("input", { type: "text", class: "s-scopes-search-input", onInput: e => this.handleSearchFieldTyping(e), placeholder: this.scopeSearchPlaceholder }))
1652
- : "", this.scopes.length < 2 ?
1653
- this.placeholderContent()
1654
- : this.mode === ModeType.DEFAULT ? this.defaultContent() : this.availabilityContent()))));
1655
- }
1656
- componentDidLoad() {
1657
- if (!this.isOpenedBefore && this.selection == 'mandatory') {
1658
- this.open();
1659
- }
1660
- }
1661
- };
1662
- SallaScopees.style = sallaScopesCss;
1663
-
1664
1694
  const sallaSearchCss = "";
1665
1695
 
1666
1696
  const SallaSearch = class {
@@ -1668,13 +1698,14 @@ const SallaSearch = class {
1668
1698
  index$1.registerInstance(this, hostRef);
1669
1699
  var _a;
1670
1700
  this.inputValue = '';
1701
+ this.loading = false;
1671
1702
  this.typing = false;
1672
1703
  this.debounce = setTimeout(() => '', 1000);
1673
1704
  this.inline = false;
1674
1705
  this.oval = false;
1675
1706
  this.height = 60;
1676
- Helper.Helper.setHost(this.host);
1677
- this.productSlot = ((_a = Helper.Helper.getElement('[slot="product"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || this.getDefaultProductSlot();
1707
+ Helper$1.setHost(this.host);
1708
+ this.productSlot = ((_a = Helper$1.getElement('[slot="product"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || this.getDefaultProductSlot();
1678
1709
  salla.event.on('search::open', () => this.open());
1679
1710
  salla.lang.onLoaded(() => {
1680
1711
  this.placeholder = salla.lang.get('blocks.header.search_placeholder');
@@ -1720,9 +1751,9 @@ const SallaSearch = class {
1720
1751
  }
1721
1752
  }
1722
1753
  search(val) {
1723
- Helper.Helper.hideElement(this.noResults);
1754
+ Helper$1.hideElement(this.noResults);
1724
1755
  //run loading spinner or stop it
1725
- Helper.Helper.toggleElementClassIf(this.searchIcon, 's-search-spinner-loader', 'sicon-search', () => true);
1756
+ this.loading = true;
1726
1757
  salla.product.search(val)
1727
1758
  .then(response => this.results = response)
1728
1759
  .catch(err => err !== 'Query is same as previous one!' ? this.results = undefined : null)
@@ -1731,14 +1762,14 @@ const SallaSearch = class {
1731
1762
  afterSearching(isEmpty = true) {
1732
1763
  var _a;
1733
1764
  this.noResults.style.display = isEmpty || ((_a = this.results) === null || _a === void 0 ? void 0 : _a.data.length) > 0 ? 'none' : 'block';
1734
- Helper.Helper.toggleElementClassIf(this.container, 's-search-container-open', 's-search-no-results', () => { var _a; return (_a = this.results) === null || _a === void 0 ? void 0 : _a.data.length; })
1735
- .toggleElementClassIf(this.searchIcon, 's-search-spinner-loader', 'sicon-search', () => false); //stop searching anime
1765
+ Helper$1.toggleElementClassIf(this.container, 's-search-container-open', 's-search-no-results', () => { var _a; return (_a = this.results) === null || _a === void 0 ? void 0 : _a.data.length; });
1766
+ this.loading = false;
1736
1767
  salla.product.api.previousQuery = ''; //avoid having error 'Query is same as previous one!' after reopen modal;
1737
1768
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
1738
1769
  }
1739
1770
  render() {
1740
1771
  var _a;
1741
- const searchContent = index$1.h("div", { class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, index$1.h("input", { type: "text", autocomplete: "off", class: "s-search-input", placeholder: this.placeholder, onInput: e => this.debounceSearch(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), index$1.h("span", { class: "s-search-icon-wrap" }, index$1.h("i", { class: "s-search-icon sicon-search", ref: el => this.searchIcon = el })), index$1.h("div", { class: "s-search-results" }, (_a = this.results) === null || _a === void 0 ? void 0 :
1772
+ const searchContent = index$1.h("div", { class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, index$1.h("input", { type: "text", autocomplete: "off", class: "s-search-input", placeholder: this.placeholder, onInput: e => this.debounceSearch(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), index$1.h("span", { class: "s-search-icon-wrap" }, index$1.h("span", { class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"></i>' : search.Search })), index$1.h("div", { class: "s-search-results" }, (_a = this.results) === null || _a === void 0 ? void 0 :
1742
1773
  _a.data.map(item => index$1.h("a", { href: item.url, class: { "s-search-product": true, 's-search-product-not-available': !item.is_available }, innerHTML: this.productSlot
1743
1774
  .replace(/\{name\}/g, item.name)
1744
1775
  .replace(/\{price\}/g, salla.money(item.price))
@@ -3119,13 +3150,6 @@ const copy_link = `<!-- Generated by IcoMoon.io -->
3119
3150
  </svg>
3120
3151
  `;
3121
3152
 
3122
- const email = `<!-- Generated by IcoMoon.io -->
3123
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
3124
- <title>mail</title>
3125
- <path d="M28 2.667h-24c-2.205 0-4 1.795-4 4v18.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-18.667c0-2.205-1.795-4-4-4zM29.333 25.333c0 0.735-0.599 1.333-1.333 1.333h-24c-0.735 0-1.333-0.599-1.333-1.333v-12.685l10.54 4.865c0.888 0.409 1.84 0.613 2.793 0.613s1.907-0.204 2.793-0.615l10.54-4.864zM29.333 9.711l-11.657 5.38c-1.065 0.492-2.288 0.492-3.353 0l-11.656-5.38v-3.044c0-0.735 0.599-1.333 1.333-1.333h24c0.735 0 1.333 0.599 1.333 1.333z"></path>
3126
- </svg>
3127
- `;
3128
-
3129
3153
  const whatsapp = `<!-- Generated by IcoMoon.io -->
3130
3154
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
3131
3155
  <title>whatsapp</title>
@@ -3142,6 +3166,13 @@ var Socials;
3142
3166
  Socials["COPY_LINK"] = "copy_link";
3143
3167
  })(Socials || (Socials = {}));
3144
3168
 
3169
+ const ShareAlt = `<!-- Generated by IcoMoon.io -->
3170
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
3171
+ <title>share-alt</title>
3172
+ <path d="M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z"></path>
3173
+ </svg>
3174
+ `;
3175
+
3145
3176
  const sallaSocialShareCss = "";
3146
3177
 
3147
3178
  const SallaSocialShare = class {
@@ -3212,7 +3243,7 @@ const SallaSocialShare = class {
3212
3243
  }, '-=200');
3213
3244
  }
3214
3245
  render() {
3215
- return (index$1.h("div", { class: "s-social-share-wrapper" }, index$1.h("slot", { name: 'widget' }, index$1.h("salla-button", { "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index$1.h("i", { class: this.opened ? "sicon-cancel" : "sicon-share-alt" }))), index$1.h("ul", { ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share" }, this.platforms.map(platform => {
3246
+ return (index$1.h("div", { class: "s-social-share-wrapper" }, index$1.h("slot", { name: 'widget' }, index$1.h("salla-button", { "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index$1.h("span", { innerHTML: this.opened ? Cancel : ShareAlt }))), index$1.h("ul", { ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share" }, this.platforms.map(platform => {
3216
3247
  return (index$1.h("li", { ref: el => this.platformItem = el }, index$1.h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
3217
3248
  if (icon.name === platform) {
3218
3249
  return index$1.h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -8183,7 +8214,14 @@ Object.keys(prototypes).forEach(prototypeGroup => {
8183
8214
  });
8184
8215
  Swiper.use([Resize, Observer]);
8185
8216
 
8186
- const sallaSwiperCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:\"\";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.s-swiper{position:relative}.s-swiper-container{padding-top:5px}.s-swiper-button-next{right:-25px !important}.s-swiper-button-prev{left:-25px !important}.s-swiper-button-prev,.s-swiper-button-next{position:absolute;top:50%;z-index:3}.s-swiper-button-icon{color:black !important}";
8217
+ const ArrowLeftIcon = `<!-- Generated by IcoMoon.io -->
8218
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
8219
+ <title>arrow-left</title>
8220
+ <path d="M28 14.667h-20.452l7.996-6.997c0.555-0.485 0.611-1.327 0.125-1.881-0.485-0.553-1.327-0.611-1.881-0.125l-10.667 9.333c-0.011 0.009-0.015 0.024-0.025 0.033-0.096 0.089-0.167 0.199-0.232 0.313-0.025 0.043-0.063 0.076-0.081 0.121-0.073 0.165-0.116 0.345-0.116 0.536s0.043 0.371 0.116 0.535c0.020 0.045 0.057 0.079 0.081 0.121 0.067 0.115 0.136 0.224 0.232 0.313 0.011 0.009 0.015 0.024 0.025 0.033l10.667 9.333c0.253 0.221 0.567 0.331 0.879 0.331 0.371 0 0.74-0.155 1.004-0.455 0.485-0.555 0.429-1.396-0.125-1.881l-7.997-6.997h20.452c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333z"></path>
8221
+ </svg>
8222
+ `;
8223
+
8224
+ const sallaSwiperCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:\"\";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.s-swiper{position:relative}";
8187
8225
 
8188
8226
  const SallaSwiper = class {
8189
8227
  constructor(hostRef) {
@@ -8218,7 +8256,7 @@ const SallaSwiper = class {
8218
8256
  }
8219
8257
  render() {
8220
8258
  var _a, _b;
8221
- return (index$1.h("div", { class: "s-swiper", dir: this.direction }, index$1.h("div", { class: "s-swiper-button-prev" }, index$1.h("salla-button", { disabled: (_a = this.swiper) === null || _a === void 0 ? void 0 : _a.isBeginning, shape: "icon", color: "light", onClick: () => this.swiper.slidePrev() }, index$1.h("i", { class: "sicon-arrow-left s-swiper-button-icon" }))), index$1.h("div", { class: "s-swiper-button-next" }, index$1.h("salla-button", { disabled: (_b = this.swiper) === null || _b === void 0 ? void 0 : _b.isEnd, shape: "icon", color: "light", onClick: () => this.swiper.slideNext() }, index$1.h("i", { class: "sicon-arrow-right s-swiper-button-icon" }))), index$1.h("div", { class: "swiper" }, index$1.h("div", { class: "swiper-container s-swiper-container", ref: el => this.swiperContainer = el }, index$1.h("div", { class: "swiper-wrapper s-swiper-wrapper", ref: el => this.swiperWrapper = el }, index$1.h("slot", null))))));
8259
+ return (index$1.h("div", { class: "s-swiper", dir: this.direction }, index$1.h("div", { class: "s-swiper-button-prev" }, index$1.h("salla-button", { disabled: (_a = this.swiper) === null || _a === void 0 ? void 0 : _a.isBeginning, shape: "icon", color: "light", onClick: () => this.swiper.slidePrev() }, index$1.h("span", { class: "s-swiper-button-icon", innerHTML: ArrowLeftIcon }))), index$1.h("div", { class: "s-swiper-button-next" }, index$1.h("salla-button", { disabled: (_b = this.swiper) === null || _b === void 0 ? void 0 : _b.isEnd, shape: "icon", color: "light", onClick: () => this.swiper.slideNext() }, index$1.h("span", { class: "s-swiper-button-icon", innerHTML: ArrowRightIcon }))), index$1.h("div", { class: "swiper" }, index$1.h("div", { class: "swiper-container s-swiper-container", ref: el => this.swiperContainer = el }, index$1.h("div", { class: "swiper-wrapper s-swiper-wrapper", ref: el => this.swiperWrapper = el }, index$1.h("slot", null))))));
8222
8260
  }
8223
8261
  };
8224
8262
  SallaSwiper.style = sallaSwiperCss;
@@ -9737,7 +9775,7 @@ var intlTelInput$1 = createCommonjsModule(function (module) {
9737
9775
  */
9738
9776
  var intlTelInput = intlTelInput$1;
9739
9777
 
9740
- const sallaTelInputCss = "@charset \"UTF-8\";.iti{width:100%;position:relative;display:inline-block}.iti *{box-sizing:border-box;-moz-box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti input,.iti input[type=text],.iti input[type=tel]{position:relative;z-index:0;direction:ltr !important;margin-top:0 !important;margin-bottom:0 !important;padding-left:95px !important;padding-right:15px !important;margin-left:0 !important}.iti__flag-container{width:100%;position:absolute;top:0;bottom:0;left:0;padding:1px}.iti__selected-flag{width:80px;z-index:1;position:relative;display:flex;align-items:center;height:100%;float:left;padding:0 15px;box-shadow:none !important;outline:none !important}.ltr .iti__selected-flag{justify-content:flex-end}.iti__selected-flag:before{content:\"\";display:block;width:1px;height:70%;background:#eee;position:absolute;top:15%;right:0}.iti__selected-flag .iti__flag{display:none}.iti__arrow{width:15px;height:15px;line-height:15px;position:absolute;left:10px;top:50%;transform:translateY(-50%)}.iti__arrow:after{content:\"\";font-family:sallaicons;font-size:16px;color:#999;opacity:0.65}.iti__arrow--up:after{transform:rotate(180deg)}.iti__country-list{width:100%;max-height:160px;position:absolute;top:100%;left:0;z-index:2;list-style:none;margin:0;padding:0;margin:5px 0 0 0;border-radius:5px;box-shadow:0px 2px 4px 2px rgba(0, 0, 0, 0.05);border:1px solid #f5f7f9;background-color:white;white-space:nowrap;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.iti__country-list::-webkit-scrollbar{width:4px}.dark .iti__country-list{background-color:#52525b;border-color:#52525b}.iti__country-list li{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding:8px 10px;transition:background-color 0.3s}.iti__country-list li span{font-size:12px}.iti__country-list li:hover,.iti__country-list li.highlighted{background-color:rgba(0, 0, 0, 0.05)}.iti__country-list--dropup{bottom:100%;top:unset;margin:0 0 5px 0}@media (max-width: 500px){.iti__country-list{white-space:normal}}.iti__flag-box{display:inline-block;width:20px;margin:0 0 0 5px}.iti__divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #eee}.iti__country{padding:5px 10px;outline:none}.iti__dial-code{font-family:Arial;color:#999;unicode-bidi:plaintext;letter-spacing:1px}.iti__country.iti__highlight{background-color:rgba(0, 0, 0, 0.05)}.iti__flag-box,.iti__country-name,.iti__dial-code{vertical-align:middle}.iti__country-name{flex:auto;margin:0;padding:0 10px;white-space:normal;line-height:1.3}.iti--allow-dropdown .iti__flag-container,.iti--separate-dial-code .iti__flag-container{left:0}.iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover{cursor:default}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover .iti__selected-flag,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover .iti__selected-flag{background-color:transparent}.iti--separate-dial-code .iti__selected-dial-code{unicode-bidi:plaintext;direction:ltr;letter-spacing:1px;font-family:\"Arial\", serif;font-size:13px}.iti--container{position:absolute;top:-1000px;z-index:1060;padding:1px}.iti--container:hover{cursor:pointer}.iti-mobile .iti--container{inset:0;margin:20px;width:calc(100% - 40px);position:fixed;z-index:9999}.iti-mobile .iti__country-list{max-height:100%;width:100%;inset:0}.iti-mobile .iti__country{padding:10px 10px;line-height:1.5em}.iti__flag{width:20px}.iti__flag.iti__be{width:18px}.iti__flag.iti__ch{width:15px}.iti__flag.iti__mc{width:19px}.iti__flag.iti__ne{width:18px}.iti__flag.iti__np{width:13px}.iti__flag.iti__va{width:15px}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.iti__flag{background-size:5652px 15px}}.iti__flag.iti__ac{height:10px;background-position:0px 0px}.iti__flag.iti__ad{height:14px;background-position:-22px 0px}.iti__flag.iti__ae{height:10px;background-position:-44px 0px}.iti__flag.iti__af{height:14px;background-position:-66px 0px}.iti__flag.iti__ag{height:14px;background-position:-88px 0px}.iti__flag.iti__ai{height:10px;background-position:-110px 0px}.iti__flag.iti__al{height:15px;background-position:-132px 0px}.iti__flag.iti__am{height:10px;background-position:-154px 0px}.iti__flag.iti__ao{height:14px;background-position:-176px 0px}.iti__flag.iti__aq{height:14px;background-position:-198px 0px}.iti__flag.iti__ar{height:13px;background-position:-220px 0px}.iti__flag.iti__as{height:10px;background-position:-242px 0px}.iti__flag.iti__at{height:14px;background-position:-264px 0px}.iti__flag.iti__au{height:10px;background-position:-286px 0px}.iti__flag.iti__aw{height:14px;background-position:-308px 0px}.iti__flag.iti__ax{height:13px;background-position:-330px 0px}.iti__flag.iti__az{height:10px;background-position:-352px 0px}.iti__flag.iti__ba{height:10px;background-position:-374px 0px}.iti__flag.iti__bb{height:14px;background-position:-396px 0px}.iti__flag.iti__bd{height:12px;background-position:-418px 0px}.iti__flag.iti__be{height:15px;background-position:-440px 0px}.iti__flag.iti__bf{height:14px;background-position:-460px 0px}.iti__flag.iti__bg{height:12px;background-position:-482px 0px}.iti__flag.iti__bh{height:12px;background-position:-504px 0px}.iti__flag.iti__bi{height:12px;background-position:-526px 0px}.iti__flag.iti__bj{height:14px;background-position:-548px 0px}.iti__flag.iti__bl{height:14px;background-position:-570px 0px}.iti__flag.iti__bm{height:10px;background-position:-592px 0px}.iti__flag.iti__bn{height:10px;background-position:-614px 0px}.iti__flag.iti__bo{height:14px;background-position:-636px 0px}.iti__flag.iti__bq{height:14px;background-position:-658px 0px}.iti__flag.iti__br{height:14px;background-position:-680px 0px}.iti__flag.iti__bs{height:10px;background-position:-702px 0px}.iti__flag.iti__bt{height:14px;background-position:-724px 0px}.iti__flag.iti__bv{height:15px;background-position:-746px 0px}.iti__flag.iti__bw{height:14px;background-position:-768px 0px}.iti__flag.iti__by{height:10px;background-position:-790px 0px}.iti__flag.iti__bz{height:14px;background-position:-812px 0px}.iti__flag.iti__ca{height:10px;background-position:-834px 0px}.iti__flag.iti__cc{height:10px;background-position:-856px 0px}.iti__flag.iti__cd{height:15px;background-position:-878px 0px}.iti__flag.iti__cf{height:14px;background-position:-900px 0px}.iti__flag.iti__cg{height:14px;background-position:-922px 0px}.iti__flag.iti__ch{height:15px;background-position:-944px 0px}.iti__flag.iti__ci{height:14px;background-position:-961px 0px}.iti__flag.iti__ck{height:10px;background-position:-983px 0px}.iti__flag.iti__cl{height:14px;background-position:-1005px 0px}.iti__flag.iti__cm{height:14px;background-position:-1027px 0px}.iti__flag.iti__cn{height:14px;background-position:-1049px 0px}.iti__flag.iti__co{height:14px;background-position:-1071px 0px}.iti__flag.iti__cp{height:14px;background-position:-1093px 0px}.iti__flag.iti__cr{height:12px;background-position:-1115px 0px}.iti__flag.iti__cu{height:10px;background-position:-1137px 0px}.iti__flag.iti__cv{height:12px;background-position:-1159px 0px}.iti__flag.iti__cw{height:14px;background-position:-1181px 0px}.iti__flag.iti__cx{height:10px;background-position:-1203px 0px}.iti__flag.iti__cy{height:14px;background-position:-1225px 0px}.iti__flag.iti__cz{height:14px;background-position:-1247px 0px}.iti__flag.iti__de{height:12px;background-position:-1269px 0px}.iti__flag.iti__dg{height:10px;background-position:-1291px 0px}.iti__flag.iti__dj{height:14px;background-position:-1313px 0px}.iti__flag.iti__dk{height:15px;background-position:-1335px 0px}.iti__flag.iti__dm{height:10px;background-position:-1357px 0px}.iti__flag.iti__do{height:14px;background-position:-1379px 0px}.iti__flag.iti__dz{height:14px;background-position:-1401px 0px}.iti__flag.iti__ea{height:14px;background-position:-1423px 0px}.iti__flag.iti__ec{height:14px;background-position:-1445px 0px}.iti__flag.iti__ee{height:13px;background-position:-1467px 0px}.iti__flag.iti__eg{height:14px;background-position:-1489px 0px}.iti__flag.iti__eh{height:10px;background-position:-1511px 0px}.iti__flag.iti__er{height:10px;background-position:-1533px 0px}.iti__flag.iti__es{height:14px;background-position:-1555px 0px}.iti__flag.iti__et{height:10px;background-position:-1577px 0px}.iti__flag.iti__eu{height:14px;background-position:-1599px 0px}.iti__flag.iti__fi{height:12px;background-position:-1621px 0px}.iti__flag.iti__fj{height:10px;background-position:-1643px 0px}.iti__flag.iti__fk{height:10px;background-position:-1665px 0px}.iti__flag.iti__fm{height:11px;background-position:-1687px 0px}.iti__flag.iti__fo{height:15px;background-position:-1709px 0px}.iti__flag.iti__fr{height:14px;background-position:-1731px 0px}.iti__flag.iti__ga{height:15px;background-position:-1753px 0px}.iti__flag.iti__gb{height:10px;background-position:-1775px 0px}.iti__flag.iti__gd{height:12px;background-position:-1797px 0px}.iti__flag.iti__ge{height:14px;background-position:-1819px 0px}.iti__flag.iti__gf{height:14px;background-position:-1841px 0px}.iti__flag.iti__gg{height:14px;background-position:-1863px 0px}.iti__flag.iti__gh{height:14px;background-position:-1885px 0px}.iti__flag.iti__gi{height:10px;background-position:-1907px 0px}.iti__flag.iti__gl{height:14px;background-position:-1929px 0px}.iti__flag.iti__gm{height:14px;background-position:-1951px 0px}.iti__flag.iti__gn{height:14px;background-position:-1973px 0px}.iti__flag.iti__gp{height:14px;background-position:-1995px 0px}.iti__flag.iti__gq{height:14px;background-position:-2017px 0px}.iti__flag.iti__gr{height:14px;background-position:-2039px 0px}.iti__flag.iti__gs{height:10px;background-position:-2061px 0px}.iti__flag.iti__gt{height:13px;background-position:-2083px 0px}.iti__flag.iti__gu{height:11px;background-position:-2105px 0px}.iti__flag.iti__gw{height:10px;background-position:-2127px 0px}.iti__flag.iti__gy{height:12px;background-position:-2149px 0px}.iti__flag.iti__hk{height:14px;background-position:-2171px 0px}.iti__flag.iti__hm{height:10px;background-position:-2193px 0px}.iti__flag.iti__hn{height:10px;background-position:-2215px 0px}.iti__flag.iti__hr{height:10px;background-position:-2237px 0px}.iti__flag.iti__ht{height:12px;background-position:-2259px 0px}.iti__flag.iti__hu{height:10px;background-position:-2281px 0px}.iti__flag.iti__ic{height:14px;background-position:-2303px 0px}.iti__flag.iti__id{height:14px;background-position:-2325px 0px}.iti__flag.iti__ie{height:10px;background-position:-2347px 0px}.iti__flag.iti__il{height:15px;background-position:-2369px 0px}.iti__flag.iti__im{height:10px;background-position:-2391px 0px}.iti__flag.iti__in{height:14px;background-position:-2413px 0px}.iti__flag.iti__io{height:10px;background-position:-2435px 0px}.iti__flag.iti__iq{height:14px;background-position:-2457px 0px}.iti__flag.iti__ir{height:12px;background-position:-2479px 0px}.iti__flag.iti__is{height:15px;background-position:-2501px 0px}.iti__flag.iti__it{height:14px;background-position:-2523px 0px}.iti__flag.iti__je{height:12px;background-position:-2545px 0px}.iti__flag.iti__jm{height:10px;background-position:-2567px 0px}.iti__flag.iti__jo{height:10px;background-position:-2589px 0px}.iti__flag.iti__jp{height:14px;background-position:-2611px 0px}.iti__flag.iti__ke{height:14px;background-position:-2633px 0px}.iti__flag.iti__kg{height:12px;background-position:-2655px 0px}.iti__flag.iti__kh{height:13px;background-position:-2677px 0px}.iti__flag.iti__ki{height:10px;background-position:-2699px 0px}.iti__flag.iti__km{height:12px;background-position:-2721px 0px}.iti__flag.iti__kn{height:14px;background-position:-2743px 0px}.iti__flag.iti__kp{height:10px;background-position:-2765px 0px}.iti__flag.iti__kr{height:14px;background-position:-2787px 0px}.iti__flag.iti__kw{height:10px;background-position:-2809px 0px}.iti__flag.iti__ky{height:10px;background-position:-2831px 0px}.iti__flag.iti__kz{height:10px;background-position:-2853px 0px}.iti__flag.iti__la{height:14px;background-position:-2875px 0px}.iti__flag.iti__lb{height:14px;background-position:-2897px 0px}.iti__flag.iti__lc{height:10px;background-position:-2919px 0px}.iti__flag.iti__li{height:12px;background-position:-2941px 0px}.iti__flag.iti__lk{height:10px;background-position:-2963px 0px}.iti__flag.iti__lr{height:11px;background-position:-2985px 0px}.iti__flag.iti__ls{height:14px;background-position:-3007px 0px}.iti__flag.iti__lt{height:12px;background-position:-3029px 0px}.iti__flag.iti__lu{height:12px;background-position:-3051px 0px}.iti__flag.iti__lv{height:10px;background-position:-3073px 0px}.iti__flag.iti__ly{height:10px;background-position:-3095px 0px}.iti__flag.iti__ma{height:14px;background-position:-3117px 0px}.iti__flag.iti__mc{height:15px;background-position:-3139px 0px}.iti__flag.iti__md{height:10px;background-position:-3160px 0px}.iti__flag.iti__me{height:10px;background-position:-3182px 0px}.iti__flag.iti__mf{height:14px;background-position:-3204px 0px}.iti__flag.iti__mg{height:14px;background-position:-3226px 0px}.iti__flag.iti__mh{height:11px;background-position:-3248px 0px}.iti__flag.iti__mk{height:10px;background-position:-3270px 0px}.iti__flag.iti__ml{height:14px;background-position:-3292px 0px}.iti__flag.iti__mm{height:14px;background-position:-3314px 0px}.iti__flag.iti__mn{height:10px;background-position:-3336px 0px}.iti__flag.iti__mo{height:14px;background-position:-3358px 0px}.iti__flag.iti__mp{height:10px;background-position:-3380px 0px}.iti__flag.iti__mq{height:14px;background-position:-3402px 0px}.iti__flag.iti__mr{height:14px;background-position:-3424px 0px}.iti__flag.iti__ms{height:10px;background-position:-3446px 0px}.iti__flag.iti__mt{height:14px;background-position:-3468px 0px}.iti__flag.iti__mu{height:14px;background-position:-3490px 0px}.iti__flag.iti__mv{height:14px;background-position:-3512px 0px}.iti__flag.iti__mw{height:14px;background-position:-3534px 0px}.iti__flag.iti__mx{height:12px;background-position:-3556px 0px}.iti__flag.iti__my{height:10px;background-position:-3578px 0px}.iti__flag.iti__mz{height:14px;background-position:-3600px 0px}.iti__flag.iti__na{height:14px;background-position:-3622px 0px}.iti__flag.iti__nc{height:10px;background-position:-3644px 0px}.iti__flag.iti__ne{height:15px;background-position:-3666px 0px}.iti__flag.iti__nf{height:10px;background-position:-3686px 0px}.iti__flag.iti__ng{height:10px;background-position:-3708px 0px}.iti__flag.iti__ni{height:12px;background-position:-3730px 0px}.iti__flag.iti__nl{height:14px;background-position:-3752px 0px}.iti__flag.iti__no{height:15px;background-position:-3774px 0px}.iti__flag.iti__np{height:15px;background-position:-3796px 0px}.iti__flag.iti__nr{height:10px;background-position:-3811px 0px}.iti__flag.iti__nu{height:10px;background-position:-3833px 0px}.iti__flag.iti__nz{height:10px;background-position:-3855px 0px}.iti__flag.iti__om{height:10px;background-position:-3877px 0px}.iti__flag.iti__pa{height:14px;background-position:-3899px 0px}.iti__flag.iti__pe{height:14px;background-position:-3921px 0px}.iti__flag.iti__pf{height:14px;background-position:-3943px 0px}.iti__flag.iti__pg{height:15px;background-position:-3965px 0px}.iti__flag.iti__ph{height:10px;background-position:-3987px 0px}.iti__flag.iti__pk{height:14px;background-position:-4009px 0px}.iti__flag.iti__pl{height:13px;background-position:-4031px 0px}.iti__flag.iti__pm{height:14px;background-position:-4053px 0px}.iti__flag.iti__pn{height:10px;background-position:-4075px 0px}.iti__flag.iti__pr{height:14px;background-position:-4097px 0px}.iti__flag.iti__ps{height:10px;background-position:-4119px 0px}.iti__flag.iti__pt{height:14px;background-position:-4141px 0px}.iti__flag.iti__pw{height:13px;background-position:-4163px 0px}.iti__flag.iti__py{height:11px;background-position:-4185px 0px}.iti__flag.iti__qa{height:8px;background-position:-4207px 0px}.iti__flag.iti__re{height:14px;background-position:-4229px 0px}.iti__flag.iti__ro{height:14px;background-position:-4251px 0px}.iti__flag.iti__rs{height:14px;background-position:-4273px 0px}.iti__flag.iti__ru{height:14px;background-position:-4295px 0px}.iti__flag.iti__rw{height:14px;background-position:-4317px 0px}.iti__flag.iti__sa{height:14px;background-position:-4339px 0px}.iti__flag.iti__sb{height:10px;background-position:-4361px 0px}.iti__flag.iti__sc{height:10px;background-position:-4383px 0px}.iti__flag.iti__sd{height:10px;background-position:-4405px 0px}.iti__flag.iti__se{height:13px;background-position:-4427px 0px}.iti__flag.iti__sg{height:14px;background-position:-4449px 0px}.iti__flag.iti__sh{height:10px;background-position:-4471px 0px}.iti__flag.iti__si{height:10px;background-position:-4493px 0px}.iti__flag.iti__sj{height:15px;background-position:-4515px 0px}.iti__flag.iti__sk{height:14px;background-position:-4537px 0px}.iti__flag.iti__sl{height:14px;background-position:-4559px 0px}.iti__flag.iti__sm{height:15px;background-position:-4581px 0px}.iti__flag.iti__sn{height:14px;background-position:-4603px 0px}.iti__flag.iti__so{height:14px;background-position:-4625px 0px}.iti__flag.iti__sr{height:14px;background-position:-4647px 0px}.iti__flag.iti__ss{height:10px;background-position:-4669px 0px}.iti__flag.iti__st{height:10px;background-position:-4691px 0px}.iti__flag.iti__sv{height:12px;background-position:-4713px 0px}.iti__flag.iti__sx{height:14px;background-position:-4735px 0px}.iti__flag.iti__sy{height:14px;background-position:-4757px 0px}.iti__flag.iti__sz{height:14px;background-position:-4779px 0px}.iti__flag.iti__ta{height:10px;background-position:-4801px 0px}.iti__flag.iti__tc{height:10px;background-position:-4823px 0px}.iti__flag.iti__td{height:14px;background-position:-4845px 0px}.iti__flag.iti__tf{height:14px;background-position:-4867px 0px}.iti__flag.iti__tg{height:13px;background-position:-4889px 0px}.iti__flag.iti__th{height:14px;background-position:-4911px 0px}.iti__flag.iti__tj{height:10px;background-position:-4933px 0px}.iti__flag.iti__tk{height:10px;background-position:-4955px 0px}.iti__flag.iti__tl{height:10px;background-position:-4977px 0px}.iti__flag.iti__tm{height:14px;background-position:-4999px 0px}.iti__flag.iti__tn{height:14px;background-position:-5021px 0px}.iti__flag.iti__to{height:10px;background-position:-5043px 0px}.iti__flag.iti__tr{height:14px;background-position:-5065px 0px}.iti__flag.iti__tt{height:12px;background-position:-5087px 0px}.iti__flag.iti__tv{height:10px;background-position:-5109px 0px}.iti__flag.iti__tw{height:14px;background-position:-5131px 0px}.iti__flag.iti__tz{height:14px;background-position:-5153px 0px}.iti__flag.iti__ua{height:14px;background-position:-5175px 0px}.iti__flag.iti__ug{height:14px;background-position:-5197px 0px}.iti__flag.iti__um{height:11px;background-position:-5219px 0px}.iti__flag.iti__un{height:14px;background-position:-5241px 0px}.iti__flag.iti__us{height:11px;background-position:-5263px 0px}.iti__flag.iti__uy{height:14px;background-position:-5285px 0px}.iti__flag.iti__uz{height:10px;background-position:-5307px 0px}.iti__flag.iti__va{height:15px;background-position:-5329px 0px}.iti__flag.iti__vc{height:14px;background-position:-5346px 0px}.iti__flag.iti__ve{height:14px;background-position:-5368px 0px}.iti__flag.iti__vg{height:10px;background-position:-5390px 0px}.iti__flag.iti__vi{height:14px;background-position:-5412px 0px}.iti__flag.iti__vn{height:14px;background-position:-5434px 0px}.iti__flag.iti__vu{height:12px;background-position:-5456px 0px}.iti__flag.iti__wf{height:14px;background-position:-5478px 0px}.iti__flag.iti__ws{height:10px;background-position:-5500px 0px}.iti__flag.iti__xk{height:15px;background-position:-5522px 0px}.iti__flag.iti__ye{height:14px;background-position:-5544px 0px}.iti__flag.iti__yt{height:14px;background-position:-5566px 0px}.iti__flag.iti__za{height:14px;background-position:-5588px 0px}.iti__flag.iti__zm{height:14px;background-position:-5610px 0px}.iti__flag.iti__zw{height:10px;background-position:-5632px 0px}.iti__flag{height:15px;box-shadow:0px 0px 1px 0px #888;background-image:url(\"https://cdn.salla.network/images/flags.png\");background-repeat:no-repeat;background-color:#f5f7f9;background-position:20px 0}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.iti__flag{background-image:url(\"https://cdn.salla.network/images/flags@2x.png\")}}.iti__flag.iti__np{background-color:transparent}";
9778
+ const sallaTelInputCss = ".iti{width:100%;position:relative;display:inline-block}.iti *{box-sizing:border-box;-moz-box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti input,.iti input[type=text],.iti input[type=tel]{position:relative;z-index:0;direction:ltr !important;margin-top:0 !important;margin-bottom:0 !important;padding-left:95px !important;padding-right:15px !important;margin-left:0 !important}.iti__flag-container{width:100%;position:absolute;top:0;bottom:0;left:0;padding:1px}.iti__selected-flag{width:80px;z-index:1;position:relative;display:flex;align-items:center;height:100%;float:left;padding:0 15px;box-shadow:none !important;outline:none !important}.ltr .iti__selected-flag{justify-content:flex-end}.iti__selected-flag:before{content:\"\";display:block;width:1px;height:70%;background:#eee;position:absolute;top:15%;right:0}.iti__selected-flag .iti__flag{display:none}.iti__arrow{width:15px;height:15px;line-height:15px;position:absolute;left:10px;top:50%;transform:translateY(-50%)}.iti__arrow:after{content:\"\\e96d\";font-family:sallaicons;font-size:16px;color:#999;opacity:0.65}.iti__arrow--up:after{transform:rotate(180deg)}.iti__country-list{width:100%;max-height:160px;position:absolute;top:100%;left:0;z-index:2;list-style:none;margin:0;padding:0;margin:5px 0 0 0;border-radius:5px;box-shadow:0px 2px 4px 2px rgba(0, 0, 0, 0.05);border:1px solid #f5f7f9;background-color:white;white-space:nowrap;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.iti__country-list::-webkit-scrollbar{width:4px}.dark .iti__country-list{background-color:#52525b;border-color:#52525b}.iti__country-list li{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding:8px 10px;transition:background-color 0.3s}.iti__country-list li span{font-size:12px}.iti__country-list li:hover,.iti__country-list li.highlighted{background-color:rgba(0, 0, 0, 0.05)}.iti__country-list--dropup{bottom:100%;top:unset;margin:0 0 5px 0}@media (max-width: 500px){.iti__country-list{white-space:normal}}.iti__flag-box{display:inline-block;width:20px;margin:0 0 0 5px}.iti__divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #eee}.iti__country{padding:5px 10px;outline:none}.iti__dial-code{font-family:Arial;color:#999;unicode-bidi:plaintext;letter-spacing:1px}.iti__country.iti__highlight{background-color:rgba(0, 0, 0, 0.05)}.iti__flag-box,.iti__country-name,.iti__dial-code{vertical-align:middle}.iti__country-name{flex:auto;margin:0;padding:0 10px;white-space:normal;line-height:1.3}.iti--allow-dropdown .iti__flag-container,.iti--separate-dial-code .iti__flag-container{left:0}.iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover{cursor:default}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover .iti__selected-flag,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover .iti__selected-flag{background-color:transparent}.iti--separate-dial-code .iti__selected-dial-code{unicode-bidi:plaintext;direction:ltr;letter-spacing:1px;font-family:\"Arial\", serif;font-size:13px}.iti--container{position:absolute;top:-1000px;z-index:1060;padding:1px}.iti--container:hover{cursor:pointer}.iti-mobile .iti--container{inset:0;margin:20px;width:calc(100% - 40px);position:fixed;z-index:9999}.iti-mobile .iti__country-list{max-height:100%;width:100%;inset:0}.iti-mobile .iti__country{padding:10px 10px;line-height:1.5em}.iti__flag{width:20px}.iti__flag.iti__be{width:18px}.iti__flag.iti__ch{width:15px}.iti__flag.iti__mc{width:19px}.iti__flag.iti__ne{width:18px}.iti__flag.iti__np{width:13px}.iti__flag.iti__va{width:15px}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.iti__flag{background-size:5652px 15px}}.iti__flag.iti__ac{height:10px;background-position:0px 0px}.iti__flag.iti__ad{height:14px;background-position:-22px 0px}.iti__flag.iti__ae{height:10px;background-position:-44px 0px}.iti__flag.iti__af{height:14px;background-position:-66px 0px}.iti__flag.iti__ag{height:14px;background-position:-88px 0px}.iti__flag.iti__ai{height:10px;background-position:-110px 0px}.iti__flag.iti__al{height:15px;background-position:-132px 0px}.iti__flag.iti__am{height:10px;background-position:-154px 0px}.iti__flag.iti__ao{height:14px;background-position:-176px 0px}.iti__flag.iti__aq{height:14px;background-position:-198px 0px}.iti__flag.iti__ar{height:13px;background-position:-220px 0px}.iti__flag.iti__as{height:10px;background-position:-242px 0px}.iti__flag.iti__at{height:14px;background-position:-264px 0px}.iti__flag.iti__au{height:10px;background-position:-286px 0px}.iti__flag.iti__aw{height:14px;background-position:-308px 0px}.iti__flag.iti__ax{height:13px;background-position:-330px 0px}.iti__flag.iti__az{height:10px;background-position:-352px 0px}.iti__flag.iti__ba{height:10px;background-position:-374px 0px}.iti__flag.iti__bb{height:14px;background-position:-396px 0px}.iti__flag.iti__bd{height:12px;background-position:-418px 0px}.iti__flag.iti__be{height:15px;background-position:-440px 0px}.iti__flag.iti__bf{height:14px;background-position:-460px 0px}.iti__flag.iti__bg{height:12px;background-position:-482px 0px}.iti__flag.iti__bh{height:12px;background-position:-504px 0px}.iti__flag.iti__bi{height:12px;background-position:-526px 0px}.iti__flag.iti__bj{height:14px;background-position:-548px 0px}.iti__flag.iti__bl{height:14px;background-position:-570px 0px}.iti__flag.iti__bm{height:10px;background-position:-592px 0px}.iti__flag.iti__bn{height:10px;background-position:-614px 0px}.iti__flag.iti__bo{height:14px;background-position:-636px 0px}.iti__flag.iti__bq{height:14px;background-position:-658px 0px}.iti__flag.iti__br{height:14px;background-position:-680px 0px}.iti__flag.iti__bs{height:10px;background-position:-702px 0px}.iti__flag.iti__bt{height:14px;background-position:-724px 0px}.iti__flag.iti__bv{height:15px;background-position:-746px 0px}.iti__flag.iti__bw{height:14px;background-position:-768px 0px}.iti__flag.iti__by{height:10px;background-position:-790px 0px}.iti__flag.iti__bz{height:14px;background-position:-812px 0px}.iti__flag.iti__ca{height:10px;background-position:-834px 0px}.iti__flag.iti__cc{height:10px;background-position:-856px 0px}.iti__flag.iti__cd{height:15px;background-position:-878px 0px}.iti__flag.iti__cf{height:14px;background-position:-900px 0px}.iti__flag.iti__cg{height:14px;background-position:-922px 0px}.iti__flag.iti__ch{height:15px;background-position:-944px 0px}.iti__flag.iti__ci{height:14px;background-position:-961px 0px}.iti__flag.iti__ck{height:10px;background-position:-983px 0px}.iti__flag.iti__cl{height:14px;background-position:-1005px 0px}.iti__flag.iti__cm{height:14px;background-position:-1027px 0px}.iti__flag.iti__cn{height:14px;background-position:-1049px 0px}.iti__flag.iti__co{height:14px;background-position:-1071px 0px}.iti__flag.iti__cp{height:14px;background-position:-1093px 0px}.iti__flag.iti__cr{height:12px;background-position:-1115px 0px}.iti__flag.iti__cu{height:10px;background-position:-1137px 0px}.iti__flag.iti__cv{height:12px;background-position:-1159px 0px}.iti__flag.iti__cw{height:14px;background-position:-1181px 0px}.iti__flag.iti__cx{height:10px;background-position:-1203px 0px}.iti__flag.iti__cy{height:14px;background-position:-1225px 0px}.iti__flag.iti__cz{height:14px;background-position:-1247px 0px}.iti__flag.iti__de{height:12px;background-position:-1269px 0px}.iti__flag.iti__dg{height:10px;background-position:-1291px 0px}.iti__flag.iti__dj{height:14px;background-position:-1313px 0px}.iti__flag.iti__dk{height:15px;background-position:-1335px 0px}.iti__flag.iti__dm{height:10px;background-position:-1357px 0px}.iti__flag.iti__do{height:14px;background-position:-1379px 0px}.iti__flag.iti__dz{height:14px;background-position:-1401px 0px}.iti__flag.iti__ea{height:14px;background-position:-1423px 0px}.iti__flag.iti__ec{height:14px;background-position:-1445px 0px}.iti__flag.iti__ee{height:13px;background-position:-1467px 0px}.iti__flag.iti__eg{height:14px;background-position:-1489px 0px}.iti__flag.iti__eh{height:10px;background-position:-1511px 0px}.iti__flag.iti__er{height:10px;background-position:-1533px 0px}.iti__flag.iti__es{height:14px;background-position:-1555px 0px}.iti__flag.iti__et{height:10px;background-position:-1577px 0px}.iti__flag.iti__eu{height:14px;background-position:-1599px 0px}.iti__flag.iti__fi{height:12px;background-position:-1621px 0px}.iti__flag.iti__fj{height:10px;background-position:-1643px 0px}.iti__flag.iti__fk{height:10px;background-position:-1665px 0px}.iti__flag.iti__fm{height:11px;background-position:-1687px 0px}.iti__flag.iti__fo{height:15px;background-position:-1709px 0px}.iti__flag.iti__fr{height:14px;background-position:-1731px 0px}.iti__flag.iti__ga{height:15px;background-position:-1753px 0px}.iti__flag.iti__gb{height:10px;background-position:-1775px 0px}.iti__flag.iti__gd{height:12px;background-position:-1797px 0px}.iti__flag.iti__ge{height:14px;background-position:-1819px 0px}.iti__flag.iti__gf{height:14px;background-position:-1841px 0px}.iti__flag.iti__gg{height:14px;background-position:-1863px 0px}.iti__flag.iti__gh{height:14px;background-position:-1885px 0px}.iti__flag.iti__gi{height:10px;background-position:-1907px 0px}.iti__flag.iti__gl{height:14px;background-position:-1929px 0px}.iti__flag.iti__gm{height:14px;background-position:-1951px 0px}.iti__flag.iti__gn{height:14px;background-position:-1973px 0px}.iti__flag.iti__gp{height:14px;background-position:-1995px 0px}.iti__flag.iti__gq{height:14px;background-position:-2017px 0px}.iti__flag.iti__gr{height:14px;background-position:-2039px 0px}.iti__flag.iti__gs{height:10px;background-position:-2061px 0px}.iti__flag.iti__gt{height:13px;background-position:-2083px 0px}.iti__flag.iti__gu{height:11px;background-position:-2105px 0px}.iti__flag.iti__gw{height:10px;background-position:-2127px 0px}.iti__flag.iti__gy{height:12px;background-position:-2149px 0px}.iti__flag.iti__hk{height:14px;background-position:-2171px 0px}.iti__flag.iti__hm{height:10px;background-position:-2193px 0px}.iti__flag.iti__hn{height:10px;background-position:-2215px 0px}.iti__flag.iti__hr{height:10px;background-position:-2237px 0px}.iti__flag.iti__ht{height:12px;background-position:-2259px 0px}.iti__flag.iti__hu{height:10px;background-position:-2281px 0px}.iti__flag.iti__ic{height:14px;background-position:-2303px 0px}.iti__flag.iti__id{height:14px;background-position:-2325px 0px}.iti__flag.iti__ie{height:10px;background-position:-2347px 0px}.iti__flag.iti__il{height:15px;background-position:-2369px 0px}.iti__flag.iti__im{height:10px;background-position:-2391px 0px}.iti__flag.iti__in{height:14px;background-position:-2413px 0px}.iti__flag.iti__io{height:10px;background-position:-2435px 0px}.iti__flag.iti__iq{height:14px;background-position:-2457px 0px}.iti__flag.iti__ir{height:12px;background-position:-2479px 0px}.iti__flag.iti__is{height:15px;background-position:-2501px 0px}.iti__flag.iti__it{height:14px;background-position:-2523px 0px}.iti__flag.iti__je{height:12px;background-position:-2545px 0px}.iti__flag.iti__jm{height:10px;background-position:-2567px 0px}.iti__flag.iti__jo{height:10px;background-position:-2589px 0px}.iti__flag.iti__jp{height:14px;background-position:-2611px 0px}.iti__flag.iti__ke{height:14px;background-position:-2633px 0px}.iti__flag.iti__kg{height:12px;background-position:-2655px 0px}.iti__flag.iti__kh{height:13px;background-position:-2677px 0px}.iti__flag.iti__ki{height:10px;background-position:-2699px 0px}.iti__flag.iti__km{height:12px;background-position:-2721px 0px}.iti__flag.iti__kn{height:14px;background-position:-2743px 0px}.iti__flag.iti__kp{height:10px;background-position:-2765px 0px}.iti__flag.iti__kr{height:14px;background-position:-2787px 0px}.iti__flag.iti__kw{height:10px;background-position:-2809px 0px}.iti__flag.iti__ky{height:10px;background-position:-2831px 0px}.iti__flag.iti__kz{height:10px;background-position:-2853px 0px}.iti__flag.iti__la{height:14px;background-position:-2875px 0px}.iti__flag.iti__lb{height:14px;background-position:-2897px 0px}.iti__flag.iti__lc{height:10px;background-position:-2919px 0px}.iti__flag.iti__li{height:12px;background-position:-2941px 0px}.iti__flag.iti__lk{height:10px;background-position:-2963px 0px}.iti__flag.iti__lr{height:11px;background-position:-2985px 0px}.iti__flag.iti__ls{height:14px;background-position:-3007px 0px}.iti__flag.iti__lt{height:12px;background-position:-3029px 0px}.iti__flag.iti__lu{height:12px;background-position:-3051px 0px}.iti__flag.iti__lv{height:10px;background-position:-3073px 0px}.iti__flag.iti__ly{height:10px;background-position:-3095px 0px}.iti__flag.iti__ma{height:14px;background-position:-3117px 0px}.iti__flag.iti__mc{height:15px;background-position:-3139px 0px}.iti__flag.iti__md{height:10px;background-position:-3160px 0px}.iti__flag.iti__me{height:10px;background-position:-3182px 0px}.iti__flag.iti__mf{height:14px;background-position:-3204px 0px}.iti__flag.iti__mg{height:14px;background-position:-3226px 0px}.iti__flag.iti__mh{height:11px;background-position:-3248px 0px}.iti__flag.iti__mk{height:10px;background-position:-3270px 0px}.iti__flag.iti__ml{height:14px;background-position:-3292px 0px}.iti__flag.iti__mm{height:14px;background-position:-3314px 0px}.iti__flag.iti__mn{height:10px;background-position:-3336px 0px}.iti__flag.iti__mo{height:14px;background-position:-3358px 0px}.iti__flag.iti__mp{height:10px;background-position:-3380px 0px}.iti__flag.iti__mq{height:14px;background-position:-3402px 0px}.iti__flag.iti__mr{height:14px;background-position:-3424px 0px}.iti__flag.iti__ms{height:10px;background-position:-3446px 0px}.iti__flag.iti__mt{height:14px;background-position:-3468px 0px}.iti__flag.iti__mu{height:14px;background-position:-3490px 0px}.iti__flag.iti__mv{height:14px;background-position:-3512px 0px}.iti__flag.iti__mw{height:14px;background-position:-3534px 0px}.iti__flag.iti__mx{height:12px;background-position:-3556px 0px}.iti__flag.iti__my{height:10px;background-position:-3578px 0px}.iti__flag.iti__mz{height:14px;background-position:-3600px 0px}.iti__flag.iti__na{height:14px;background-position:-3622px 0px}.iti__flag.iti__nc{height:10px;background-position:-3644px 0px}.iti__flag.iti__ne{height:15px;background-position:-3666px 0px}.iti__flag.iti__nf{height:10px;background-position:-3686px 0px}.iti__flag.iti__ng{height:10px;background-position:-3708px 0px}.iti__flag.iti__ni{height:12px;background-position:-3730px 0px}.iti__flag.iti__nl{height:14px;background-position:-3752px 0px}.iti__flag.iti__no{height:15px;background-position:-3774px 0px}.iti__flag.iti__np{height:15px;background-position:-3796px 0px}.iti__flag.iti__nr{height:10px;background-position:-3811px 0px}.iti__flag.iti__nu{height:10px;background-position:-3833px 0px}.iti__flag.iti__nz{height:10px;background-position:-3855px 0px}.iti__flag.iti__om{height:10px;background-position:-3877px 0px}.iti__flag.iti__pa{height:14px;background-position:-3899px 0px}.iti__flag.iti__pe{height:14px;background-position:-3921px 0px}.iti__flag.iti__pf{height:14px;background-position:-3943px 0px}.iti__flag.iti__pg{height:15px;background-position:-3965px 0px}.iti__flag.iti__ph{height:10px;background-position:-3987px 0px}.iti__flag.iti__pk{height:14px;background-position:-4009px 0px}.iti__flag.iti__pl{height:13px;background-position:-4031px 0px}.iti__flag.iti__pm{height:14px;background-position:-4053px 0px}.iti__flag.iti__pn{height:10px;background-position:-4075px 0px}.iti__flag.iti__pr{height:14px;background-position:-4097px 0px}.iti__flag.iti__ps{height:10px;background-position:-4119px 0px}.iti__flag.iti__pt{height:14px;background-position:-4141px 0px}.iti__flag.iti__pw{height:13px;background-position:-4163px 0px}.iti__flag.iti__py{height:11px;background-position:-4185px 0px}.iti__flag.iti__qa{height:8px;background-position:-4207px 0px}.iti__flag.iti__re{height:14px;background-position:-4229px 0px}.iti__flag.iti__ro{height:14px;background-position:-4251px 0px}.iti__flag.iti__rs{height:14px;background-position:-4273px 0px}.iti__flag.iti__ru{height:14px;background-position:-4295px 0px}.iti__flag.iti__rw{height:14px;background-position:-4317px 0px}.iti__flag.iti__sa{height:14px;background-position:-4339px 0px}.iti__flag.iti__sb{height:10px;background-position:-4361px 0px}.iti__flag.iti__sc{height:10px;background-position:-4383px 0px}.iti__flag.iti__sd{height:10px;background-position:-4405px 0px}.iti__flag.iti__se{height:13px;background-position:-4427px 0px}.iti__flag.iti__sg{height:14px;background-position:-4449px 0px}.iti__flag.iti__sh{height:10px;background-position:-4471px 0px}.iti__flag.iti__si{height:10px;background-position:-4493px 0px}.iti__flag.iti__sj{height:15px;background-position:-4515px 0px}.iti__flag.iti__sk{height:14px;background-position:-4537px 0px}.iti__flag.iti__sl{height:14px;background-position:-4559px 0px}.iti__flag.iti__sm{height:15px;background-position:-4581px 0px}.iti__flag.iti__sn{height:14px;background-position:-4603px 0px}.iti__flag.iti__so{height:14px;background-position:-4625px 0px}.iti__flag.iti__sr{height:14px;background-position:-4647px 0px}.iti__flag.iti__ss{height:10px;background-position:-4669px 0px}.iti__flag.iti__st{height:10px;background-position:-4691px 0px}.iti__flag.iti__sv{height:12px;background-position:-4713px 0px}.iti__flag.iti__sx{height:14px;background-position:-4735px 0px}.iti__flag.iti__sy{height:14px;background-position:-4757px 0px}.iti__flag.iti__sz{height:14px;background-position:-4779px 0px}.iti__flag.iti__ta{height:10px;background-position:-4801px 0px}.iti__flag.iti__tc{height:10px;background-position:-4823px 0px}.iti__flag.iti__td{height:14px;background-position:-4845px 0px}.iti__flag.iti__tf{height:14px;background-position:-4867px 0px}.iti__flag.iti__tg{height:13px;background-position:-4889px 0px}.iti__flag.iti__th{height:14px;background-position:-4911px 0px}.iti__flag.iti__tj{height:10px;background-position:-4933px 0px}.iti__flag.iti__tk{height:10px;background-position:-4955px 0px}.iti__flag.iti__tl{height:10px;background-position:-4977px 0px}.iti__flag.iti__tm{height:14px;background-position:-4999px 0px}.iti__flag.iti__tn{height:14px;background-position:-5021px 0px}.iti__flag.iti__to{height:10px;background-position:-5043px 0px}.iti__flag.iti__tr{height:14px;background-position:-5065px 0px}.iti__flag.iti__tt{height:12px;background-position:-5087px 0px}.iti__flag.iti__tv{height:10px;background-position:-5109px 0px}.iti__flag.iti__tw{height:14px;background-position:-5131px 0px}.iti__flag.iti__tz{height:14px;background-position:-5153px 0px}.iti__flag.iti__ua{height:14px;background-position:-5175px 0px}.iti__flag.iti__ug{height:14px;background-position:-5197px 0px}.iti__flag.iti__um{height:11px;background-position:-5219px 0px}.iti__flag.iti__un{height:14px;background-position:-5241px 0px}.iti__flag.iti__us{height:11px;background-position:-5263px 0px}.iti__flag.iti__uy{height:14px;background-position:-5285px 0px}.iti__flag.iti__uz{height:10px;background-position:-5307px 0px}.iti__flag.iti__va{height:15px;background-position:-5329px 0px}.iti__flag.iti__vc{height:14px;background-position:-5346px 0px}.iti__flag.iti__ve{height:14px;background-position:-5368px 0px}.iti__flag.iti__vg{height:10px;background-position:-5390px 0px}.iti__flag.iti__vi{height:14px;background-position:-5412px 0px}.iti__flag.iti__vn{height:14px;background-position:-5434px 0px}.iti__flag.iti__vu{height:12px;background-position:-5456px 0px}.iti__flag.iti__wf{height:14px;background-position:-5478px 0px}.iti__flag.iti__ws{height:10px;background-position:-5500px 0px}.iti__flag.iti__xk{height:15px;background-position:-5522px 0px}.iti__flag.iti__ye{height:14px;background-position:-5544px 0px}.iti__flag.iti__yt{height:14px;background-position:-5566px 0px}.iti__flag.iti__za{height:14px;background-position:-5588px 0px}.iti__flag.iti__zm{height:14px;background-position:-5610px 0px}.iti__flag.iti__zw{height:10px;background-position:-5632px 0px}.iti__flag{height:15px;box-shadow:0px 0px 1px 0px #888;background-image:url(\"https://cdn.salla.network/images/flags.png\");background-repeat:no-repeat;background-color:#f5f7f9;background-position:20px 0}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.iti__flag{background-image:url(\"https://cdn.salla.network/images/flags@2x.png\")}}.iti__flag.iti__np{background-color:transparent}";
9741
9779
 
9742
9780
  const SallaTelInput = class {
9743
9781
  constructor(hostRef) {
@@ -9758,7 +9796,7 @@ const SallaTelInput = class {
9758
9796
  this.invalidCountryCode = salla.lang.get('common.errors.invalid_value', { attribute: this.countryCodeLabel });
9759
9797
  this.invalidNumber = salla.lang.get('common.errors.invalid_value', { attribute: this.mobileLabel });
9760
9798
  this.errorMap = [this.invalidNumber, this.invalidCountryCode, this.tooShort, this.tooLong, this.invalidNumber];
9761
- Helper.Helper.setHost(this.host);
9799
+ Helper$1.setHost(this.host);
9762
9800
  salla.lang.onLoaded(() => {
9763
9801
  this.mobileLabel = salla.lang.get('common.elements.mobile');
9764
9802
  this.countryCodeLabel = salla.lang.get('common.elements.country_code');
@@ -9835,6 +9873,13 @@ const SallaTelInput = class {
9835
9873
  };
9836
9874
  SallaTelInput.style = sallaTelInputCss;
9837
9875
 
9876
+ const AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
9877
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
9878
+ <title>android-phone</title>
9879
+ <path d="M22.667 0h-13.333c-2.941 0-5.333 2.392-5.333 5.333v21.333c0 2.941 2.392 5.333 5.333 5.333h13.333c2.941 0 5.333-2.392 5.333-5.333v-21.333c0-2.941-2.392-5.333-5.333-5.333zM25.333 26.667c0 1.471-1.196 2.667-2.667 2.667h-13.333c-1.471 0-2.667-1.196-2.667-2.667v-2.667h18.667zM25.333 21.333h-18.667v-16c0-1.471 1.196-2.667 2.667-2.667h13.333c1.471 0 2.667 1.196 2.667 2.667zM13.333 28h5.333c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"></path>
9880
+ </svg>
9881
+ `;
9882
+
9838
9883
  const sallaVerifyCss = "salla-verify{display:block}";
9839
9884
 
9840
9885
  const SallaVerify = class {
@@ -9901,8 +9946,8 @@ const SallaVerify = class {
9901
9946
  this.resendTimer();
9902
9947
  this.otpInputs = this.body.querySelectorAll('.s-verify-input');
9903
9948
  if (!this.initiated) {
9904
- Helper.Helper.on('input', '.s-verify-input', e => salla.helpers.inputDigitsOnly(e.target));
9905
- Helper.Helper.onKeyUp('.s-verify-input', event => {
9949
+ Helper$1.on('input', '.s-verify-input', e => salla.helpers.inputDigitsOnly(e.target));
9950
+ Helper$1.onKeyUp('.s-verify-input', event => {
9906
9951
  var _a, _b, _c, _d;
9907
9952
  let key = event.keyCode || event.charCode;
9908
9953
  if (event.target.value) {
@@ -9915,7 +9960,7 @@ const SallaVerify = class {
9915
9960
  }
9916
9961
  this.toggleOTPSubmit();
9917
9962
  });
9918
- Helper.Helper.on('paste', '.s-verify-input', event => {
9963
+ Helper$1.on('paste', '.s-verify-input', event => {
9919
9964
  let text = salla.helpers.number(event.clipboardData.getData('text')).replace(/[^0-9.]/g, '').replace('..', '.');
9920
9965
  this.otpInputs.forEach((input, i) => input.value = text[i] || '');
9921
9966
  this.toggleOTPSubmit();
@@ -9947,12 +9992,12 @@ const SallaVerify = class {
9947
9992
  this.otpInputs[0].focus();
9948
9993
  }
9949
9994
  resendTimer() {
9950
- Helper.Helper.showElement(this.resendMessage).hideElement(this.resend);
9995
+ Helper$1.showElement(this.resendMessage).hideElement(this.resend);
9951
9996
  this.resendAfter = 30;
9952
9997
  let timerId = setInterval(() => {
9953
9998
  if (this.resendAfter <= 0) {
9954
9999
  clearInterval(timerId);
9955
- Helper.Helper.hideElement(this.resendMessage).showElement(this.resend);
10000
+ Helper$1.hideElement(this.resendMessage).showElement(this.resend);
9956
10001
  }
9957
10002
  else {
9958
10003
  this.timer.innerHTML = `${this.resendAfter >= 10 ? this.resendAfter : '0' + this.resendAfter} : 00`;
@@ -9983,7 +10028,7 @@ const SallaVerify = class {
9983
10028
  }
9984
10029
  render() {
9985
10030
  return this.display == 'inline' ? index$1.h(index$1.Host, null, this.myBody()) :
9986
- index$1.h("salla-modal", { icon: "sicon-android-phone", width: "xs", class: "s-verify", ref: modal => this.modal = modal, "modal-title": this.title }, this.myBody());
10031
+ index$1.h("salla-modal", { width: "xs", class: "s-verify", ref: modal => this.modal = modal, "modal-title": this.title }, index$1.h("span", { slot: 'icon', innerHTML: AndroidPhoneIcon }), this.myBody());
9987
10032
  }
9988
10033
  myBody() {
9989
10034
  return (index$1.h("div", { class: "s-verify-body", ref: body => this.body = body }, index$1.h("div", { class: "s-verify-message", innerHTML: salla.lang.get('pages.profile.verify_message') }), index$1.h("input", { type: "hidden", name: "code", maxlength: "4", required: true, ref: code => this.code = code }), index$1.h("div", { class: "s-verify-codes", dir: "ltr" }, [1, 2, 3, 4].map(() => index$1.h("input", { type: "text", maxlength: "1", class: "s-verify-input", required: true }))), index$1.h("div", { slot: "footer", class: "s-verify-footer" }, index$1.h("salla-button", { class: "s-verify-submit", "loader-position": 'center', disabled: true, onClick: () => this.submit(), ref: b => this.btn = b }, salla.lang.get('pages.profile.verify')), index$1.h("p", { class: "s-verify-resend-message", ref: el => this.resendMessage = el }, salla.lang.get('blocks.header.resend_after'), index$1.h("b", { class: "s-verify-timer", ref: el => this.timer = el })), index$1.h("a", { href: "#", class: "s-verify-resend", onClick: () => this.resendCode(), ref: el => this.resend = el }, salla.lang.get('blocks.comments.submit'))), index$1.h("slot", { name: "after-footer" })));
@@ -10004,9 +10049,9 @@ exports.salla_offer_modal = SallaOfferModal;
10004
10049
  exports.salla_placeholder = SallaPlaceholder;
10005
10050
  exports.salla_product_availability = SallaProductAvailability;
10006
10051
  exports.salla_product_size_guide = SallaProductSizeGuide;
10052
+ exports.salla_quantity_input = SallaQuantityInput;
10007
10053
  exports.salla_rating_modal = SallaRatingModal;
10008
10054
  exports.salla_rating_stars = SallaRatingStars;
10009
- exports.salla_scopes = SallaScopees;
10010
10055
  exports.salla_search = SallaSearch;
10011
10056
  exports.salla_skeleton = SallaSkeleton;
10012
10057
  exports.salla_social_share = SallaSocialShare;