@salla.sa/twilight-components 2.10.1 → 2.10.3

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 (54) hide show
  1. package/dist/cjs/{app-globals-0a1abeac.js → app-globals-90c8a4ae.js} +1 -1
  2. package/dist/cjs/index-1d2b3370.js +2 -6
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{salla-button_35.cjs.entry.js → salla-button_37.cjs.entry.js} +382 -19
  5. package/dist/cjs/twilight.cjs.js +2 -2
  6. package/dist/collection/collection-manifest.json +1 -0
  7. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +3 -0
  8. package/dist/collection/components/salla-map/salla-map.js +82 -20
  9. package/dist/collection/components/salla-product-options/interfaces.js +25 -0
  10. package/dist/collection/components/salla-product-options/salla-product-options.css +0 -0
  11. package/dist/collection/components/salla-product-options/salla-product-options.js +425 -0
  12. package/dist/collection/components/salla-slider/salla-slider.js +10 -0
  13. package/dist/collection/components/salla-tel-input/salla-tel-input.js +2 -1
  14. package/dist/collection/components/salla-user-menu/salla-user-menu.js +4 -2
  15. package/dist/components/index.d.ts +1 -0
  16. package/dist/components/index.js +2 -1
  17. package/dist/components/salla-conditional-fields.js +1 -94
  18. package/dist/{esm/salla-conditional-fields.entry.js → components/salla-conditional-fields2.js} +22 -7
  19. package/dist/components/salla-datetime-picker2.js +3 -0
  20. package/dist/components/salla-map.js +62 -15
  21. package/dist/components/salla-product-options.d.ts +11 -0
  22. package/dist/components/salla-product-options.js +274 -0
  23. package/dist/components/salla-slider2.js +10 -0
  24. package/dist/components/salla-tel-input2.js +2 -2
  25. package/dist/components/salla-user-menu.js +4 -2
  26. package/dist/esm/{app-globals-d3b05078.js → app-globals-85b49bd0.js} +1 -1
  27. package/dist/esm/index-f1d446ac.js +2 -6
  28. package/dist/esm/loader.js +2 -2
  29. package/dist/esm/{salla-button_35.entry.js → salla-button_37.entry.js} +381 -20
  30. package/dist/esm/twilight.js +2 -2
  31. package/dist/esm-es5/{app-globals-d3b05078.js → app-globals-85b49bd0.js} +2 -2
  32. package/dist/esm-es5/index-f1d446ac.js +2 -2
  33. package/dist/esm-es5/loader.js +1 -1
  34. package/dist/esm-es5/{salla-button_35.entry.js → salla-button_37.entry.js} +4 -4
  35. package/dist/esm-es5/twilight.js +1 -1
  36. package/dist/twilight/{p-6bb79b61.entry.js → p-01c0588c.entry.js} +5 -5
  37. package/dist/twilight/{p-ec1b297c.system.entry.js → p-3e3f8778.system.entry.js} +7 -7
  38. package/dist/twilight/p-48244f0e.system.js +4 -0
  39. package/dist/twilight/{p-70235d2a.system.js → p-67eca51d.system.js} +2 -2
  40. package/dist/twilight/{p-1b14dc52.js → p-d910f09b.js} +2 -2
  41. package/dist/twilight/twilight.esm.js +1 -1
  42. package/dist/twilight/twilight.js +1 -1
  43. package/dist/types/components/salla-map/salla-map.d.ts +7 -0
  44. package/dist/types/components/salla-product-options/interfaces.d.ts +133 -0
  45. package/dist/types/components/salla-product-options/salla-product-options.d.ts +89 -0
  46. package/dist/types/components/salla-slider/salla-slider.d.ts +3 -0
  47. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -0
  48. package/dist/types/components.d.ts +85 -0
  49. package/package.json +5 -4
  50. package/dist/cjs/salla-conditional-fields.cjs.entry.js +0 -88
  51. package/dist/esm-es5/salla-conditional-fields.entry.js +0 -4
  52. package/dist/twilight/p-5d3cb89c.system.entry.js +0 -4
  53. package/dist/twilight/p-6a3883ae.entry.js +0 -4
  54. package/dist/twilight/p-97f66179.system.js +0 -4
@@ -2678,6 +2678,84 @@ const SallaCommentForm = class {
2678
2678
  };
2679
2679
  SallaCommentForm.style = sallaCommentFormCss;
2680
2680
 
2681
+ const SallaConditionalFields = class {
2682
+ constructor(hostRef) {
2683
+ registerInstance(this, hostRef);
2684
+ }
2685
+ changeHandler(event) {
2686
+ var _a;
2687
+ salla.event.emit('salla-onditional-fields::change', event);
2688
+ salla.log('Received the change event: ', event);
2689
+ if (!event.target || !['SELECT'].includes(event.target.tagName) && !['checkbox'].includes(event.target.getAttribute('type'))) {
2690
+ salla.log('Ignore the change because is not support input: ' + (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.tagName) || 'N/A'));
2691
+ return;
2692
+ }
2693
+ // to extract the option id from the input name, the supported names are name[*] and name[*][]
2694
+ let optionId = event.target.name.replace('[]', '');
2695
+ let isMultiple = event.target.getAttribute('type') === 'checkbox';
2696
+ salla.log('Trying to find all the element with condition:', `[data-show-when^="${optionId}"]`);
2697
+ this.host.querySelectorAll(`[data-show-when^="${optionId}"]`)
2698
+ .forEach((field) => {
2699
+ let isEqual = !(field === null || field === void 0 ? void 0 : field.dataset.showWhen.includes('!='));
2700
+ let value = field === null || field === void 0 ? void 0 : field.dataset.showWhen.replace(/(.*)(=|!=)(.*)/gm, '$3').trim();
2701
+ // let isSelected = isMultiple ? event.target?.checked : value === event.target.value;
2702
+ let isSelected;
2703
+ if (isMultiple) {
2704
+ // @ts-ignore
2705
+ let selectedValues = Array.from(this.host.querySelectorAll(`input[name="${event.target.name}"]:checked`), e => e === null || e === void 0 ? void 0 : e.value);
2706
+ isSelected = selectedValues.includes(value.toString());
2707
+ }
2708
+ else {
2709
+ isSelected = value === event.target.value;
2710
+ }
2711
+ salla.log('The input is ', (isMultiple ? 'Multiple' : 'Single'), ' value:', isSelected);
2712
+ let showTheInput = (isEqual && isSelected) || (!isEqual && !isSelected);
2713
+ if (showTheInput) {
2714
+ field.classList.remove('hidden');
2715
+ field.querySelectorAll('[name]').forEach((input) => {
2716
+ input.removeAttribute('disabled');
2717
+ //To handle focus on hidden input error
2718
+ if (!['checkbox'].includes(input.getAttribute('type')) && field.getElementsByClassName('required').length) {
2719
+ input.setAttribute('required', '');
2720
+ }
2721
+ });
2722
+ }
2723
+ else {
2724
+ field.classList.add('hidden');
2725
+ field.querySelectorAll('[name]').forEach((input) => {
2726
+ input.setAttribute('disabled', '');
2727
+ input.removeAttribute('required');
2728
+ if (['checkbox'].includes(input.getAttribute('type')) && input.hasOwnProperty('checked')) {
2729
+ // @ts-ignore
2730
+ input.checked = false;
2731
+ }
2732
+ //firing this event will show errors, so don't run it when pageLoading.
2733
+ // if (this.optionsAlreadyInitiated) {
2734
+ // salla.document.event.fireEvent(input, 'change', {'bubbles': true});
2735
+ // }
2736
+ });
2737
+ }
2738
+ });
2739
+ }
2740
+ componentDidRender() {
2741
+ this.host.querySelectorAll(`[data-show-when]`).forEach((field) => {
2742
+ var _a;
2743
+ // @ts-ignore
2744
+ let optionName = (_a = field === null || field === void 0 ? void 0 : field.dataset) === null || _a === void 0 ? void 0 : _a.showWhen.replace(/(.*)(=|!=)(.*)/gm, '$1').trim();
2745
+ if (!optionName) {
2746
+ return;
2747
+ }
2748
+ this.changeHandler({
2749
+ target: this.host.querySelector('[name^="' + optionName + '"]')
2750
+ });
2751
+ });
2752
+ }
2753
+ render() {
2754
+ return (h(Host, null, h("slot", null)));
2755
+ }
2756
+ get host() { return getElement(this); }
2757
+ };
2758
+
2681
2759
  var HOOKS = [
2682
2760
  "onChange",
2683
2761
  "onClose",
@@ -5455,6 +5533,9 @@ const SallaDatetimePicker = class {
5455
5533
  time_24hr: this.time_24hr,
5456
5534
  weekNumbers: this.weekNumbers,
5457
5535
  wrap: this.wrap,
5536
+ // onChange: this.handleOnChange(selectedDates, dateStr, instance)
5537
+ // onOpen: this.handleOnOpen(selectedDates, dateStr, instance)
5538
+ // onClose: this.handleOnClose(selectedDates, dateStr, instance)
5458
5539
  };
5459
5540
  flatpickr(this.dateInput, options);
5460
5541
  }
@@ -21850,6 +21931,11 @@ const SallaMap = class {
21850
21931
  this.locateButtonTitle = 'Locate';
21851
21932
  this.locateButtonEdit = 'Edit';
21852
21933
  this.searchInputValue = null;
21934
+ this.geolocationError = false;
21935
+ /**
21936
+ * Disable or enable actions
21937
+ */
21938
+ this.readonly = false;
21853
21939
  /**
21854
21940
  * Sets the search bar visibility.
21855
21941
  */
@@ -21941,6 +22027,8 @@ const SallaMap = class {
21941
22027
  }
21942
22028
  // add listener to map
21943
22029
  google.maps.event.addListener(this.map, 'click', e => {
22030
+ if (this.readonly)
22031
+ return;
21944
22032
  this.searchInputValue = null;
21945
22033
  this.marker.setPosition(e.latLng);
21946
22034
  this.lat = e.latLng.lat();
@@ -21952,8 +22040,19 @@ const SallaMap = class {
21952
22040
  address: this.searchInputValue ? this.searchInputValue : null,
21953
22041
  });
21954
22042
  });
