@everymatrix/general-tutorial-slider 1.0.69

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 (44) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/general-tutorial-slider.cjs.entry.js +310 -0
  3. package/dist/cjs/general-tutorial-slider.cjs.js +25 -0
  4. package/dist/cjs/index-42afbd98.js +1243 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/loader.cjs.js +15 -0
  7. package/dist/collection/collection-manifest.json +12 -0
  8. package/dist/collection/components/general-tutorial-slider/general-tutorial-slider.css +166 -0
  9. package/dist/collection/components/general-tutorial-slider/general-tutorial-slider.js +482 -0
  10. package/dist/collection/components/general-tutorial-slider/index.js +1 -0
  11. package/dist/collection/index.js +1 -0
  12. package/dist/collection/utils/locale.utils.js +40 -0
  13. package/dist/collection/utils/utils.js +39 -0
  14. package/dist/esm/app-globals-0f993ce5.js +3 -0
  15. package/dist/esm/general-tutorial-slider.entry.js +306 -0
  16. package/dist/esm/general-tutorial-slider.js +20 -0
  17. package/dist/esm/index-a6815b2c.js +1216 -0
  18. package/dist/esm/index.js +1 -0
  19. package/dist/esm/loader.js +11 -0
  20. package/dist/general-tutorial-slider/general-tutorial-slider.esm.js +1 -0
  21. package/dist/general-tutorial-slider/index.esm.js +0 -0
  22. package/dist/general-tutorial-slider/p-20615b59.entry.js +1 -0
  23. package/dist/general-tutorial-slider/p-87756a93.js +2 -0
  24. package/dist/general-tutorial-slider/p-e1255160.js +1 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/general-tutorial-slider/general-tutorial-slider.d.ts +90 -0
  32. package/dist/types/components/general-tutorial-slider/index.d.ts +1 -0
  33. package/dist/types/components.d.ts +141 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/locale.utils.d.ts +1 -0
  37. package/dist/types/utils/utils.d.ts +9 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +26 -0
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ const globalScripts = () => {};
4
+
5
+ exports.globalScripts = globalScripts;
@@ -0,0 +1,310 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-42afbd98.js');
6
+
7
+ const DEFAULT_LANGUAGE = 'en';
8
+ const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hu', 'hr'];
9
+ const TRANSLATIONS = {
10
+ en: {
11
+ error: 'Error',
12
+ noResults: 'Loading, please wait ...',
13
+ },
14
+ hu: {
15
+ error: 'Error',
16
+ noResults: 'Loading, please wait ...',
17
+ },
18
+ ro: {
19
+ error: 'Eroare',
20
+ noResults: 'Loading, please wait ...',
21
+ },
22
+ fr: {
23
+ error: 'Error',
24
+ noResults: 'Loading, please wait ...',
25
+ },
26
+ ar: {
27
+ error: 'خطأ',
28
+ noResults: 'Loading, please wait ...',
29
+ },
30
+ hr: {
31
+ error: 'Greška',
32
+ noResults: 'Učitavanje, molimo pričekajte ...',
33
+ },
34
+ 'es-mx': {
35
+ 'error': 'Error',
36
+ 'noResults': 'Cargando, espere por favor…'
37
+ },
38
+ 'pt-br': {
39
+ 'error': 'Erro',
40
+ 'noResults': 'Carregando, espere por favor…'
41
+ }
42
+ };
43
+ const translate = (key, customLang) => {
44
+ const lang = customLang;
45
+ return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
46
+ };
47
+
48
+ /**
49
+ * @name isMobile
50
+ * @description A method that returns if the browser used to access the app is from a mobile device or not
51
+ * @param {String} userAgent window.navigator.userAgent
52
+ * @returns {Boolean} true or false
53
+ */
54
+ const isMobile = (userAgent) => {
55
+ return !!(userAgent.toLowerCase().match(/android/i) ||
56
+ userAgent.toLowerCase().match(/blackberry|bb/i) ||
57
+ userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
58
+ userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
59
+ };
60
+ const getDevice = () => {
61
+ let userAgent = window.navigator.userAgent;
62
+ if (userAgent.toLowerCase().match(/android/i)) {
63
+ return 'Android';
64
+ }
65
+ if (userAgent.toLowerCase().match(/iphone/i)) {
66
+ return 'iPhone';
67
+ }
68
+ if (userAgent.toLowerCase().match(/ipad|ipod/i)) {
69
+ return 'iPad';
70
+ }
71
+ return 'PC';
72
+ };
73
+ const getDevicePlatform = () => {
74
+ const device = getDevice();
75
+ if (device) {
76
+ if (device === 'PC') {
77
+ return 'dk';
78
+ }
79
+ else if (device === 'iPad' || device === 'iPhone') {
80
+ return 'ios';
81
+ }
82
+ else {
83
+ return 'mtWeb';
84
+ }
85
+ }
86
+ };
87
+
88
+ const generalTutorialSliderCss = ":host {\n display: block;\n}\n\n.GeneralTutorialSliderError {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n.GeneralTutorialSliderError.TitleError {\n color: red;\n}\n\nmain {\n width: 100%;\n overflow: hidden;\n}\n\n.TutorialWrapper {\n width: 100%;\n display: flex;\n flex: 0 0 auto;\n justify-content: center;\n flex-direction: column;\n overflow: auto;\n}\n\n.TutorialContent {\n display: flex;\n justify-content: center;\n flex-direction: row;\n}\n\n.TutorialItems {\n display: flex;\n transition: transform 0.4s ease-in-out;\n transform: translateX(0px);\n}\n\n.TutorialItem {\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n color: #000;\n background-color: #f5f5f5;\n border-radius: 5px;\n user-select: none;\n}\n.TutorialItem .ItemTitle {\n padding: 25px 15px;\n font-size: 18px;\n font-weight: 600;\n color: var(--emfe-w-color-secondary, #FD2839);\n}\n.TutorialItem .ItemImage {\n overflow: hidden;\n}\n.TutorialItem .ItemImage img, .TutorialItem .ItemImage video {\n height: auto;\n width: 450px;\n}\n.TutorialItem .ItemDescription {\n font-size: 14px;\n padding: 25px 15px;\n font-weight: 400;\n color: #000;\n}\n\n.SliderNavButton {\n border: 0px;\n width: 25px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.SliderNavButton svg {\n width: 20px;\n stroke: var(--emfe-w-color-secondary, #FD2839);\n}\n\n.DisabledArrow svg {\n opacity: 0.2;\n stroke: var(--emfe-w-color-secondary, #FD2839);\n pointer-events: none;\n}\n\n.DotsWrapper {\n width: 100%;\n margin: 0 auto;\n margin-top: 20px;\n height: 30px;\n}\n.DotsWrapper ul.Dots {\n display: flex;\n justify-content: center;\n padding: 0;\n}\n.DotsWrapper ul.Dots li {\n height: 10px;\n width: 10px;\n background: #ccc;\n border-radius: 50%;\n margin-left: 3px;\n margin-right: 3px;\n list-style: none;\n cursor: pointer;\n}\n.DotsWrapper ul.Dots li:hover {\n background: #bbb;\n}\n.DotsWrapper ul.Dots li.active {\n border: solid 1px var(--emfe-w-color-secondary, #FD2839);\n background: var(--emfe-w-color-secondary, #FD2839);\n}\n.DotsWrapper ul.Dots li.default {\n border: solid 1px var(--emfe-w-color-secondary, #FD2839);\n background-color: #FFF;\n}\n\n@container (max-width: 475px) {\n @media screen and (orientation: landscape) {\n .TutorialItem {\n width: 100%;\n }\n }\n main {\n height: 90cqh;\n }\n .TutorialItems {\n height: inherit;\n }\n .TutorialItem {\n min-width: 100%;\n max-height: 800px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n color: #000;\n background-color: #f5f5f5;\n border-radius: 5px;\n user-select: none;\n }\n .TutorialItem .ItemTitle {\n padding: 25px 15px;\n font-size: 18px;\n font-weight: 600;\n color: var(--emfe-w-color-secondary, #FD2839);\n }\n .TutorialItem .ItemImage {\n min-height: 200px;\n }\n .TutorialItem .ItemImage img, .TutorialItem .ItemImage video {\n height: auto;\n width: 100%;\n }\n .TutorialItem .ItemDescription {\n font-size: 14px;\n padding: 25px 15px;\n font-weight: 400;\n color: #000;\n }\n}";
89
+ const GeneralTutorialSliderStyle0 = generalTutorialSliderCss;
90
+
91
+ const GeneralTutorialSlider = class {
92
+ constructor(hostRef) {
93
+ index.registerInstance(this, hostRef);
94
+ this.userAgent = window.navigator.userAgent;
95
+ this.isMobile = isMobile(this.userAgent);
96
+ this.allElementsWidth = 0;
97
+ this.xDown = null;
98
+ this.yDown = null;
99
+ this.resizeHandler = () => {
100
+ this.recalculateItemsPerPage();
101
+ };
102
+ this.orientationChangeHandler = () => {
103
+ setTimeout(() => {
104
+ this.recalculateItemsPerPage();
105
+ }, 10);
106
+ };
107
+ this.setClientStyling = () => {
108
+ let sheet = document.createElement('style');
109
+ sheet.innerHTML = this.clientStyling;
110
+ this.stylingContainer.prepend(sheet);
111
+ };
112
+ this.setClientStylingURL = () => {
113
+ let url = new URL(this.clientStylingUrl);
114
+ let cssFile = document.createElement('style');
115
+ fetch(url.href)
116
+ .then((res) => res.text())
117
+ .then((data) => {
118
+ cssFile.innerHTML = data;
119
+ setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
120
+ })
121
+ .catch((err) => {
122
+ console.log('error ', err);
123
+ });
124
+ };
125
+ this.clientStyling = '';
126
+ this.clientStylingUrl = '';
127
+ this.language = 'en';
128
+ this.cmsEndpoint = undefined;
129
+ this.userRoles = 'everyone';
130
+ this.cmsEnv = 'stage';
131
+ this.showSliderDots = true;
132
+ this.showSliderArrows = true;
133
+ this.showSliderArrowsMobile = false;
134
+ this.enableAutoScroll = false;
135
+ this.intervalPeriod = 5000;
136
+ this.scrollItems = 1;
137
+ this.itemsPerPage = 1;
138
+ this.hasErrors = false;
139
+ this.limitStylingAppends = false;
140
+ this.isLoading = true;
141
+ this.activeIndex = 0;
142
+ this.tutorialElementWidth = 0;
143
+ }
144
+ watchEndpoint(newValue, oldValue) {
145
+ if (newValue && newValue != oldValue && this.cmsEndpoint) {
146
+ this.getGeneralTutorialSlider().then((tutorialContent) => {
147
+ this.tutorialData = tutorialContent;
148
+ });
149
+ }
150
+ }
151
+ connectedCallback() {
152
+ window.screen.orientation.addEventListener('change', this.orientationChangeHandler);
153
+ }
154
+ componentWillLoad() {
155
+ if (this.cmsEndpoint && this.language) {
156
+ return this.getGeneralTutorialSlider().then((tutorialContent) => {
157
+ this.tutorialData = tutorialContent;
158
+ });
159
+ }
160
+ }
161
+ componentDidLoad() {
162
+ window.addEventListener('resize', this.resizeHandler);
163
+ }
164
+ componentDidRender() {
165
+ this.el.addEventListener('touchstart', this.handleTouchStart.bind(this), { passive: true });
166
+ this.el.addEventListener('touchmove', this.handleTouchMove.bind(this), { passive: true });
167
+ this.recalculateItemsPerPage();
168
+ // start custom styling area
169
+ if (!this.limitStylingAppends && this.stylingContainer) {
170
+ if (this.clientStyling)
171
+ this.setClientStyling();
172
+ if (this.clientStylingUrl)
173
+ this.setClientStylingURL();
174
+ this.limitStylingAppends = true;
175
+ }
176
+ // end custom styling area
177
+ }
178
+ componentDidUpdate() {
179
+ this.recalculateItemsPerPage();
180
+ }
181
+ disconnectedCallback() {
182
+ this.el.removeEventListener('touchstart', this.handleTouchStart);
183
+ this.el.removeEventListener('touchmove', this.handleTouchMove);
184
+ window.screen.orientation.removeEventListener('change', this.orientationChangeHandler);
185
+ window.removeEventListener('resize', this.resizeHandler);
186
+ }
187
+ getGeneralTutorialSlider() {
188
+ let url = new URL(`${this.cmsEndpoint}/${this.language}/slider-onboarding`);
189
+ url.searchParams.append('env', this.cmsEnv);
190
+ url.searchParams.append('userRoles', this.userRoles);
191
+ url.searchParams.append('device', getDevicePlatform());
192
+ return new Promise((resolve, reject) => {
193
+ this.isLoading = true;
194
+ fetch(url.href)
195
+ .then((res) => res.json())
196
+ .then((tutorialContent) => {
197
+ resolve(tutorialContent);
198
+ }).catch((err) => {
199
+ console.error(err);
200
+ this.hasErrors = true;
201
+ reject(err);
202
+ }).finally(() => {
203
+ this.isLoading = false;
204
+ });
205
+ });
206
+ }
207
+ move(direction) {
208
+ this.setActive(this.activeIndex + direction);
209
+ }
210
+ ;
211
+ //calculate itemsperpage by tutorials length to avoid empty in the tutorials end
212
+ recalculateItemsPerPage() {
213
+ if (!this.tutorialsElement)
214
+ return;
215
+ this.tutorialElementWidth = this.tutorialsElement.clientWidth;
216
+ this.allElementsWidth = (this.tutorialData.length - 1) * this.tutorialElementWidth;
217
+ }
218
+ ;
219
+ goTo(index) {
220
+ let diff = this.activeIndex - index;
221
+ if (diff > 0) {
222
+ for (let i = 0; i < diff; i++) {
223
+ this.move(-1);
224
+ }
225
+ }
226
+ else {
227
+ for (let i = 0; i > diff; i--) {
228
+ this.move(1);
229
+ }
230
+ }
231
+ }
232
+ handleTouchStart(evt) {
233
+ const firstTouch = this.getTouches(evt)[0];
234
+ this.xDown = firstTouch.clientX;
235
+ this.yDown = firstTouch.clientY;
236
+ }
237
+ getTouches(evt) {
238
+ return evt.touches || evt.originalEvent.touches;
239
+ }
240
+ handleTouchMove(evt) {
241
+ if (!this.xDown || !this.yDown)
242
+ return;
243
+ let xUp = evt.touches[0].clientX;
244
+ let yUp = evt.touches[0].clientY;
245
+ let xDiff = this.xDown - xUp;
246
+ let yDiff = this.yDown - yUp;
247
+ if (Math.abs(xDiff) > Math.abs(yDiff)) {
248
+ if (xDiff > 0) {
249
+ this.move(1);
250
+ }
251
+ else {
252
+ this.move(-1);
253
+ }
254
+ }
255
+ this.xDown = null;
256
+ this.yDown = null;
257
+ }
258
+ ;
259
+ setActive(index) {
260
+ const maxLength = this.tutorialData.length;
261
+ if (index >= 0) {
262
+ if (index >= maxLength - 1) {
263
+ this.activeIndex = maxLength - 1;
264
+ }
265
+ else {
266
+ this.activeIndex = index;
267
+ }
268
+ }
269
+ else {
270
+ this.activeIndex = 0;
271
+ }
272
+ }
273
+ renderDots() {
274
+ const dots = [];
275
+ for (let index$1 = 0; index$1 < this.tutorialData.length / this.itemsPerPage; index$1++) {
276
+ dots.push(index.h("li", { class: index$1 == this.activeIndex ? 'active' : 'default', onClick: () => { this.goTo(index$1); this.setActive(index$1); } }));
277
+ }
278
+ return dots;
279
+ }
280
+ render() {
281
+ const styles = {
282
+ transform: `translate(${(this.allElementsWidth / (this.tutorialData.length - 1) * this.activeIndex) * -1}px, 0px)`
283
+ };
284
+ const itemStyle = {
285
+ width: `${this.tutorialElementWidth / this.itemsPerPage}px`
286
+ };
287
+ if (this.hasErrors) {
288
+ return (index.h("div", { class: "GeneralTutorialSliderError" }, index.h("div", { class: "TitleError" }, translate('error', this.language))));
289
+ }
290
+ if (!this.isLoading) {
291
+ return (index.h("div", { ref: el => this.stylingContainer = el }, index.h("div", { class: "TutorialWrapper" }, index.h("div", { class: "TutorialContent", ref: (el) => this.slider = el }, ((this.showSliderArrows && !this.isMobile) ||
292
+ (this.showSliderArrowsMobile && this.isMobile)) &&
293
+ index.h("div", { class: this.activeIndex === 0 ? 'SliderNavButton DisabledArrow' : 'SliderNavButton', onClick: () => this.move(-1) }, index.h("svg", { fill: "none", stroke: "var(--emfe-w-color-secondary, #FD2839)", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M15 19l-7-7 7-7" }))), index.h("main", null, index.h("div", { style: styles, ref: (el) => this.tutorialsElement = el, class: "TutorialItems" }, this.tutorialData.map((data) => {
294
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
295
+ return index.h("div", { class: "TutorialItem", style: itemStyle }, index.h("div", { class: "ItemTitle", innerHTML: data === null || data === void 0 ? void 0 : data.title }), ((_a = data === null || data === void 0 ? void 0 : data.media) === null || _a === void 0 ? void 0 : _a.images) ? (index.h("div", { class: "ItemImage" }, this.isMobile ? (index.h("img", { src: (_e = (_d = (_c = (_b = data === null || data === void 0 ? void 0 : data.media) === null || _b === void 0 ? void 0 : _b.images[0]) === null || _c === void 0 ? void 0 : _c.sources) === null || _d === void 0 ? void 0 : _d.find((source) => source.media === 'mobile')) === null || _e === void 0 ? void 0 : _e.src, alt: data === null || data === void 0 ? void 0 : data.slug })) : (index.h("img", { src: (_j = (_h = (_g = (_f = data === null || data === void 0 ? void 0 : data.media) === null || _f === void 0 ? void 0 : _f.images[0]) === null || _g === void 0 ? void 0 : _g.sources) === null || _h === void 0 ? void 0 : _h.find((source) => source.media === 'desktop')) === null || _j === void 0 ? void 0 : _j.src, alt: data === null || data === void 0 ? void 0 : data.slug })))) : ((_k = data === null || data === void 0 ? void 0 : data.media) === null || _k === void 0 ? void 0 : _k.video) ? (index.h("div", { class: "ItemImage" }, this.isMobile ? (index.h("video", { controls: true, loop: true, autoplay: true }, index.h("source", { src: (_p = (_o = (_m = (_l = data === null || data === void 0 ? void 0 : data.media) === null || _l === void 0 ? void 0 : _l.video[0]) === null || _m === void 0 ? void 0 : _m.sources) === null || _o === void 0 ? void 0 : _o.find((source) => source.media === 'mobile')) === null || _p === void 0 ? void 0 : _p.src, type: "video/mp4" }))) : (index.h("video", { controls: true, loop: true, autoplay: true }, index.h("source", { src: (_t = (_s = (_r = (_q = data === null || data === void 0 ? void 0 : data.media) === null || _q === void 0 ? void 0 : _q.video[0]) === null || _r === void 0 ? void 0 : _r.sources) === null || _s === void 0 ? void 0 : _s.find((source) => source.media === 'desktop')) === null || _t === void 0 ? void 0 : _t.src, type: "video/mp4" }))))) : null, index.h("div", { class: "ItemDescription", innerHTML: data === null || data === void 0 ? void 0 : data.content }));
296
+ }))), ((this.showSliderArrows && !this.isMobile) ||
297
+ (this.showSliderArrowsMobile && this.isMobile)) &&
298
+ index.h("div", { class: this.activeIndex === this.tutorialData.length - 1 ? ' SliderNavButton DisabledArrow disabled' : 'SliderNavButton', onClick: () => this.move(1) }, index.h("svg", { fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M9 5l7 7-7 7" }))), index.h("div", null)), this.showSliderDots &&
299
+ index.h("div", { class: "DotsWrapper" }, index.h("ul", { class: "Dots" }, this.renderDots())))));
300
+ }
301
+ }
302
+ get el() { return index.getElement(this); }
303
+ static get watchers() { return {
304
+ "cmsEndpoint": ["watchEndpoint"],
305
+ "language": ["watchEndpoint"]
306
+ }; }
307
+ };
308
+ GeneralTutorialSlider.style = GeneralTutorialSliderStyle0;
309
+
310
+ exports.general_tutorial_slider = GeneralTutorialSlider;
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-42afbd98.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ /*
9
+ Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
10
+ */
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('general-tutorial-slider.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
18
+ };
19
+
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["general-tutorial-slider.cjs",[[1,"general-tutorial-slider",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"cmsEndpoint":[513,"cms-endpoint"],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"showSliderDots":[516,"show-slider-dots"],"showSliderArrows":[516,"show-slider-arrows"],"showSliderArrowsMobile":[516,"show-slider-arrows-mobile"],"enableAutoScroll":[516,"enable-auto-scroll"],"intervalPeriod":[514,"interval-period"],"scrollItems":[520,"scroll-items"],"itemsPerPage":[514,"items-per-page"],"hasErrors":[32],"limitStylingAppends":[32],"isLoading":[32],"activeIndex":[32],"tutorialElementWidth":[32]},null,{"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"]}]]]], options);
23
+ });
24
+
25
+ exports.setNonce = index.setNonce;