pushfeedback 0.1.36 → 0.1.37

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.
@@ -1 +1,620 @@
1
- const _0x4d4c71=_0x5b25;(function(_0x2e416e,_0x29d84d){const _0x1fed77=_0x5b25,_0x12690c=_0x2e416e();while(!![]){try{const _0x51579f=-parseInt(_0x1fed77(0x238))/0x1+parseInt(_0x1fed77(0x2c5))/0x2*(parseInt(_0x1fed77(0x272))/0x3)+-parseInt(_0x1fed77(0x268))/0x4+parseInt(_0x1fed77(0x22a))/0x5+-parseInt(_0x1fed77(0x252))/0x6*(parseInt(_0x1fed77(0x283))/0x7)+-parseInt(_0x1fed77(0x213))/0x8+-parseInt(_0x1fed77(0x285))/0x9*(-parseInt(_0x1fed77(0x1f9))/0xa);if(_0x51579f===_0x29d84d)break;else _0x12690c['push'](_0x12690c['shift']());}catch(_0x4d409f){_0x12690c['push'](_0x12690c['shift']());}}}(_0x5db1,0xecb26));function _0x5b25(_0x470b13,_0x4098a5){const _0x5db1ef=_0x5db1();return _0x5b25=function(_0x5b257b,_0xe8fc5a){_0x5b257b=_0x5b257b-0x1f3;let _0x4e03f9=_0x5db1ef[_0x5b257b];return _0x4e03f9;},_0x5b25(_0x470b13,_0x4098a5);}import{Host,h}from'@stencil/core';export class FeedbackButton{constructor(){const _0x21bb31=_0x5b25,_0x394619={'CAKfh':'default','RGArF':_0x21bb31(0x2cf),'ccxpU':_0x21bb31(0x2c1),'QqnaD':_0x21bb31(0x246),'argyZ':_0x21bb31(0x212),'dpkdx':'The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.','jhLFE':_0x21bb31(0x2c2),'OjtEw':_0x21bb31(0x24b),'XeLVE':_0x21bb31(0x280),'PMyYp':_0x21bb31(0x232),'buAvW':_0x21bb31(0x220),'KiJEv':_0x21bb31(0x23b),'Qntju':_0x21bb31(0x20a),'toOvX':_0x21bb31(0x264),'xevKx':'How\x20would\x20you\x20rate\x20this\x20page?'},_0x5da760=_0x21bb31(0x279)[_0x21bb31(0x2ca)]('|');let _0x20dd1d=0x0;while(!![]){switch(_0x5da760[_0x20dd1d++]){case'0':this[_0x21bb31(0x1fc)]=_0x394619['CAKfh'];continue;case'1':this['modalTitle']=_0x394619[_0x21bb31(0x25a)];continue;case'2':this[_0x21bb31(0x1fb)]=_0x394619[_0x21bb31(0x21b)];continue;case'3':this[_0x21bb31(0x2d3)]=_0x394619[_0x21bb31(0x203)];continue;case'4':this[_0x21bb31(0x265)]=_0x394619[_0x21bb31(0x2a8)];continue;case'5':this['hideEmail']=![];continue;case'6':this[_0x21bb31(0x205)]=_0x394619[_0x21bb31(0x255)];continue;case'7':this['emailPlaceholder']=_0x394619[_0x21bb31(0x239)];continue;case'8':this['modalTitleError']=_0x394619[_0x21bb31(0x1f5)];continue;case'9':this[_0x21bb31(0x23c)]=!![];continue;case'10':this[_0x21bb31(0x2af)]=![];continue;case'11':this['customFont']=![];continue;case'12':this[_0x21bb31(0x2a0)]=_0x394619[_0x21bb31(0x28b)];continue;case'13':this[_0x21bb31(0x29c)]=_0x394619[_0x21bb31(0x23f)];continue;case'14':this[_0x21bb31(0x2c3)]='';continue;case'15':this[_0x21bb31(0x25d)]=_0x21bb31(0x245);continue;case'16':this['hideScreenshotButton']=![];continue;case'17':this['ratingMode']=_0x394619[_0x21bb31(0x295)];continue;case'18':this[_0x21bb31(0x2b4)]='';continue;case'19':this['screenshotButtonText']=_0x394619[_0x21bb31(0x260)];continue;case'20':this[_0x21bb31(0x23e)]='';continue;case'21':this[_0x21bb31(0x2a1)]=_0x21bb31(0x2d4);continue;case'22':this[_0x21bb31(0x202)]='Send';continue;case'23':this[_0x21bb31(0x208)]=!![];continue;case'24':this[_0x21bb31(0x25b)]=_0x394619[_0x21bb31(0x2b6)];continue;case'25':this[_0x21bb31(0x2c7)]=_0x394619[_0x21bb31(0x277)];continue;case'26':this[_0x21bb31(0x282)]=![];continue;case'27':this[_0x21bb31(0x234)]=_0x394619[_0x21bb31(0x262)];continue;}break;}}['connectedCallback'](){const _0x2e1a65=_0x5b25,_0x33665e={'yspKL':_0x2e1a65(0x28c),'OXpKi':'customFont','OReYl':_0x2e1a65(0x205),'pDFdR':_0x2e1a65(0x266),'SykgP':_0x2e1a65(0x265),'EEXbz':_0x2e1a65(0x20c),'eEWtP':_0x2e1a65(0x23e),'aiLYw':_0x2e1a65(0x2b4),'OaFnD':_0x2e1a65(0x250),'XJJFP':_0x2e1a65(0x24e),'iwvbU':_0x2e1a65(0x2c3),'QJjCt':_0x2e1a65(0x2b8),'qREAK':'messagePlaceholder','fuUAh':_0x2e1a65(0x2af),'tlNLQ':_0x2e1a65(0x25d),'PsMFq':_0x2e1a65(0x270),'qesGZ':_0x2e1a65(0x2c7),'ZIZRd':_0x2e1a65(0x208)};this['feedbackModal']=document[_0x2e1a65(0x22e)](_0x33665e[_0x2e1a65(0x25c)]);const _0x2e39b7=[_0x33665e[_0x2e1a65(0x274)],'errorMessage',_0x33665e[_0x2e1a65(0x257)],'errorMessage404',_0x33665e[_0x2e1a65(0x218)],_0x33665e['SykgP'],_0x33665e['EEXbz'],_0x2e1a65(0x1fb),_0x2e1a65(0x202),_0x33665e[_0x2e1a65(0x204)],_0x33665e[_0x2e1a65(0x27d)],_0x33665e[_0x2e1a65(0x236)],_0x2e1a65(0x25b),_0x33665e[_0x2e1a65(0x2a9)],_0x33665e['iwvbU'],_0x33665e[_0x2e1a65(0x2ba)],_0x33665e[_0x2e1a65(0x2d6)],_0x33665e[_0x2e1a65(0x27f)],_0x2e1a65(0x1f6),_0x33665e[_0x2e1a65(0x254)],'ratingStarsPlaceholder',_0x33665e[_0x2e1a65(0x1f3)],_0x2e1a65(0x23c),_0x33665e[_0x2e1a65(0x26a)],_0x33665e[_0x2e1a65(0x28f)]];_0x2e39b7[_0x2e1a65(0x222)](_0x51ae93=>{const _0x143757=_0x2e1a65;this[_0x143757(0x2b2)][_0x51ae93]=this[_0x51ae93];}),document[_0x2e1a65(0x2b7)][_0x2e1a65(0x22f)](this[_0x2e1a65(0x2b2)]);}[_0x4d4c71(0x2a3)](){const _0x1eb37f=_0x4d4c71;document[_0x1eb37f(0x2b7)][_0x1eb37f(0x247)](this[_0x1eb37f(0x2b2)]);}[_0x4d4c71(0x20b)](){const _0x1fefee=_0x4d4c71,_0x11161c=/safari/i[_0x1fefee(0x291)](navigator[_0x1fefee(0x251)])&&!/chrome/i[_0x1fefee(0x291)](navigator[_0x1fefee(0x251)]);return _0x11161c;}[_0x4d4c71(0x25f)](){const _0x3d0f77=_0x4d4c71,_0xe16448={'RoZsU':function(_0x56d644,_0xf187aa){return _0x56d644===_0xf187aa;},'oWlLw':_0x3d0f77(0x249),'tIQUv':function(_0x5285be,_0x5508ef){return _0x5285be*_0x5508ef;},'VOnEX':function(_0x19b98b,_0x3d2d42){return _0x19b98b/_0x3d2d42;},'FCKTZ':function(_0x12cb2e,_0x320b5f){return _0x12cb2e+_0x320b5f;}};if(_0xe16448[_0x3d0f77(0x281)](this['buttonPosition'],_0x3d0f77(0x2c9))){const _0x268d86=this['el'][_0x3d0f77(0x293)][_0x3d0f77(0x200)](_0xe16448[_0x3d0f77(0x271)]);let _0x1c97e4=0x0;this['isSafariBrowser']()&&(_0x1c97e4=0xa),_0x268d86[_0x3d0f77(0x2cd)][_0x3d0f77(0x237)]=_0xe16448['tIQUv'](_0xe16448[_0x3d0f77(0x2cc)](_0xe16448[_0x3d0f77(0x2c4)](_0x268d86[_0x3d0f77(0x287)],_0x1c97e4),0x2),-0x1)+'px';}!this[_0x3d0f77(0x215)]&&this[_0x3d0f77(0x201)]();}[_0x4d4c71(0x201)](){const _0x169289=_0x4d4c71,_0x221abf={'jNJjl':_0x169289(0x288),'rtnjo':_0x169289(0x2b9),'CYrkK':_0x169289(0x2ac)},_0x27dbc6=document[_0x169289(0x22e)](_0x221abf[_0x169289(0x1fe)]);_0x27dbc6[_0x169289(0x216)]=_0x221abf[_0x169289(0x210)],_0x27dbc6[_0x169289(0x253)]=_0x221abf[_0x169289(0x298)],document['head'][_0x169289(0x22f)](_0x27dbc6);}[_0x4d4c71(0x244)](){const _0xa1de63=_0x4d4c71;this['feedbackModal'][_0xa1de63(0x244)]=!![];}[_0x4d4c71(0x20e)](){const _0x43140a=_0x4d4c71,_0x42f91b={'CqhpM':function(_0x58a782,_0x3abb72,_0x5d4296,_0xcb4c4e){return _0x58a782(_0x3abb72,_0x5d4296,_0xcb4c4e);},'KpkWl':function(_0x1b64bb,_0x16fdda,_0x55c88a,_0x3b8e9e,_0x5f2d64,_0x5de9d0){return _0x1b64bb(_0x16fdda,_0x55c88a,_0x3b8e9e,_0x5f2d64,_0x5de9d0);},'QrTrX':function(_0x44fb0d,_0x2230f9){return _0x44fb0d===_0x2230f9;},'EPMQc':'dark','AlKpL':_0x43140a(0x21c),'sVWeP':_0x43140a(0x297),'vsWxo':function(_0x3a5b09,_0x3686aa,_0x2a3f01,_0x910965,_0x3f2968){return _0x3a5b09(_0x3686aa,_0x2a3f01,_0x910965,_0x3f2968);},'UXruw':_0x43140a(0x2ce),'YKaVZ':_0x43140a(0x229),'NLRmI':_0x43140a(0x28a),'srgor':_0x43140a(0x209),'NoiLD':'round','vYkOR':'feather\x20feather-edit-3','UhCGL':_0x43140a(0x242),'XtYFF':_0x43140a(0x20f),'XoMzC':_0x43140a(0x225),'qdvgS':_0x43140a(0x217),'aDZCe':function(_0x3c7689,_0x248527,_0x40932e,_0x464757){return _0x3c7689(_0x248527,_0x40932e,_0x464757);},'sBSUk':_0x43140a(0x231),'klJdn':function(_0x52a831,_0x1cbffa,_0x2a27c6){return _0x52a831(_0x1cbffa,_0x2a27c6);},'bYkgr':_0x43140a(0x29a)};return _0x42f91b[_0x43140a(0x275)](h,Host,null,_0x42f91b['KpkWl'](h,'a',{'class':'feedback-button-content\x20feedback-button-content--'+this[_0x43140a(0x2a1)]+_0x43140a(0x25e)+this['buttonPosition'],'onClick':()=>this[_0x43140a(0x244)]()},!this[_0x43140a(0x282)]&&_0x42f91b[_0x43140a(0x2c8)](this['buttonStyle'],_0x42f91b[_0x43140a(0x2b0)])&&h(_0x42f91b['AlKpL'],{'class':_0x42f91b[_0x43140a(0x2d0)]},_0x42f91b[_0x43140a(0x226)](h,_0x42f91b[_0x43140a(0x2ad)],{'xmlns':_0x42f91b[_0x43140a(0x2c0)],'width':'16','height':'16','viewBox':_0x43140a(0x231),'fill':_0x42f91b[_0x43140a(0x2ae)],'stroke':_0x42f91b['srgor'],'stroke-width':'2','stroke-linecap':_0x42f91b[_0x43140a(0x29f)],'stroke-linejoin':_0x42f91b['NoiLD'],'class':_0x42f91b['vYkOR']},h(_0x43140a(0x20f),{'d':_0x42f91b[_0x43140a(0x299)]}),h(_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b['XoMzC']}))),!this[_0x43140a(0x282)]&&this[_0x43140a(0x2a1)]===_0x42f91b[_0x43140a(0x1f7)]&&_0x42f91b[_0x43140a(0x2ab)](h,_0x42f91b[_0x43140a(0x235)],{'class':_0x42f91b[_0x43140a(0x2d0)]},h(_0x42f91b[_0x43140a(0x2ad)],{'xmlns':_0x42f91b[_0x43140a(0x2c0)],'width':'16','height':'16','viewBox':_0x42f91b[_0x43140a(0x27b)],'fill':_0x43140a(0x28a),'stroke':_0x43140a(0x223),'stroke-width':'2','stroke-linecap':_0x42f91b[_0x43140a(0x29f)],'stroke-linejoin':_0x43140a(0x233),'class':_0x42f91b[_0x43140a(0x2d2)]},h(_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b[_0x43140a(0x299)]}),_0x42f91b[_0x43140a(0x22b)](h,_0x42f91b[_0x43140a(0x224)],{'d':_0x42f91b[_0x43140a(0x26b)]}))),_0x42f91b[_0x43140a(0x22b)](h,_0x42f91b['bYkgr'],null)));}static get['is'](){const _0x347a72=_0x4d4c71,_0x4874cf={'PuznW':'feedback-button'};return _0x4874cf[_0x347a72(0x230)];}static get[_0x4d4c71(0x2bb)](){const _0x2c732d=_0x4d4c71,_0x56bd84={'KeuLv':_0x2c732d(0x23a)};return _0x56bd84[_0x2c732d(0x219)];}static get[_0x4d4c71(0x1ff)](){const _0x2ea2d=_0x4d4c71,_0x4fcab4={'ydgPk':_0x2ea2d(0x273)};return{'$':[_0x4fcab4['ydgPk']]};}static get[_0x4d4c71(0x214)](){const _0x40d9d1=_0x4d4c71,_0x138628={'HQVxz':_0x40d9d1(0x273)};return{'$':[_0x138628[_0x40d9d1(0x207)]]};}static get['properties'](){const _0x3d52af=_0x4d4c71,_0x49b6c2={'EyMih':_0x3d52af(0x24a),'lptUr':_0x3d52af(0x286),'VcnfI':'error-message','TvLSx':_0x3d52af(0x258),'mUHdA':_0x3d52af(0x2cb),'ZjMtZ':_0x3d52af(0x26d),'WQRdQ':'\x22We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.\x22','DGBVx':'modal-title-success','ruOsS':_0x3d52af(0x2b3),'qPtIw':_0x3d52af(0x27a),'rIOaK':_0x3d52af(0x24d),'qlhFS':_0x3d52af(0x211),'iLMvJ':_0x3d52af(0x24c),'eVtvE':_0x3d52af(0x259),'Jexeu':'\x27Send\x27','PcVFN':'project','XRBUZ':'screenshot-button-text','nLbnz':_0x3d52af(0x26e),'viskv':_0x3d52af(0x26f),'YZAak':_0x3d52af(0x228),'uAToE':_0x3d52af(0x263),'xVKfe':_0x3d52af(0x294),'jRieg':'message-placeholder','gJKOl':_0x3d52af(0x20d),'CZsQG':_0x3d52af(0x1fd),'DLZjB':'rating-placeholder','FzXtH':'\x27Was\x20this\x20page\x20helpful?\x27','pqUmL':_0x3d52af(0x256),'BEGyJ':_0x3d52af(0x241),'HMMro':_0x3d52af(0x284),'bBDJZ':_0x3d52af(0x221),'jLjON':_0x3d52af(0x27c),'KROsY':_0x3d52af(0x26c),'RExIk':_0x3d52af(0x261),'JhsTF':'hide-privacy-policy','lhxoh':'privacy-policy-text','IElgY':_0x3d52af(0x248),'YeuhH':_0x3d52af(0x21a),'TVIvM':_0x3d52af(0x206)};return{'customFont':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2['EyMih'],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2a6),'reflect':![],'defaultValue':_0x3d52af(0x294)},'errorMessage':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2bc)],'reflect':![],'defaultValue':_0x49b6c2['TvLSx']},'errorMessage403':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['mUHdA'],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x1f8)]},'errorMessage404':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2d5),'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x27e)]},'modalTitle':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':'modal-title','reflect':![],'defaultValue':'\x27Share\x20your\x20feedback\x27'},'modalTitleSuccess':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':'string','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x278)],'reflect':![],'defaultValue':_0x49b6c2['ruOsS']},'modalTitleError':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x267)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x290)]},'modalPosition':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x3d52af(0x286),'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x240)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x1f4)]},'sendButtonText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x276)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2a7)]},'successMessage':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x3d52af(0x286),'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x243),'reflect':![],'defaultValue':'\x22\x22'},'project':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x24f)],'reflect':![],'defaultValue':'\x27\x27'},'screenshotButtonText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2['lptUr'],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x22c)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28e)]},'screenshotTopbarText':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x21e)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x21f)]},'hideEmail':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2['EyMih'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2bf)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'emailAddress':{'type':_0x3d52af(0x286),'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2b1),'reflect':![],'defaultValue':'\x27\x27'},'emailPlaceholder':{'type':_0x3d52af(0x286),'mutable':![],'complexType':{'original':'string','resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x3d52af(0x2aa),'reflect':![],'defaultValue':_0x3d52af(0x23d)},'messagePlaceholder':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2a4)],'reflect':![],'defaultValue':_0x3d52af(0x2c6)},'hideRating':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['gJKOl'],'reflect':![],'defaultValue':_0x3d52af(0x294)},'ratingMode':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2['lptUr'],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x296)],'reflect':![],'defaultValue':_0x3d52af(0x29b)},'ratingPlaceholder':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2['lptUr'],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2['DLZjB'],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2be)]},'ratingStarsPlaceholder':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2a5)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x22d)]},'buttonStyle':{'type':_0x49b6c2['lptUr'],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x21d)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28d)]},'buttonPosition':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x3d52af(0x286),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2b5)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x28d)]},'hideIcon':{'type':_0x49b6c2['EyMih'],'mutable':![],'complexType':{'original':_0x3d52af(0x24a),'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x1fa)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'hideScreenshotButton':{'type':_0x49b6c2['EyMih'],'mutable':![],'complexType':{'original':'boolean','resolved':_0x3d52af(0x24a),'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x269)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x289)]},'hidePrivacyPolicy':{'type':'boolean','mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':_0x49b6c2[_0x3d52af(0x2bd)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x227)],'reflect':![],'defaultValue':_0x3d52af(0x206)},'privacyPolicyText':{'type':_0x49b6c2[_0x3d52af(0x2d7)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2d7)],'resolved':_0x49b6c2[_0x3d52af(0x2d7)],'references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x29d)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x2a2)]},'fetchData':{'type':_0x49b6c2[_0x3d52af(0x2bd)],'mutable':![],'complexType':{'original':_0x49b6c2[_0x3d52af(0x2bd)],'resolved':'boolean','references':{}},'required':![],'optional':![],'docs':{'tags':[],'text':''},'attribute':_0x49b6c2[_0x3d52af(0x2d1)],'reflect':![],'defaultValue':_0x49b6c2[_0x3d52af(0x29e)]}};}static get[_0x4d4c71(0x292)](){return'el';}}function _0x5db1(){const _0x2d0912=['M16.5\x203.5a2.121\x202.121\x200\x200\x201\x203\x203L7\x2019l-4\x201\x201-4L16.5\x203.5z','vsWxo','JhsTF','\x27Select\x20an\x20element\x20on\x20this\x20page\x27','http://www.w3.org/2000/svg','1949220sfnDTt','klJdn','XRBUZ','BEGyJ','createElement','appendChild','PuznW','0\x200\x2024\x2024','We\x20could\x20not\x20find\x20the\x20provided\x20project\x20id\x20in\x20PushFeedback.','round','ratingStarsPlaceholder','AlKpL','OaFnD','right','1770059scuJRE','jhLFE','shadow','Add\x20a\x20screenshot','hidePrivacyPolicy','\x27Email\x20address\x20(optional)\x27','successMessage','PMyYp','qlhFS','\x27How\x20would\x20you\x20rate\x20this\x20page?\x27','M12\x2020h9','success-message','showModal','Was\x20this\x20page\x20helpful?','Please\x20try\x20again\x20later.','removeChild','\x22I\x20have\x20read\x20and\x20expressly\x20consent\x20to\x20the\x20terms\x20of\x20the\x20<a\x20href=\x27https://pushfeedback.com/privacy\x27>Privacy\x20Policy</a>.\x22','.feedback-button-content','boolean','Oops!','\x27center\x27','\x22Oops!\x22','hideEmail','PcVFN','screenshotButtonText','userAgent','6abPpYa','rel','tlNLQ','dpkdx','rating-stars-placeholder','OReYl','\x22Please\x20try\x20again\x20later.\x22','send-button-text','RGArF','screenshotTopbarText','yspKL','ratingPlaceholder','\x20feedback-button-content--','componentDidLoad','KiJEv','hide-screenshot-button','xevKx','hide-email','I\x20have\x20read\x20and\x20expressly\x20consent\x20to\x20the\x20terms\x20of\x20the\x20<a\x20href=\x27https://pushfeedback.com/privacy\x27>Privacy\x20Policy</a>.','modalTitleSuccess','modalTitle','qPtIw','4702092BUuKyk','RExIk','qesGZ','XoMzC','hide-icon','\x22The\x20request\x20URL\x20does\x20not\x20match\x20the\x20one\x20defined\x20in\x20PushFeedback\x20for\x20this\x20project.\x22','\x27Add\x20a\x20screenshot\x27','screenshot-topbar-text','hideScreenshotButton','oWlLw','453JqoRsS','feedback-button.css','OXpKi','CqhpM','eVtvE','toOvX','DGBVx','11|3|6|13|1|4|8|2|22|20|18|19|24|5|14|7|12|10|17|15|27|21|0|26|16|9|25|23','modal-title-error','sBSUk','button-position','aiLYw','WQRdQ','fuUAh','Comments','RoZsU','hideIcon','5630933rmSUpm','button-style','9zCedYy','string','offsetWidth','link','xVKfe','none','XeLVE','feedback-modal','bBDJZ','nLbnz','ZIZRd','rIOaK','test','elementRef','shadowRoot','false','buAvW','CZsQG','feedback-button-content-icon','CYrkK','UhCGL','slot','\x27thumbs\x27','errorMessage404','lhxoh','TVIvM','NoiLD','messagePlaceholder','buttonStyle','IElgY','disconnectedCallback','jRieg','pqUmL','custom-font','Jexeu','argyZ','XJJFP','email-placeholder','aDZCe','stylesheet','UXruw','NLRmI','hideRating','EPMQc','email-address','feedbackModal','\x27Thanks\x20for\x20your\x20feedback!\x27','project','jLjON','Qntju','body','emailPlaceholder','https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap','QJjCt','encapsulation','VcnfI','EyMih','FzXtH','uAToE','YKaVZ','center','Email\x20address\x20(optional)','emailAddress','FCKTZ','25268wTdSYx','\x27Comments\x27','privacyPolicyText','QrTrX','center-right','split','error-message-4-0-3','VOnEX','style','svg','Share\x20your\x20feedback','sVWeP','YeuhH','vYkOR','errorMessage','default','error-message-4-0-4','qREAK','lptUr','PsMFq','iLMvJ','OjtEw','ratingMode','qdvgS','ZjMtZ','24697930ZdpjgE','KROsY','modalPosition','buttonPosition','rating-mode','jNJjl','originalStyleUrls','querySelector','loadInterFont','sendButtonText','QqnaD','eEWtP','errorMessage403','true','HQVxz','fetchData','#fff','Select\x20an\x20element\x20on\x20this\x20page','isSafariBrowser','modalTitleError','hide-rating','render','path','rtnjo','modal-position','Thanks\x20for\x20your\x20feedback!','382880cpywbp','styleUrls','customFont','href','light','pDFdR','KeuLv','fetch-data','ccxpU','span','HMMro','viskv','YZAak','thumbs','\x27default\x27','forEach','#0070F4','XtYFF'];_0x5db1=function(){return _0x2d0912;};return _0x5db1();}
1
+ import { Host, h } from '@stencil/core';
2
+ export class FeedbackButton {
3
+ constructor() {
4
+ this.customFont = false;
5
+ this.errorMessage = "Please try again later.";
6
+ this.errorMessage403 = "The request URL does not match the one defined in PushFeedback for this project.";
7
+ this.errorMessage404 = "We could not find the provided project id in PushFeedback.";
8
+ this.modalTitle = 'Share your feedback';
9
+ this.modalTitleSuccess = 'Thanks for your feedback!';
10
+ this.modalTitleError = "Oops!";
11
+ this.modalPosition = 'center';
12
+ this.sendButtonText = 'Send';
13
+ this.successMessage = "";
14
+ this.project = '';
15
+ this.screenshotButtonText = 'Add a screenshot';
16
+ this.screenshotTopbarText = 'Select an element on this page';
17
+ this.hideEmail = false;
18
+ this.emailAddress = '';
19
+ this.emailPlaceholder = 'Email address (optional)';
20
+ this.messagePlaceholder = 'Comments';
21
+ this.hideRating = false;
22
+ this.ratingMode = 'thumbs';
23
+ this.ratingPlaceholder = 'Was this page helpful?';
24
+ this.ratingStarsPlaceholder = 'How would you rate this page?';
25
+ this.buttonStyle = 'default';
26
+ this.buttonPosition = 'default';
27
+ this.hideIcon = false;
28
+ this.hideScreenshotButton = false;
29
+ this.hidePrivacyPolicy = true;
30
+ this.privacyPolicyText = "I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.";
31
+ this.fetchData = true;
32
+ }
33
+ connectedCallback() {
34
+ this.feedbackModal = document.createElement('feedback-modal');
35
+ const props = [
36
+ 'customFont',
37
+ 'errorMessage',
38
+ 'errorMessage403',
39
+ 'errorMessage404',
40
+ 'modalTitle',
41
+ 'modalTitleSuccess',
42
+ 'modalTitleError',
43
+ 'modalPosition',
44
+ 'sendButtonText',
45
+ 'successMessage',
46
+ 'project',
47
+ 'screenshotButtonText',
48
+ 'screenshotTopbarText',
49
+ 'hideEmail',
50
+ 'emailAddress',
51
+ 'emailPlaceholder',
52
+ 'messagePlaceholder',
53
+ 'hideRating',
54
+ 'ratingMode',
55
+ 'ratingPlaceholder',
56
+ 'ratingStarsPlaceholder',
57
+ 'hideScreenshotButton',
58
+ 'hidePrivacyPolicy',
59
+ 'privacyPolicyText',
60
+ 'fetchData'
61
+ ];
62
+ props.forEach(prop => {
63
+ this.feedbackModal[prop] = this[prop];
64
+ });
65
+ document.body.appendChild(this.feedbackModal);
66
+ }
67
+ disconnectedCallback() {
68
+ document.body.removeChild(this.feedbackModal);
69
+ }
70
+ isSafariBrowser() {
71
+ const isSafari = /safari/i.test(navigator.userAgent) && !/chrome/i.test(navigator.userAgent);
72
+ return isSafari;
73
+ }
74
+ componentDidLoad() {
75
+ if (this.buttonPosition === 'center-right') {
76
+ const buttonContent = this.el.shadowRoot.querySelector('.feedback-button-content');
77
+ let adjustement = 0;
78
+ if (this.isSafariBrowser()) {
79
+ adjustement = 10;
80
+ }
81
+ buttonContent.style.right = `${(buttonContent.offsetWidth + adjustement) / 2 * -1}px`;
82
+ }
83
+ if (!this.customFont) {
84
+ this.loadInterFont();
85
+ }
86
+ }
87
+ loadInterFont() {
88
+ const link = document.createElement('link');
89
+ link.href = 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap';
90
+ link.rel = 'stylesheet';
91
+ document.head.appendChild(link);
92
+ }
93
+ showModal() {
94
+ this.feedbackModal.showModal = true;
95
+ }
96
+ render() {
97
+ 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-edit-3" }, h("path", { d: "M12 20h9" }), h("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" })))), !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-edit-3" }, h("path", { d: "M12 20h9" }), h("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" })))), h("slot", null))));
98
+ }
99
+ static get is() { return "feedback-button"; }
100
+ static get encapsulation() { return "shadow"; }
101
+ static get originalStyleUrls() {
102
+ return {
103
+ "$": ["feedback-button.css"]
104
+ };
105
+ }
106
+ static get styleUrls() {
107
+ return {
108
+ "$": ["feedback-button.css"]
109
+ };
110
+ }
111
+ static get properties() {
112
+ return {
113
+ "customFont": {
114
+ "type": "boolean",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "boolean",
118
+ "resolved": "boolean",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": ""
126
+ },
127
+ "attribute": "custom-font",
128
+ "reflect": false,
129
+ "defaultValue": "false"
130
+ },
131
+ "errorMessage": {
132
+ "type": "string",
133
+ "mutable": false,
134
+ "complexType": {
135
+ "original": "string",
136
+ "resolved": "string",
137
+ "references": {}
138
+ },
139
+ "required": false,
140
+ "optional": false,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": ""
144
+ },
145
+ "attribute": "error-message",
146
+ "reflect": false,
147
+ "defaultValue": "\"Please try again later.\""
148
+ },
149
+ "errorMessage403": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "string",
154
+ "resolved": "string",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": ""
162
+ },
163
+ "attribute": "error-message-4-0-3",
164
+ "reflect": false,
165
+ "defaultValue": "\"The request URL does not match the one defined in PushFeedback for this project.\""
166
+ },
167
+ "errorMessage404": {
168
+ "type": "string",
169
+ "mutable": false,
170
+ "complexType": {
171
+ "original": "string",
172
+ "resolved": "string",
173
+ "references": {}
174
+ },
175
+ "required": false,
176
+ "optional": false,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": ""
180
+ },
181
+ "attribute": "error-message-4-0-4",
182
+ "reflect": false,
183
+ "defaultValue": "\"We could not find the provided project id in PushFeedback.\""
184
+ },
185
+ "modalTitle": {
186
+ "type": "string",
187
+ "mutable": false,
188
+ "complexType": {
189
+ "original": "string",
190
+ "resolved": "string",
191
+ "references": {}
192
+ },
193
+ "required": false,
194
+ "optional": false,
195
+ "docs": {
196
+ "tags": [],
197
+ "text": ""
198
+ },
199
+ "attribute": "modal-title",
200
+ "reflect": false,
201
+ "defaultValue": "'Share your feedback'"
202
+ },
203
+ "modalTitleSuccess": {
204
+ "type": "string",
205
+ "mutable": false,
206
+ "complexType": {
207
+ "original": "string",
208
+ "resolved": "string",
209
+ "references": {}
210
+ },
211
+ "required": false,
212
+ "optional": false,
213
+ "docs": {
214
+ "tags": [],
215
+ "text": ""
216
+ },
217
+ "attribute": "modal-title-success",
218
+ "reflect": false,
219
+ "defaultValue": "'Thanks for your feedback!'"
220
+ },
221
+ "modalTitleError": {
222
+ "type": "string",
223
+ "mutable": false,
224
+ "complexType": {
225
+ "original": "string",
226
+ "resolved": "string",
227
+ "references": {}
228
+ },
229
+ "required": false,
230
+ "optional": false,
231
+ "docs": {
232
+ "tags": [],
233
+ "text": ""
234
+ },
235
+ "attribute": "modal-title-error",
236
+ "reflect": false,
237
+ "defaultValue": "\"Oops!\""
238
+ },
239
+ "modalPosition": {
240
+ "type": "string",
241
+ "mutable": false,
242
+ "complexType": {
243
+ "original": "string",
244
+ "resolved": "string",
245
+ "references": {}
246
+ },
247
+ "required": false,
248
+ "optional": false,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ },
253
+ "attribute": "modal-position",
254
+ "reflect": false,
255
+ "defaultValue": "'center'"
256
+ },
257
+ "sendButtonText": {
258
+ "type": "string",
259
+ "mutable": false,
260
+ "complexType": {
261
+ "original": "string",
262
+ "resolved": "string",
263
+ "references": {}
264
+ },
265
+ "required": false,
266
+ "optional": false,
267
+ "docs": {
268
+ "tags": [],
269
+ "text": ""
270
+ },
271
+ "attribute": "send-button-text",
272
+ "reflect": false,
273
+ "defaultValue": "'Send'"
274
+ },
275
+ "successMessage": {
276
+ "type": "string",
277
+ "mutable": false,
278
+ "complexType": {
279
+ "original": "string",
280
+ "resolved": "string",
281
+ "references": {}
282
+ },
283
+ "required": false,
284
+ "optional": false,
285
+ "docs": {
286
+ "tags": [],
287
+ "text": ""
288
+ },
289
+ "attribute": "success-message",
290
+ "reflect": false,
291
+ "defaultValue": "\"\""
292
+ },
293
+ "project": {
294
+ "type": "string",
295
+ "mutable": false,
296
+ "complexType": {
297
+ "original": "string",
298
+ "resolved": "string",
299
+ "references": {}
300
+ },
301
+ "required": false,
302
+ "optional": false,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": ""
306
+ },
307
+ "attribute": "project",
308
+ "reflect": false,
309
+ "defaultValue": "''"
310
+ },
311
+ "screenshotButtonText": {
312
+ "type": "string",
313
+ "mutable": false,
314
+ "complexType": {
315
+ "original": "string",
316
+ "resolved": "string",
317
+ "references": {}
318
+ },
319
+ "required": false,
320
+ "optional": false,
321
+ "docs": {
322
+ "tags": [],
323
+ "text": ""
324
+ },
325
+ "attribute": "screenshot-button-text",
326
+ "reflect": false,
327
+ "defaultValue": "'Add a screenshot'"
328
+ },
329
+ "screenshotTopbarText": {
330
+ "type": "string",
331
+ "mutable": false,
332
+ "complexType": {
333
+ "original": "string",
334
+ "resolved": "string",
335
+ "references": {}
336
+ },
337
+ "required": false,
338
+ "optional": false,
339
+ "docs": {
340
+ "tags": [],
341
+ "text": ""
342
+ },
343
+ "attribute": "screenshot-topbar-text",
344
+ "reflect": false,
345
+ "defaultValue": "'Select an element on this page'"
346
+ },
347
+ "hideEmail": {
348
+ "type": "boolean",
349
+ "mutable": false,
350
+ "complexType": {
351
+ "original": "boolean",
352
+ "resolved": "boolean",
353
+ "references": {}
354
+ },
355
+ "required": false,
356
+ "optional": false,
357
+ "docs": {
358
+ "tags": [],
359
+ "text": ""
360
+ },
361
+ "attribute": "hide-email",
362
+ "reflect": false,
363
+ "defaultValue": "false"
364
+ },
365
+ "emailAddress": {
366
+ "type": "string",
367
+ "mutable": false,
368
+ "complexType": {
369
+ "original": "string",
370
+ "resolved": "string",
371
+ "references": {}
372
+ },
373
+ "required": false,
374
+ "optional": false,
375
+ "docs": {
376
+ "tags": [],
377
+ "text": ""
378
+ },
379
+ "attribute": "email-address",
380
+ "reflect": false,
381
+ "defaultValue": "''"
382
+ },
383
+ "emailPlaceholder": {
384
+ "type": "string",
385
+ "mutable": false,
386
+ "complexType": {
387
+ "original": "string",
388
+ "resolved": "string",
389
+ "references": {}
390
+ },
391
+ "required": false,
392
+ "optional": false,
393
+ "docs": {
394
+ "tags": [],
395
+ "text": ""
396
+ },
397
+ "attribute": "email-placeholder",
398
+ "reflect": false,
399
+ "defaultValue": "'Email address (optional)'"
400
+ },
401
+ "messagePlaceholder": {
402
+ "type": "string",
403
+ "mutable": false,
404
+ "complexType": {
405
+ "original": "string",
406
+ "resolved": "string",
407
+ "references": {}
408
+ },
409
+ "required": false,
410
+ "optional": false,
411
+ "docs": {
412
+ "tags": [],
413
+ "text": ""
414
+ },
415
+ "attribute": "message-placeholder",
416
+ "reflect": false,
417
+ "defaultValue": "'Comments'"
418
+ },
419
+ "hideRating": {
420
+ "type": "boolean",
421
+ "mutable": false,
422
+ "complexType": {
423
+ "original": "boolean",
424
+ "resolved": "boolean",
425
+ "references": {}
426
+ },
427
+ "required": false,
428
+ "optional": false,
429
+ "docs": {
430
+ "tags": [],
431
+ "text": ""
432
+ },
433
+ "attribute": "hide-rating",
434
+ "reflect": false,
435
+ "defaultValue": "false"
436
+ },
437
+ "ratingMode": {
438
+ "type": "string",
439
+ "mutable": false,
440
+ "complexType": {
441
+ "original": "string",
442
+ "resolved": "string",
443
+ "references": {}
444
+ },
445
+ "required": false,
446
+ "optional": false,
447
+ "docs": {
448
+ "tags": [],
449
+ "text": ""
450
+ },
451
+ "attribute": "rating-mode",
452
+ "reflect": false,
453
+ "defaultValue": "'thumbs'"
454
+ },
455
+ "ratingPlaceholder": {
456
+ "type": "string",
457
+ "mutable": false,
458
+ "complexType": {
459
+ "original": "string",
460
+ "resolved": "string",
461
+ "references": {}
462
+ },
463
+ "required": false,
464
+ "optional": false,
465
+ "docs": {
466
+ "tags": [],
467
+ "text": ""
468
+ },
469
+ "attribute": "rating-placeholder",
470
+ "reflect": false,
471
+ "defaultValue": "'Was this page helpful?'"
472
+ },
473
+ "ratingStarsPlaceholder": {
474
+ "type": "string",
475
+ "mutable": false,
476
+ "complexType": {
477
+ "original": "string",
478
+ "resolved": "string",
479
+ "references": {}
480
+ },
481
+ "required": false,
482
+ "optional": false,
483
+ "docs": {
484
+ "tags": [],
485
+ "text": ""
486
+ },
487
+ "attribute": "rating-stars-placeholder",
488
+ "reflect": false,
489
+ "defaultValue": "'How would you rate this page?'"
490
+ },
491
+ "buttonStyle": {
492
+ "type": "string",
493
+ "mutable": false,
494
+ "complexType": {
495
+ "original": "string",
496
+ "resolved": "string",
497
+ "references": {}
498
+ },
499
+ "required": false,
500
+ "optional": false,
501
+ "docs": {
502
+ "tags": [],
503
+ "text": ""
504
+ },
505
+ "attribute": "button-style",
506
+ "reflect": false,
507
+ "defaultValue": "'default'"
508
+ },
509
+ "buttonPosition": {
510
+ "type": "string",
511
+ "mutable": false,
512
+ "complexType": {
513
+ "original": "string",
514
+ "resolved": "string",
515
+ "references": {}
516
+ },
517
+ "required": false,
518
+ "optional": false,
519
+ "docs": {
520
+ "tags": [],
521
+ "text": ""
522
+ },
523
+ "attribute": "button-position",
524
+ "reflect": false,
525
+ "defaultValue": "'default'"
526
+ },
527
+ "hideIcon": {
528
+ "type": "boolean",
529
+ "mutable": false,
530
+ "complexType": {
531
+ "original": "boolean",
532
+ "resolved": "boolean",
533
+ "references": {}
534
+ },
535
+ "required": false,
536
+ "optional": false,
537
+ "docs": {
538
+ "tags": [],
539
+ "text": ""
540
+ },
541
+ "attribute": "hide-icon",
542
+ "reflect": false,
543
+ "defaultValue": "false"
544
+ },
545
+ "hideScreenshotButton": {
546
+ "type": "boolean",
547
+ "mutable": false,
548
+ "complexType": {
549
+ "original": "boolean",
550
+ "resolved": "boolean",
551
+ "references": {}
552
+ },
553
+ "required": false,
554
+ "optional": false,
555
+ "docs": {
556
+ "tags": [],
557
+ "text": ""
558
+ },
559
+ "attribute": "hide-screenshot-button",
560
+ "reflect": false,
561
+ "defaultValue": "false"
562
+ },
563
+ "hidePrivacyPolicy": {
564
+ "type": "boolean",
565
+ "mutable": false,
566
+ "complexType": {
567
+ "original": "boolean",
568
+ "resolved": "boolean",
569
+ "references": {}
570
+ },
571
+ "required": false,
572
+ "optional": false,
573
+ "docs": {
574
+ "tags": [],
575
+ "text": ""
576
+ },
577
+ "attribute": "hide-privacy-policy",
578
+ "reflect": false,
579
+ "defaultValue": "true"
580
+ },
581
+ "privacyPolicyText": {
582
+ "type": "string",
583
+ "mutable": false,
584
+ "complexType": {
585
+ "original": "string",
586
+ "resolved": "string",
587
+ "references": {}
588
+ },
589
+ "required": false,
590
+ "optional": false,
591
+ "docs": {
592
+ "tags": [],
593
+ "text": ""
594
+ },
595
+ "attribute": "privacy-policy-text",
596
+ "reflect": false,
597
+ "defaultValue": "\"I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.\""
598
+ },
599
+ "fetchData": {
600
+ "type": "boolean",
601
+ "mutable": false,
602
+ "complexType": {
603
+ "original": "boolean",
604
+ "resolved": "boolean",
605
+ "references": {}
606
+ },
607
+ "required": false,
608
+ "optional": false,
609
+ "docs": {
610
+ "tags": [],
611
+ "text": ""
612
+ },
613
+ "attribute": "fetch-data",
614
+ "reflect": false,
615
+ "defaultValue": "true"
616
+ }
617
+ };
618
+ }
619
+ static get elementRef() { return "el"; }
620
+ }