1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ed5cb3cb-b15b-f4ef-c697-1f3e591c5f22")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67502,e=>{"use strict";var s=e.i(843476),r=e.i(945060);e.s(["ContentContainer",0,({as:e,children:a,className:l,type:t})=>(0,s.jsx)(e,{className:(0,r.cn)("w-full max-w-7xl px-4",{"mx-auto pt-10 pb-32":"hero"===t,"mx-auto":"wrapper-center"===t},l),children:a})])},223367,e=>{"use strict";var s=e.i(843476),r=e.i(271645),a=e.i(95187);let l=(0,a.createServerReference)("60bc959fb253cbd5b793ceff543d519bf512a3ade6",a.callServer,void 0,a.findSourceMapURL,"createFeedback");var t=e.i(568275);e.i(197379);var n=e.i(472804),i=e.i(207670),o=e.i(861745),d=e.i(948148),c=e.i(67502),m=e.i(943558),x=e.i(260247),p=e.i(57720),u=e.i(191906),h=e.i(327037);let f=["it_was_helpful","answers_were_related","well_written","layout_made_it_easy_to_read","other"],g=["there_is_a_technical_problem","i_couldnt_find_a_related_answer","poorly_written","design_made_it_difficult_to_read","other"];e.s(["Client",0,({children:e,pathname:a})=>{let[j,b,_]=(0,r.useActionState)(l,null),[N,v]=(0,r.useState)(j?.data?.answer??null),[w,y]=(0,r.useState)(j?.data?.gender??null),C=(0,d.useTranslations)(),k=(0,o.useLocale)(),F=e=>{e===N?v(null):v(e)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(c.ContentContainer,{as:"div",type:"wrapper-center",className:"grid items-center gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex gap-2 max-sm:flex-col sm:items-center",children:[(0,s.jsx)("h2",{className:"pe-2",children:C("was_this_page_helpful")}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(m.Button,{size:"lg",onClick:()=>F("yes"),children:C("yes")}),(0,s.jsx)(m.Button,{size:"lg",onClick:()=>F("no"),children:C("no")})]})]}),N?(0,s.jsxs)("button",{onClick:()=>v(null),className:"flex items-center gap-1 justify-self-end",children:[C("close"),(0,s.jsx)(n.HugeiconsIcon,{icon:t.CancelCircleIcon,size:24,strokeWidth:1.5})]}):e,N&&(0,s.jsxs)("form",{action:b,className:"border-dga-border-background-neutral col-span-2 grid gap-4 border-t px-3 py-2.5 sm:grid-cols-2",children:[(0,s.jsx)("input",{type:"hidden",name:"pathname",value:a}),(0,s.jsx)("input",{type:"hidden",name:"answer",value:N}),(0,s.jsx)("input",{type:"hidden",name:"gender",value:w??""}),(0,s.jsx)("input",{type:"hidden",name:"locale",value:k}),j?.formError&&(0,s.jsx)("div",{className:"col-span-2 rounded-lg border border-red-200 bg-red-50 p-4",children:(0,s.jsx)("p",{className:"font-semibold text-red-800",children:C(j.formError)})}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{className:(0,i.default)("font-semibold",{"text-red-500":j?.error?.properties?.reason}),children:[C("please_tell_us_why")," ",(0,s.jsxs)("span",{className:"text-dga-text-secondary-paragraph text-sm font-normal",children:["(",C("you_can_choose_multiple_options"),")"]}),j?.error?.properties?.reason&&(0,s.jsx)("span",{className:"block text-sm font-normal text-red-500",children:C(j?.error?.properties?.reason.errors[0])})]}),"yes"===N&&f.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(x.Checkbox,{id:`reason-${e}`,name:"reason",value:e,defaultChecked:j?.data?.reason?.includes(e)??!1}),(0,s.jsx)("label",{htmlFor:`reason-${e}`,children:C(e)})]},`${e}-${j?.data?.reason?.includes(e)??!1}`)),"no"===N&&g.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(x.Checkbox,{id:`reason-${e}`,name:"reason",value:e,defaultChecked:j?.data?.reason?.includes(e)??!1}),(0,s.jsx)("label",{htmlFor:`reason-${e}`,children:C(e)})]},`${e}-${j?.data?.reason?.includes(e)??!1}`))]}),(0,s.jsxs)("div",{className:"w-full max-sm:order-3",children:[(0,s.jsxs)("label",{htmlFor:"message",className:(0,i.default)("mb-2 block font-semibold",{"text-red-500":j?.error?.properties?.message}),children:[C("tell_us_about_your_experience")," ",j?.error?.properties?.message&&(0,s.jsx)("span",{className:"text-sm font-normal text-red-500",children:C(j?.error?.properties?.message.errors[0])})]}),(0,s.jsx)(h.Textarea,{id:"message",name:"message",className:"w-full",maxLength:2048,rows:5,defaultValue:j?.data?.message??""})]}),(0,s.jsxs)("div",{className:"max-sm:order-2",children:[(0,s.jsxs)("label",{htmlFor:"gender",className:(0,i.default)("mb-2 block font-semibold",{"text-red-500":j?.error?.properties?.gender}),children:[C("im")," ",j?.error?.properties?.gender&&(0,s.jsx)("span",{className:"block text-sm font-normal text-red-500",children:C(j?.error?.properties?.gender.errors[0])})]}),(0,s.jsxs)(p.RadioGroup,{required:!0,id:"gender",onValueChange:e=>y(e),className:"gap-0",children:[(0,s.jsxs)("label",{htmlFor:"male",className:"flex w-fit items-center gap-2",children:[(0,s.jsx)(p.RadioGroupItem,{value:"male",id:"male"}),C("male")]}),(0,s.jsxs)("label",{htmlFor:"female",className:"flex w-fit items-center gap-2",children:[(0,s.jsx)(p.RadioGroupItem,{value:"female",id:"female"}),C("female")]})]})]}),(0,s.jsx)("div",{className:"self-end justify-self-end max-sm:order-4",children:(0,s.jsx)(m.Button,{type:"submit",disabled:_,className:"min-w-14",children:_?(0,s.jsx)(u.Spinner,{size:"sm"}):C("submit")})})]})]})})}],223367)}]); 3 4//# debugId=ed5cb3cb-b15b-f4ef-c697-1f3e591c5f22
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.