21955
- // get current location
21956
- this.getCurrentLocation();
22043
+ if (!this.host.hasAttribute('lat') && !this.host.hasAttribute('lng')) {
22044
+ this.getCurrentLocation();
22045
+ if (this.geolocationError) {
22046
+ this.map.setCenter({
22047
+ lat: this.lat,
22048
+ lng: this.lng,
22049
+ });
22050
+ this.marker.setPosition({
22051
+ lat: this.lat,
22052
+ lng: this.lng,
22053
+ });
22054
+ }
22055
+ }
21957
22056
  });
21958
22057
  }
21959
22058
  getCurrentLocation() {
@@ -21973,7 +22072,28 @@ const SallaMap = class {
21973
22072
  lng: position.coords.longitude,
21974
22073
  address: this.searchInputValue ? this.searchInputValue : null,
21975
22074
  });
21976
- });
22075
+ }, this.handleLocationError.bind(this));
22076
+ }
22077
+ else {
22078
+ salla.log('Geolocation is not supported by this browser.');
22079
+ this.geolocationError = true;
22080
+ }
22081
+ }
22082
+ handleLocationError(error) {
22083
+ this.geolocationError = true;
22084
+ switch (error.code) {
22085
+ case error.PERMISSION_DENIED:
22086
+ salla.log('User denied the request for Geolocation.');
22087
+ break;
22088
+ case error.POSITION_UNAVAILABLE:
22089
+ salla.log('Location information is unavailable.');
22090
+ break;
22091
+ case error.TIMEOUT:
22092
+ salla.log('The request to get user location timed out.');
22093
+ break;
22094
+ case error.UNKNOWN_ERROR:
22095
+ salla.log('An unknown error occurred.');
22096
+ break;
21977
22097
  }
21978
22098
  }
