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,104 +1 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$2 } from './feedback-modal2.js';
|
|
3
|
-
|
|
4
|
-
const feedbackButtonCss = ".feedback-button-content{cursor:pointer;z-index:300}.feedback-button-content--light{align-items:center;background-color:var(--feedback-white-color);border-radius:20px;box-shadow:rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-primary-color);font-weight:bold;padding:8px 15px;font-size:var(--feedback-text-font-size)}.feedback-button-content--dark{align-items:center;background-color:var(--feedback-primary-color);border-radius:20px;box-shadow:rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-white-color);font-weight:bold;padding:8px 15px;font-size:16px}.feedback-button-content--bottom-right{position:fixed;bottom:10px;right:10px}.feedback-button-content--center-right{position:fixed;top:50%;transform:rotate(-90deg) translateY(-50%)}.feedback-button-content--center-right.feedback-button-content--dark,.feedback-button-content--center-right.feedback-button-content--light{border-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px}.feedback-button-content-icon{margin-right:5px;height:16px;width:16px}";
|
|
5
|
-
|
|
6
|
-
const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.__attachShadow();
|
|
11
|
-
this.modalTitle = 'Share your feedback';
|
|
12
|
-
this.successModalTitle = 'Thanks for your feedback!';
|
|
13
|
-
this.errorModalTitle = "Oops! We didn't receive your feedback. Please try again later.";
|
|
14
|
-
this.modalPosition = 'center';
|
|
15
|
-
this.sendButtonText = 'Send';
|
|
16
|
-
this.project = '';
|
|
17
|
-
this.screenshotButtonTooltipText = 'Take a Screenshot';
|
|
18
|
-
this.screenshotTopbarText = 'SELECT AN ELEMENT ON THE PAGE';
|
|
19
|
-
this.email = '';
|
|
20
|
-
this.emailPlaceholder = 'Email address (optional)';
|
|
21
|
-
this.messagePlaceholder = 'How could this page be more helpful?';
|
|
22
|
-
this.buttonStyle = 'default';
|
|
23
|
-
this.buttonPosition = 'default';
|
|
24
|
-
this.hideIcon = false;
|
|
25
|
-
this.hideScreenshotButton = false;
|
|
26
|
-
}
|
|
27
|
-
connectedCallback() {
|
|
28
|
-
this.feedbackModal = document.createElement('feedback-modal');
|
|
29
|
-
const props = [
|
|
30
|
-
'modalTitle',
|
|
31
|
-
'successModalTitle',
|
|
32
|
-
'errorModalTitle',
|
|
33
|
-
'modalPosition',
|
|
34
|
-
'sendButtonText',
|
|
35
|
-
'project',
|
|
36
|
-
'screenshotButtonTooltipText',
|
|
37
|
-
'screenshotTopbarText',
|
|
38
|
-
'email',
|
|
39
|
-
'emailPlaceholder',
|
|
40
|
-
'messagePlaceholder',
|
|
41
|
-
'hideScreenshotButton'
|
|
42
|
-
];
|
|
43
|
-
props.forEach(prop => {
|
|
44
|
-
this.feedbackModal[prop] = this[prop];
|
|
45
|
-
});
|
|
46
|
-
document.body.appendChild(this.feedbackModal);
|
|
47
|
-
}
|
|
48
|
-
disconnectedCallback() {
|
|
49
|
-
document.body.removeChild(this.feedbackModal);
|
|
50
|
-
}
|
|
51
|
-
componentDidLoad() {
|
|
52
|
-
if (this.buttonPosition === 'center-right') {
|
|
53
|
-
const buttonContent = this.el.shadowRoot.querySelector('.feedback-button-content');
|
|
54
|
-
buttonContent.style.right = `${buttonContent.offsetWidth / 2 * -1}px`;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
showModal() {
|
|
58
|
-
this.feedbackModal.showModal = true;
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
return (h(Host, null, h("a", { class: `feedback-button-content feedback-button-content--${this.buttonStyle} feedback-button-content--${this.buttonPosition}`, onClick: () => this.showModal() }, !this.hideIcon && this.buttonStyle === 'dark' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#fff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-repeat" }, h("polyline", { points: "17 1 21 5 17 9" }), h("path", { d: "M3 11V9a4 4 0 0 1 4-4h14" }), h("polyline", { points: "7 23 3 19 7 15" }), h("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })))), !this.hideIcon && this.buttonStyle === 'light' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#0070F4", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-repeat" }, h("polyline", { points: "17 1 21 5 17 9" }), h("path", { d: "M3 11V9a4 4 0 0 1 4-4h14" }), h("polyline", { points: "7 23 3 19 7 15" }), h("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })))), h("slot", null))));
|
|
62
|
-
}
|
|
63
|
-
get el() { return this; }
|
|
64
|
-
static get style() { return feedbackButtonCss; }
|
|
65
|
-
}, [1, "feedback-button", {
|
|
66
|
-
"modalTitle": [1, "modal-title"],
|
|
67
|
-
"successModalTitle": [1, "success-modal-title"],
|
|
68
|
-
"errorModalTitle": [1, "error-modal-title"],
|
|
69
|
-
"modalPosition": [1, "modal-position"],
|
|
70
|
-
"sendButtonText": [1, "send-button-text"],
|
|
71
|
-
"project": [1],
|
|
72
|
-
"screenshotButtonTooltipText": [1, "screenshot-button-tooltip-text"],
|
|
73
|
-
"screenshotTopbarText": [1, "screenshot-topbar-text"],
|
|
74
|
-
"email": [1],
|
|
75
|
-
"emailPlaceholder": [1, "email-placeholder"],
|
|
76
|
-
"messagePlaceholder": [1, "message-placeholder"],
|
|
77
|
-
"buttonStyle": [1, "button-style"],
|
|
78
|
-
"buttonPosition": [1, "button-position"],
|
|
79
|
-
"hideIcon": [4, "hide-icon"],
|
|
80
|
-
"hideScreenshotButton": [4, "hide-screenshot-button"]
|
|
81
|
-
}]);
|
|
82
|
-
function defineCustomElement$1() {
|
|
83
|
-
if (typeof customElements === "undefined") {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const components = ["feedback-button", "feedback-modal"];
|
|
87
|
-
components.forEach(tagName => { switch (tagName) {
|
|
88
|
-
case "feedback-button":
|
|
89
|
-
if (!customElements.get(tagName)) {
|
|
90
|
-
customElements.define(tagName, FeedbackButton$1);
|
|
91
|
-
}
|
|
92
|
-
break;
|
|
93
|
-
case "feedback-modal":
|
|
94
|
-
if (!customElements.get(tagName)) {
|
|
95
|
-
defineCustomElement$2();
|
|
96
|
-
}
|
|
97
|
-
break;
|
|
98
|
-
} });
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
const FeedbackButton = FeedbackButton$1;
|
|
102
|
-
const defineCustomElement = defineCustomElement$1;
|
|
103
|
-
|
|
104
|
-
export { FeedbackButton, defineCustomElement };
|
|
1
|
+
const _0x16b81b=_0xfe2d;function _0xfe2d(_0x53fa98,_0x4a9c96){const _0x1c90fb=_0x1c90();return _0xfe2d=function(_0xfe2d69,_0x2f7aea){_0xfe2d69=_0xfe2d69-0x1ce;let _0x584cda=_0x1c90fb[_0xfe2d69];return _0x584cda;},_0xfe2d(_0x53fa98,_0x4a9c96);}(function(_0x570d32,_0x5abc17){const _0x1ec2d8=_0xfe2d,_0x2fcb64=_0x570d32();while(!![]){try{const _0x3a71d6=-parseInt(_0x1ec2d8(0x1de))/0x1*(parseInt(_0x1ec2d8(0x235))/0x2)+parseInt(_0x1ec2d8(0x1e7))/0x3+-parseInt(_0x1ec2d8(0x1ea))/0x4*(-parseInt(_0x1ec2d8(0x212))/0x5)+parseInt(_0x1ec2d8(0x228))/0x6*(-parseInt(_0x1ec2d8(0x21b))/0x7)+-parseInt(_0x1ec2d8(0x21a))/0x8*(-parseInt(_0x1ec2d8(0x1e4))/0x9)+parseInt(_0x1ec2d8(0x1ef))/0xa+-parseInt(_0x1ec2d8(0x209))/0xb*(parseInt(_0x1ec2d8(0x1f9))/0xc);if(_0x3a71d6===_0x5abc17)break;else _0x2fcb64['push'](_0x2fcb64['shift']());}catch(_0x19b908){_0x2fcb64['push'](_0x2fcb64['shift']());}}}(_0x1c90,0xa8853));import{proxyCustomElement,HTMLElement,h,Host}from'@stencil/core/internal/client';import{d as _0x2ed5e0}from'./feedback-modal2.js';const feedbackButtonCss=_0x16b81b(0x1e5),FeedbackButton$1=proxyCustomElement(class extends HTMLElement{constructor(){const _0x39a11f=_0x16b81b,_0x29d80c={'wTATf':'Oops!\x20We\x20didn\x27t\x20receive\x20your\x20feedback.\x20Please\x20try\x20again\x20later.','ngEGy':_0x39a11f(0x20c),'vsALF':'Send','xkMzg':_0x39a11f(0x1f7),'tXHAZ':_0x39a11f(0x223),'yZdLh':_0x39a11f(0x1ec),'ZqJwq':'default'};super(),this[_0x39a11f(0x1cf)](),this[_0x39a11f(0x1df)](),this['modalTitle']='Share\x20your\x20feedback',this[_0x39a11f(0x204)]=_0x39a11f(0x1e8),this[_0x39a11f(0x233)]=_0x29d80c[_0x39a11f(0x20b)],this[_0x39a11f(0x200)]=_0x29d80c['ngEGy'],this['sendButtonText']=_0x29d80c[_0x39a11f(0x1f8)],this[_0x39a11f(0x1ed)]='',this[_0x39a11f(0x20d)]=_0x39a11f(0x20f),this[_0x39a11f(0x1f2)]=_0x29d80c['xkMzg'],this[_0x39a11f(0x219)]='',this[_0x39a11f(0x1f5)]=_0x29d80c[_0x39a11f(0x21d)],this[_0x39a11f(0x23c)]=_0x29d80c['yZdLh'],this[_0x39a11f(0x21e)]=_0x29d80c[_0x39a11f(0x238)],this[_0x39a11f(0x1d0)]=_0x29d80c[_0x39a11f(0x238)],this[_0x39a11f(0x203)]=![],this['hideScreenshotButton']=![];}['connectedCallback'](){const _0x362bc7=_0x16b81b,_0x5385ee={'KQXCS':'feedback-modal','fvCDV':_0x362bc7(0x204),'clPte':_0x362bc7(0x233),'iBMNo':_0x362bc7(0x200),'YiKFo':_0x362bc7(0x215),'ZFypZ':_0x362bc7(0x1ed),'bHeiK':'screenshotTopbarText','mNNCW':_0x362bc7(0x219),'UQasQ':'messagePlaceholder','qzpUZ':_0x362bc7(0x1f4)};this[_0x362bc7(0x22a)]=document['createElement'](_0x5385ee[_0x362bc7(0x214)]);const _0x3a40be=[_0x362bc7(0x218),_0x5385ee[_0x362bc7(0x23a)],_0x5385ee[_0x362bc7(0x231)],_0x5385ee[_0x362bc7(0x217)],_0x5385ee[_0x362bc7(0x23b)],_0x5385ee[_0x362bc7(0x20e)],_0x362bc7(0x20d),_0x5385ee['bHeiK'],_0x5385ee[_0x362bc7(0x20a)],_0x362bc7(0x1f5),_0x5385ee[_0x362bc7(0x1d1)],_0x5385ee['qzpUZ']];_0x3a40be['forEach'](_0x222608=>{const _0x3dd242=_0x362bc7;this[_0x3dd242(0x22a)][_0x222608]=this[_0x222608];}),document[_0x362bc7(0x1f1)]['appendChild'](this[_0x362bc7(0x22a)]);}[_0x16b81b(0x1d8)](){const _0x100469=_0x16b81b;document[_0x100469(0x1f1)]['removeChild'](this[_0x100469(0x22a)]);}['componentDidLoad'](){const _0x3537cb=_0x16b81b,_0x210636={'ITRNs':_0x3537cb(0x1d3),'KIHRe':'.feedback-button-content','YSHFv':function(_0x15a59f,_0x30aebe){return _0x15a59f*_0x30aebe;}};if(this[_0x3537cb(0x1d0)]===_0x210636[_0x3537cb(0x1e9)]){const _0x20b16e=this['el'][_0x3537cb(0x21c)][_0x3537cb(0x1e3)](_0x210636[_0x3537cb(0x21f)]);_0x20b16e[_0x3537cb(0x1fe)][_0x3537cb(0x205)]=_0x210636['YSHFv'](_0x20b16e[_0x3537cb(0x213)]/0x2,-0x1)+'px';}}[_0x16b81b(0x22c)](){const _0x5216b1=_0x16b81b;this['feedbackModal'][_0x5216b1(0x22c)]=!![];}['render'](){const _0x396a6f=_0x16b81b,_0x33c9e9={'IyVkV':function(_0x115144,_0x5d8451,_0x429809,_0x2fcddb){return _0x115144(_0x5d8451,_0x429809,_0x2fcddb);},'DXSKJ':function(_0x4ba4da,_0x539599,_0x4ad4b7,_0x2169e7,_0x58f3bb,_0x1a8fb7){return _0x4ba4da(_0x539599,_0x4ad4b7,_0x2169e7,_0x58f3bb,_0x1a8fb7);},'XzIZq':function(_0xf30b1,_0x1a0522,_0x846da7,_0x2dd8c5){return _0xf30b1(_0x1a0522,_0x846da7,_0x2dd8c5);},'eXySK':_0x396a6f(0x1e2),'yTRMt':_0x396a6f(0x1ce),'xPDlW':_0x396a6f(0x221),'MnXvS':_0x396a6f(0x201),'mTDbb':_0x396a6f(0x1fa),'qHphf':'none','qgIcU':_0x396a6f(0x23f),'gHjtC':_0x396a6f(0x1fc),'aokVW':function(_0x410314,_0x3b5f29,_0x4493b7){return _0x410314(_0x3b5f29,_0x4493b7);},'CYeAD':_0x396a6f(0x1d5),'jQjEb':_0x396a6f(0x208),'yYdQN':_0x396a6f(0x220),'uRVlk':function(_0x5a0180,_0x1a4932,_0x230446){return _0x5a0180(_0x1a4932,_0x230446);},'XBbkI':_0x396a6f(0x211),'RaIEq':_0x396a6f(0x1d9),'Mtnjq':function(_0x37ccf8,_0x33d054,_0x86d7b8){return _0x37ccf8(_0x33d054,_0x86d7b8);},'IeUVc':function(_0x31b57e,_0x178877){return _0x31b57e===_0x178877;},'tahDp':_0x396a6f(0x236),'RONyg':function(_0x1677f4,_0x10b964,_0xec4b5,_0x2b2ec5){return _0x1677f4(_0x10b964,_0xec4b5,_0x2b2ec5);},'NMVQU':_0x396a6f(0x1dc),'mKopI':function(_0x5210a1,_0xe47c46,_0xbcd4ba){return _0x5210a1(_0xe47c46,_0xbcd4ba);},'qeLQl':'M21\x2013v2a4\x204\x200\x200\x201-4\x204H3','llIhM':function(_0x232edc,_0x4073c1,_0x4db208){return _0x232edc(_0x4073c1,_0x4db208);},'JEdsZ':_0x396a6f(0x22e)};return _0x33c9e9[_0x396a6f(0x1ff)](h,Host,null,_0x33c9e9['DXSKJ'](h,'a',{'class':'feedback-button-content\x20feedback-button-content--'+this['buttonStyle']+_0x396a6f(0x232)+this[_0x396a6f(0x1d0)],'onClick':()=>this['showModal']()},!this[_0x396a6f(0x203)]&&this[_0x396a6f(0x21e)]==='dark'&&_0x33c9e9[_0x396a6f(0x22d)](h,_0x33c9e9['eXySK'],{'class':_0x33c9e9['yTRMt']},h(_0x33c9e9[_0x396a6f(0x207)],{'xmlns':_0x33c9e9[_0x396a6f(0x1d4)],'width':'16','height':'16','viewBox':_0x33c9e9[_0x396a6f(0x1e6)],'fill':_0x33c9e9[_0x396a6f(0x1e1)],'stroke':_0x33c9e9['qgIcU'],'stroke-width':'2','stroke-linecap':_0x33c9e9['gHjtC'],'stroke-linejoin':_0x396a6f(0x1fc),'class':_0x396a6f(0x1dc)},_0x33c9e9[_0x396a6f(0x239)](h,_0x396a6f(0x211),{'points':_0x33c9e9[_0x396a6f(0x1fd)]}),_0x33c9e9[_0x396a6f(0x239)](h,_0x33c9e9[_0x396a6f(0x1f3)],{'d':_0x33c9e9[_0x396a6f(0x227)]}),_0x33c9e9['uRVlk'](h,_0x33c9e9['XBbkI'],{'points':_0x33c9e9[_0x396a6f(0x240)]}),_0x33c9e9[_0x396a6f(0x237)](h,'path',{'d':_0x396a6f(0x230)}))),!this['hideIcon']&&_0x33c9e9[_0x396a6f(0x225)](this['buttonStyle'],_0x33c9e9[_0x396a6f(0x1d7)])&&_0x33c9e9[_0x396a6f(0x222)](h,_0x33c9e9['eXySK'],{'class':_0x396a6f(0x1ce)},h(_0x33c9e9[_0x396a6f(0x207)],{'xmlns':_0x33c9e9[_0x396a6f(0x1d4)],'width':'16','height':'16','viewBox':_0x33c9e9[_0x396a6f(0x1e6)],'fill':'none','stroke':'#0070F4','stroke-width':'2','stroke-linecap':_0x33c9e9['gHjtC'],'stroke-linejoin':_0x33c9e9[_0x396a6f(0x229)],'class':_0x33c9e9['NMVQU']},h(_0x396a6f(0x211),{'points':_0x33c9e9[_0x396a6f(0x1fd)]}),_0x33c9e9[_0x396a6f(0x22f)](h,'path',{'d':_0x33c9e9[_0x396a6f(0x227)]}),h(_0x33c9e9[_0x396a6f(0x1f0)],{'points':_0x396a6f(0x1d9)}),h(_0x396a6f(0x208),{'d':_0x33c9e9[_0x396a6f(0x1e0)]}))),_0x33c9e9['llIhM'](h,_0x33c9e9[_0x396a6f(0x234)],null)));}get['el'](){return this;}static get[_0x16b81b(0x1fe)](){return feedbackButtonCss;}},[0x1,_0x16b81b(0x202),{'modalTitle':[0x1,_0x16b81b(0x1d6)],'successModalTitle':[0x1,_0x16b81b(0x23d)],'errorModalTitle':[0x1,'error-modal-title'],'modalPosition':[0x1,_0x16b81b(0x210)],'sendButtonText':[0x1,_0x16b81b(0x241)],'project':[0x1],'screenshotButtonTooltipText':[0x1,_0x16b81b(0x1db)],'screenshotTopbarText':[0x1,_0x16b81b(0x22b)],'email':[0x1],'emailPlaceholder':[0x1,_0x16b81b(0x23e)],'messagePlaceholder':[0x1,'message-placeholder'],'buttonStyle':[0x1,'button-style'],'buttonPosition':[0x1,_0x16b81b(0x1dd)],'hideIcon':[0x4,_0x16b81b(0x1fb)],'hideScreenshotButton':[0x4,_0x16b81b(0x1eb)]}]);function defineCustomElement$1(){const _0x5c0311=_0x16b81b,_0x3c055e={'VLGPV':_0x5c0311(0x206),'QtstX':function(_0x2beeb3){return _0x2beeb3();},'vjJAh':'feedback-button'};if(typeof customElements===_0x5c0311(0x224))return;const _0x371120=[_0x3c055e[_0x5c0311(0x1d2)],_0x3c055e['VLGPV']];_0x371120[_0x5c0311(0x1ee)](_0x30b1d8=>{const _0x515fba=_0x5c0311;switch(_0x30b1d8){case'feedback-button':!customElements[_0x515fba(0x226)](_0x30b1d8)&&customElements[_0x515fba(0x216)](_0x30b1d8,FeedbackButton$1);break;case _0x3c055e[_0x515fba(0x1da)]:!customElements['get'](_0x30b1d8)&&_0x3c055e[_0x515fba(0x1f6)](_0x2ed5e0);break;}});}const FeedbackButton=FeedbackButton$1,defineCustomElement=defineCustomElement$1;export{FeedbackButton,defineCustomElement};function _0x1c90(){const _0x1bce08=['#fff','RaIEq','send-button-text','feedback-button-content-icon','__registerHost','buttonPosition','UQasQ','vjJAh','center-right','MnXvS','17\x201\x2021\x205\x2017\x209','modal-title','tahDp','disconnectedCallback','7\x2023\x203\x2019\x207\x2015','VLGPV','screenshot-button-tooltip-text','feather\x20feather-repeat','button-position','7odwSBI','__attachShadow','qeLQl','qHphf','span','querySelector','6170589rmuWOj','.feedback-button-content{cursor:pointer;z-index:300}.feedback-button-content--light{align-items:center;background-color:var(--feedback-white-color);border-radius:20px;box-shadow:rgba(60,\x2064,\x2067,\x200.3)\x200px\x201px\x202px\x200px,\x20rgba(60,\x2064,\x2067,\x200.15)\x200px\x202px\x206px\x202px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-primary-color);font-weight:bold;padding:8px\x2015px;font-size:var(--feedback-text-font-size)}.feedback-button-content--dark{align-items:center;background-color:var(--feedback-primary-color);border-radius:20px;box-shadow:rgba(60,\x2064,\x2067,\x200.3)\x200px\x201px\x202px\x200px,\x20rgba(60,\x2064,\x2067,\x200.15)\x200px\x202px\x206px\x202px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-white-color);font-weight:bold;padding:8px\x2015px;font-size:16px}.feedback-button-content--bottom-right{position:fixed;bottom:10px;right:10px}.feedback-button-content--center-right{position:fixed;top:50%;transform:rotate(-90deg)\x20translateY(-50%)}.feedback-button-content--center-right.feedback-button-content--dark,.feedback-button-content--center-right.feedback-button-content--light{border-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px}.feedback-button-content-icon{margin-right:5px;height:16px;width:16px}','mTDbb','241299AlanYO','Thanks\x20for\x20your\x20feedback!','ITRNs','503224nVnBng','hide-screenshot-button','How\x20could\x20this\x20page\x20be\x20more\x20helpful?','project','forEach','1532550vLbHII','XBbkI','body','screenshotTopbarText','jQjEb','hideScreenshotButton','emailPlaceholder','QtstX','SELECT\x20AN\x20ELEMENT\x20ON\x20THE\x20PAGE','vsALF','20595684ZAXgLY','0\x200\x2024\x2024','hide-icon','round','CYeAD','style','IyVkV','modalPosition','http://www.w3.org/2000/svg','feedback-button','hideIcon','successModalTitle','right','feedback-modal','xPDlW','path','11kNSZbc','mNNCW','wTATf','center','screenshotButtonTooltipText','ZFypZ','Take\x20a\x20Screenshot','modal-position','polyline','50LonOEa','offsetWidth','KQXCS','sendButtonText','define','iBMNo','modalTitle','email','16ikxMPJ','581iQPyUb','shadowRoot','tXHAZ','buttonStyle','KIHRe','M3\x2011V9a4\x204\x200\x200\x201\x204-4h14','svg','RONyg','Email\x20address\x20(optional)','undefined','IeUVc','get','yYdQN','11994LGOaAl','gHjtC','feedbackModal','screenshot-topbar-text','showModal','XzIZq','slot','mKopI','M21\x2013v2a4\x204\x200\x200\x201-4\x204H3','clPte','\x20feedback-button-content--','errorModalTitle','JEdsZ','83002FZDRDS','light','Mtnjq','ZqJwq','aokVW','fvCDV','YiKFo','messagePlaceholder','success-modal-title','email-placeholder'];_0x1c90=function(){return _0x1bce08;};return _0x1c90();}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const FeedbackModal = FeedbackModal$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { FeedbackModal, defineCustomElement };
|
|
1
|
+
(function(_0x1d587b,_0x288ed2){const _0xada5c=_0x55fa,_0x14f81a=_0x1d587b();while(!![]){try{const _0x332020=-parseInt(_0xada5c(0x197))/0x1*(-parseInt(_0xada5c(0x194))/0x2)+-parseInt(_0xada5c(0x199))/0x3*(-parseInt(_0xada5c(0x191))/0x4)+parseInt(_0xada5c(0x193))/0x5+-parseInt(_0xada5c(0x195))/0x6+-parseInt(_0xada5c(0x198))/0x7+parseInt(_0xada5c(0x196))/0x8+-parseInt(_0xada5c(0x192))/0x9;if(_0x332020===_0x288ed2)break;else _0x14f81a['push'](_0x14f81a['shift']());}catch(_0x228779){_0x14f81a['push'](_0x14f81a['shift']());}}}(_0x53ad,0xe40b0));import{F as _0x4aeace,d as _0x43b90f}from'./feedback-modal2.js';const FeedbackModal=_0x4aeace,defineCustomElement=_0x43b90f;function _0x53ad(){const _0x112c2a=['7329843ZIlcUz','4629285rkcmdI','10TGXVJj','9562080WbvJnY','10952672jHNZyI','317166XPlXMl','7576940coLwGF','60QBSmOe','108764XKLnJe'];_0x53ad=function(){return _0x112c2a;};return _0x53ad();}function _0x55fa(_0x4f40eb,_0x228955){const _0x53adba=_0x53ad();return _0x55fa=function(_0x55fa0f,_0x104099){_0x55fa0f=_0x55fa0f-0x191;let _0x181ddc=_0x53adba[_0x55fa0f];return _0x181ddc;},_0x55fa(_0x4f40eb,_0x228955);}export{FeedbackModal,defineCustomElement};
|