1"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([[513],{81824:function(e,a,r){var t=r(96540),o=r(17437),s=r(41693),n=r(97620),i=r(93562),c=r(28955),l=r(2643),d=r(37567),m=r(17586),p=r(54171),u=r(91153);var g={name:"i6v92z",styles:"height:3rem;background:var(--system-text-primary-light);color:var(--system-text-primary-dark);.dark-mode &:hover{background:var(--color-black);color:var(--system-text-primary-dark);}&:disabled{cursor:not-allowed;}"},b={name:"1ief5xz",styles:"&&{color:var(--attention-notification-critical);margin-top:-1rem;}"},k={name:"yk4fl6",styles:"font-size:0.75rem;padding:0.5rem;border-radius:3px;border:none;.dark-mode &,.light-mode &{&::placeholder{opacity:50%;color:#1d252c;}}"},y={name:"6pxg7x",styles:"p{font-size:0.625rem;}"},h={name:"1iax0v5",styles:"font-size:0.75rem;padding:0.5rem;min-height:100px;border-radius:3px;border:none"},f={name:"6axxab",styles:"margin-right:0.5rem;font-size:14px"},v={name:"1gqm97f",styles:"color:var(--system-text-primary-dark);.dark-mode &,.light-mode &{background:var(--product-blue);}"},x={name:"6axxab",styles:"margin-right:0.5rem;font-size:14px"},A={name:"1gqm97f",styles:"color:var(--system-text-primary-dark);.dark-mode &,.light-mode &{background:var(--product-blue);}"},w={name:"1tyiwo2",styles:"display:flex;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;button{width:45%;font-size:0.875rem;font-weight:400;border:none;border-radius:3px;}@supports not (gap: 0.5rem){a:first-of-type{margin-right:0.25rem;}}"},Y={name:"19kzpzf",styles:"margin-bottom:0;text-align:center"},z={name:"17j4k9",styles:"border:none;border-bottom:1px solid;border-radius:0;padding:0;background:none"},E={name:"ti75j2",styles:"margin:0"},S={name:"fvou7c",styles:"display:flex;border:none;border-radius:0;flex-direction:column;max-width:320px;margin:0;background:var(--system-text-primary-dark);.dark-mode &&{background:var(--erno-black);}gap:1rem;p{color:var(--primary-text-color);margin:0;font-size:14px;font-weight:400;}input::placeholder{color:var(--primary-text-color);}h5,h4{color:var(--primary-text-color);}"};a.A=e=>{let{className:a,pageTitle:r}=e;const{0:C,1:T}=(0,t.useState)(null),{0:N,1:R}=(0,t.useState)(""),{0:L,1:I}=(0,t.useState)(""),{0:F,1:O}=(0,t.useState)(!1),{0:_,1:j}=(0,t.useState)(!1),{t:V}=(0,m.A)(),M=(0,s.useLocation)(),P=e=>{T(e),O(!0),(0,p.b)({eventName:"feedbackRating",category:`${(0,i.R)(e)}FeedbackClick`,path:M.pathname})};return(0,o.Y)(d.A.Section,{className:a,css:S},_?(0,o.Y)("h5",{css:E},V("feedback.submitMessage")," ð¤ "," ",(0,o.Y)(l.A,{onClick:()=>{T(null),j(!1),R(null)},css:z},V("feedback.reset"))):(0,o.Y)(t.Fragment,null,(0,o.Y)("p",{css:Y},V("feedback.question")),(0,o.Y)("div",{css:w},(0,o.Y)(l.A,{variant:l.A.VARIANT.OUTLINE,size:l.A.SIZE.LARGE,onClick:()=>P("yes"),css:(0,o.AH)("height:3rem;margin-bottom:0.5rem;color:var(--primary-text-color);background:var(--system-text-secondary-dark);.dark-mode &{background:var(--primary-hover-color);}","yes"===C&&A,";","")},(0,o.Y)("div",{css:x},"ð"),V("feedback.yes")),(0,o.Y)(l.A,{variant:l.A.VARIANT.OUTLINE,size:l.A.SIZE.SMALL,onClick:()=>P("no"),css:(0,o.AH)("height:3rem;margin-bottom:0.5rem;color:var(--primary-text-color);background:var(--system-text-secondary-dark);.dark-mode &{background:var(--primary-hover-color);}","no"===C&&v,";","")},(0,o.Y)("div",{css:f},"ð"),V("feedback.no"))),C&&(0,o.Y)(t.Fragment,null,(0,o.Y)("p",null,V("feedback.comments")),(0,o.Y)("textarea",{value:N,maxLength:"30000",onChange:e=>{R(e.target.value)},css:h}),(0,o.Y)("p",null,V("feedback.email")),(0,o.Y)("div",{css:y},(0,o.Y)("p",null,V("feedback.emailDisclaimer"))),(0,o.Y)("input",{value:L,placeholder:"[email protected]",onChange:e=>{I(e.target.value),O((0,n.isValidEmail)(e.target.value)||0===e.target.value.length)},css:k}),L&&!(0,n.isValidEmail)(L)&&(0,o.Y)("p",{css:b},V("feedback.validEmail")),(0,o.Y)(l.A,{variant:l.A.VARIANT.NORMAL,size:l.A.SIZE.LARGE,onClick:async()=>{j(!0),await new Promise(((e,a)=>{try{window.grecaptcha.ready(e)}catch(r){a(r)}}));const e=await new Promise(((e,a)=>{window.grecaptcha.execute(window._nr_feedback.reCaptchaToken,{action:"userFeedback"}).then(e,a)}));(0,p.b)({eventName:"feedbackSubmitted",category:`${(0,i.R)(C)}FeedbackSubmit`,path:M.pathname,userEmail:L,userComments:N});const a={title:r,formType:u.FEEDBACK_FORM_TYPE.general,description:N,rating:C,pageUrl:M.href,email:L,recaptchaToken:e};N&&fetch("https://docs-user-feedback-service.newrelic-external.com/user-feedback-service",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(a)})},disabled:!F,css:g},V("feedback.submitButton")),(0,o.Y)(c.A,null))))}}}]); 2//# sourceMappingURL=854ffb63-39637642d472a09d299f.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.