21979
22099
  /**
@@ -21993,18 +22113,23 @@ const SallaMap = class {
21993
22113
  }
21994
22114
  // rendering functions
21995
22115
  getLocationModal() {
21996
- return (h("div", null, h("div", { class: "s-map-modal-title" }, this.modalActivityTitle), h("div", { class: "s-map-modal-body" }, h("div", { class: "s-map-element", ref: el => (this.mapElement = el) }), this.searchable && (h("div", { class: "s-map-search-wrapper" }, h("input", { class: "s-map-search-input", ref: el => (this.searchInput = el) }))), h("salla-button", { class: "s-map-my-location-button", onClick: () => {
21997
- this.getCurrentLocation();
21998
- }, shape: "icon", color: "primary" }, h("span", { innerHTML: CurrentLocation })), h("salla-button", { class: "s-map-submit-button", color: "primary", width: "wide", onClick: () => {
21999
- let points = {
22000
- lat: this.lat,
22001
- lng: this.lng,
22002
- address: this.searchInputValue ? this.searchInputValue : null,
22003
- };
22004
- salla.event.emit('salla-map::selected', points);
22005
- this.selected.emit(points);
22006
- this.locationModal.close();
22007
- } }, this.confirmButtonTitle))));
22116
+ return (h("div", null, h("div", { class: "s-map-modal-title" }, this.modalActivityTitle), h("div", { class: "s-map-modal-body" }, h("div", { class: "s-map-element", ref: el => (this.mapElement = el) }), this.readonly ? "" :
22117
+ [
22118
+ this.searchable && (h("div", { class: "s-map-search-wrapper" }, h("input", { class: "s-map-search-input", ref: el => (this.searchInput = el) }))),
22119
+ h("salla-button", { class: "s-map-my-location-button", onClick: () => {
22120
+ this.getCurrentLocation();
22121
+ }, shape: "icon", color: "primary" }, h("span", { innerHTML: CurrentLocation })),
22122
+ h("salla-button", { class: "s-map-submit-button", color: "primary", width: "wide", onClick: () => {
22123
+ let points = {
22124
+ lat: this.lat,
22125
+ lng: this.lng,
22126
+ address: this.searchInputValue ? this.searchInputValue : null,
22127
+ };
22128
+ salla.event.emit('salla-map::selected', points);
22129
+ this.selected.emit(points);
22130
+ this.locationModal.close();
22131
+ } }, this.confirmButtonTitle)
22132
+ ])));
22008
22133
  }
22009
22134
  // render
22010
22135
  render() {
@@ -22014,6 +22139,7 @@ const SallaMap = class {
22014
22139
  this.open();
22015
22140
  }, color: "primary", class: "s-map-location-button" }, h("span", { class: "s-map-location-icon", innerHTML: this.searchInputValue ? Edit : Location }), this.searchInputValue ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.searchInputValue))) : (this.locateButtonTitle)))));
22016
22141
  }
22142
+ get host() { return getElement(this); }
22017
22143
  };
22018
22144
  SallaMap.style = sallaMapCss;
22019
22145
 
@@ -22481,6 +22607,230 @@ const SallaProductAvailability = class {
22481
22607
  };
22482
22608
  SallaProductAvailability.style = sallaProductAvailabilityCss;
22483
22609
 
22610
+ var DisplayType;
22611
+ (function (DisplayType) {
22612
+ DisplayType["COLOR"] = "color";
22613
+ DisplayType["DATE"] = "date";
22614
+ DisplayType["DATETIME"] = "datetime";
22615
+ DisplayType["DONATION"] = "donation";
22616
+ DisplayType["IMAGE"] = "image";
22617
+ DisplayType["MULTIPLE_OPTIONS"] = "multiple-options";
22618
+ DisplayType["NUMBER"] = "number";
22619
+ DisplayType["SINGLE_OPTION"] = "single-option";
22620
+ DisplayType["SPLITTER"] = "splitter";
22621
+ DisplayType["TEXT"] = "text";
22622
+ DisplayType["TEXTAREA"] = "textarea";
22623
+ DisplayType["THUMBNAIL"] = "thumbnail";
22624
+ DisplayType["TIME"] = "time";
22625
+ DisplayType["RADIO"] = "radio";
22626
+ DisplayType["CHECKBOX"] = "checkbox";
22627
+ })(DisplayType || (DisplayType = {}));
22628
+ var Currency;
22629
+ (function (Currency) {
22630
+ Currency["Sar"] = "SAR";
22631
+ })(Currency || (Currency = {}));
22632
+
22633
+ const CheckCircleIcon = `<!-- Generated by IcoMoon.io -->
22634
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
22635
+ <title>check</title>
22636
+ <path d="M27.521 6.976c-0.569-0.472-1.407-0.393-1.879 0.171l-12.567 15.080-7.003-4.668c-0.615-0.411-1.441-0.244-1.849 0.369-0.409 0.612-0.244 1.441 0.369 1.849l8 5.333c0.227 0.149 0.484 0.223 0.739 0.223 0.384 0 0.763-0.165 1.027-0.48l13.333-16c0.471-0.565 0.393-1.407-0.171-1.877z"></path>
22637
+ </svg>
22638
+ `;
22639
+
22640
+ const CameraIcon = `<!-- Generated by IcoMoon.io -->
22641
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
22642
+ <title>camera</title>
22643
+ <path d="M16 10.667c-4.044 0-7.333 3.289-7.333 7.333s3.289 7.333 7.333 7.333 7.333-3.289 7.333-7.333-3.289-7.333-7.333-7.333zM16 22.667c-2.573 0-4.667-2.093-4.667-4.667s2.093-4.667 4.667-4.667 4.667 2.093 4.667 4.667-2.093 4.667-4.667 4.667zM28 5.333h-3.287l-2.271-3.407c-0.248-0.371-0.664-0.593-1.109-0.593h-10.667c-0.445 0-0.861 0.223-1.109 0.593l-2.271 3.407h-3.287c-2.205 0-4 1.795-4 4v17.333c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-17.333c0-2.205-1.795-4-4-4zM29.333 26.667c0 0.735-0.599 1.333-1.333 1.333h-24c-0.735 0-1.333-0.599-1.333-1.333v-17.333c0-0.735 0.599-1.333 1.333-1.333h4c0.445 0 0.861-0.223 1.109-0.593l2.272-3.407h9.239l2.271 3.407c0.248 0.371 0.664 0.593 1.109 0.593h4c0.735 0 1.333 0.599 1.333 1.333zM25.333 10.66c-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.327z"></path>
22644
+ </svg>
22645
+ `;
22646
+
22647
+ const sallaProductOptionsCss = "";
22648
+
22649
+ const SallaProductOptions = class {
22650
+ constructor(hostRef) {
22651
+ registerInstance(this, hostRef);
22652
+ this.colorSelected = createEvent(this, "colorSelected", 7);
22653
+ this.thumbnailSelected = createEvent(this, "thumbnailSelected", 7);
22654
+ this.singleSelectOptionSelected = createEvent(this, "singleSelectOptionSelected", 7);
22655
+ this.donationMoneyEntered = createEvent(this, "donationMoneyEntered", 7);
22656
+ this.textOptionEntered = createEvent(this, "textOptionEntered", 7);
22657
+ this.textareaOptionEntered = createEvent(this, "textareaOptionEntered", 7);
22658
+ this.numberOptionEntered = createEvent(this, "numberOptionEntered", 7);
22659
+ this.itemsSelected = createEvent(this, "itemsSelected", 7);
22660
+ this.dateTimeSelected = createEvent(this, "dateTimeSelected", 7);
22661
+ this.dateSelected = createEvent(this, "dateSelected", 7);
22662
+ this.timeSelected = createEvent(this, "timeSelected", 7);
22663
+ this.options = [];
22664
+ this.uploadedImage = undefined;
22665
+ this.outOfStockText = salla.lang.get("pages.products.out_of_stock");
22666
+ this.donationAmount = salla.lang.get('pages.products.donation_amount');
22667
+ /**
22668
+ * The id of the product to which the options are going to be fetched for.
22669
+ */
22670
+ this.productId = salla.config.get('page.id');
22671
+ if (this.product) {
22672
+ this.setProductDetail(JSON.parse(this.product));
22673
+ }
22674
+ else if (this.productId) {
22675
+ this.fetchProductOptions();
22676
+ }
22677
+ salla.lang.onLoaded(() => {
22678
+ this.outOfStockText = salla.lang.get("pages.products.out_of_stock");
22679
+ this.donationAmount = salla.lang.get('pages.products.donation_amount');
22680
+ });
22681
+ }
22682
+ //todo:: typo here, but I think we will drop it anyway😌
22683
+ handleMultiSelectFieldInput() {
22684
+ var checkedBoxes = this.multipleOptionDom.querySelectorAll('input[type="checkbox"]:checked');
22685
+ var multiSelectedItems = [];
22686
+ for (let checkbox of checkedBoxes) {
22687
+ multiSelectedItems.push(checkbox.value);
22688
+ }
22689
+ this.itemsSelected.emit(multiSelectedItems);
22690
+ }
22691
+ /**
22692
+ * Image Selection
22693
+ */
22694
+ setProductDetail(detail) {
22695
+ this.productDetail = detail;
22696
+ this.options = detail.options;
22697
+ }
22698
+ fetchProductOptions() {
22699
+ return salla.api.product.getDetail(this.productId, ['options']).then(resp => {
22700
+ this.setProductDetail(resp.data);
22701
+ });
22702
+ }
22703
+ getDisplayForType(option) {
22704
+ if (this[`${option.type}Option`]) {
22705
+ return this[`${option.type}Option`](option);
22706
+ }
22707
+ if (option.type === DisplayType.MULTIPLE_OPTIONS) {
22708
+ return this.multipleOptions(option);
22709
+ }
22710
+ if (option.type === DisplayType.SINGLE_OPTION) {
22711
+ return this.singleOption(option);
22712
+ }
22713
+ salla.log(`Couldn't find options type(${option.type})😢`);
22714
+ return '';
22715
+ }
22716
+ render() {
22717
+ if (this.options.length == 0) {
22718
+ return;
22719
+ }
22720
+ return (h(Host, { class: "s-product-options-wrapper" }, h("salla-conditional-fields", null, this.options.map((option) => h("div", { class: "s-product-options-option-container" }, option.name == 'splitter' ?
22721
+ this.splitterOption()
22722
+ : h("div", { class: "s-product-options-option" }, h("label", { htmlFor: 'options[' + option.id + ']', class: "s-product-options-option-label" }, h("b", null, option.name, option.required && h("span", null, " * "), " "), h("small", null, option.placeholder)), h("div", { class: "s-product-options-option-content" }, this.getDisplayForType(option))))))));
22723
+ }
22724
+ //@ts-ignore
22725
+ colorOption(option) {
22726
+ return h("fieldset", { class: "s-product-options-colors-wrapper" }, option === null || option === void 0 ? void 0 : option.details.map((value) => h("div", null, h("input", { onChange: e => this.colorSelected.emit(e), name: `color-choice-${option.id}`, id: `color-choice-${option.id}-${value.id}`, required: true, type: "radio" }), h("label", { htmlFor: `color-choice-${option.id}-${value.id}` }, h("span", { style: { "background-color": value.color } }), h("p", null, value.name)))));
22727
+ }
22728
+ //@ts-ignore
22729
+ dateOption(option) {
22730
+ //todo:: consider date-range @see https://github.com/SallaApp/theme-raed/blob/master/src/assets/js/partials/product-options.js#L8-L23
22731
+ return h("div", { class: "s-product-options-date-element" }, h("salla-datetime-picker", { onPicked: e => this.dateSelected.emit(e), placeholder: option.name }));
22732
+ }
22733
+ //@ts-ignore
22734
+ datetimeOption(option) {
22735
+ //todo:: consider date-range @see https://github.com/SallaApp/theme-raed/blob/master/src/assets/js/partials/product-options.js#L8-L23
22736
+ return h("div", { class: "s-product-options-datetime-element" }, h("salla-datetime-picker", { mode: "range", dateFormat: "Y-m-d G:i:K", enableTime: true, minDate: option.from_date_time, maxDate: option.to_date_time, placeholder: option.name, onPicked: e => this.dateTimeSelected.emit(e) }));
22737
+ }
22738
+ //@ts-ignore
22739
+ donationOption(option) {
22740
+ var _a;
22741
+ let donation = this.productDetail.donation;
22742
+ if (!donation)
22743
+ return '';
22744
+ return h("div", { class: "s-product-options-donation-wrapper" }, h("input", { type: "text", id: "donating-amount", name: "donating_amount", class: "s-form-control", placeholder: option.placeholder, onInput: e => salla.helpers.inputDigitsOnly(e.target), onBlur: e => this.donationMoneyEntered.emit(e), value: salla.url.is_page('cart') ? (_a = this.productDetail) === null || _a === void 0 ? void 0 : _a.price : '' }), h("span", { class: "s-product-options-donation-amount-currency" }, salla.config.currency(salla.config.get('user.currency_code')).symbol));
22745
+ }
22746
+ getFilepondPlaceholder() {
22747
+ return `<div class="s-product-options-filepond-placeholder"><span class="s-product-options-filepond-placeholder-icon">${CameraIcon}</span><p class="s-product-options-filepond-placeholder-text">اسحب او افلت الصورة هنا</p> <span class="filepond--label-action">او تصفح من جهازك</span></div>`;
22748
+ }
22749
+ setUploaderHeight() {
22750
+ setTimeout(() => {
22751
+ this.uploader.querySelector('.filepond--root').style.height = '120px';
22752
+ }, 1000);
22753
+ }
22754
+ //@ts-ignore
22755
+ selectThumbnail(e, value) {
22756
+ // salla.event.emit('product-options::goToSlide', value)
22757
+ this.thumbnailSelected.emit(e);
22758
+ }
22759
+ //todo:: move it to another place, create component if there is no component
22760
+ //@ts-ignore
22761
+ getServerConfig(url, option_id) {
22762
+ return {
22763
+ process: async (_fieldName, file, _metadata, load, error, _progress, abort, _transfer, _options) => {
22764
+ const formData = new FormData();
22765
+ formData.append("image_url", file, file.name);
22766
+ return await salla.product.uploadGiftImage(formData)
22767
+ .then((resp) => {
22768
+ this.uploadedImage = resp.data.url;
22769
+ load('success');
22770
+ file.metadata = `_${new Date().getTime()}`;
22771
+ }).catch(e => {
22772
+ console.log(e);
22773
+ error('error');
22774
+ })
22775
+ .finally(() => {
22776
+ return {
22777
+ abort: () => {
22778
+ abort();
22779
+ },
22780
+ };
22781
+ });
22782
+ }
22783
+ };
22784
+ }
22785
+ //@ts-ignore
22786
+ imageOption(option) {
22787
+ return h("salla-file-upload", { "instant-upload": true, ref: element => this.uploader = element, "data-item-id": salla.url.is_page('cart') ? option.id : '', class: { "s-product-options-image-input": true, required: option.required }, labelIdle: this.getFilepondPlaceholder(), onRemove: () => this.setUploaderHeight(), serverConfig: this.getServerConfig(salla.cart.api.getUrl('cart/option-image'), salla.url.is_page('cart') ? option.id : null) });
22788
+ }
22789
+ multipleOptions(option) {
22790
+ return h("div", { ref: element => this.multipleOptionDom = element, class: { "s-product-options-multiple-options-wrapper": true, 'required': option.required } }, option === null || option === void 0 ? void 0 : option.details.map((value) => {
22791
+ return h("div", null, h("input", { id: `field-${option.id}-${value.id}`, "aria-describedby": `options[${option.id}]-description`, name: `options[${option.id}]`, value: value.id, type: "checkbox", onChange: () => this.handleMultiSelectFieldInput() }), h("label", { htmlFor: `field-${option.id}-${value.id}` }, value.name));
22792
+ }));
22793
+ }
22794
+ //@ts-ignore
22795
+ numberOption(option) {
22796
+ return h("input", { placeholder: option.placeholder, name: `options[${option.id}]`, type: "text", onInput: e => salla.helpers.inputDigitsOnly(e.target), onBlur: e => this.numberOptionEntered.emit(e), class: "s-form-control" });
22797
+ }
22798
+ singleOption(option) {
22799
+ return h("div", null, h("select", { name: `options[${option.id}]`, required: option.required, class: "s-form-control" }, h("option", { value: "" }, option.placeholder), option === null || option === void 0 ? void 0 :
22800
+ option.details.map((op) => {
22801
+ return h("option", {
22802
+ // selected={op.id == this.selectedSingleOption}
22803
+ onChange: e => this.singleSelectOptionSelected.emit(e), value: op.id
22804
+ }, op.name);
22805
+ })));
22806
+ }
22807
+ //@ts-ignore
22808
+ splitterOption() {
22809
+ return h("div", { class: "s-product-options-splitter" });
22810
+ }
22811
+ //@ts-ignore
22812
+ textOption(option) {
22813
+ return h("div", { class: "s-product-options-text" }, h("input", { placeholder: option.placeholder, name: `options[${option.id}]`, type: "text", onInput: e => this.textOptionEntered.emit(e), required: option.required, class: 's-form-control' }));
22814
+ }
22815
+ //@ts-ignore
22816
+ textareaOption(option) {
22817
+ return h("div", { class: "s-product-options-textarea" }, h("div", { class: "mt-1" }, h("textarea", { rows: 4, name: `options[${option.id}]`, required: option.required, id: `options[${option.id}]`, placeholder: option.placeholder, onInput: (e) => this.textareaOptionEntered.emit(e), class: "s-form-control" })));
22818
+ }
22819
+ //@ts-ignore
22820
+ thumbnailOption(option) {
22821
+ return h("div", { class: "s-product-options-thumbnails-wrapper" }, option.details.map((detail) => {
22822
+ return h("div", null, h("input", { required: option.required, type: "radio", id: `option_${option.id}_${detail.id}`, disabled: detail.is_out, "data-itemid": detail.id, name: `options[${option.id}]`, "data-img-id": detail.option_value, value: detail.option_value, onChange: (e) => this.selectThumbnail(e, detail.option_value) }), h("label", { htmlFor: `option_${option.id}_${detail.id}`, "data-img-id": detail.option_value, class: "go-to-slide" }, h("img", { "data-src": detail.image, src: detail.image, title: detail.name, alt: detail.name }), h("span", { innerHTML: CheckCircleIcon, class: "s-product-options-thumbnails-icon" })), h("p", null, detail.name, " "), detail.is_out ?
22823
+ [h("small", { class: "s-product-options-thumbnails-stock-badge" }, this.outOfStockText), h("div", { class: "s-product-options-thumbnails-badge-overlay" })]
22824
+ : '');
22825
+ }));
22826
+ }
22827
+ //@ts-ignore
22828
+ timeOption(option) {
22829
+ return h("salla-datetime-picker", { class: "s-product-options-time-element", enableTime: true, placeholder: option.name, noCalendar: true, dateFormat: "h:i K", onPicked: e => this.timeSelected.emit(e) });
22830
+ }
22831
+ };
22832
+ SallaProductOptions.style = sallaProductOptionsCss;
22833
+
22484
22834
  const PencilRuler = `<!-- Generated by IcoMoon.io -->
22485
22835
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
22486
22836
  <title>pencil-ruler</title>
@@ -23411,6 +23761,10 @@ const SallaSwiper = class {
23411
23761
  * Show/hide slider block title
23412
23762
  */
23413
23763
  this.blockTitle = '';
23764
+ /**
23765
+ * Enable call a specific slide
23766
+ */
23767
+ // @Prop({reflect: true}) enableCallToSlide: boolean = false;
23414
23768
  /**
23415
23769
  * Show/hide slider block sub title
23416
23770
  */
@@ -23642,6 +23996,12 @@ const SallaSwiper = class {
23642
23996
  salla.lang.onLoaded(() => {
23643
23997
  this.displayAllTitle = salla.lang.get('blocks.home.display_all');
23644
23998
  });
23999
+ // if (this.enableCallToSlide) {
24000
+ // salla.event.on('product-options::goToSlide', data => {
24001
+ // const slideIndex = this.sliderWrapper.querySelector(`[data-img-id="${data}"]`).getAttribute('data-slid-index');
24002
+ // this.slideTo(parseInt(slideIndex), 300, false);
24003
+ // });
24004
+ // }
23645
24005
  return new Promise((resolve, reject) => {
23646
24006
  // @ts-ignore
23647
24007
  if (typeof Swiper !== 'undefined') {
@@ -25521,7 +25881,7 @@ const SallaTelInput = class {
25521
25881
  }
25522
25882
  reset() {
25523
25883
  this.phoneInput.classList.remove("s-has-error");
25524
- // this.errorMsg.innerHTML = "";
25884
+ this.errorMsg.innerHTML = "";
25525
25885
  }
25526
25886
  ;
25527
25887
  handleCountryInput(event) {
@@ -25530,7 +25890,7 @@ const SallaTelInput = class {
25530
25890
  }
25531
25891
  }
25532
25892
  render() {
25533
- return (h(Host, { class: "s-tel-input" }, h("input", { type: "tel", name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("input", { type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
25893
+ return (h(Host, { class: "s-tel-input" }, h("input", { type: "tel", name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
25534
25894
  }
25535
25895
  componentDidLoad() {
25536
25896
  this.initTelInput();
@@ -25585,6 +25945,7 @@ const SallaUserMenu = class {
25585
25945
  this.hello = salla.lang.get("pages.checkout.hello");
25586
25946
  this.first_name = salla.storage.get('user.first_name') || '';
25587
25947
  this.last_name = salla.storage.get('user.last_name') || '';
25948
+ this.has_red_dot = salla.storage.get('user.notifications') || salla.storage.get('user.pending_orders');
25588
25949
  this.avatar = salla.storage.get('user.avatar') || salla.url.cdn('images/avatar.png');
25589
25950
  this.badges = {
25590
25951
  notifications: salla.helpers.number(salla.storage.get('user.notifications') || 0),
@@ -25626,7 +25987,7 @@ const SallaUserMenu = class {
25626
25987
  }
25627
25988
  //we need it to be the last item
25628
25989
  this.items.logout = LogoutIcon;
25629
- this.triggerSlot = ((_a = this.host.querySelector('[slot="trigger"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || '<div class="s-user-menu-trigger"><img class="s-user-menu-trigger-avatar" src="{avatar}" alt="{first_name}{last_name}" /><div class="s-user-menu-trigger-content"><span class="s-user-menu-trigger-hello">{hello}</span><p class="s-user-menu-trigger-name">{first_name} {last_name}</p></div> <i class="s-user-menu-trigger-icon">{icon}</i></div>';
25990
+ this.triggerSlot = ((_a = this.host.querySelector('[slot="trigger"]')) === null || _a === void 0 ? void 0 : _a.innerHTML) || '<div class="s-user-menu-trigger"><div class="s-user-menu-avatar-wrap"><img class="s-user-menu-trigger-avatar" src="{avatar}" alt="{first_name}{last_name}" /></div><div class="s-user-menu-trigger-content"><span class="s-user-menu-trigger-hello">{hello}</span><p class="s-user-menu-trigger-name">{first_name} {last_name}</p></div> <i class="s-user-menu-trigger-icon">{icon}</i></div>';
25630
25991
  if (salla.config.isGuest()) {
25631
25992
  return;
25632
25993
  }
@@ -25669,7 +26030,7 @@ const SallaUserMenu = class {
25669
26030
  salla.auth.logout();
25670
26031
  }
25671
26032
  getTheHeader() {
25672
- return h("div", { class: { 's-user-menu-trigger-slot': true, 's-user-menu-trigger-avatar-only': this.avatarOnly }, id: 'trigger-slot', onClick: (e) => this.open(e), innerHTML: this.triggerSlot
26033
+ return h("div", { class: { 's-user-menu-trigger-slot': true, 's-user-menu-red-dot': this.has_red_dot, 's-user-menu-trigger-avatar-only': this.avatarOnly }, id: 'trigger-slot', onClick: (e) => this.open(e), innerHTML: this.triggerSlot
25673
26034
  .replace(/\{hello\}/g, this.hello)
25674
26035
  .replace(/\{first_name\}/g, this.first_name)
25675
26036
  .replace(/\{last_name\}/g, this.last_name)
@@ -25939,4 +26300,4 @@ const SallaVerify = class {
25939
26300
  };
25940
26301
  SallaVerify.style = sallaVerifyCss;
25941
26302
 
25942
- export { SallaButton as salla_button, SallaCartSummary as salla_cart_summary, SallaColorPicker as salla_color_picker, SallaCommentForm as salla_comment_form, SallaDatetimePicker as salla_datetime_picker, SallaFileUpload as salla_file_upload, SallaGifting as salla_gifting, SallaInfiniteScroll as salla_infinite_scroll, SallaListTile as salla_list_tile, SallaLoading as salla_loading, SallaLocalizationModal as salla_localization_modal, SallaLoginModal as salla_login_modal, SallaLoyalty as salla_loyalty, SallaMap as salla_map, SallaModal as salla_modal, SallaOfferModal as salla_offer_modal, SallaPlaceholder as salla_placeholder, SallaProductAvailability as salla_product_availability, SallaProductSizeGuide as salla_product_size_guide, SallaQuantityInput as salla_quantity_input, SallaQuickOrder as salla_quick_order, SallaRatingModal as salla_rating_modal, SallaRatingStars as salla_rating_stars, SallaScopees as salla_scopes, SallaSearch as salla_search, SallaSkeleton as salla_skeleton, SallaSwiper as salla_slider, SallaSocialShare as salla_social_share, SallaTabContent as salla_tab_content, SallaTabHeader as salla_tab_header, SallaTabs as salla_tabs, SallaTelInput as salla_tel_input, SallaUserMenu as salla_user_menu, SallaUserSettings as salla_user_settings, SallaVerify as salla_verify };
26303
+ export { SallaButton as salla_button, SallaCartSummary as salla_cart_summary, SallaColorPicker as salla_color_picker, SallaCommentForm as salla_comment_form, SallaConditionalFields as salla_conditional_fields, SallaDatetimePicker as salla_datetime_picker, SallaFileUpload as salla_file_upload, SallaGifting as salla_gifting, SallaInfiniteScroll as salla_infinite_scroll, SallaListTile as salla_list_tile, SallaLoading as salla_loading, SallaLocalizationModal as salla_localization_modal, SallaLoginModal as salla_login_modal, SallaLoyalty as salla_loyalty, SallaMap as salla_map, SallaModal as salla_modal, SallaOfferModal as salla_offer_modal, SallaPlaceholder as salla_placeholder, SallaProductAvailability as salla_product_availability, SallaProductOptions as salla_product_options, SallaProductSizeGuide as salla_product_size_guide, SallaQuantityInput as salla_quantity_input, SallaQuickOrder as salla_quick_order, SallaRatingModal as salla_rating_modal, SallaRatingStars as salla_rating_stars, SallaScopees as salla_scopes, SallaSearch as salla_search, SallaSkeleton as salla_skeleton, SallaSwiper as salla_slider, SallaSocialShare as salla_social_share, SallaTabContent as salla_tab_content, SallaTabHeader as salla_tab_header, SallaTabs as salla_tabs, SallaTelInput as salla_tel_input, SallaUserMenu as salla_user_menu, SallaUserSettings as salla_user_settings, SallaVerify as salla_verify };
@@ -2,7 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-f1d446ac.js';
5
- import { g as globalScripts } from './app-globals-d3b05078.js';
5
+ import { g as globalScripts } from './app-globals-85b49bd0.js';
6
6
  import './_commonjsHelpers-1415ffd3.js';
7
7
 
8
8
  /*
@@ -76,5 +76,5 @@ const patchDynamicImport = (base, orgScriptElm) => {
76
76
 
77
77
  patchBrowser().then(options => {
78
78
  globalScripts();
79
- return bootstrapLazy(JSON.parse("[[\"salla-button_35\",[[4,\"salla-gifting\",{\"productId\":[2,\"product-id\"],\"sectionTitle\":[32],\"sectionSubtitle\":[32],\"sectionBtnText\":[32],\"giftDetails\":[32],\"selectImageForYourGift\":[32],\"selectImageOrUpload\":[32],\"selectGiftMessage\":[32],\"giftCustomText\":[32],\"textId\":[32],\"incorrectGiftText\":[32],\"nextStep\":[32],\"senderNameLabel\":[32],\"receiverNameFieldLabel\":[32],\"receiverMobileFieldLabel\":[32],\"receiverEmailFieldLabel\":[32],\"emailPlaceholder\":[32],\"sendLater\":[32],\"selectSendDateAndTime\":[32],\"canNotEditOrderAfterSelectDate\":[32],\"sendGift\":[32],\"donationRequired\":[32],\"step1Elems\":[32],\"step2Elems\":[32],\"stepsWrapper\":[32],\"textArea\":[32],\"imageCover\":[32],\"textSelect\":[32],\"customTextArea\":[32],\"calendarFormGroup\":[32],\"currentStep\":[32],\"showCalendar\":[32],\"showGiftText\":[32],\"currentLang\":[32],\"parentClass\":[32],\"errors\":[32],\"gift\":[32],\"selectedGiftTextOption\":[32],\"showTextArea\":[32],\"selectedImage\":[32],\"uploadedImage\":[32],\"selectedText\":[32],\"senderName\":[32],\"errorMessage\":[32],\"hasError\":[32],\"quantity\":[32],\"deliveryDate\":[32],\"timeZone\":[32],\"receiverName\":[32],\"receiverMobile\":[32],\"receiverCountryCode\":[32],\"receiverEmail\":[32],\"open\":[64],\"close\":[64],\"goToStep2\":[64]}],[4,\"salla-loyalty\",{\"prizePoints\":[8,\"prize-points\"],\"customerPoints\":[2,\"customer-points\"],\"prizeTitle\":[1,\"prize-title\"],\"allowEmail\":[4,\"allow-email\"],\"allowMobile\":[4,\"allow-mobile\"],\"requireEmail\":[4,\"require-email\"],\"guestMessage\":[1,\"guest-message\"],\"loyaltyProgram\":[32],\"buttonLoading\":[32],\"selectedItem\":[32],\"askConfirmation\":[32],\"is_loggedin\":[32],\"hasError\":[32],\"errorMessage\":[32],\"translationLoaded\":[32],\"open\":[64],\"close\":[64],\"resetExchange\":[64],\"exchangeLoyaltyPoint\":[64]}],[4,\"salla-product-size-guide\",{\"guides\":[32],\"productId\":[32],\"placeholder_title\":[32],\"placeholder_description\":[32],\"modal_title\":[32],\"hasError\":[32],\"open\":[64],\"close\":[64]}],[0,\"salla-offer-modal\",{\"offer\":[32],\"offer_name\":[32],\"offer_message\":[32],\"hasError\":[32],\"errorMessage\":[32],\"productID\":[32],\"translationLoaded\":[32],\"addToCartLabel\":[32],\"open\":[64],\"showOffer\":[64]}],[0,\"salla-rating-modal\",{\"orderId\":[2,\"order-id\"],\"order\":[32],\"hasError\":[32],\"errorMessage\":[32],\"translationLoaded\":[32],\"open\":[64],\"close\":[64]}],[4,\"salla-scopes\",{\"selection\":[1],\"searchDisplayLimit\":[2,\"search-display-limit\"],\"translationLoaded\":[32],\"mode\":[32],\"current_scope\":[32],\"scopes\":[32],\"originalScopesList\":[32],\"selected_scope\":[32],\"isOpenedBefore\":[32],\"hasError\":[32],\"loading\":[32],\"close\":[64],\"open\":[64],\"handleSubmit\":[64]}],[0,\"salla-localization-modal\",{\"language\":[1537],\"currency\":[1537],\"translationLoaded\":[32],\"languages\":[32],\"currencies\":[32],\"hasError\":[32],\"errorMessage\":[32],\"open\":[64],\"close\":[64],\"submit\":[64]}],[4,\"salla-login-modal\",{\"isEmailAllowed\":[1028,\"is-email-allowed\"],\"isMobileAllowed\":[1028,\"is-mobile-allowed\"],\"isEmailRequired\":[1028,\"is-email-required\"],\"supportWebAuth\":[516,\"support-web-auth\"],\"currentTabName\":[32],\"regType\":[32],\"translationLoaded\":[32],\"title\":[32],\"emailErrorMsg\":[32],\"firstNameErrorMsg\":[32],\"lastNameErrorMsg\":[32],\"open\":[64]},[[8,\"verified\",\"onVerified\"]]],[0,\"salla-quick-order\",{\"quickOrderTitle\":[1025,\"quick-order-title\"],\"subTitle\":[1025,\"sub-title\"],\"payButtonTitle\":[1025,\"pay-button-title\"],\"confirmPayButtonTitle\":[1025,\"confirm-pay-button-title\"],\"agreementText\":[1025,\"agreement-text\"],\"isEmailRequired\":[1028,\"is-email-required\"],\"productId\":[1025,\"product-id\"],\"thanksMessage\":[1025,\"thanks-message\"],\"quickOrderStyle\":[1025,\"quick-order-style\"],\"user\":[32],\"isAvailable\":[32],\"oneClick\":[32],\"expanded\":[32],\"isTermsRequired\":[32],\"countryCode\":[32],\"submitSucess\":[32],\"placeHolderEmail\":[32],\"emailOptional\":[32],\"agreementShowText\":[32],\"agreementModalHead\":[32],\"userNameLabel\":[32],\"termsChecked\":[32]}],[0,\"salla-user-settings\",{\"isNotifiable\":[516,\"is-notifiable\"],\"deactivateAccount\":[32],\"promotionalMsgs\":[32],\"deactivateDesc\":[32],\"promotionalMsgsDesc\":[32],\"sorryForLeavingText\":[32],\"warningText\":[32],\"keepAccount\":[32],\"buttonLoading\":[32]}],[4,\"salla-map\",{\"searchable\":[1028],\"lat\":[1026],\"lng\":[1026],\"apiKey\":[1025,\"api-key\"],\"zoom\":[1026],\"theme\":[1025],\"modalActivityTitle\":[32],\"confirmButtonTitle\":[32],\"locateButtonTitle\":[32],\"locateButtonEdit\":[32],\"searchInputValue\":[32],\"searchInput\":[32],\"mapElement\":[32],\"open\":[64]}],[0,\"salla-search\",{\"inline\":[4],\"oval\":[4],\"height\":[2],\"translationLoaded\":[32],\"results\":[32],\"loading\":[32],\"typing\":[32],\"debounce\":[32],\"search_term\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]],[0,\"salla-comment-form\",{\"type\":[1],\"showAvatar\":[4,\"show-avatar\"],\"itemId\":[8,\"item-id\"],\"placeholder\":[32],\"submitText\":[32],\"canComment\":[32]}],[4,\"salla-social-share\",{\"url\":[513],\"urlName\":[513,\"url-name\"],\"platforms\":[513],\"opened\":[32],\"allPlatforms\":[32],\"platformIcons\":[32],\"convertedPlatforms\":[32],\"open\":[64]}],[4,\"salla-cart-summary\",{\"cartSummaryCount\":[32],\"cartSummaryTotal\":[32],\"animateToCart\":[64]}],[4,\"salla-color-picker\",{\"color\":[1],\"placement\":[8],\"format\":[1],\"showCancelButton\":[4,\"show-cancel-button\"],\"showTextField\":[4,\"show-text-field\"],\"enableAlpha\":[4,\"enable-alpha\"],\"widgetColor\":[32],\"setPickerOption\":[64],\"movePopUp\":[64],\"setColorValue\":[64],\"openPicker\":[64],\"closePicker\":[64],\"destroyPicker\":[64]}],[4,\"salla-infinite-scroll\",{\"nextPage\":[1,\"next-page\"],\"autoload\":[1028],\"container\":[1],\"item\":[1],\"loadMore\":[32],\"noMore\":[32],\"failedToLoad\":[32]}],[4,\"salla-quantity-input\",{\"quantity\":[32],\"decrease\":[64],\"increase\":[64],\"setValue\":[64]}],[0,\"salla-user-menu\",{\"inline\":[516],\"avatarOnly\":[516,\"avatar-only\"],\"showHeader\":[516,\"show-header\"],\"relativeDropdown\":[516,\"relative-dropdown\"],\"accountLoading\":[32],\"opened\":[32],\"notifications\":[32],\"orders\":[32],\"pending_orders\":[32],\"wishlist\":[32],\"profile\":[32],\"rating\":[32],\"logout\":[32],\"hello\":[32],\"first_name\":[32],\"last_name\":[32],\"avatar\":[32],\"badges\":[32],\"OrderUpdate\":[32]}],[0,\"salla-product-availability\",{\"channels\":[1],\"productId\":[2,\"product-id\"],\"isSubscribed\":[1028,\"is-subscribed\"],\"translationLoaded\":[32],\"title_\":[32],\"isVisitorSubscribed\":[32]}],[4,\"salla-verify\",{\"display\":[1],\"type\":[1025],\"autoReload\":[4,\"auto-reload\"],\"supportWebAuth\":[4,\"support-web-auth\"],\"translationLoaded\":[32],\"title\":[32],\"resendAfter\":[32],\"isProfileVerify\":[32],\"getCode\":[64],\"open\":[64]}],[0,\"salla-datetime-picker\",{\"value\":[1025],\"placeholder\":[1],\"allowInput\":[4,\"allow-input\"],\"allowInvalidPreload\":[4,\"allow-invalid-preload\"],\"altFormat\":[1,\"alt-format\"],\"altInput\":[4,\"alt-input\"],\"altInputClass\":[1,\"alt-input-class\"],\"appendTo\":[16],\"ariaDateFormat\":[1,\"aria-date-format\"],\"autoFillDefaultTime\":[4,\"auto-fill-default-time\"],\"clickOpens\":[4,\"click-opens\"],\"closeOnSelect\":[4,\"close-on-select\"],\"conjunction\":[1],\"dateFormat\":[1,\"date-format\"],\"defaultDate\":[8,\"default-date\"],\"defaultHour\":[2,\"default-hour\"],\"defaultMinute\":[2,\"default-minute\"],\"defaultSeconds\":[2,\"default-seconds\"],\"disable\":[16],\"disableMobile\":[4,\"disable-mobile\"],\"enable\":[16],\"enableSeconds\":[4,\"enable-seconds\"],\"enableTime\":[4,\"enable-time\"],\"formatDate\":[16],\"hourIncrement\":[2,\"hour-increment\"],\"inline\":[4],\"locale\":[1],\"maxDate\":[8,\"max-date\"],\"maxTime\":[8,\"max-time\"],\"minDate\":[8,\"min-date\"],\"minTime\":[8,\"min-time\"],\"minuteIncrement\":[2,\"minute-increment\"],\"mode\":[1],\"monthSelectorType\":[1,\"month-selector-type\"],\"nextArrow\":[1,\"next-arrow\"],\"noCalendar\":[4,\"no-calendar\"],\"dateParser\":[16],\"position\":[1],\"positionElement\":[16],\"prevArrow\":[1,\"prev-arrow\"],\"shorthandCurrentMonth\":[4,\"shorthand-current-month\"],\"static\":[4],\"showMonths\":[2,\"show-months\"],\"time_24hr\":[4,\"time_-2-4hr\"],\"weekNumbers\":[4,\"week-numbers\"],\"wrap\":[4]}],[0,\"salla-file-upload\",{\"required\":[4],\"disabled\":[4],\"allowDrop\":[4,\"allow-drop\"],\"allowBrowse\":[4,\"allow-browse\"],\"allowPaste\":[4,\"allow-paste\"],\"allowMultiple\":[4,\"allow-multiple\"],\"allowReplace\":[4,\"allow-replace\"],\"allowRevert\":[4,\"allow-revert\"],\"allowRemove\":[4,\"allow-remove\"],\"allowProcess\":[4,\"allow-process\"],\"allowReorder\":[4,\"allow-reorder\"],\"storeAsFile\":[4,\"store-as-file\"],\"forceRevert\":[4,\"force-revert\"],\"maxFilesCount\":[2,\"max-files-count\"],\"maxParallelUploads\":[2,\"max-parallel-uploads\"],\"checkValidity\":[4,\"check-validity\"],\"itemInsertLocation\":[1,\"item-insert-location\"],\"itemInsertInterval\":[2,\"item-insert-interval\"],\"credits\":[4],\"dropOnPage\":[4,\"drop-on-page\"],\"dropOnElement\":[4,\"drop-on-element\"],\"dropValidation\":[4,\"drop-validation\"],\"ignoredFiles\":[16],\"serverConfig\":[1,\"server-config\"],\"instantUpload\":[4,\"instant-upload\"],\"chunkUploads\":[4,\"chunk-uploads\"],\"chunkForce\":[4,\"chunk-force\"],\"chunkSize\":[2,\"chunk-size\"],\"chunkRetryDelays\":[16],\"labelDecimalSeparator\":[1,\"label-decimal-separator\"],\"labelThousandsSeparator\":[1,\"label-thousands-separator\"],\"labelIdle\":[1,\"label-idle\"],\"labelInvalidField\":[1,\"label-invalid-field\"],\"labelFileWaitingForSize\":[1,\"label-file-waiting-for-size\"],\"labelFileSizeNotAvailable\":[1,\"label-file-size-not-available\"],\"labelFileLoading\":[1,\"label-file-loading\"],\"labelFileLoadError\":[1,\"label-file-load-error\"],\"labelFileProcessing\":[1,\"label-file-processing\"],\"labelFileProcessingComplete\":[1,\"label-file-processing-complete\"],\"labelFileProcessingAborted\":[1,\"label-file-processing-aborted\"],\"labelFileProcessingError\":[1,\"label-file-processing-error\"],\"labelFileProcessingRevertError\":[1,\"label-file-processing-revert-error\"],\"labelFileRemoveError\":[1,\"label-file-remove-error\"],\"labelTapToCancel\":[1,\"label-tap-to-cancel\"],\"labelTapToRetry\":[1,\"label-tap-to-retry\"],\"labelTapToUndo\":[1,\"label-tap-to-undo\"],\"labelButtonRemoveItem\":[1,\"label-button-remove-item\"],\"labelButtonAbortItemLoad\":[1,\"label-button-abort-item-load\"],\"labelButtonRetryItemLoad\":[1,\"label-button-retry-item-load\"],\"labelButtonAbortItemProcessing\":[1,\"label-button-abort-item-processing\"],\"labelButtonUndoItemProcessing\":[1,\"label-button-undo-item-processing\"],\"labelButtonRetryItemProcessing\":[1,\"label-button-retry-item-processing\"],\"labelButtonProcessItem\":[1,\"label-button-process-item\"],\"iconRemove\":[1,\"icon-remove\"],\"iconProcess\":[1,\"icon-process\"],\"iconRetry\":[1,\"icon-retry\"],\"iconUndo\":[1,\"icon-undo\"],\"pond\":[32],\"files\":[32],\"appendFile\":[64]}],[0,\"salla-rating-stars\",{\"name\":[1],\"size\":[1],\"value\":[2]}],[4,\"salla-tab-content\",{\"name\":[1],\"isSelected\":[32],\"getChild\":[64]}],[4,\"salla-tab-header\",{\"name\":[1],\"activeClass\":[1,\"active-class\"],\"height\":[8],\"centered\":[4],\"isSelected\":[32],\"getChild\":[64]}],[4,\"salla-tabs\",{\"backgroundColor\":[1,\"background-color\"],\"vertical\":[4]},[[0,\"tabSelected\",\"onSelectedTab\"]]],[4,\"salla-slider\",{\"blockTitle\":[513,\"block-title\"],\"blockSubtitle\":[513,\"block-subtitle\"],\"displayAllUrl\":[513,\"display-all-url\"],\"verticalThumbs\":[516,\"vertical-thumbs\"],\"showControls\":[516,\"show-controls\"],\"controlsOuter\":[516,\"controls-outer\"],\"showThumbsControls\":[4,\"show-thumbs-controls\"],\"autoPlay\":[4,\"auto-play\"],\"slidesPerView\":[1,\"slides-per-view\"],\"pagination\":[4],\"centered\":[4],\"loop\":[4],\"type\":[1],\"sliderConfig\":[520,\"slider-config\"],\"thumbsConfig\":[520,\"thumbs-config\"],\"currentIndex\":[32],\"isEnd\":[32],\"isBeginning\":[32],\"isRTL\":[32],\"swiperScript\":[32],\"displayAllTitle\":[32],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"slideToLoop\":[64],\"slideNextLoop\":[64],\"slidePrevLoop\":[64],\"slideReset\":[64],\"slideToClosest\":[64],\"update\":[64],\"updateAutoHeight\":[64],\"updateSlides\":[64],\"updateProgress\":[64],\"updateSlidesClasses\":[64],\"getSlides\":[64]}],[4,\"salla-list-tile\",{\"href\":[1],\"target\":[1]}],[0,\"salla-tel-input\",{\"phone\":[1025],\"name\":[1],\"countryCode\":[1025,\"country-code\"],\"mobileRequired\":[32],\"countryCodeLabel\":[32],\"mobileLabel\":[32],\"tooShort\":[32],\"tooLong\":[32],\"invalidCountryCode\":[32],\"invalidNumber\":[32],\"errorMap\":[32],\"getValues\":[64],\"isValid\":[64]}],[4,\"salla-placeholder\",{\"icon\":[1],\"alignment\":[1],\"iconSize\":[1,\"icon-size\"],\"translationLoaded\":[32]}],[0,\"salla-skeleton\",{\"type\":[1],\"width\":[1],\"height\":[1]}],[4,\"salla-modal\",{\"isClosable\":[1028,\"is-closable\"],\"width\":[513],\"position\":[513],\"visible\":[516],\"hasSkeleton\":[516,\"has-skeleton\"],\"isLoading\":[1540,\"is-loading\"],\"subTitleFirst\":[4,\"sub-title-first\"],\"noPadding\":[4,\"no-padding\"],\"subTitle\":[1,\"sub-title\"],\"centered\":[4],\"iconStyle\":[1,\"icon-style\"],\"modalTitle\":[32],\"open\":[64],\"close\":[64],\"setTitle\":[64],\"loading\":[64],\"stopLoading\":[64]},[[0,\"keyup\",\"handleKeyUp\"]]],[4,\"salla-button\",{\"shape\":[513],\"color\":[513],\"fill\":[513],\"size\":[513],\"width\":[513],\"loading\":[516],\"disabled\":[516],\"loaderPosition\":[1,\"loader-position\"],\"href\":[1],\"load\":[64],\"stop\":[64],\"setText\":[64],\"disable\":[64],\"enable\":[64]}],[0,\"salla-loading\",{\"size\":[8],\"width\":[8],\"color\":[1],\"bgColor\":[1,\"bg-color\"]}]]],[\"salla-add-product-button\",[[4,\"salla-add-product-button\",{\"channels\":[513],\"quantity\":[514],\"donatingAmount\":[514,\"donating-amount\"],\"productId\":[520,\"product-id\"],\"productStatus\":[513,\"product-status\"],\"productType\":[513,\"product-type\"]}]]],[\"salla-conditional-fields\",[[4,\"salla-conditional-fields\",null,[[0,\"change\",\"changeHandler\"]]]]],[\"salla-installment\",[[0,\"salla-installment\",{\"price\":[1],\"language\":[1],\"currency\":[1],\"tamaraIsActive\":[32],\"tabbyIsActive\":[32],\"spotiiIsActive\":[32]}]]],[\"salla-loyalty-prize-item\",[[0,\"salla-loyalty-prize-item\",{\"item\":[16]}]]],[\"salla-select\",[[0,\"salla-select\",{\"label\":[1],\"items\":[16],\"itemText\":[1,\"item-text\"],\"itemValue\":[1,\"item-value\"],\"itemDisabled\":[1,\"item-disabled\"],\"size\":[1],\"value\":[1032],\"autofocus\":[4],\"clearable\":[4],\"clearIcon\":[1,\"clear-icon\"],\"color\":[1],\"flat\":[4],\"disabled\":[4],\"loading\":[4],\"loadingColor\":[1,\"loading-color\"],\"hint\":[1],\"persistHint\":[4,\"persist-hint\"],\"placeholder\":[1],\"multiple\":[4],\"autocomplete\":[4],\"required\":[4],\"chips\":[4],\"shape\":[1],\"returnObject\":[4,\"return-object\"],\"hideDetail\":[4,\"hide-detail\"]}]]]]"), options);
79
+ return bootstrapLazy(JSON.parse("[[\"salla-button_37\",[[4,\"salla-gifting\",{\"productId\":[2,\"product-id\"],\"sectionTitle\":[32],\"sectionSubtitle\":[32],\"sectionBtnText\":[32],\"giftDetails\":[32],\"selectImageForYourGift\":[32],\"selectImageOrUpload\":[32],\"selectGiftMessage\":[32],\"giftCustomText\":[32],\"textId\":[32],\"incorrectGiftText\":[32],\"nextStep\":[32],\"senderNameLabel\":[32],\"receiverNameFieldLabel\":[32],\"receiverMobileFieldLabel\":[32],\"receiverEmailFieldLabel\":[32],\"emailPlaceholder\":[32],\"sendLater\":[32],\"selectSendDateAndTime\":[32],\"canNotEditOrderAfterSelectDate\":[32],\"sendGift\":[32],\"donationRequired\":[32],\"step1Elems\":[32],\"step2Elems\":[32],\"stepsWrapper\":[32],\"textArea\":[32],\"imageCover\":[32],\"textSelect\":[32],\"customTextArea\":[32],\"calendarFormGroup\":[32],\"currentStep\":[32],\"showCalendar\":[32],\"showGiftText\":[32],\"currentLang\":[32],\"parentClass\":[32],\"errors\":[32],\"gift\":[32],\"selectedGiftTextOption\":[32],\"showTextArea\":[32],\"selectedImage\":[32],\"uploadedImage\":[32],\"selectedText\":[32],\"senderName\":[32],\"errorMessage\":[32],\"hasError\":[32],\"quantity\":[32],\"deliveryDate\":[32],\"timeZone\":[32],\"receiverName\":[32],\"receiverMobile\":[32],\"receiverCountryCode\":[32],\"receiverEmail\":[32],\"open\":[64],\"close\":[64],\"goToStep2\":[64]}],[4,\"salla-loyalty\",{\"prizePoints\":[8,\"prize-points\"],\"customerPoints\":[2,\"customer-points\"],\"prizeTitle\":[1,\"prize-title\"],\"allowEmail\":[4,\"allow-email\"],\"allowMobile\":[4,\"allow-mobile\"],\"requireEmail\":[4,\"require-email\"],\"guestMessage\":[1,\"guest-message\"],\"loyaltyProgram\":[32],\"buttonLoading\":[32],\"selectedItem\":[32],\"askConfirmation\":[32],\"is_loggedin\":[32],\"hasError\":[32],\"errorMessage\":[32],\"translationLoaded\":[32],\"open\":[64],\"close\":[64],\"resetExchange\":[64],\"exchangeLoyaltyPoint\":[64]}],[4,\"salla-product-size-guide\",{\"guides\":[32],\"productId\":[32],\"placeholder_title\":[32],\"placeholder_description\":[32],\"modal_title\":[32],\"hasError\":[32],\"open\":[64],\"close\":[64]}],[0,\"salla-offer-modal\",{\"offer\":[32],\"offer_name\":[32],\"offer_message\":[32],\"hasError\":[32],\"errorMessage\":[32],\"productID\":[32],\"translationLoaded\":[32],\"addToCartLabel\":[32],\"open\":[64],\"showOffer\":[64]}],[0,\"salla-rating-modal\",{\"orderId\":[2,\"order-id\"],\"order\":[32],\"hasError\":[32],\"errorMessage\":[32],\"translationLoaded\":[32],\"open\":[64],\"close\":[64]}],[4,\"salla-scopes\",{\"selection\":[1],\"searchDisplayLimit\":[2,\"search-display-limit\"],\"translationLoaded\":[32],\"mode\":[32],\"current_scope\":[32],\"scopes\":[32],\"originalScopesList\":[32],\"selected_scope\":[32],\"isOpenedBefore\":[32],\"hasError\":[32],\"loading\":[32],\"close\":[64],\"open\":[64],\"handleSubmit\":[64]}],[0,\"salla-localization-modal\",{\"language\":[1537],\"currency\":[1537],\"translationLoaded\":[32],\"languages\":[32],\"currencies\":[32],\"hasError\":[32],\"errorMessage\":[32],\"open\":[64],\"close\":[64],\"submit\":[64]}],[4,\"salla-login-modal\",{\"isEmailAllowed\":[1028,\"is-email-allowed\"],\"isMobileAllowed\":[1028,\"is-mobile-allowed\"],\"isEmailRequired\":[1028,\"is-email-required\"],\"supportWebAuth\":[516,\"support-web-auth\"],\"currentTabName\":[32],\"regType\":[32],\"translationLoaded\":[32],\"title\":[32],\"emailErrorMsg\":[32],\"firstNameErrorMsg\":[32],\"lastNameErrorMsg\":[32],\"open\":[64]},[[8,\"verified\",\"onVerified\"]]],[0,\"salla-quick-order\",{\"quickOrderTitle\":[1025,\"quick-order-title\"],\"subTitle\":[1025,\"sub-title\"],\"payButtonTitle\":[1025,\"pay-button-title\"],\"confirmPayButtonTitle\":[1025,\"confirm-pay-button-title\"],\"agreementText\":[1025,\"agreement-text\"],\"isEmailRequired\":[1028,\"is-email-required\"],\"productId\":[1025,\"product-id\"],\"thanksMessage\":[1025,\"thanks-message\"],\"quickOrderStyle\":[1025,\"quick-order-style\"],\"user\":[32],\"isAvailable\":[32],\"oneClick\":[32],\"expanded\":[32],\"isTermsRequired\":[32],\"countryCode\":[32],\"submitSucess\":[32],\"placeHolderEmail\":[32],\"emailOptional\":[32],\"agreementShowText\":[32],\"agreementModalHead\":[32],\"userNameLabel\":[32],\"termsChecked\":[32]}],[0,\"salla-user-settings\",{\"isNotifiable\":[516,\"is-notifiable\"],\"deactivateAccount\":[32],\"promotionalMsgs\":[32],\"deactivateDesc\":[32],\"promotionalMsgsDesc\":[32],\"sorryForLeavingText\":[32],\"warningText\":[32],\"keepAccount\":[32],\"buttonLoading\":[32]}],[4,\"salla-map\",{\"readonly\":[4],\"searchable\":[1028],\"lat\":[1026],\"lng\":[1026],\"apiKey\":[1025,\"api-key\"],\"zoom\":[1026],\"theme\":[1025],\"modalActivityTitle\":[32],\"confirmButtonTitle\":[32],\"locateButtonTitle\":[32],\"locateButtonEdit\":[32],\"searchInputValue\":[32],\"geolocationError\":[32],\"searchInput\":[32],\"mapElement\":[32],\"open\":[64]}],[0,\"salla-product-options\",{\"productId\":[2,\"product-id\"],\"product\":[1],\"productDetail\":[32],\"options\":[32],\"uploadedImage\":[32],\"outOfStockText\":[32],\"donationAmount\":[32]}],[0,\"salla-search\",{\"inline\":[4],\"oval\":[4],\"height\":[2],\"translationLoaded\":[32],\"results\":[32],\"loading\":[32],\"typing\":[32],\"debounce\":[32],\"search_term\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]],[0,\"salla-comment-form\",{\"type\":[1],\"showAvatar\":[4,\"show-avatar\"],\"itemId\":[8,\"item-id\"],\"placeholder\":[32],\"submitText\":[32],\"canComment\":[32]}],[4,\"salla-social-share\",{\"url\":[513],\"urlName\":[513,\"url-name\"],\"platforms\":[513],\"opened\":[32],\"allPlatforms\":[32],\"platformIcons\":[32],\"convertedPlatforms\":[32],\"open\":[64]}],[4,\"salla-cart-summary\",{\"cartSummaryCount\":[32],\"cartSummaryTotal\":[32],\"animateToCart\":[64]}],[4,\"salla-color-picker\",{\"color\":[1],\"placement\":[8],\"format\":[1],\"showCancelButton\":[4,\"show-cancel-button\"],\"showTextField\":[4,\"show-text-field\"],\"enableAlpha\":[4,\"enable-alpha\"],\"widgetColor\":[32],\"setPickerOption\":[64],\"movePopUp\":[64],\"setColorValue\":[64],\"openPicker\":[64],\"closePicker\":[64],\"destroyPicker\":[64]}],[4,\"salla-infinite-scroll\",{\"nextPage\":[1,\"next-page\"],\"autoload\":[1028],\"container\":[1],\"item\":[1],\"loadMore\":[32],\"noMore\":[32],\"failedToLoad\":[32]}],[4,\"salla-quantity-input\",{\"quantity\":[32],\"decrease\":[64],\"increase\":[64],\"setValue\":[64]}],[0,\"salla-user-menu\",{\"inline\":[516],\"avatarOnly\":[516,\"avatar-only\"],\"showHeader\":[516,\"show-header\"],\"relativeDropdown\":[516,\"relative-dropdown\"],\"accountLoading\":[32],\"opened\":[32],\"notifications\":[32],\"orders\":[32],\"pending_orders\":[32],\"wishlist\":[32],\"profile\":[32],\"rating\":[32],\"logout\":[32],\"hello\":[32],\"first_name\":[32],\"last_name\":[32],\"has_red_dot\":[32],\"avatar\":[32],\"badges\":[32],\"OrderUpdate\":[32]}],[0,\"salla-product-availability\",{\"channels\":[1],\"productId\":[2,\"product-id\"],\"isSubscribed\":[1028,\"is-subscribed\"],\"translationLoaded\":[32],\"title_\":[32],\"isVisitorSubscribed\":[32]}],[4,\"salla-verify\",{\"display\":[1],\"type\":[1025],\"autoReload\":[4,\"auto-reload\"],\"supportWebAuth\":[4,\"support-web-auth\"],\"translationLoaded\":[32],\"title\":[32],\"resendAfter\":[32],\"isProfileVerify\":[32],\"getCode\":[64],\"open\":[64]}],[4,\"salla-conditional-fields\",null,[[0,\"change\",\"changeHandler\"]]],[0,\"salla-rating-stars\",{\"name\":[1],\"size\":[1],\"value\":[2]}],[0,\"salla-datetime-picker\",{\"value\":[1025],\"placeholder\":[1],\"allowInput\":[4,\"allow-input\"],\"allowInvalidPreload\":[4,\"allow-invalid-preload\"],\"altFormat\":[1,\"alt-format\"],\"altInput\":[4,\"alt-input\"],\"altInputClass\":[1,\"alt-input-class\"],\"appendTo\":[16],\"ariaDateFormat\":[1,\"aria-date-format\"],\"autoFillDefaultTime\":[4,\"auto-fill-default-time\"],\"clickOpens\":[4,\"click-opens\"],\"closeOnSelect\":[4,\"close-on-select\"],\"conjunction\":[1],\"dateFormat\":[1,\"date-format\"],\"defaultDate\":[8,\"default-date\"],\"defaultHour\":[2,\"default-hour\"],\"defaultMinute\":[2,\"default-minute\"],\"defaultSeconds\":[2,\"default-seconds\"],\"disable\":[16],\"disableMobile\":[4,\"disable-mobile\"],\"enable\":[16],\"enableSeconds\":[4,\"enable-seconds\"],\"enableTime\":[4,\"enable-time\"],\"formatDate\":[16],\"hourIncrement\":[2,\"hour-increment\"],\"inline\":[4],\"locale\":[1],\"maxDate\":[8,\"max-date\"],\"maxTime\":[8,\"max-time\"],\"minDate\":[8,\"min-date\"],\"minTime\":[8,\"min-time\"],\"minuteIncrement\":[2,\"minute-increment\"],\"mode\":[1],\"monthSelectorType\":[1,\"month-selector-type\"],\"nextArrow\":[1,\"next-arrow\"],\"noCalendar\":[4,\"no-calendar\"],\"dateParser\":[16],\"position\":[1],\"positionElement\":[16],\"prevArrow\":[1,\"prev-arrow\"],\"shorthandCurrentMonth\":[4,\"shorthand-current-month\"],\"static\":[4],\"showMonths\":[2,\"show-months\"],\"time_24hr\":[4,\"time_-2-4hr\"],\"weekNumbers\":[4,\"week-numbers\"],\"wrap\":[4]}],[0,\"salla-file-upload\",{\"required\":[4],\"disabled\":[4],\"allowDrop\":[4,\"allow-drop\"],\"allowBrowse\":[4,\"allow-browse\"],\"allowPaste\":[4,\"allow-paste\"],\"allowMultiple\":[4,\"allow-multiple\"],\"allowReplace\":[4,\"allow-replace\"],\"allowRevert\":[4,\"allow-revert\"],\"allowRemove\":[4,\"allow-remove\"],\"allowProcess\":[4,\"allow-process\"],\"allowReorder\":[4,\"allow-reorder\"],\"storeAsFile\":[4,\"store-as-file\"],\"forceRevert\":[4,\"force-revert\"],\"maxFilesCount\":[2,\"max-files-count\"],\"maxParallelUploads\":[2,\"max-parallel-uploads\"],\"checkValidity\":[4,\"check-validity\"],\"itemInsertLocation\":[1,\"item-insert-location\"],\"itemInsertInterval\":[2,\"item-insert-interval\"],\"credits\":[4],\"dropOnPage\":[4,\"drop-on-page\"],\"dropOnElement\":[4,\"drop-on-element\"],\"dropValidation\":[4,\"drop-validation\"],\"ignoredFiles\":[16],\"serverConfig\":[1,\"server-config\"],\"instantUpload\":[4,\"instant-upload\"],\"chunkUploads\":[4,\"chunk-uploads\"],\"chunkForce\":[4,\"chunk-force\"],\"chunkSize\":[2,\"chunk-size\"],\"chunkRetryDelays\":[16],\"labelDecimalSeparator\":[1,\"label-decimal-separator\"],\"labelThousandsSeparator\":[1,\"label-thousands-separator\"],\"labelIdle\":[1,\"label-idle\"],\"labelInvalidField\":[1,\"label-invalid-field\"],\"labelFileWaitingForSize\":[1,\"label-file-waiting-for-size\"],\"labelFileSizeNotAvailable\":[1,\"label-file-size-not-available\"],\"labelFileLoading\":[1,\"label-file-loading\"],\"labelFileLoadError\":[1,\"label-file-load-error\"],\"labelFileProcessing\":[1,\"label-file-processing\"],\"labelFileProcessingComplete\":[1,\"label-file-processing-complete\"],\"labelFileProcessingAborted\":[1,\"label-file-processing-aborted\"],\"labelFileProcessingError\":[1,\"label-file-processing-error\"],\"labelFileProcessingRevertError\":[1,\"label-file-processing-revert-error\"],\"labelFileRemoveError\":[1,\"label-file-remove-error\"],\"labelTapToCancel\":[1,\"label-tap-to-cancel\"],\"labelTapToRetry\":[1,\"label-tap-to-retry\"],\"labelTapToUndo\":[1,\"label-tap-to-undo\"],\"labelButtonRemoveItem\":[1,\"label-button-remove-item\"],\"labelButtonAbortItemLoad\":[1,\"label-button-abort-item-load\"],\"labelButtonRetryItemLoad\":[1,\"label-button-retry-item-load\"],\"labelButtonAbortItemProcessing\":[1,\"label-button-abort-item-processing\"],\"labelButtonUndoItemProcessing\":[1,\"label-button-undo-item-processing\"],\"labelButtonRetryItemProcessing\":[1,\"label-button-retry-item-processing\"],\"labelButtonProcessItem\":[1,\"label-button-process-item\"],\"iconRemove\":[1,\"icon-remove\"],\"iconProcess\":[1,\"icon-process\"],\"iconRetry\":[1,\"icon-retry\"],\"iconUndo\":[1,\"icon-undo\"],\"pond\":[32],\"files\":[32],\"appendFile\":[64]}],[4,\"salla-tab-content\",{\"name\":[1],\"isSelected\":[32],\"getChild\":[64]}],[4,\"salla-tab-header\",{\"name\":[1],\"activeClass\":[1,\"active-class\"],\"height\":[8],\"centered\":[4],\"isSelected\":[32],\"getChild\":[64]}],[4,\"salla-tabs\",{\"backgroundColor\":[1,\"background-color\"],\"vertical\":[4]},[[0,\"tabSelected\",\"onSelectedTab\"]]],[4,\"salla-slider\",{\"blockTitle\":[513,\"block-title\"],\"blockSubtitle\":[513,\"block-subtitle\"],\"displayAllUrl\":[513,\"display-all-url\"],\"verticalThumbs\":[516,\"vertical-thumbs\"],\"showControls\":[516,\"show-controls\"],\"controlsOuter\":[516,\"controls-outer\"],\"showThumbsControls\":[4,\"show-thumbs-controls\"],\"autoPlay\":[4,\"auto-play\"],\"slidesPerView\":[1,\"slides-per-view\"],\"pagination\":[4],\"centered\":[4],\"loop\":[4],\"type\":[1],\"sliderConfig\":[520,\"slider-config\"],\"thumbsConfig\":[520,\"thumbs-config\"],\"currentIndex\":[32],\"isEnd\":[32],\"isBeginning\":[32],\"isRTL\":[32],\"swiperScript\":[32],\"displayAllTitle\":[32],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"slideToLoop\":[64],\"slideNextLoop\":[64],\"slidePrevLoop\":[64],\"slideReset\":[64],\"slideToClosest\":[64],\"update\":[64],\"updateAutoHeight\":[64],\"updateSlides\":[64],\"updateProgress\":[64],\"updateSlidesClasses\":[64],\"getSlides\":[64]}],[4,\"salla-list-tile\",{\"href\":[1],\"target\":[1]}],[0,\"salla-tel-input\",{\"phone\":[1025],\"name\":[1],\"countryCode\":[1025,\"country-code\"],\"mobileRequired\":[32],\"countryCodeLabel\":[32],\"mobileLabel\":[32],\"tooShort\":[32],\"tooLong\":[32],\"invalidCountryCode\":[32],\"invalidNumber\":[32],\"errorMap\":[32],\"getValues\":[64],\"isValid\":[64]}],[4,\"salla-placeholder\",{\"icon\":[1],\"alignment\":[1],\"iconSize\":[1,\"icon-size\"],\"translationLoaded\":[32]}],[0,\"salla-skeleton\",{\"type\":[1],\"width\":[1],\"height\":[1]}],[4,\"salla-modal\",{\"isClosable\":[1028,\"is-closable\"],\"width\":[513],\"position\":[513],\"visible\":[516],\"hasSkeleton\":[516,\"has-skeleton\"],\"isLoading\":[1540,\"is-loading\"],\"subTitleFirst\":[4,\"sub-title-first\"],\"noPadding\":[4,\"no-padding\"],\"subTitle\":[1,\"sub-title\"],\"centered\":[4],\"iconStyle\":[1,\"icon-style\"],\"modalTitle\":[32],\"open\":[64],\"close\":[64],\"setTitle\":[64],\"loading\":[64],\"stopLoading\":[64]},[[0,\"keyup\",\"handleKeyUp\"]]],[4,\"salla-button\",{\"shape\":[513],\"color\":[513],\"fill\":[513],\"size\":[513],\"width\":[513],\"loading\":[516],\"disabled\":[516],\"loaderPosition\":[1,\"loader-position\"],\"href\":[1],\"load\":[64],\"stop\":[64],\"setText\":[64],\"disable\":[64],\"enable\":[64]}],[0,\"salla-loading\",{\"size\":[8],\"width\":[8],\"color\":[1],\"bgColor\":[1,\"bg-color\"]}]]],[\"salla-add-product-button\",[[4,\"salla-add-product-button\",{\"channels\":[513],\"quantity\":[514],\"donatingAmount\":[514,\"donating-amount\"],\"productId\":[520,\"product-id\"],\"productStatus\":[513,\"product-status\"],\"productType\":[513,\"product-type\"]}]]],[\"salla-installment\",[[0,\"salla-installment\",{\"price\":[1],\"language\":[1],\"currency\":[1],\"tamaraIsActive\":[32],\"tabbyIsActive\":[32],\"spotiiIsActive\":[32]}]]],[\"salla-loyalty-prize-item\",[[0,\"salla-loyalty-prize-item\",{\"item\":[16]}]]],[\"salla-select\",[[0,\"salla-select\",{\"label\":[1],\"items\":[16],\"itemText\":[1,\"item-text\"],\"itemValue\":[1,\"item-value\"],\"itemDisabled\":[1,\"item-disabled\"],\"size\":[1],\"value\":[1032],\"autofocus\":[4],\"clearable\":[4],\"clearIcon\":[1,\"clear-icon\"],\"color\":[1],\"flat\":[4],\"disabled\":[4],\"loading\":[4],\"loadingColor\":[1,\"loading-color\"],\"hint\":[1],\"persistHint\":[4,\"persist-hint\"],\"placeholder\":[1],\"multiple\":[4],\"autocomplete\":[4],\"required\":[4],\"chips\":[4],\"shape\":[1],\"returnObject\":[4,\"return-object\"],\"hideDetail\":[4,\"hide-detail\"]}]]]]"), options);
80
80
  });