pushfeedback 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/feedback-button_2.cjs.entry.js +1 -8111
- package/dist/cjs/index-fb471064.js +1 -0
- package/dist/cjs/index.cjs.js +1 -2
- package/dist/cjs/loader.cjs.js +1 -22
- package/dist/cjs/pushfeedback.cjs.js +1 -23
- package/dist/collection/components/feedback-button/feedback-button.js +1 -343
- package/dist/collection/components/feedback-modal/feedback-modal.css +3 -1
- package/dist/collection/components/feedback-modal/feedback-modal.js +1 -529
- package/dist/collection/index.js +1 -1
- package/dist/components/feedback-button.js +1 -104
- package/dist/components/feedback-modal.js +1 -6
- package/dist/components/feedback-modal2.js +1 -8085
- package/dist/components/index.js +1 -3
- package/dist/esm/feedback-button_2.entry.js +1 -8106
- package/dist/esm/index-16e15d67.js +1 -0
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +1 -18
- package/dist/esm/polyfills/core-js.js +1 -11
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +1 -79
- package/dist/esm/polyfills/es5-html-element.js +1 -1
- package/dist/esm/polyfills/index.js +1 -34
- package/dist/esm/polyfills/system.js +1 -6
- package/dist/esm/pushfeedback.js +1 -18
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/pushfeedback/p-63230cb5.js +1 -0
- package/dist/pushfeedback/p-e42ab9f6.entry.js +1 -0
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +2 -0
- package/package.json +2 -2
- package/dist/cjs/index-d5ac8167.js +0 -1469
- package/dist/esm/index-74109694.js +0 -1441
- package/dist/pushfeedback/p-38d135e1.js +0 -2
- package/dist/pushfeedback/p-73488a64.entry.js +0 -22
|
@@ -1,529 +1 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import html2canvas from 'html2canvas';
|
|
3
|
-
export class FeedbackModal {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.handleSubmit = async (event) => {
|
|
6
|
-
event.preventDefault();
|
|
7
|
-
this.resetOverflow();
|
|
8
|
-
this.showScreenshotMode = false;
|
|
9
|
-
this.showModal = false;
|
|
10
|
-
this.sending = true;
|
|
11
|
-
let encodedScreenshot = "";
|
|
12
|
-
if (this.encodedScreenshot) {
|
|
13
|
-
await this.encodedScreenshot.then((data) => {
|
|
14
|
-
encodedScreenshot = data;
|
|
15
|
-
}).catch((error) => {
|
|
16
|
-
console.log(error);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
try {
|
|
20
|
-
const res = await fetch('https://app.pushfeedback.com/api/feedback/', {
|
|
21
|
-
method: 'POST',
|
|
22
|
-
body: JSON.stringify({
|
|
23
|
-
url: window.location.href,
|
|
24
|
-
message: this.formMessage,
|
|
25
|
-
email: this.formEmail,
|
|
26
|
-
project: this.project,
|
|
27
|
-
screenshot: encodedScreenshot
|
|
28
|
-
}),
|
|
29
|
-
headers: {
|
|
30
|
-
'Content-Type': 'application/json'
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
if (res.status === 201) {
|
|
34
|
-
this.formSuccess = true;
|
|
35
|
-
this.formError = false;
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
this.formSuccess = false;
|
|
39
|
-
this.formError = true;
|
|
40
|
-
this.formErrorStatus = res.status;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
catch (error) {
|
|
44
|
-
console.log(error);
|
|
45
|
-
this.formSuccess = false;
|
|
46
|
-
this.formError = true;
|
|
47
|
-
this.formErrorStatus = 500;
|
|
48
|
-
}
|
|
49
|
-
finally {
|
|
50
|
-
this.sending = false;
|
|
51
|
-
this.showModal = true;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
this.close = () => {
|
|
55
|
-
this.sending = false;
|
|
56
|
-
this.showModal = false;
|
|
57
|
-
this.showScreenshotMode = false;
|
|
58
|
-
this.hasSelectedElement = false;
|
|
59
|
-
this.encodedScreenshot = null;
|
|
60
|
-
this.formSuccess = false;
|
|
61
|
-
this.formError = false;
|
|
62
|
-
this.formErrorStatus = 500;
|
|
63
|
-
this.formMessage = '';
|
|
64
|
-
this.formEmail = '';
|
|
65
|
-
this.resetOverflow();
|
|
66
|
-
};
|
|
67
|
-
this.openScreenShot = () => {
|
|
68
|
-
this.hasSelectedElement = false;
|
|
69
|
-
this.showModal = false;
|
|
70
|
-
this.showScreenshotMode = true;
|
|
71
|
-
this.encodedScreenshot = null;
|
|
72
|
-
this.resetOverflow();
|
|
73
|
-
};
|
|
74
|
-
this.closeScreenShot = () => {
|
|
75
|
-
this.showModal = false;
|
|
76
|
-
this.showScreenshotMode = false;
|
|
77
|
-
this.hasSelectedElement = false;
|
|
78
|
-
this.encodedScreenshot = null;
|
|
79
|
-
this.overlay.style.display = 'none';
|
|
80
|
-
this.resetOverflow();
|
|
81
|
-
};
|
|
82
|
-
this.handleMouseOverScreenShot = (event) => {
|
|
83
|
-
event.preventDefault();
|
|
84
|
-
if (this.hasSelectedElement)
|
|
85
|
-
return;
|
|
86
|
-
this.overlay.style.display = 'none';
|
|
87
|
-
this.screenshotModal.style.display = 'none';
|
|
88
|
-
const elementUnder = document.elementFromPoint(event.clientX, event.clientY);
|
|
89
|
-
const rect = elementUnder.getBoundingClientRect();
|
|
90
|
-
this.screenshotModal.style.display = '';
|
|
91
|
-
// Get the bounding box of the element selected
|
|
92
|
-
this.elementSelected.style.position = "absolute";
|
|
93
|
-
this.elementSelected.style.left = `${rect.left}px`;
|
|
94
|
-
this.elementSelected.style.top = `${rect.top}px`;
|
|
95
|
-
this.elementSelected.style.width = `${rect.width}px`;
|
|
96
|
-
this.elementSelected.style.height = `${rect.height}px`;
|
|
97
|
-
this.elementSelected.classList.add('feedback-modal-element-hover');
|
|
98
|
-
// Set the background color of nonselected areas
|
|
99
|
-
// Top
|
|
100
|
-
this.topSide.style.position = "absolute";
|
|
101
|
-
this.topSide.style.left = `${rect.left}px`;
|
|
102
|
-
this.topSide.style.top = '0px';
|
|
103
|
-
this.topSide.style.width = `${rect.width + 8}px`;
|
|
104
|
-
this.topSide.style.height = `${rect.top}px`;
|
|
105
|
-
this.topSide.style.backgroundColor = "rgba(0, 0, 0, 0.3)";
|
|
106
|
-
// Left
|
|
107
|
-
this.leftSide.style.position = "absolute";
|
|
108
|
-
this.leftSide.style.left = '0px';
|
|
109
|
-
this.leftSide.style.top = '0px';
|
|
110
|
-
this.leftSide.style.width = `${rect.left}px`;
|
|
111
|
-
this.leftSide.style.height = '100vh';
|
|
112
|
-
this.leftSide.style.backgroundColor = "rgba(0, 0, 0, 0.3)";
|
|
113
|
-
// Bottom
|
|
114
|
-
this.bottomSide.style.position = "absolute";
|
|
115
|
-
this.bottomSide.style.left = `${rect.left}px`;
|
|
116
|
-
this.bottomSide.style.top = `${rect.bottom + 8}px`;
|
|
117
|
-
this.bottomSide.style.width = `${rect.width + 8}px`;
|
|
118
|
-
this.bottomSide.style.height = '100vh';
|
|
119
|
-
this.bottomSide.style.backgroundColor = "rgba(0, 0, 0, 0.3)";
|
|
120
|
-
// Right
|
|
121
|
-
this.rightSide.style.position = "absolute";
|
|
122
|
-
this.rightSide.style.left = `${rect.right + 8}px`;
|
|
123
|
-
;
|
|
124
|
-
this.rightSide.style.top = '0px';
|
|
125
|
-
this.rightSide.style.width = '100%';
|
|
126
|
-
this.rightSide.style.height = '100vh';
|
|
127
|
-
this.rightSide.style.backgroundColor = "rgba(0, 0, 0, 0.3)";
|
|
128
|
-
// Restore the visibility of the screenshot-modal
|
|
129
|
-
this.screenshotModal.style.backgroundColor = 'transparent';
|
|
130
|
-
};
|
|
131
|
-
this.handleMouseClickedSelectedElement = (event) => {
|
|
132
|
-
event.preventDefault();
|
|
133
|
-
if (this.elementSelected)
|
|
134
|
-
this.elementSelected.classList.add('feedback-modal-element-selected');
|
|
135
|
-
let top = this.elementSelected.getBoundingClientRect().top;
|
|
136
|
-
this.elementSelected.style.top = `${top + window.pageYOffset}px`;
|
|
137
|
-
const clonedElementSelected = this.elementSelected.cloneNode(true);
|
|
138
|
-
document.body.appendChild(clonedElementSelected);
|
|
139
|
-
this.elementSelected.style.top = `${top}px`;
|
|
140
|
-
this.encodedScreenshot = html2canvas(document.body).then(canvas => {
|
|
141
|
-
const dataUrl = canvas.toDataURL();
|
|
142
|
-
document.body.removeChild(clonedElementSelected);
|
|
143
|
-
return dataUrl;
|
|
144
|
-
})
|
|
145
|
-
.catch(function (error) {
|
|
146
|
-
console.error(error);
|
|
147
|
-
return "";
|
|
148
|
-
});
|
|
149
|
-
const page = document.getElementsByTagName('html')[0];
|
|
150
|
-
page.style.overflow = 'hidden';
|
|
151
|
-
this.hasSelectedElement = true;
|
|
152
|
-
this.overlay.style.display = 'block';
|
|
153
|
-
this.showModal = true;
|
|
154
|
-
};
|
|
155
|
-
this.sending = false;
|
|
156
|
-
this.formMessage = '';
|
|
157
|
-
this.formEmail = '';
|
|
158
|
-
this.formSuccess = false;
|
|
159
|
-
this.formError = false;
|
|
160
|
-
this.formErrorStatus = 500;
|
|
161
|
-
this.encodedScreenshot = undefined;
|
|
162
|
-
this.modalTitle = 'Share your feedback';
|
|
163
|
-
this.modalTitleSuccess = 'Thanks for your feedback!';
|
|
164
|
-
this.modalTitleError = "Oops! We didn't receive your feedback. Please try again later.";
|
|
165
|
-
this.modalTitleError403 = "Oops! The request URL does not match the one defined in PushFeedback for this project.";
|
|
166
|
-
this.modalTitleError404 = "Oops! We could not find the provided project id in PushFeedback.";
|
|
167
|
-
this.modalPosition = 'center';
|
|
168
|
-
this.sendButtonText = 'Send';
|
|
169
|
-
this.project = '';
|
|
170
|
-
this.screenshotButtonTooltipText = 'Take a Screenshot';
|
|
171
|
-
this.screenshotTopbarText = 'SELECT AN ELEMENT ON THE PAGE';
|
|
172
|
-
this.email = '';
|
|
173
|
-
this.emailPlaceholder = 'Email address (optional)';
|
|
174
|
-
this.messagePlaceholder = 'How could this page be more helpful?';
|
|
175
|
-
this.showModal = false;
|
|
176
|
-
this.showScreenshotMode = false;
|
|
177
|
-
this.hasSelectedElement = false;
|
|
178
|
-
this.hideScreenshotButton = false;
|
|
179
|
-
}
|
|
180
|
-
componentWillLoad() {
|
|
181
|
-
this.formEmail = this.email;
|
|
182
|
-
}
|
|
183
|
-
resetOverflow() {
|
|
184
|
-
const page = document.getElementsByTagName('html')[0];
|
|
185
|
-
page.style.overflow = 'inherit';
|
|
186
|
-
}
|
|
187
|
-
handleMessageInput(event) {
|
|
188
|
-
this.formMessage = event.target.value;
|
|
189
|
-
}
|
|
190
|
-
handleEmailInput(event) {
|
|
191
|
-
this.formEmail = event.target.value;
|
|
192
|
-
}
|
|
193
|
-
render() {
|
|
194
|
-
return (h("div", { class: "feedback-modal-wrapper" }, this.showScreenshotMode && (h("div", { class: "feedback-modal-screenshot", ref: el => (this.screenshotModal = el), onMouseMove: this.handleMouseOverScreenShot }, h("div", { class: "feedback-modal-screenshot-element-selected", ref: el => (this.elementSelected = el), onClick: this.handleMouseClickedSelectedElement }), h("div", { class: "top-side", ref: el => (this.topSide = el) }), h("div", { class: "left-side", ref: el => (this.leftSide = el) }), h("div", { class: "bottom-side", ref: el => (this.bottomSide = el) }), h("div", { class: "right-side", ref: el => (this.rightSide = el) }), h("div", { class: "feedback-modal-screenshot-header", onClick: this.closeScreenShot }, h("span", null, this.screenshotTopbarText), h("span", { class: "feedback-modal-screenshot-close" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#fff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-x" }, h("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { class: "feedback-modal-screenshot-overlay", ref: el => (this.overlay = el) }))), this.showModal && (h("div", { class: `feedback-modal-content feedback-modal-content--${this.modalPosition}`, ref: el => (this.modalContent = el) }, h("div", { class: "feedback-modal-header" }, !this.formSuccess && !this.formError ? (h("span", null, this.modalTitle)) : this.formSuccess ? (h("span", { class: "text-center" }, this.modalTitleSuccess)) : this.formError && this.formErrorStatus == 500 ? (h("span", { class: "text-center" }, this.modalTitleError)) : this.formError && this.formErrorStatus == 403 ? (h("span", { class: "text-center" }, this.modalTitleError403)) : this.formError && this.formErrorStatus == 404 ? (h("span", { class: "text-center" }, this.modalTitleError404)) : h("span", null), h("button", { class: "feedback-modal-close", onClick: this.close }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ccc", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-x" }, h("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { class: "feedback-modal-body" }, !this.formSuccess && !this.formError ? (h("form", { onSubmit: this.handleSubmit }, h("div", { class: "feedback-modal-text" }, h("textarea", { placeholder: this.messagePlaceholder, value: this.formMessage, onInput: (event) => this.handleMessageInput(event), required: true })), !this.email && (h("div", { class: "feedback-modal-email" }, h("input", { type: "email", placeholder: this.emailPlaceholder, onInput: (event) => this.handleEmailInput(event), value: this.formEmail }))), h("div", { class: `feedback-modal-buttons ${this.hideScreenshotButton ? 'single' : ''}` }, !this.hideScreenshotButton && (h("button", { type: "button", class: `button${this.encodedScreenshot ? " active" : ""}`, title: this.screenshotButtonTooltipText, onClick: this.openScreenShot, disabled: this.sending }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-camera" }, h("path", { d: "M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" }), h("circle", { cx: "12", cy: "13", r: "4" })))), h("button", { class: "button", type: "submit", disabled: this.sending }, this.sendButtonText)))) : h("span", null)), h("div", { class: "feedback-modal-footer" }, h("div", { class: "feedback-logo" }, h("svg", { class: "w-8 h-8", viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg" }, h("defs", null, h("radialGradient", { cx: "21.152%", cy: "86.063%", fx: "21.152%", fy: "86.063%", r: "79.941%", id: "footer-logo" }, h("stop", { "stop-color": "#4FD1C5", offset: "0%" }), h("stop", { "stop-color": "#81E6D9", offset: "25.871%" }), h("stop", { "stop-color": "#338CF5", offset: "100%" }))), h("rect", { width: "32", height: "32", rx: "16", fill: "url(#footer-logo)", "fill-rule": "nonzero" })), " ", h("a", { href: "https://pushfeedback.com" }, "PushFeedback")))))));
|
|
195
|
-
}
|
|
196
|
-
static get is() { return "feedback-modal"; }
|
|
197
|
-
static get encapsulation() { return "shadow"; }
|
|
198
|
-
static get originalStyleUrls() {
|
|
199
|
-
return {
|
|
200
|
-
"$": ["feedback-modal.css"]
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
static get styleUrls() {
|
|
204
|
-
return {
|
|
205
|
-
"$": ["feedback-modal.css"]
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
static get properties() {
|
|
209
|
-
return {
|
|
210
|
-
"modalTitle": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"mutable": false,
|
|
213
|
-
"complexType": {
|
|
214
|
-
"original": "string",
|
|
215
|
-
"resolved": "string",
|
|
216
|
-
"references": {}
|
|
217
|
-
},
|
|
218
|
-
"required": false,
|
|
219
|
-
"optional": false,
|
|
220
|
-
"docs": {
|
|
221
|
-
"tags": [],
|
|
222
|
-
"text": ""
|
|
223
|
-
},
|
|
224
|
-
"attribute": "modal-title",
|
|
225
|
-
"reflect": false,
|
|
226
|
-
"defaultValue": "'Share your feedback'"
|
|
227
|
-
},
|
|
228
|
-
"modalTitleSuccess": {
|
|
229
|
-
"type": "string",
|
|
230
|
-
"mutable": false,
|
|
231
|
-
"complexType": {
|
|
232
|
-
"original": "string",
|
|
233
|
-
"resolved": "string",
|
|
234
|
-
"references": {}
|
|
235
|
-
},
|
|
236
|
-
"required": false,
|
|
237
|
-
"optional": false,
|
|
238
|
-
"docs": {
|
|
239
|
-
"tags": [],
|
|
240
|
-
"text": ""
|
|
241
|
-
},
|
|
242
|
-
"attribute": "modal-title-success",
|
|
243
|
-
"reflect": false,
|
|
244
|
-
"defaultValue": "'Thanks for your feedback!'"
|
|
245
|
-
},
|
|
246
|
-
"modalTitleError": {
|
|
247
|
-
"type": "string",
|
|
248
|
-
"mutable": false,
|
|
249
|
-
"complexType": {
|
|
250
|
-
"original": "string",
|
|
251
|
-
"resolved": "string",
|
|
252
|
-
"references": {}
|
|
253
|
-
},
|
|
254
|
-
"required": false,
|
|
255
|
-
"optional": false,
|
|
256
|
-
"docs": {
|
|
257
|
-
"tags": [],
|
|
258
|
-
"text": ""
|
|
259
|
-
},
|
|
260
|
-
"attribute": "modal-title-error",
|
|
261
|
-
"reflect": false,
|
|
262
|
-
"defaultValue": "\"Oops! We didn't receive your feedback. Please try again later.\""
|
|
263
|
-
},
|
|
264
|
-
"modalTitleError403": {
|
|
265
|
-
"type": "string",
|
|
266
|
-
"mutable": false,
|
|
267
|
-
"complexType": {
|
|
268
|
-
"original": "string",
|
|
269
|
-
"resolved": "string",
|
|
270
|
-
"references": {}
|
|
271
|
-
},
|
|
272
|
-
"required": false,
|
|
273
|
-
"optional": false,
|
|
274
|
-
"docs": {
|
|
275
|
-
"tags": [],
|
|
276
|
-
"text": ""
|
|
277
|
-
},
|
|
278
|
-
"attribute": "modal-title-error-4-0-3",
|
|
279
|
-
"reflect": false,
|
|
280
|
-
"defaultValue": "\"Oops! The request URL does not match the one defined in PushFeedback for this project.\""
|
|
281
|
-
},
|
|
282
|
-
"modalTitleError404": {
|
|
283
|
-
"type": "string",
|
|
284
|
-
"mutable": false,
|
|
285
|
-
"complexType": {
|
|
286
|
-
"original": "string",
|
|
287
|
-
"resolved": "string",
|
|
288
|
-
"references": {}
|
|
289
|
-
},
|
|
290
|
-
"required": false,
|
|
291
|
-
"optional": false,
|
|
292
|
-
"docs": {
|
|
293
|
-
"tags": [],
|
|
294
|
-
"text": ""
|
|
295
|
-
},
|
|
296
|
-
"attribute": "modal-title-error-4-0-4",
|
|
297
|
-
"reflect": false,
|
|
298
|
-
"defaultValue": "\"Oops! We could not find the provided project id in PushFeedback.\""
|
|
299
|
-
},
|
|
300
|
-
"modalPosition": {
|
|
301
|
-
"type": "string",
|
|
302
|
-
"mutable": false,
|
|
303
|
-
"complexType": {
|
|
304
|
-
"original": "string",
|
|
305
|
-
"resolved": "string",
|
|
306
|
-
"references": {}
|
|
307
|
-
},
|
|
308
|
-
"required": false,
|
|
309
|
-
"optional": false,
|
|
310
|
-
"docs": {
|
|
311
|
-
"tags": [],
|
|
312
|
-
"text": ""
|
|
313
|
-
},
|
|
314
|
-
"attribute": "modal-position",
|
|
315
|
-
"reflect": false,
|
|
316
|
-
"defaultValue": "'center'"
|
|
317
|
-
},
|
|
318
|
-
"sendButtonText": {
|
|
319
|
-
"type": "string",
|
|
320
|
-
"mutable": false,
|
|
321
|
-
"complexType": {
|
|
322
|
-
"original": "string",
|
|
323
|
-
"resolved": "string",
|
|
324
|
-
"references": {}
|
|
325
|
-
},
|
|
326
|
-
"required": false,
|
|
327
|
-
"optional": false,
|
|
328
|
-
"docs": {
|
|
329
|
-
"tags": [],
|
|
330
|
-
"text": ""
|
|
331
|
-
},
|
|
332
|
-
"attribute": "send-button-text",
|
|
333
|
-
"reflect": false,
|
|
334
|
-
"defaultValue": "'Send'"
|
|
335
|
-
},
|
|
336
|
-
"project": {
|
|
337
|
-
"type": "string",
|
|
338
|
-
"mutable": false,
|
|
339
|
-
"complexType": {
|
|
340
|
-
"original": "string",
|
|
341
|
-
"resolved": "string",
|
|
342
|
-
"references": {}
|
|
343
|
-
},
|
|
344
|
-
"required": false,
|
|
345
|
-
"optional": false,
|
|
346
|
-
"docs": {
|
|
347
|
-
"tags": [],
|
|
348
|
-
"text": ""
|
|
349
|
-
},
|
|
350
|
-
"attribute": "project",
|
|
351
|
-
"reflect": false,
|
|
352
|
-
"defaultValue": "''"
|
|
353
|
-
},
|
|
354
|
-
"screenshotButtonTooltipText": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"mutable": false,
|
|
357
|
-
"complexType": {
|
|
358
|
-
"original": "string",
|
|
359
|
-
"resolved": "string",
|
|
360
|
-
"references": {}
|
|
361
|
-
},
|
|
362
|
-
"required": false,
|
|
363
|
-
"optional": false,
|
|
364
|
-
"docs": {
|
|
365
|
-
"tags": [],
|
|
366
|
-
"text": ""
|
|
367
|
-
},
|
|
368
|
-
"attribute": "screenshot-button-tooltip-text",
|
|
369
|
-
"reflect": false,
|
|
370
|
-
"defaultValue": "'Take a Screenshot'"
|
|
371
|
-
},
|
|
372
|
-
"screenshotTopbarText": {
|
|
373
|
-
"type": "string",
|
|
374
|
-
"mutable": false,
|
|
375
|
-
"complexType": {
|
|
376
|
-
"original": "string",
|
|
377
|
-
"resolved": "string",
|
|
378
|
-
"references": {}
|
|
379
|
-
},
|
|
380
|
-
"required": false,
|
|
381
|
-
"optional": false,
|
|
382
|
-
"docs": {
|
|
383
|
-
"tags": [],
|
|
384
|
-
"text": ""
|
|
385
|
-
},
|
|
386
|
-
"attribute": "screenshot-topbar-text",
|
|
387
|
-
"reflect": false,
|
|
388
|
-
"defaultValue": "'SELECT AN ELEMENT ON THE PAGE'"
|
|
389
|
-
},
|
|
390
|
-
"email": {
|
|
391
|
-
"type": "string",
|
|
392
|
-
"mutable": false,
|
|
393
|
-
"complexType": {
|
|
394
|
-
"original": "string",
|
|
395
|
-
"resolved": "string",
|
|
396
|
-
"references": {}
|
|
397
|
-
},
|
|
398
|
-
"required": false,
|
|
399
|
-
"optional": false,
|
|
400
|
-
"docs": {
|
|
401
|
-
"tags": [],
|
|
402
|
-
"text": ""
|
|
403
|
-
},
|
|
404
|
-
"attribute": "email",
|
|
405
|
-
"reflect": false,
|
|
406
|
-
"defaultValue": "''"
|
|
407
|
-
},
|
|
408
|
-
"emailPlaceholder": {
|
|
409
|
-
"type": "string",
|
|
410
|
-
"mutable": false,
|
|
411
|
-
"complexType": {
|
|
412
|
-
"original": "string",
|
|
413
|
-
"resolved": "string",
|
|
414
|
-
"references": {}
|
|
415
|
-
},
|
|
416
|
-
"required": false,
|
|
417
|
-
"optional": false,
|
|
418
|
-
"docs": {
|
|
419
|
-
"tags": [],
|
|
420
|
-
"text": ""
|
|
421
|
-
},
|
|
422
|
-
"attribute": "email-placeholder",
|
|
423
|
-
"reflect": false,
|
|
424
|
-
"defaultValue": "'Email address (optional)'"
|
|
425
|
-
},
|
|
426
|
-
"messagePlaceholder": {
|
|
427
|
-
"type": "string",
|
|
428
|
-
"mutable": false,
|
|
429
|
-
"complexType": {
|
|
430
|
-
"original": "string",
|
|
431
|
-
"resolved": "string",
|
|
432
|
-
"references": {}
|
|
433
|
-
},
|
|
434
|
-
"required": false,
|
|
435
|
-
"optional": false,
|
|
436
|
-
"docs": {
|
|
437
|
-
"tags": [],
|
|
438
|
-
"text": ""
|
|
439
|
-
},
|
|
440
|
-
"attribute": "message-placeholder",
|
|
441
|
-
"reflect": false,
|
|
442
|
-
"defaultValue": "'How could this page be more helpful?'"
|
|
443
|
-
},
|
|
444
|
-
"showModal": {
|
|
445
|
-
"type": "boolean",
|
|
446
|
-
"mutable": true,
|
|
447
|
-
"complexType": {
|
|
448
|
-
"original": "boolean",
|
|
449
|
-
"resolved": "boolean",
|
|
450
|
-
"references": {}
|
|
451
|
-
},
|
|
452
|
-
"required": false,
|
|
453
|
-
"optional": false,
|
|
454
|
-
"docs": {
|
|
455
|
-
"tags": [],
|
|
456
|
-
"text": ""
|
|
457
|
-
},
|
|
458
|
-
"attribute": "show-modal",
|
|
459
|
-
"reflect": true,
|
|
460
|
-
"defaultValue": "false"
|
|
461
|
-
},
|
|
462
|
-
"showScreenshotMode": {
|
|
463
|
-
"type": "boolean",
|
|
464
|
-
"mutable": true,
|
|
465
|
-
"complexType": {
|
|
466
|
-
"original": "boolean",
|
|
467
|
-
"resolved": "boolean",
|
|
468
|
-
"references": {}
|
|
469
|
-
},
|
|
470
|
-
"required": false,
|
|
471
|
-
"optional": false,
|
|
472
|
-
"docs": {
|
|
473
|
-
"tags": [],
|
|
474
|
-
"text": ""
|
|
475
|
-
},
|
|
476
|
-
"attribute": "show-screenshot-mode",
|
|
477
|
-
"reflect": true,
|
|
478
|
-
"defaultValue": "false"
|
|
479
|
-
},
|
|
480
|
-
"hasSelectedElement": {
|
|
481
|
-
"type": "boolean",
|
|
482
|
-
"mutable": true,
|
|
483
|
-
"complexType": {
|
|
484
|
-
"original": "boolean",
|
|
485
|
-
"resolved": "boolean",
|
|
486
|
-
"references": {}
|
|
487
|
-
},
|
|
488
|
-
"required": false,
|
|
489
|
-
"optional": false,
|
|
490
|
-
"docs": {
|
|
491
|
-
"tags": [],
|
|
492
|
-
"text": ""
|
|
493
|
-
},
|
|
494
|
-
"attribute": "has-selected-element",
|
|
495
|
-
"reflect": true,
|
|
496
|
-
"defaultValue": "false"
|
|
497
|
-
},
|
|
498
|
-
"hideScreenshotButton": {
|
|
499
|
-
"type": "boolean",
|
|
500
|
-
"mutable": false,
|
|
501
|
-
"complexType": {
|
|
502
|
-
"original": "boolean",
|
|
503
|
-
"resolved": "boolean",
|
|
504
|
-
"references": {}
|
|
505
|
-
},
|
|
506
|
-
"required": false,
|
|
507
|
-
"optional": false,
|
|
508
|
-
"docs": {
|
|
509
|
-
"tags": [],
|
|
510
|
-
"text": ""
|
|
511
|
-
},
|
|
512
|
-
"attribute": "hide-screenshot-button",
|
|
513
|
-
"reflect": false,
|
|
514
|
-
"defaultValue": "false"
|
|
515
|
-
}
|
|
516
|
-
};
|
|
517
|
-
}
|
|
518
|
-
static get states() {
|
|
519
|
-
return {
|
|
520
|
-
"sending": {},
|
|
521
|
-
"formMessage": {},
|
|
522
|
-
"formEmail": {},
|
|
523
|
-
"formSuccess": {},
|
|
524
|
-
"formError": {},
|
|
525
|
-
"formErrorStatus": {},
|
|
526
|
-
"encodedScreenshot": {}
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
}
|
|
1
|
+
const _0x1919a3=_0x38d2;(function(_0x549275,_0x2b5c9c){const _0x4df4f4=_0x38d2,_0xa66f76=_0x549275();while(!![]){try{const _0x4c717b=-parseInt(_0x4df4f4(0x2bd))/0x1*(parseInt(_0x4df4f4(0x29b))/0x2)+parseInt(_0x4df4f4(0x24d))/0x3*(-parseInt(_0x4df4f4(0x2a4))/0x4)+parseInt(_0x4df4f4(0x2db))/0x5*(parseInt(_0x4df4f4(0x2e4))/0x6)+-parseInt(_0x4df4f4(0x2cf))/0x7+parseInt(_0x4df4f4(0x28e))/0x8*(parseInt(_0x4df4f4(0x22c))/0x9)+-parseInt(_0x4df4f4(0x1ef))/0xa+parseInt(_0x4df4f4(0x1f8))/0xb*(parseInt(_0x4df4f4(0x243))/0xc);if(_0x4c717b===_0x2b5c9c)break;else _0xa66f76['push'](_0xa66f76['shift']());}catch(_0x5c39cc){_0xa66f76['push'](_0xa66f76['shift']());}}}(_0x1626,0x9e280));import{h}from'@stencil/core';function _0x1626(){const _0x69a117=['Send','flkJs','SzBhU','79.941%','nLdbk','feedback-modal-text','encodedScreenshot','ArtrG','zXikI','\x27Take\x20a\x20Screenshot\x27','14486BVVONH','showModal','GIXuu','feedback-modal-screenshot-element-selected','display','submit','openScreenShot','circle','100vh','15184Cmguas','error','feedback-modal-element-hover','FpAAC','right','modal-title-error','SELECT\x20AN\x20ELEMENT\x20ON\x20THE\x20PAGE','hasSelectedElement','value','86.063%','seSdj','xliuZ','BxMoc','SLXLL','CNWBi','tTJqi','UlaMX','fetchProjectData','DVZJK','modal-position','block','YaZIQ','\x22Oops!\x20We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.\x22','pageYOffset','xetnL','118qSawzZ','oQyEI','ScLKK','lgGbH','ZvoeO','whitelabel','round','status','rightSide','closeScreenShot','dPEMs','formError','xbrtT','topSide','RLtjm','CXBwF','zwSti','false','4347560hpXapa','modal-title-success','handleSubmit','Take\x20a\x20Screenshot','email','https://app.pushfeedback.com/api/projects/','radialGradient','input','feedback-modal.css','CrsGR','left-side','modalTitle','40915fucWoX','split','screenshotModal','zNMRs','target','send-button-text','feather\x20feather-x','bottom-side','cloneNode','126WZqiYM','100%','modal-title','hZNWs','EGMfN','handleMouseClickedSelectedElement','feedback-modal-screenshot-close','location','ymdzN','leftSide','modalTitleError403','transparent','log','mamLX','handleMessageInput','feedback-modal-footer','width','CtIPu','position','DcENM','body','modalPosition','FxECL','#ccc','encapsulation','POST','M23\x2019a2\x202\x200\x200\x201-2\x202H3a2\x202\x200\x200\x201-2-2V8a2\x202\x200\x200\x201\x202-2h4l2-3h6l2\x203h4a2\x202\x200\x200\x201\x202\x202z','hjAIO','classList','elementFromPoint','4817550lTzKLi','showScreenshotMode','right-side','oWzzy','Oops!\x20We\x20didn\x27t\x20receive\x20your\x20feedback.\x20Please\x20try\x20again\x20later.','BWndC','Email\x20address\x20(optional)','handleMouseOverScreenShot','MGPNC','1727XUxdVJ','boolean','height','feedback-modal-email','adtLk','button','srluW','dEJlu','IDDZI','kJhfM','elementSelected','svg','resetOverflow','ezoGz','https://app.pushfeedback.com/api/feedback/','feedback-modal-screenshot','modalTitleError404','BEVVx','backgroundColor','Bbhzx','MoFow','GIhBu','lZXga','close','wAfLP','vBFvl','div','w-8\x20h-8','rgba(0,\x200,\x200,\x200.3)','hideScreenshotButton','feNjD','YwpXA','gPuNJ','getElementsByTagName','style','oCoyj','#4FD1C5','CugbP','inherit','hQZYR','TSolp','rBRSl','Oops!\x20We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.','span','bottomSide','http://www.w3.org/2000/svg','fHxFO','QFfGb','nzfgi','ihVtY','screenshotTopbarText','currentColor','18qVnRUb','project','top','bottom','MdJDZ','sxqSu','preventDefault','vDKzN','FhZrg','properties','screenshotButtonTooltipText','stop','formMessage','\x27Share\x20your\x20feedback\x27','EvQuP','25.871%','render','feedback-modal-header','absolute','BJQDs','ZwZhq','hAUFz','application/json','199968dVFsKJ','modalTitleSuccess','iGltP','string','defs','has-selected-element','hide-screenshot-button','oPEMW','\x27center\x27','removeChild','906glWrRR','sending','\x27Send\x27','screenshot-topbar-text','qvGps','0\x200\x2024\x2024','none','catch','screenshot-button-tooltip-text','ZjOJa','cpvxs','Thanks\x20for\x20your\x20feedback!','0px','left','feedback-modal-close','WvbUx','email-placeholder','lFBkQ','clientX','modalTitleError','states','formEmail','JmraK','feedback-modal-body','single','CurZw','https://pushfeedback.com','hLhxh','xuKXL','html','UfNxJ','\x20active','hidden','then','sgRez','emailPlaceholder','wekTd','feedback-modal-wrapper','#fff','0\x200\x2032\x2032','KRvOk','feedback-modal-content\x20feedback-modal-content--','line','tRiXJ','componentWillLoad','oRirk','zRSrG','xnGHR','LMdHS','overlay','center','message-placeholder','overflow','feedback-modal-screenshot-overlay','EZnSL','sJAeR','\x22Oops!\x20We\x20didn\x27t\x20receive\x20your\x20feedback.\x20Please\x20try\x20again\x20later.\x22','add','formErrorStatus','MHtHa','bZfSM','stringify','Share\x20your\x20feedback','formSuccess','DTEbY','3854472yLZRwL','shadow','getBoundingClientRect'];_0x1626=function(){return _0x69a117;};return _0x1626();}import _0x14df91 from'html2canvas';function _0x38d2(_0x4b3963,_0x50de8f){const _0x16263c=_0x1626();return _0x38d2=function(_0x38d2d2,_0x9370e0){_0x38d2d2=_0x38d2d2-0x1d3;let _0x2ee87c=_0x16263c[_0x38d2d2];return _0x2ee87c;},_0x38d2(_0x4b3963,_0x50de8f);}export class FeedbackModal{constructor(){const _0x132611=_0x38d2,_0x297e8b={'SJumw':function(_0xf04be1,_0x9ea8b3,_0x515e60){return _0xf04be1(_0x9ea8b3,_0x515e60);},'UfNxJ':_0x132611(0x206),'fHxFO':_0x132611(0x1ea),'ScLKK':_0x132611(0x242),'sJAeR':_0x132611(0x253),'adtLk':_0x132611(0x2a6),'xnGHR':function(_0x43035a,_0x3762e8){return _0x43035a+_0x3762e8;},'MdJDZ':_0x132611(0x23e),'xbrtT':_0x132611(0x259),'vDKzN':_0x132611(0x2a3),'ZwZhq':_0x132611(0x214),'GIXuu':function(_0xb549ff,_0x2e5673){return _0xb549ff+_0x2e5673;},'vBFvl':'feedback-modal-element-selected','CtIPu':function(_0x105b9b,_0x5772da){return _0x105b9b+_0x5772da;},'SLXLL':_0x132611(0x26d),'oPEMW':_0x132611(0x2b8),'hAUFz':_0x132611(0x28b),'FxECL':_0x132611(0x1f3),'HPROJ':'Oops!\x20The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.','zXikI':_0x132611(0x27f),'hLhxh':_0x132611(0x291),'EepvY':_0x132611(0x2d2),'YwpXA':_0x132611(0x2aa),'WgdHu':_0x132611(0x1f5),'FhZrg':'How\x20could\x20this\x20page\x20be\x20more\x20helpful?'};this[_0x132611(0x2d1)]=async _0x352716=>{const _0x4a16be=_0x132611;_0x352716[_0x4a16be(0x232)](),this[_0x4a16be(0x204)](),this['showScreenshotMode']=![],this['showModal']=![],this[_0x4a16be(0x24e)]=!![];let _0x32bd92='';this['encodedScreenshot']&&await this[_0x4a16be(0x297)][_0x4a16be(0x26e)](_0x48f9fa=>{_0x32bd92=_0x48f9fa;})[_0x4a16be(0x254)](_0x13a319=>{const _0x1ed1d4=_0x4a16be;console[_0x1ed1d4(0x1dd)](_0x13a319);});try{const _0x10a93c=await _0x297e8b['SJumw'](fetch,_0x297e8b[_0x4a16be(0x26b)],{'method':_0x297e8b[_0x4a16be(0x226)],'body':JSON[_0x4a16be(0x28a)]({'url':window[_0x4a16be(0x1d8)]['href'],'message':this[_0x4a16be(0x238)],'email':this[_0x4a16be(0x262)],'project':this[_0x4a16be(0x22d)],'screenshot':_0x32bd92}),'headers':{'Content-Type':_0x297e8b[_0x4a16be(0x2bf)]}});_0x10a93c[_0x4a16be(0x2c4)]===0xc9?(this[_0x4a16be(0x28c)]=!![],this['formError']=![]):(this['formSuccess']=![],this[_0x4a16be(0x2c8)]=!![],this['formErrorStatus']=_0x10a93c[_0x4a16be(0x2c4)]);}catch(_0x4bee7b){console[_0x4a16be(0x1dd)](_0x4bee7b),this['formSuccess']=![],this[_0x4a16be(0x2c8)]=!![],this[_0x4a16be(0x287)]=0x1f4;}finally{this['sending']=![],this['showModal']=!![];}},this[_0x132611(0x20f)]=()=>{const _0x5b5cf3=_0x132611,_0x1236cf='3|6|7|10|0|4|5|1|8|9|2'[_0x5b5cf3(0x2dc)]('|');let _0x5921a1=0x0;while(!![]){switch(_0x1236cf[_0x5921a1++]){case'0':this['encodedScreenshot']=null;continue;case'1':this[_0x5b5cf3(0x287)]=0x1f4;continue;case'2':this[_0x5b5cf3(0x204)]();continue;case'3':this[_0x5b5cf3(0x24e)]=![];continue;case'4':this['formSuccess']=![];continue;case'5':this[_0x5b5cf3(0x2c8)]=![];continue;case'6':this['showModal']=![];continue;case'7':this[_0x5b5cf3(0x1f0)]=![];continue;case'8':this[_0x5b5cf3(0x238)]='';continue;case'9':this[_0x5b5cf3(0x262)]='';continue;case'10':this[_0x5b5cf3(0x2ab)]=![];continue;}break;}},this['openScreenShot']=()=>{const _0x529891=_0x132611;this[_0x529891(0x2ab)]=![],this['showModal']=![],this[_0x529891(0x1f0)]=!![],this[_0x529891(0x297)]=null,this[_0x529891(0x204)]();},this[_0x132611(0x2c6)]=()=>{const _0x227caf=_0x132611;this[_0x227caf(0x29c)]=![],this[_0x227caf(0x1f0)]=![],this['hasSelectedElement']=![],this[_0x227caf(0x297)]=null,this['overlay'][_0x227caf(0x21a)][_0x227caf(0x29f)]=_0x297e8b[_0x227caf(0x284)],this['resetOverflow']();},this[_0x132611(0x1f6)]=_0x1d03df=>{const _0x599513=_0x132611;_0x1d03df[_0x599513(0x232)]();if(this[_0x599513(0x2ab)])return;this[_0x599513(0x27e)][_0x599513(0x21a)][_0x599513(0x29f)]=_0x297e8b[_0x599513(0x284)],this[_0x599513(0x2dd)][_0x599513(0x21a)]['display']=_0x297e8b['sJAeR'];const _0x397838=document[_0x599513(0x1ee)](_0x1d03df[_0x599513(0x25f)],_0x1d03df['clientY']),_0xd5efed=_0x397838[_0x599513(0x290)]();this[_0x599513(0x2dd)][_0x599513(0x21a)]['display']='',this['elementSelected'][_0x599513(0x21a)][_0x599513(0x1e3)]=_0x599513(0x23e),this[_0x599513(0x202)][_0x599513(0x21a)]['left']=_0xd5efed[_0x599513(0x25a)]+'px',this[_0x599513(0x202)][_0x599513(0x21a)][_0x599513(0x22e)]=_0xd5efed[_0x599513(0x22e)]+'px',this[_0x599513(0x202)]['style'][_0x599513(0x1e1)]=_0xd5efed[_0x599513(0x1e1)]+'px',this['elementSelected'][_0x599513(0x21a)][_0x599513(0x1fa)]=_0xd5efed['height']+'px',this[_0x599513(0x202)][_0x599513(0x1ed)]['add'](_0x297e8b[_0x599513(0x1fc)]),this['topSide'][_0x599513(0x21a)][_0x599513(0x1e3)]='absolute',this['topSide']['style'][_0x599513(0x25a)]=_0xd5efed[_0x599513(0x25a)]+'px',this[_0x599513(0x2ca)][_0x599513(0x21a)][_0x599513(0x22e)]=_0x599513(0x259),this['topSide'][_0x599513(0x21a)][_0x599513(0x1e1)]=_0x297e8b[_0x599513(0x27c)](_0xd5efed[_0x599513(0x1e1)],0x8)+'px',this['topSide'][_0x599513(0x21a)]['height']=_0xd5efed[_0x599513(0x22e)]+'px',this[_0x599513(0x2ca)][_0x599513(0x21a)][_0x599513(0x20a)]='rgba(0,\x200,\x200,\x200.3)',this[_0x599513(0x1da)][_0x599513(0x21a)][_0x599513(0x1e3)]=_0x297e8b['MdJDZ'],this['leftSide'][_0x599513(0x21a)][_0x599513(0x25a)]=_0x297e8b[_0x599513(0x2c9)],this[_0x599513(0x1da)][_0x599513(0x21a)][_0x599513(0x22e)]=_0x599513(0x259),this[_0x599513(0x1da)][_0x599513(0x21a)][_0x599513(0x1e1)]=_0xd5efed[_0x599513(0x25a)]+'px',this[_0x599513(0x1da)][_0x599513(0x21a)][_0x599513(0x1fa)]=_0x297e8b[_0x599513(0x233)],this[_0x599513(0x1da)][_0x599513(0x21a)][_0x599513(0x20a)]=_0x297e8b[_0x599513(0x240)],this[_0x599513(0x224)]['style'][_0x599513(0x1e3)]=_0x297e8b[_0x599513(0x230)],this[_0x599513(0x224)][_0x599513(0x21a)]['left']=_0xd5efed[_0x599513(0x25a)]+'px',this['bottomSide'][_0x599513(0x21a)]['top']=_0xd5efed[_0x599513(0x22f)]+0x8+'px',this[_0x599513(0x224)][_0x599513(0x21a)][_0x599513(0x1e1)]=_0x297e8b['xnGHR'](_0xd5efed[_0x599513(0x1e1)],0x8)+'px',this['bottomSide'][_0x599513(0x21a)][_0x599513(0x1fa)]=_0x599513(0x2a3),this[_0x599513(0x224)]['style'][_0x599513(0x20a)]=_0x599513(0x214),this[_0x599513(0x2c5)][_0x599513(0x21a)]['position']=_0x599513(0x23e),this[_0x599513(0x2c5)][_0x599513(0x21a)][_0x599513(0x25a)]=_0x297e8b[_0x599513(0x29d)](_0xd5efed[_0x599513(0x2a8)],0x8)+'px';;this[_0x599513(0x2c5)][_0x599513(0x21a)]['top']=_0x297e8b['xbrtT'],this[_0x599513(0x2c5)]['style']['width']=_0x599513(0x2e5),this[_0x599513(0x2c5)][_0x599513(0x21a)][_0x599513(0x1fa)]=_0x599513(0x2a3),this[_0x599513(0x2c5)][_0x599513(0x21a)]['backgroundColor']=_0x297e8b[_0x599513(0x240)],this[_0x599513(0x2dd)][_0x599513(0x21a)][_0x599513(0x20a)]=_0x599513(0x1dc);},this[_0x132611(0x1d6)]=_0x30678a=>{const _0x405c60=_0x132611;_0x30678a[_0x405c60(0x232)]();if(this[_0x405c60(0x202)])this['elementSelected'][_0x405c60(0x1ed)][_0x405c60(0x286)](_0x297e8b[_0x405c60(0x211)]);let _0xab06a7=this[_0x405c60(0x202)][_0x405c60(0x290)]()['top'];this[_0x405c60(0x202)]['style'][_0x405c60(0x22e)]=_0x297e8b[_0x405c60(0x1e2)](_0xab06a7,window[_0x405c60(0x2bb)])+'px';const _0x203638=this[_0x405c60(0x202)][_0x405c60(0x2e3)](!![]);document[_0x405c60(0x1e5)]['appendChild'](_0x203638),this[_0x405c60(0x202)][_0x405c60(0x21a)]['top']=_0xab06a7+'px',this[_0x405c60(0x297)]=_0x14df91(document[_0x405c60(0x1e5)])['then'](_0x4ba7e0=>{const _0x3c4000=_0x405c60,_0x4c528e=_0x4ba7e0['toDataURL']();return document['body'][_0x3c4000(0x24c)](_0x203638),_0x4c528e;})['catch'](function(_0x14b443){const _0x28f6d7=_0x405c60;return console[_0x28f6d7(0x2a5)](_0x14b443),'';});const _0x5e8084=document[_0x405c60(0x219)](_0x405c60(0x26a))[0x0];_0x5e8084['style'][_0x405c60(0x281)]=_0x297e8b[_0x405c60(0x2b1)],this[_0x405c60(0x2ab)]=!![],this[_0x405c60(0x27e)][_0x405c60(0x21a)][_0x405c60(0x29f)]=_0x297e8b[_0x405c60(0x24a)],this['showModal']=!![];},this['sending']=![],this['formMessage']='',this[_0x132611(0x262)]='',this[_0x132611(0x28c)]=![],this[_0x132611(0x2c8)]=![],this[_0x132611(0x287)]=0x1f4,this['encodedScreenshot']=undefined,this[_0x132611(0x2da)]=_0x297e8b[_0x132611(0x241)],this[_0x132611(0x244)]=_0x132611(0x258),this[_0x132611(0x260)]=_0x297e8b[_0x132611(0x1e7)],this[_0x132611(0x1db)]=_0x297e8b['HPROJ'],this[_0x132611(0x208)]=_0x132611(0x222),this[_0x132611(0x1e6)]=_0x297e8b[_0x132611(0x299)],this['sendButtonText']=_0x297e8b[_0x132611(0x268)],this['project']='',this[_0x132611(0x236)]=_0x297e8b['EepvY'],this[_0x132611(0x22a)]=_0x297e8b[_0x132611(0x217)],this[_0x132611(0x2d3)]='',this[_0x132611(0x270)]=_0x297e8b['WgdHu'],this['messagePlaceholder']=_0x297e8b[_0x132611(0x234)],this[_0x132611(0x29c)]=![],this[_0x132611(0x1f0)]=![],this[_0x132611(0x2ab)]=![],this[_0x132611(0x215)]=![],this['whitelabel']=![];}[_0x1919a3(0x279)](){const _0x1d6809=_0x1919a3;this[_0x1d6809(0x2b5)](),this[_0x1d6809(0x262)]=this['email'];}async[_0x1919a3(0x2b5)](){const _0x2dab4f=_0x1919a3,_0x355ed3={'QFfGb':function(_0x29d04f,_0x38682b){return _0x29d04f(_0x38682b);},'lZXga':function(_0x4c6604,_0x138b49){return _0x4c6604+_0x138b49;},'tRiXJ':function(_0x44a199,_0x2dafd7){return _0x44a199+_0x2dafd7;},'lgGbH':_0x2dab4f(0x2d4)};try{const _0x30af74=await _0x355ed3[_0x2dab4f(0x227)](fetch,_0x355ed3[_0x2dab4f(0x20e)](_0x355ed3[_0x2dab4f(0x278)](_0x355ed3[_0x2dab4f(0x2c0)],this['project']),'/')),_0x1fb83e=await _0x30af74['json']();this[_0x2dab4f(0x2c2)]=_0x1fb83e[_0x2dab4f(0x2c2)];}catch(_0x43bbd3){console['log'](_0x43bbd3);}}[_0x1919a3(0x204)](){const _0x42f326=_0x1919a3,_0x2c1cdc={'DlBtY':_0x42f326(0x26a),'kGKpl':_0x42f326(0x21e)},_0xe46b15=document['getElementsByTagName'](_0x2c1cdc['DlBtY'])[0x0];_0xe46b15[_0x42f326(0x21a)][_0x42f326(0x281)]=_0x2c1cdc['kGKpl'];}[_0x1919a3(0x1df)](_0x1fc47a){const _0xb09d55=_0x1919a3;this[_0xb09d55(0x238)]=_0x1fc47a[_0xb09d55(0x2df)][_0xb09d55(0x2ac)];}['handleEmailInput'](_0x13a263){const _0x1a11fc=_0x1919a3;this['formEmail']=_0x13a263[_0x1a11fc(0x2df)][_0x1a11fc(0x2ac)];}[_0x1919a3(0x23c)](){const _0x3bc8fa=_0x1919a3,_0x55f3ed={'DVZJK':'div','DADRH':function(_0x4c1c1b,_0x1800f5,_0x337539,_0x5039b7,_0x3413fd,_0x10393b,_0x18d32d,_0x536948,_0x5e33fd,_0x506516){return _0x4c1c1b(_0x1800f5,_0x337539,_0x5039b7,_0x3413fd,_0x10393b,_0x18d32d,_0x536948,_0x5e33fd,_0x506516);},'ArtrG':_0x3bc8fa(0x207),'sxqSu':function(_0x483547,_0x954f2d,_0x5e2828){return _0x483547(_0x954f2d,_0x5e2828);},'AGizu':_0x3bc8fa(0x29e),'DTEbY':'top-side','zNMRs':_0x3bc8fa(0x2d9),'wAfLP':function(_0x535048,_0x3aad34,_0x54060e){return _0x535048(_0x3aad34,_0x54060e);},'qafIm':_0x3bc8fa(0x2e2),'IOsdl':function(_0x5c0c93,_0x2f07ea,_0x35f4f3){return _0x5c0c93(_0x2f07ea,_0x35f4f3);},'QSujb':_0x3bc8fa(0x1f1),'UlaMX':function(_0x2da5d9,_0x26970b,_0x578f9e,_0x3dd0e4,_0x51f693){return _0x2da5d9(_0x26970b,_0x578f9e,_0x3dd0e4,_0x51f693);},'BxMoc':function(_0x69f523,_0x386ade,_0x2911aa,_0x4b7f28){return _0x69f523(_0x386ade,_0x2911aa,_0x4b7f28);},'xetnL':_0x3bc8fa(0x1d7),'wekTd':_0x3bc8fa(0x225),'hjAIO':_0x3bc8fa(0x252),'qvGps':_0x3bc8fa(0x253),'seSdj':_0x3bc8fa(0x2c3),'IDDZI':_0x3bc8fa(0x2e1),'gPuNJ':_0x3bc8fa(0x277),'xliuZ':function(_0x169904,_0x31e369,_0x5f160a){return _0x169904(_0x31e369,_0x5f160a);},'CXBwF':_0x3bc8fa(0x282),'flkJs':function(_0x41aedd,_0x455d8c,_0x12259e,_0x5e7d0b,_0x1f5802,_0x1650ff){return _0x41aedd(_0x455d8c,_0x12259e,_0x5e7d0b,_0x1f5802,_0x1650ff);},'rjDkD':_0x3bc8fa(0x23d),'ZvoeO':function(_0x307010,_0xd4468f,_0x337299,_0x3f530e){return _0x307010(_0xd4468f,_0x337299,_0x3f530e);},'oQyEI':function(_0x796de1,_0x572901,_0x4af604,_0x4b9702){return _0x796de1(_0x572901,_0x4af604,_0x4b9702);},'GIhBu':_0x3bc8fa(0x223),'MGPNC':'text-center','dEJlu':function(_0xf8430a,_0x2a64b1){return _0xf8430a==_0x2a64b1;},'QldWF':function(_0x4adcdf,_0x2eb7cf){return _0x4adcdf==_0x2eb7cf;},'WvbUx':function(_0x57a8f4,_0x4e15c1,_0x175017){return _0x57a8f4(_0x4e15c1,_0x175017);},'zRSrG':'button','zKwAC':_0x3bc8fa(0x25b),'nzfgi':_0x3bc8fa(0x1e8),'SzBhU':function(_0x1e9886,_0x3427a5,_0x3b1382){return _0x1e9886(_0x3427a5,_0x3b1382);},'gDcht':function(_0x1e3f9a,_0x11bddd,_0x362da4,_0x2eb504,_0x45fd87,_0x469e82){return _0x1e3f9a(_0x11bddd,_0x362da4,_0x2eb504,_0x45fd87,_0x469e82);},'ymdzN':'form','oCoyj':function(_0x39518e,_0x2469fc,_0x44c139,_0x4bf13d){return _0x39518e(_0x2469fc,_0x44c139,_0x4bf13d);},'ycZDT':_0x3bc8fa(0x296),'DcENM':function(_0xedf33,_0x4f364c,_0x5a5213){return _0xedf33(_0x4f364c,_0x5a5213);},'FpAAC':'textarea','CugbP':_0x3bc8fa(0x1fb),'BEVVx':_0x3bc8fa(0x2d3),'ZKDOk':_0x3bc8fa(0x265),'CrsGR':_0x3bc8fa(0x26c),'wQuai':_0x3bc8fa(0x22b),'nLdbk':'path','srluW':_0x3bc8fa(0x1eb),'lFBkQ':function(_0x5a5f11,_0x1fdfb0,_0x68a5bf,_0xa47b39){return _0x5a5f11(_0x1fdfb0,_0x68a5bf,_0xa47b39);},'rBRSl':_0x3bc8fa(0x2a0),'QQXPN':function(_0x52217d,_0x486f90,_0x2e62ac){return _0x52217d(_0x486f90,_0x2e62ac);},'bZfSM':'block','pBnWK':function(_0x151b84,_0x204df8,_0x16cf30,_0x482dd0,_0x1a62ae){return _0x151b84(_0x204df8,_0x16cf30,_0x482dd0,_0x1a62ae);},'ihVtY':_0x3bc8fa(0x213),'CNWBi':_0x3bc8fa(0x274),'zwSti':'21.152%','ZjOJa':_0x3bc8fa(0x2ad),'EGMfN':'footer-logo','kJhfM':function(_0x4ed7b1,_0x2b2771,_0x17c06d){return _0x4ed7b1(_0x2b2771,_0x17c06d);},'JWGne':_0x3bc8fa(0x21c),'hZNWs':_0x3bc8fa(0x237),'oRirk':'#81E6D9','DqyHf':_0x3bc8fa(0x23b),'MoFow':function(_0x1e0000,_0x21f42b,_0x4de04e){return _0x1e0000(_0x21f42b,_0x4de04e);},'hQZYR':'100%','sgRez':function(_0x4c7ec3,_0x1d7057,_0xa766a){return _0x4c7ec3(_0x1d7057,_0xa766a);},'MDDlI':'rect','EvQuP':'url(#footer-logo)','ezoGz':'nonzero','EZnSL':function(_0x3bc5ff,_0x5ef42d,_0x37c67d,_0x558c86){return _0x3bc5ff(_0x5ef42d,_0x37c67d,_0x558c86);},'KRvOk':_0x3bc8fa(0x267),'IVikK':'PushFeedback'};return h(_0x55f3ed['DVZJK'],{'class':_0x3bc8fa(0x272)},this[_0x3bc8fa(0x1f0)]&&_0x55f3ed['DADRH'](h,_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed[_0x3bc8fa(0x298)],'ref':_0x43c0e7=>this['screenshotModal']=_0x43c0e7,'onMouseMove':this[_0x3bc8fa(0x1f6)]},_0x55f3ed['sxqSu'](h,_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed['AGizu'],'ref':_0xaf7a0c=>this[_0x3bc8fa(0x202)]=_0xaf7a0c,'onClick':this[_0x3bc8fa(0x1d6)]}),h(_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed[_0x3bc8fa(0x28d)],'ref':_0x433493=>this[_0x3bc8fa(0x2ca)]=_0x433493}),_0x55f3ed['sxqSu'](h,_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed[_0x3bc8fa(0x2de)],'ref':_0x229ca8=>this['leftSide']=_0x229ca8}),_0x55f3ed[_0x3bc8fa(0x210)](h,_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed['qafIm'],'ref':_0x489c40=>this[_0x3bc8fa(0x224)]=_0x489c40}),_0x55f3ed['IOsdl'](h,_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed['QSujb'],'ref':_0x2ee1e1=>this[_0x3bc8fa(0x2c5)]=_0x2ee1e1}),_0x55f3ed['UlaMX'](h,_0x3bc8fa(0x212),{'class':'feedback-modal-screenshot-header','onClick':this[_0x3bc8fa(0x2c6)]},h('span',null,this['screenshotTopbarText']),_0x55f3ed['BxMoc'](h,_0x3bc8fa(0x223),{'class':_0x55f3ed[_0x3bc8fa(0x2bc)]},_0x55f3ed['UlaMX'](h,_0x3bc8fa(0x203),{'xmlns':_0x55f3ed[_0x3bc8fa(0x271)],'width':'24','height':'24','viewBox':_0x55f3ed[_0x3bc8fa(0x1ec)],'fill':_0x55f3ed[_0x3bc8fa(0x251)],'stroke':_0x3bc8fa(0x273),'stroke-width':'2','stroke-linecap':_0x3bc8fa(0x2c3),'stroke-linejoin':_0x55f3ed[_0x3bc8fa(0x2ae)],'class':_0x55f3ed[_0x3bc8fa(0x200)]},_0x55f3ed[_0x3bc8fa(0x231)](h,_0x3bc8fa(0x277),{'x1':'18','y1':'6','x2':'6','y2':'18'}),_0x55f3ed['sxqSu'](h,_0x55f3ed[_0x3bc8fa(0x218)],{'x1':'6','y1':'6','x2':'18','y2':'18'})))),_0x55f3ed[_0x3bc8fa(0x2af)](h,'div',{'class':_0x55f3ed[_0x3bc8fa(0x2cc)],'ref':_0x427973=>this[_0x3bc8fa(0x27e)]=_0x427973})),this[_0x3bc8fa(0x29c)]&&_0x55f3ed[_0x3bc8fa(0x292)](h,'div',{'class':_0x3bc8fa(0x276)+this['modalPosition'],'ref':_0xcdcb32=>this['modalContent']=_0xcdcb32},h(_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':_0x55f3ed['rjDkD']},!this[_0x3bc8fa(0x28c)]&&!this[_0x3bc8fa(0x2c8)]?_0x55f3ed[_0x3bc8fa(0x2c1)](h,_0x3bc8fa(0x223),null,this['modalTitle']):this['formSuccess']?_0x55f3ed[_0x3bc8fa(0x2be)](h,_0x55f3ed['GIhBu'],{'class':_0x55f3ed[_0x3bc8fa(0x1f7)]},this[_0x3bc8fa(0x244)]):this[_0x3bc8fa(0x2c8)]&&_0x55f3ed[_0x3bc8fa(0x1ff)](this[_0x3bc8fa(0x287)],0x1f4)?h('span',{'class':_0x55f3ed['MGPNC']},this[_0x3bc8fa(0x260)]):this[_0x3bc8fa(0x2c8)]&&_0x55f3ed[_0x3bc8fa(0x1ff)](this['formErrorStatus'],0x193)?_0x55f3ed['BxMoc'](h,_0x3bc8fa(0x223),{'class':_0x55f3ed[_0x3bc8fa(0x1f7)]},this[_0x3bc8fa(0x1db)]):this[_0x3bc8fa(0x2c8)]&&_0x55f3ed['QldWF'](this[_0x3bc8fa(0x287)],0x194)?_0x55f3ed[_0x3bc8fa(0x2c1)](h,_0x55f3ed[_0x3bc8fa(0x20d)],{'class':_0x55f3ed[_0x3bc8fa(0x1f7)]},this[_0x3bc8fa(0x208)]):_0x55f3ed[_0x3bc8fa(0x25c)](h,_0x3bc8fa(0x223),null),h(_0x55f3ed['zRSrG'],{'class':_0x55f3ed['zKwAC'],'onClick':this['close']},_0x55f3ed[_0x3bc8fa(0x2b4)](h,_0x3bc8fa(0x203),{'xmlns':_0x55f3ed[_0x3bc8fa(0x271)],'width':'24','height':'24','viewBox':'0\x200\x2024\x2024','fill':_0x55f3ed[_0x3bc8fa(0x251)],'stroke':_0x55f3ed[_0x3bc8fa(0x228)],'stroke-width':'2','stroke-linecap':_0x3bc8fa(0x2c3),'stroke-linejoin':_0x55f3ed[_0x3bc8fa(0x2ae)],'class':_0x55f3ed[_0x3bc8fa(0x200)]},h(_0x55f3ed['gPuNJ'],{'x1':'18','y1':'6','x2':'6','y2':'18'}),_0x55f3ed[_0x3bc8fa(0x293)](h,_0x55f3ed[_0x3bc8fa(0x218)],{'x1':'6','y1':'6','x2':'18','y2':'18'})))),h(_0x3bc8fa(0x212),{'class':_0x3bc8fa(0x264)},!this['formSuccess']&&!this[_0x3bc8fa(0x2c8)]?_0x55f3ed['gDcht'](h,_0x55f3ed[_0x3bc8fa(0x1d9)],{'onSubmit':this[_0x3bc8fa(0x2d1)]},_0x55f3ed[_0x3bc8fa(0x21b)](h,_0x3bc8fa(0x212),{'class':_0x55f3ed['ycZDT']},_0x55f3ed[_0x3bc8fa(0x1e4)](h,_0x55f3ed[_0x3bc8fa(0x2a7)],{'placeholder':this['messagePlaceholder'],'value':this[_0x3bc8fa(0x238)],'onInput':_0x441fcb=>this[_0x3bc8fa(0x1df)](_0x441fcb),'required':!![]})),!this[_0x3bc8fa(0x2d3)]&&_0x55f3ed[_0x3bc8fa(0x2c1)](h,_0x3bc8fa(0x212),{'class':_0x55f3ed[_0x3bc8fa(0x21d)]},_0x55f3ed[_0x3bc8fa(0x210)](h,_0x3bc8fa(0x2d6),{'type':_0x55f3ed[_0x3bc8fa(0x209)],'placeholder':this[_0x3bc8fa(0x270)],'onInput':_0x1825ae=>this['handleEmailInput'](_0x1825ae),'value':this[_0x3bc8fa(0x262)]})),h(_0x55f3ed[_0x3bc8fa(0x2b6)],{'class':'feedback-modal-buttons\x20'+(this[_0x3bc8fa(0x215)]?_0x55f3ed['ZKDOk']:'')},!this[_0x3bc8fa(0x215)]&&h(_0x55f3ed[_0x3bc8fa(0x27b)],{'type':_0x55f3ed[_0x3bc8fa(0x27b)],'class':_0x3bc8fa(0x1fd)+(this[_0x3bc8fa(0x297)]?_0x55f3ed[_0x3bc8fa(0x2d8)]:''),'title':this['screenshotButtonTooltipText'],'onClick':this[_0x3bc8fa(0x2a1)],'disabled':this[_0x3bc8fa(0x24e)]},_0x55f3ed['UlaMX'](h,_0x3bc8fa(0x203),{'xmlns':_0x55f3ed[_0x3bc8fa(0x271)],'width':'24','height':'24','viewBox':_0x55f3ed[_0x3bc8fa(0x1ec)],'fill':_0x3bc8fa(0x253),'stroke':_0x55f3ed['wQuai'],'stroke-width':'2','stroke-linecap':_0x55f3ed[_0x3bc8fa(0x2ae)],'stroke-linejoin':_0x3bc8fa(0x2c3),'class':'feather\x20feather-camera'},_0x55f3ed[_0x3bc8fa(0x293)](h,_0x55f3ed[_0x3bc8fa(0x295)],{'d':_0x55f3ed[_0x3bc8fa(0x1fe)]}),h(_0x3bc8fa(0x2a2),{'cx':'12','cy':'13','r':'4'}))),_0x55f3ed[_0x3bc8fa(0x25e)](h,_0x3bc8fa(0x1fd),{'class':_0x55f3ed['zRSrG'],'type':_0x55f3ed[_0x3bc8fa(0x221)],'disabled':this[_0x3bc8fa(0x24e)]},this['sendButtonText']))):_0x55f3ed['QQXPN'](h,_0x55f3ed[_0x3bc8fa(0x20d)],null)),_0x55f3ed[_0x3bc8fa(0x2b0)](h,_0x55f3ed['DVZJK'],{'class':_0x3bc8fa(0x1e0),'style':{'display':this[_0x3bc8fa(0x2c2)]?_0x3bc8fa(0x253):_0x55f3ed[_0x3bc8fa(0x289)]}},h(_0x3bc8fa(0x212),{'class':'feedback-logo'},_0x55f3ed['pBnWK'](h,'svg',{'class':_0x55f3ed[_0x3bc8fa(0x229)],'viewBox':_0x55f3ed[_0x3bc8fa(0x2b2)],'xmlns':'http://www.w3.org/2000/svg'},h(_0x3bc8fa(0x247),null,h(_0x3bc8fa(0x2d5),{'cx':_0x55f3ed[_0x3bc8fa(0x2cd)],'cy':_0x55f3ed['ZjOJa'],'fx':'21.152%','fy':_0x55f3ed[_0x3bc8fa(0x256)],'r':_0x3bc8fa(0x294),'id':_0x55f3ed[_0x3bc8fa(0x1d5)]},_0x55f3ed[_0x3bc8fa(0x201)](h,_0x3bc8fa(0x237),{'stop-color':_0x55f3ed['JWGne'],'offset':'0%'}),h(_0x55f3ed['hZNWs'],{'stop-color':_0x55f3ed[_0x3bc8fa(0x27a)],'offset':_0x55f3ed['DqyHf']}),_0x55f3ed[_0x3bc8fa(0x20c)](h,_0x55f3ed[_0x3bc8fa(0x1d4)],{'stop-color':'#338CF5','offset':_0x55f3ed[_0x3bc8fa(0x21f)]}))),_0x55f3ed[_0x3bc8fa(0x26f)](h,_0x55f3ed['MDDlI'],{'width':'32','height':'32','rx':'16','fill':_0x55f3ed[_0x3bc8fa(0x23a)],'fill-rule':_0x55f3ed[_0x3bc8fa(0x205)]})),'\x20',_0x55f3ed[_0x3bc8fa(0x283)](h,'a',{'href':_0x55f3ed[_0x3bc8fa(0x275)]},_0x55f3ed['IVikK'])))));}static get['is'](){const _0x4dc8c9=_0x1919a3,_0x27d0fd={'RLtjm':'feedback-modal'};return _0x27d0fd[_0x4dc8c9(0x2cb)];}static get[_0x1919a3(0x1e9)](){const _0x309a72=_0x1919a3,_0x322d19={'oWzzy':_0x309a72(0x28f)};return _0x322d19[_0x309a72(0x1f2)];}static get['originalStyleUrls'](){const _0x8ea2d8=_0x1919a3;return{'$':[_0x8ea2d8(0x2d7)]};}static get['styleUrls'](){const _0x4f96d6=_0x1919a3,_0x40d083={'feNjD':'feedback-modal.css'};return{'$':[_0x40d083[_0x4f96d6(0x216)]]};}static get[_0x1919a3(0x235)](){const _0xf8ad98=_0x1919a3,_0x49bd70={'cpvxs':_0xf8ad98(0x246),'iGltP':_0xf8ad98(0x1d3),'TSolp':_0xf8ad98(0x239),'LMdHS':'\x27Thanks\x20for\x20your\x20feedback!\x27','Bbhzx':_0xf8ad98(0x2a9),'xuKXL':'modal-title-error-4-0-3','MHtHa':'modal-title-error-4-0-4','mamLX':_0xf8ad98(0x2b7),'IXboF':_0xf8ad98(0x24b),'dPEMs':_0xf8ad98(0x2e0),'tTJqi':_0xf8ad98(0x24f),'jUYZx':_0xf8ad98(0x22d),'gIVlF':_0xf8ad98(0x29a),'BWndC':'\x27SELECT\x20AN\x20ELEMENT\x20ON\x20THE\x20PAGE\x27','OkfJE':_0xf8ad98(0x25d),'CurZw':'\x27How\x20could\x20this\x20page\x20be\x20more\x20helpful?\x27','JmraK':_0xf8ad98(0x1f9),'HFgsM':'show-modal','YaZIQ':'show-screenshot-mode','wuZnQ':_0xf8ad98(0x2ce),'BJQDs':_0xf8ad98(0x248)};return{'modalTitle':{'type':_0xf8ad98(0x246),'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x245)],'reflect':![],'defaultValue':_0x49bd70[_0xf8ad98(0x220)]},'modalTitleSuccess':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0xf8ad98(0x246),'resolved':_0xf8ad98(0x246),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0xf8ad98(0x2d0),'reflect':![],'defaultValue':_0x49bd70[_0xf8ad98(0x27d)]},'modalTitleError':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x20b)],'reflect':![],'defaultValue':_0xf8ad98(0x285)},'modalTitleError403':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70['cpvxs'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x269)],'reflect':![],'defaultValue':'\x22Oops!\x20The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.\x22'},'modalTitleError404':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x288)],'reflect':![],'defaultValue':_0xf8ad98(0x2ba)},'modalPosition':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':'string','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x1de)],'reflect':![],'defaultValue':_0x49bd70['IXboF']},'sendButtonText':{'type':'string','mutable':![],'complexType':{'original':_0xf8ad98(0x246),'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x2c7)],'reflect':![],'defaultValue':_0x49bd70[_0xf8ad98(0x2b3)]},'project':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70['jUYZx'],'reflect':![],'defaultValue':'\x27\x27'},'screenshotButtonTooltipText':{'type':_0xf8ad98(0x246),'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0xf8ad98(0x255),'reflect':![],'defaultValue':_0x49bd70['gIVlF']},'screenshotTopbarText':{'type':'string','mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0xf8ad98(0x250),'reflect':![],'defaultValue':_0x49bd70[_0xf8ad98(0x1f4)]},'email':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0x49bd70['cpvxs'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':'email','reflect':![],'defaultValue':'\x27\x27'},'emailPlaceholder':{'type':_0xf8ad98(0x246),'mutable':![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x257)],'resolved':_0xf8ad98(0x246),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70['OkfJE'],'reflect':![],'defaultValue':'\x27Email\x20address\x20(optional)\x27'},'messagePlaceholder':{'type':_0x49bd70[_0xf8ad98(0x257)],'mutable':![],'complexType':{'original':'string','resolved':_0x49bd70[_0xf8ad98(0x257)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0xf8ad98(0x280),'reflect':![],'defaultValue':_0x49bd70[_0xf8ad98(0x266)]},'showModal':{'type':_0x49bd70[_0xf8ad98(0x263)],'mutable':!![],'complexType':{'original':_0x49bd70[_0xf8ad98(0x263)],'resolved':_0x49bd70[_0xf8ad98(0x263)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70['HFgsM'],'reflect':!![],'defaultValue':_0xf8ad98(0x2ce)},'showScreenshotMode':{'type':'boolean','mutable':!![],'complexType':{'original':'boolean','resolved':_0x49bd70['JmraK'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x2b9)],'reflect':!![],'defaultValue':_0x49bd70['wuZnQ']},'hasSelectedElement':{'type':_0x49bd70['JmraK'],'mutable':!![],'complexType':{'original':_0x49bd70['JmraK'],'resolved':'boolean','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49bd70[_0xf8ad98(0x23f)],'reflect':!![],'defaultValue':_0x49bd70['wuZnQ']},'hideScreenshotButton':{'type':_0x49bd70['JmraK'],'mutable':![],'complexType':{'original':_0x49bd70['JmraK'],'resolved':_0x49bd70[_0xf8ad98(0x263)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0xf8ad98(0x249),'reflect':![],'defaultValue':_0x49bd70['wuZnQ']}};}static get[_0x1919a3(0x261)](){return{'sending':{},'formMessage':{},'formEmail':{},'formSuccess':{},'formError':{},'formErrorStatus':{},'encodedScreenshot':{},'whitelabel':{}};}}
|
package/dist/collection/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5824(){var _0xb88a6=['747084vmSvgy','487588KVYCuD','239496QshfGz','14kJfOBQ','87904oiYplP','232195RiOCtK','227472kjRNLT','1076100zeJnpZ'];_0x5824=function(){return _0xb88a6;};return _0x5824();}(function(_0x2f4c25,_0x282170){var _0x54e8de=_0x1102,_0x148e22=_0x2f4c25();while(!![]){try{var _0x436207=-parseInt(_0x54e8de(0x131))/0x1+parseInt(_0x54e8de(0x134))/0x2+parseInt(_0x54e8de(0x135))/0x3+parseInt(_0x54e8de(0x133))/0x4+parseInt(_0x54e8de(0x130))/0x5+-parseInt(_0x54e8de(0x132))/0x6+-parseInt(_0x54e8de(0x136))/0x7*(parseInt(_0x54e8de(0x137))/0x8);if(_0x436207===_0x282170)break;else _0x148e22['push'](_0x148e22['shift']());}catch(_0x310b3c){_0x148e22['push'](_0x148e22['shift']());}}}(_0x5824,0x1f426));function _0x1102(_0x67c46c,_0x235722){var _0x5824f9=_0x5824();return _0x1102=function(_0x110271,_0x3b1802){_0x110271=_0x110271-0x130;var _0x19b65c=_0x5824f9[_0x110271];return _0x19b65c;},_0x1102(_0x67c46c,_0x235722);}export*from'./components';
|