1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4566],{523:(e,t,r)=>{r.d(t,{A:()=>m});var a=r(61975),s=r(22043),n=r(71450),l=r(95155),o=r(12115),i=r(37586),c=r(17666),d=r(46927),u=r(65229),g=r(42529),x=r(35626),f=r(18085);let m=function(e){var t=e.isOpen,r=e.onClose;e.triggerRef;var m=(0,s._)((0,o.useState)("type"),2),h=m[0],y=m[1],b=(0,s._)((0,o.useState)("general"),2),p=b[0],k=b[1],v=(0,s._)((0,o.useState)(""),2),j=v[0],w=v[1],N=(0,s._)((0,o.useState)(""),2),S=N[0],A=N[1],C=(0,s._)((0,o.useState)(!1),2),_=C[0],R=C[1],F=(0,s._)((0,o.useState)(!1),2),T=F[0],W=F[1],E=(0,o.useRef)(null);return((0,o.useEffect)(function(){if(t&&E.current)if(window.innerWidth>=768){var e=E.current.getBoundingClientRect(),r=window.innerHeight-e.height-100,a=window.innerWidth-e.width-32;E.current.style.top="".concat(r,"px"),E.current.style.left="".concat(a,"px")}else E.current.style.top="50%",E.current.style.left="50%",E.current.style.transform="translate(-50%, -50%)"},[t,h]),t)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed inset-0 bg-black/50 z-40 transition-opacity duration-200",onClick:r}),(0,l.jsxs)("div",{ref:E,className:"fixed bg-white dark:bg-gray-900 rounded-xl w-[400px] max-w-[calc(100vw-32px)] shadow-2xl z-50 border border-gray-200 dark:border-gray-800 animate-in fade-in slide-in-from-bottom-4 duration-200 md:transform-none",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-gray-200 dark:border-gray-800",children:[(0,l.jsx)("h2",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:"type"===h?"Send Feedback":"Your Feedback"}),(0,l.jsx)("button",{onClick:r,className:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 transition-colors",children:(0,l.jsx)(u.A,{className:"w-5 h-5"})})]}),(0,l.jsx)("div",{className:"p-4",children:T?(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4 text-center",children:[(0,l.jsx)(g.A,{className:"w-12 h-12 text-green-500"}),(0,l.jsx)("p",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Feedback Sent!"}),(0,l.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Thank you for your feedback. We appreciate your input!"})]}):"type"===h?(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("button",{onClick:function(){k("general"),y("form")},className:"w-full p-3 flex items-center gap-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors text-left",children:[(0,l.jsx)("div",{className:"bg-blue-100 dark:bg-blue-900 p-2 rounded-lg",children:(0,l.jsx)(i.A,{className:"w-5 h-5 text-blue-600 dark:text-blue-400"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"font-medium text-gray-900 dark:text-gray-100",children:"General"}),(0,l.jsx)("div",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Share your thoughts"})]})]}),(0,l.jsxs)("button",{onClick:function(){k("idea"),y("form")},className:"w-full p-3 flex items-center gap-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors text-left",children:[(0,l.jsx)("div",{className:"bg-yellow-100 dark:bg-yellow-900 p-2 rounded-lg",children:(0,l.jsx)(c.A,{className:"w-5 h-5 text-yellow-600 dark:text-yellow-400"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"font-medium text-gray-900 dark:text-gray-100",children:"Suggestion/Feedback"}),(0,l.jsx)("div",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Propose new ideas"})]})]}),(0,l.jsxs)("button",{onClick:function(){k("issue"),y("form")},className:"w-full p-3 flex items-center gap-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors text-left",children:[(0,l.jsx)("div",{className:"bg-red-100 dark:bg-red-900 p-2 rounded-lg",children:(0,l.jsx)(d.A,{className:"w-5 h-5 text-red-600 dark:text-red-400"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"font-medium text-gray-900 dark:text-gray-100",children:"Report Issue"}),(0,l.jsx)("div",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Help us improve"})]})]})]}):(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500 dark:text-gray-400",children:[function(e){switch(e){case"general":return(0,l.jsx)(i.A,{className:"w-5 h-5"});case"idea":return(0,l.jsx)(c.A,{className:"w-5 h-5"});case"issue":return(0,l.jsx)(d.A,{className:"w-5 h-5"})}}(p),(0,l.jsxs)("span",{children:["general"===p&&"General","idea"===p&&"Suggestion/Feedback","issue"===p&&"Issue Report"]})]}),(0,l.jsx)("input",{type:"email",placeholder:"Email address (optional)",value:j,onChange:function(e){return w(e.target.value)},className:"w-full px-3 py-2 rounded-lg border border-gray-200 dark:border-gray-800 bg-transparent text-base sm:text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-500 dark:placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-all"}),(0,l.jsx)("textarea",{placeholder:"Your feedback goes here!",value:S,onChange:function(e){return A(e.target.value)},className:"w-full px-3 py-2 rounded-lg border border-gray-200 dark:border-gray-800 bg-transparent text-base sm:text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-500 dark:placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 transition-all min-h-[120px] resize-none"}),(0,l.jsxs)("div",{className:"flex justify-between pt-2",children:[(0,l.jsxs)("button",{onClick:function(){return y("type")},className:"flex items-center gap-2 px-4 py-2 text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 transition-colors",children:[(0,l.jsx)(x.A,{className:"w-4 h-4"}),"Back"]}),(0,l.jsxs)("button",{onClick:function(){return(0,a._)(function(){var e,t;return(0,n.YH)(this,function(a){switch(a.label){case 0:R(!0),a.label=1;case 1:return a.trys.push([1,4,,5]),(e=new FormData).append("access_key","fb174759-2bc2-44b6-ab79-1fa70f6b754c"),e.append("subject","Feedback: ".concat("general"===p?"General":"idea"===p?"Suggestion/Idea":"Issue Report")),e.append("message",S),j&&e.append("email",j),[4,fetch("https://api.web3forms.com/submit",{method:"POST",body:e})];case 2:return[4,a.sent().json()];case 3:return(t=a.sent()).success?(w(""),A(""),y("type"),R(!1),W(!0),setTimeout(function(){W(!1),r()},3e3)):(R(!1),console.error("Submission failed:",t.message)),[3,5];case 4:return console.error(a.sent()),R(!1),[3,5];case 5:return[2]}})})()},disabled:!S.trim()||_,className:"flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:[(0,l.jsx)(f.A,{className:"w-4 h-4"}),_?"Sending...":"Send"]})]})]})})]})]}):null}},62495:(e,t,r)=>{r.d(t,{default:()=>n});var a=r(95155),s=r(12115);let n=function(){var e=(0,s.useRef)(null),t=(0,s.useRef)(!1);return(0,s.useEffect)(function(){if(!t.current){var r=setTimeout(function(){if(e.current&&e.current.offsetWidth>0)try{var r=e.current.querySelector("ins.adsbygoogle");r&&!r.getAttribute("data-adsbygoogle-status")&&((window.adsbygoogle=window.adsbygoogle||[]).push({}),t.current=!0)}catch(e){}},100);return function(){return clearTimeout(r)}}},[]),(0,a.jsx)("div",{className:"ad-container",ref:e,suppressHydrationWarning:!0})}},72876:(e,t,r)=>{r.d(t,{default:()=>n});var a=r(95155),s=r(12115);let n=function(){var e=(0,s.useRef)(null),t=(0,s.useRef)(!1);return(0,s.useEffect)(function(){if(!t.current){var r=setTimeout(function(){if(e.current&&e.current.offsetWidth>0)try{var r=e.current.querySelector("ins.adsbygoogle");r&&!r.getAttribute("data-adsbygoogle-status")&&((window.adsbygoogle=window.adsbygoogle||[]).push({}),t.current=!0)}catch(e){}},100);return function(){return clearTimeout(r)}}},[]),(0,a.jsx)("div",{className:"ad-container",ref:e,suppressHydrationWarning:!0})}},75127:(e,t,r)=>{r.d(t,{default:()=>i});var a=r(22043),s=r(95155),n=r(12115),l=r(33755),o=r(523);
1let i=function(){var e=(0,a._)((0,n.useState)(!1),2),t=e[0],r=e[1],i=(0,n.useRef)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{ref:i,onClick:function(){return r(!0)},className:"fixed bottom-4 right-4 bg-[#125cab] hover:bg-blue-700 text-white p-3 rounded-full shadow-lg hover:shadow-xl transition-all duration-200 flex items-center gap-2 group","aria-label":"Send feedback",children:(0,s.jsx)(l.A,{className:"w-5 h-5"})}),(0,s.jsx)(o.A,{isOpen:t,onClose:function(){return r(!1)},triggerRef:i})]})}}}]);
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.