1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,323222,e=>{"use strict";var t,n,r=e.i(991865),a=e.i(296137);function i(e){return(0,r._)(function(){var r;return(0,a._)(this,function(a){try{if(!(r="string"==typeof e?e.trim().toLowerCase():""))return[2];t?t(r):n={email:r,at:Date.now()}}catch(e){}return[2]})})()}function o(e,r){t=e;var a=n;if(n=void 0,a&&a.at>=r&&Date.now()-a.at<=3e4)try{e(a.email)}catch(e){}}function s(){t=void 0,n=void 0}e.s(["identifyByEmail",()=>i,"startIdentityCapture",()=>o,"stopIdentityCapture",()=>s])},797440,e=>{"use strict";var t="bp_ad_click";function n(){try{var e=new URLSearchParams(window.location.search),n=null,r="gclid",a=e.get("gclid"),i=e.get("wbraid"),o=e.get("gbraid");if(a?(n=a,r="gclid"):i?(n=i,r="wbraid"):o&&(n=o,r="gbraid"),!n)return;var s={gclid:n,kind:r,capturedAt:Date.now()},l=e.get("utm_campaign");l&&(s.utmCampaign=l);var c=e.get("utm_source");c&&(s.utmSource=c),window.localStorage.setItem(t,JSON.stringify(s))}catch(e){}}function r(){try{var e=window.localStorage.getItem(t);if(!e)return null;var n=JSON.parse(e);if(!n||"string"!=typeof n.gclid||"number"!=typeof n.capturedAt)return null;if(Date.now()-n.capturedAt>7776e6)return window.localStorage.removeItem(t),null;return n}catch(e){return null}}e.s(["captureAdClick",()=>n,"getAdClick",()=>r])},178583,e=>{"use strict";var t=(0,e.i(475254).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",()=>t],178583)},531278,e=>{"use strict";var t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},643531,678745,e=>{"use strict";var t=(0,e.i(475254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",()=>t],678745),e.s(["Check",()=>t],643531)},618566,(e,t,n)=>{t.exports=e.r(976562)},743985,258541,e=>{"use strict";var t=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e,t,n){return!!e&&""!==e.trim()&&n.indexOf(e)===t}).join(" ").trim()};e.s(["mergeClasses",()=>t],743985);var n=e.i(120786),r=e.i(92808),a=e.i(233027),i=e.i(651682),o=e.i(112344),s=e.i(540316),l=e.i(271645),c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},u=function(e){for(var t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},d=(0,l.createContext)({}),f=(0,l.forwardRef)(function(e,f){var p,m,h,v=(0,o._)([e,f]),g=v[0],x=v.slice(1),y=g.color,b=g.size,k=g.strokeWidth,w=g.absoluteStrokeWidth,j=g.className,N=g.children,C=g.iconNode,_=(0,a._)(g,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]),M=(0,i._)(x,1)[0],S=null!=(p=(0,l.useContext)(d))?p:{},E=S.size,A=void 0===E?24:E,I=S.strokeWidth,L=void 0===I?2:I,P=S.absoluteStrokeWidth,z=S.color,D=S.className,R=(null!=w?w:void 0!==P&&P)?24*Number(null!=k?k:L)/Number(null!=b?b:A):null!=k?k:L;return(0,l.createElement)("svg",(0,n._)((0,r._)((0,n._)({ref:M},c),{width:null!=(m=null!=b?b:A)?m:c.width,height:null!=(h=null!=b?b:A)?h:c.height,stroke:null!=y?y:void 0===z?"currentColor":z,strokeWidth:R,className:t("lucide",void 0===D?"":D,void 0===j?"":j)}),!N&&!u(_)&&{"aria-hidden":"true"},_),(0,s._)(C.map(function(e){var t=(0,i._)(e,2),n=t[0],r=t[1];return(0,l.createElement)(n,r)})).concat((0,s._)(Array.isArray(N)?N:[N])))});e.s(["default",()=>f],258541)},475254,e=>{"use strict";var t=e.i(120786),n=e.i(233027),r=e.i(651682),a=e.i(112344),i=e.i(271645),o=e.i(743985),s=function(e){var t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,function(e,t,n){return n?n.toUpperCase():t.toLowerCase()});return t.charAt(0).toUpperCase()+t.slice(1)},l=e.i(258541),c=function(e,c){var u=(0,i.forwardRef)(function(u,d){var f=(0,a._)([u,d]),p=f[0],m=f.slice(1),h=p.className,v=(0,n._)(p,["className"]),g=(0,r._)(m,1)[0];return(0,i.createElement)(l.default,(0,t._)({ref:g,iconNode:c,className:(0,o.mergeClasses)("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),h)},v))});return u.displayName=s(e),u};e.s(["default",()=>c],475254)},37727,841947,e=>{"use strict";var t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t],841947),e.s(["X",()=>t],37727)},788699,e=>{"use strict";var t=(0,e.i(475254).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",()=>t],788699)},710289,341240,267331,82735,e=>{"use strict";var t=e.i(475254),n=(0,t.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);e.s(["Bug",()=>n],710289);var r=(0,t.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);e.s(["Lightbulb",()=>r],341240);var a=(0,t.default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["HelpCircle",()=>a],267331);var i=(0,t.default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);e.s(["Paperclip",()=>i],82735)},338392,737345,e=>{"use strict";var t=e.i(991865),n=e.i(108487),r=e.i(651682),a=e.i(540316),i=e.i(296137),o=e.i(198554),s=e.i(843476),l=e.i(271645),c=e.i(618566);e.i(250711);var u=e.i(982045),d=e.i(475254),f=(0,d.default)("message-square-plus",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]]);e.s(["MessageSquarePlus",()=>f],737345);var p=(0,d.default)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]),m=e.i(37727),h=e.i(531278),v=e.i(643531),g=e.i(710289),x=e.i(341240),y=e.i(788699),b=e.i(267331),k=e.i(82735),w=e.i(178583),j=e.i(283164),N=[],C=[],_=!1;function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;for(e.push(t);e.length>n;)e.shift()}var S=[{key:"bug",label:"Bug",Icon:g.Bug,cls:"text-red-600"},{key:"idea",label:"Idea",Icon:x.Lightbulb,cls:"text-amber-600"},{key:"copy",label:"Copy",Icon:y.Pencil,cls:"text-sky-600"},{key:"question",label:"Question",Icon:b.HelpCircle,cls:"text-violet-600"}];function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=e.variant,g=void 0===d?"admin":d,x=(0,c.usePathname)(),y=(0,c.useSearchParams)(),b=(0,u.useMutation)(j.api.adminFeedback.submit),E=(0,u.useMutation)(j.api.publicFeedback.submit),A="public"===g?E:b,I=(0,u.useMutation)(j.api.adminFeedback.generateUploadUrl),L=(0,u.useMutation)(j.api.publicFeedback.generateUploadUrl),P="public"===g?L:I,z=(0,r._)((0,l.useState)("idle"),2),D=z[0],R=z[1],T=(0,r._)((0,l.useState)(null),2),U=T[0],F=T[1],O=(0,r._)((0,l.useState)(null),2),W=O[0],B=O[1],H=(0,r._)((0,l.useState)(""),2),q=H[0],X=H[1],K=(0,r._)((0,l.useState)("bug"),2),J=K[0],V=K[1],Z=(0,r._)((0,l.useState)(""),2),$=Z[0],Y=Z[1],G=(0,r._)((0,l.useState)(!1),2),Q=G[0],ee=G[1],et=(0,r._)((0,l.useState)(!1),2),en=et[0],er=et[1],ea=(0,r._)((0,l.useState)([]),2),ei=ea[0],eo=ea[1],es=(0,r._)((0,l.useState)(0),2),el=es[0],ec=es[1],eu=(0,r._)((0,l.useState)(null),2),ed=eu[0],ef=eu[1],ep=(0,l.useRef)(null),em=(0,l.useRef)(null),eh=(0,l.useRef)(null),ev=(0,l.useRef)(null);(0,l.useEffect)(function(){if(!_){_=!0;try{var e=console.error.bind(console);console.error=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];try{var o=r.map(function(e){return(0,n._)(e,Error)?e.message:"string"==typeof e?e:JSON.stringify(e)}).join(" ").slice(0,300);o&&M(N,o)}catch(e){}e.apply(void 0,(0,a._)(r))},window.addEventListener("error",function(e){try{M(N,"".concat(e.message," @ ").concat(e.filename||"?",":").concat(e.lineno||0).slice(0,300))}catch(e){}}),window.addEventListener("unhandledrejection",function(e){try{M(N,"unhandledrejection: ".concat(String(e.reason).slice(0,220)))}catch(e){}});var r=window.fetch.bind(window);window.fetch=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return(0,t._)(function(){var e,t,o,s,l,c,u;return(0,i._)(this,function(i){switch(i.label){case 0:return[4,r.apply(void 0,(0,a._)(n))];case 1:e=i.sent();try{e.ok||(s=n[0],l=n[1],c="string"==typeof s?s:(null==(t=s)?void 0:t.url)||String(s),u=((null==l?void 0:l.method)||(null==(o=s)?void 0:o.method)||"GET").toUpperCase(),M(C,{method:u,url:c.slice(0,200),status:e.status}))}catch(e){}return[2,e]}})})()}}catch(e){}}},[]);var eg=function(e){return(0,n._)(e,Element)&&!!e.closest("[data-feedback-ui]")},ex=function(e,t){var n=eh.current;if(!n)return document.elementFromPoint(e,t);var r=n.style.pointerEvents;n.style.pointerEvents="none";var a=document.elementFromPoint(e,t);return n.style.pointerEvents=r||"auto",a},ey=function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},eb=function(e){return e.preventDefault()};(0,l.useEffect)(function(){if("picking"===D){var e=function(e){"Escape"===e.key&&(R("idle"),F(null))};return document.addEventListener("keydown",e,!0),function(){return document.removeEventListener("keydown",e,!0)}}},[D]),(0,l.useEffect)(function(){if("form"===D){var e=function(e){return(0,n._)(e,Element)&&"function"==typeof e.closest&&!!e.closest("[data-feedback-ui]")},t=function(t){(e(t.target)||e(t.relatedTarget))&&t.stopImmediatePropagation()};return document.addEventListener("focusin",t,!0),document.addEventListener("focusout",t,!0),ev.current&&ev.current.focus(),function(){document.removeEventListener("focusin",t,!0),document.removeEventListener("focusout",t,!0)}}},[D]);var ek=(0,l.useCallback)(function(){R("idle"),B(null),X(""),V("bug"),Y(""),er(!1),ef(null),eo(function(e){var t=!0,n=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;o.preview&&URL.revokeObjectURL(o.preview)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return[]})},[]),ew=(0,l.useCallback)(function(e){return(0,t._)(function(){var t,n,r,s,l,c,u,d,f;return(0,i._)(this,function(p){switch(p.label){case 0:if(0===e.length)return[2];if(ef(null),(t=5-ei.length)<=0)return ef("Up to ".concat(5," files.")),[2];n=e.slice(0,t),e.length>t&&ef("Only the first ".concat(t," added â ").concat(5," max.")),r=!0,s=!1,l=void 0,p.label=1;case 1:p.trys.push([1,6,7,8]),c=function(){var e,t,n;return(0,i._)(this,function(r){switch(r.label){case 0:if((e=d.value).size>0xa00000)return ef('"'.concat(e.name,'" is over 10MB.')),[2,"continue"];ec(function(e){return e+1}),r.label=1;case 1:return r.trys.push([1,5,6,7]),[4,P({})];case 2:return[4,fetch(r.sent(),{method:"POST",headers:e.type?{"Content-Type":e.type}:void 0,body:e})];case 3:if(!(t=r.sent()).ok)throw Error(String(t.status));return[4,t.json()];case 4:return n=r.sent().storageId,eo(function(t){return(0,a._)(t).concat([{storageId:n,name:e.name&&"image.png"!==e.name?e.name:"screenshot-".concat(new Date().toISOString().slice(11,19),".png"),contentType:e.type||void 0,size:e.size,preview:e.type.startsWith("image/")?URL.createObjectURL(e):void 0}])}),[3,7];case 5:return r.sent(),ef('Could not upload "'.concat(e.name,'".')),[3,7];case 6:return ec(function(e){return e-1}),[7];case 7:return[2]}})},u=n[Symbol.iterator](),p.label=2;case 2:if(r=(d=u.next()).done)return[3,5];return[5,(0,o._)(c())];case 3:p.sent(),p.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return f=p.sent(),s=!0,l=f,[3,8];case 7:try{r||null==u.return||u.return()}finally{if(s)throw l}
1return[7];case 8:return[2]}})})()},[ei.length,P]),ej=function(e){eo(function(t){var n=t.find(function(t){return t.storageId===e});return(null==n?void 0:n.preview)&&URL.revokeObjectURL(n.preview),t.filter(function(t){return t.storageId!==e})})},eN=function(e){return(0,t._)(function(){var t,n,r,o;return(0,i._)(this,function(i){switch(i.label){case 0:if(!q.trim())return[2];ee(!0),i.label=1;case 1:return i.trys.push([1,3,,4]),r=document.documentElement.classList.contains("dark")||(null==(t=(n=window).matchMedia)?void 0:t.call(n,"(prefers-color-scheme: dark)").matches),o=y.toString(),[4,A({note:q.trim(),category:J,severity:$||void 0,url:x+(o?"?".concat(o):""),pageTitle:document.title||void 0,element:e&&W?W:void 0,viewport:{width:window.innerWidth,height:window.innerHeight,dpr:window.devicePixelRatio||1},colorScheme:r?"dark":"light",userAgent:navigator.userAgent.slice(0,300),consoleErrors:N.length?(0,a._)(N):void 0,networkErrors:C.length?(0,a._)(C):void 0,attachments:ei.length?ei.map(function(e){return{storageId:e.storageId,name:e.name,contentType:e.contentType,size:e.size}}):void 0})];case 2:return i.sent(),er(!0),setTimeout(ek,1400),[3,4];case 3:return i.sent(),ee(!1),alert("Could not save feedback â please try again."),[2];case 4:return ee(!1),[2]}})})()};return(0,s.jsxs)("div",{"data-feedback-ui":!0,children:["picking"===D&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:eh,"data-feedback-ui":!0,onMouseMove:function(e){var t=ex(e.clientX,e.clientY);if(!t||eg(t)){F(null),em.current=null;return}em.current=t,F(t.getBoundingClientRect())},onClick:function(e){e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation();var t,n,r,a,i,o,s,l=ex(e.clientX,e.clientY)||em.current;l&&!eg(l)&&(B((t=l.getBoundingClientRect(),n=(l.getAttribute("class")||"").trim().split(/\s+/).filter(Boolean).slice(0,6).join(" "),r=(l.textContent||"").replace(/\s+/g," ").trim().slice(0,120),a=l.outerHTML.replace(/\s+/g," ").slice(0,300),i=l.getAttribute("id")||void 0,o=l.getAttribute("data-testid")||void 0,s=l.getAttribute("aria-label")||void 0,{selector:function(e){for(var t=[],n=e,r=0;n&&1===n.nodeType&&r<6;){var a=n.getAttribute("id");if(a){t.unshift("#".concat(function(e){var t,n=null==(t=window.CSS)?void 0:t.escape;return n?n(e):e.replace(/[^a-zA-Z0-9_-]/g,"\\$&")}(a)));break}var i=n.getAttribute("data-testid"),o=n.tagName.toLowerCase();if(i){o+='[data-testid="'.concat(i,'"]'),t.unshift(o);break}var s=n.parentElement;if(s){var l=Array.from(s.children).filter(function(e){return e.tagName===n.tagName});l.length>1&&(o+=":nth-of-type(".concat(l.indexOf(n)+1,")"))}t.unshift(o),n=n.parentElement,r++}return t.join(" > ")}(l),tag:l.tagName.toLowerCase(),elId:i,classes:n||void 0,testId:o,textSnippet:r||void 0,htmlSnippet:a||void 0,rect:{x:Math.round(t.x),y:Math.round(t.y),w:Math.round(t.width),h:Math.round(t.height)},ariaLabel:s})),R("form"),F(null))},onPointerDown:ey,onMouseDown:eb,className:"fixed inset-0 cursor-crosshair",style:{zIndex:2147483e3,pointerEvents:"auto"}}),U&&(0,s.jsx)("div",{className:"fixed pointer-events-none border-2 border-coral-primary bg-coral-primary/10 rounded-sm",style:{top:U.top,left
1:U.left,width:U.width,height:U.height,zIndex:0x7ffffd79}}),(0,s.jsxs)("div",{"data-feedback-ui":!0,onPointerDown:ey,onMouseDown:eb,className:"fixed top-4 left-1/2 -translate-x-1/2 flex items-center gap-3 rounded-full bg-neutral-900 text-white px-4 py-2 text-xs font-medium shadow-lg",style:{zIndex:0x7ffffd7a,pointerEvents:"auto"},children:[(0,s.jsx)(p,{className:"w-3.5 h-3.5 text-coral-primary"}),"Click any element to pin feedback",(0,s.jsx)("button",{onClick:function(){B(null),R("form")},className:"underline underline-offset-2 opacity-80 hover:opacity-100",children:"skip â about this page"}),(0,s.jsx)("button",{onClick:ek,className:"opacity-70 hover:opacity-100",children:"Esc to cancel"})]})]}),"form"===D&&(0,s.jsx)("div",{"data-feedback-ui":!0,onPointerDown:ey,className:"fixed bottom-5 right-5 w-[340px] max-w-[calc(100vw-2.5rem)] rounded-xl border border-border bg-card text-card-foreground shadow-2xl p-4 space-y-3",style:{zIndex:0x7ffffd7a,pointerEvents:"auto"},children:en?(0,s.jsxs)("div",{className:"py-6 text-center",children:[(0,s.jsx)(v.Check,{className:"w-7 h-7 text-stay mx-auto"}),(0,s.jsx)("p",{className:"mt-2 text-sm font-medium",children:"Feedback saved â thank you!"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("p",{className:"text-sm font-semibold",children:"Leave feedback"}),(0,s.jsx)("button",{onClick:ek,className:"text-muted-foreground hover:text-card-foreground",children:(0,s.jsx)(m.X,{className:"w-4 h-4"})})]}),W?(0,s.jsxs)("div",{className:"rounded-lg bg-muted/50 p-2 text-[11px] text-muted-foreground",children:[(0,s.jsx)("span",{className:"font-medium text-card-foreground",children:"Pinned to:"})," ",(0,s.jsxs)("code",{className:"break-all",children:[W.tag,W.testId?"[".concat(W.testId,"]"):""]}),W.textSnippet&&(0,s.jsxs)("div",{className:"mt-0.5 truncate italic",children:["â",W.textSnippet,"â"]})]}):(0,s.jsxs)("div",{className:"rounded-lg bg-muted/50 p-2 text-[11px] text-muted-foreground",children:["Page-level feedback for ",(0,s.jsx)("code",{className:"break-all",children:x})]}),(0,s.jsx)("div",{className:"flex gap-1.5",children:S.map(function(e){var t=e.key,n=e.label,r=e.Icon,a=e.cls;return(0,s.jsxs)("button",{onClick:function(){return V(t)},className:"flex-1 inline-flex items-center justify-center gap-1 rounded-md border px-1.5 py-1.5 text-[11px] font-medium transition-colors ".concat(J===t?"border-primary bg-primary/10 text-primary":"border-border text-muted-foreground hover:bg-muted"),children:[(0,s.jsx)(r,{className:"w-3 h-3 ".concat(J===t?"":a)}),n]},t)})}),(0,s.jsx)("textarea",{ref:ev,autoFocus:!0,value:q,onChange:function(e){return X(e.target.value)},onKeyDown:function(e){"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||(e.preventDefault(),q.trim()&&!Q&&eN(!!W))},onPaste:function(e){var t,n,r=Array.from(null!=(n=null==(t=e.clipboardData)?void 0:t.files)?n:[]);r.length>0&&(e.preventDefault(),ew(r))},onDragOver:function(e){return e.preventDefault()},onDrop:function(e){var t,n,r=Array.from(null!=(n=null==(t=e.dataTransfer)?void 0:t.files)?n:[]);r.length>0&&(e.preventDefault(),ew(r))},placeholder:"What's up with this? Paste or drop a screenshot. Enter to send, Shift+Enter for a new line.",className:"w-full min-h-[90px] rounded-md border border-border bg-white text-neutral-900 placeholder:text-neutral-400 px-3 py-2 text-sm resize-y focus:outline-none focus:ring-2 focus:ring-primary/30"}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)("input",{ref:ep,type:"file",multiple:!0,accept:"image/*,.pdf,.txt,.csv,.log",className:"hidden",onChange:function(e){var t;ew(Array.from(null!=(t=e.target.files)?t:[])),e.target.value=""}}),(0,s.jsxs)("button",{type:"button",onClick:function(){var e;return null==(e=ep.current)?void 0:e.click()},disabled:ei.length>=5,className:"inline-flex items-center gap-1 rounded-md border border-border px-2 py-1 text-[11px] text-muted-foreground hover:bg-muted disabled:opacity-50",children:[(0,s.jsx)(k.Paperclip,{className:"w-3 h-3"}),"Attach"]}),el>0&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground",children:[(0,s.jsx)(h.Loader2,{className:"w-3 h-3 animate-spin"}),"Uploading",el>1?" ".concat(el):"","â¦"]}),ei.map(function(e){return(0,s.jsxs)("span",{className:"group relative inline-flex items-center gap-1 rounded-md border border-border bg-muted/40 px-1.5 py-1 text-[11px] text-muted-foreground",title:e.name,children:[e.preview?(0,s.jsx)("img",{src:e.preview,alt:"",className:"h-8 w-8 rounded object-cover"}):(0,s.jsx)(w.FileText,{className:"w-3.5 h-3.5"}),(0,s.jsx)("span",{className:"max-w-[90px] truncate",children:e.name}),(0,s.jsx)("button",{type:"button",onClick:function(){return ej(e.storageId)},"aria-label":"Remove ".concat(e.name),className:"rounded p-0.5 hover:bg-card",children:(0,s.jsx)(m.X,{className:"w-3 h-3"})})]},e.storageId)})]}),ed&&(0,s.jsx)("p",{className:"text-[11px] text-red-600",children:ed}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-[11px] text-muted-foreground",children:[(0,s.jsx)("span",{children:"Priority:"}),["low","medium","high"].map(function(e){return(0,s.jsx)("button",{onClick:function(){return Y($===e?"":e)},className:"px-1.5 py-0.5 rounded capitalize ".concat($===e?"bg-foreground text-background":"hover:bg-muted"),children:e},e)})]}),(0,s.jsxs)("button",{onClick:function(){return eN(!!W)},disabled:Q||!q.trim()||el>0,className:"inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-semibold text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:[Q?(0,s.jsx)(h.Loader2,{className:"w-3.5 h-3.5 animate-spin"}):(0,s.jsx)(v.Check,{className:"w-3.5 h-3.5"}),"Send"]})]})]})}),"idle"===D&&(0,s.jsxs)("button",{onClick:function(e){ey(e),R("picking")},onPointerDown:ey,onMouseDown:eb,title:"Pin feedback to anything on screen",className:"fixed bottom-5 right-5 inline-flex items-center gap-2 rounded-full bg-coral-primary px-4 py-2.5 text-sm font-semibold text-white shadow-lg hover:bg-coral-dark transition-colors",style:{zIndex:2147483e3,pointerEvents:"auto"},children:[(0,s.jsx)(f,{className:"w-4 h-4"}),"Feedback"]})]})}e.s(["FeedbackWidget",()=>E],338392)},644985,e=>{e.v(e=>Promise.resolve().then(()=>e(604570)))},706496,e=>{e.v(t=>Promise.all(["static/chunks/d517f5495c5fd686.js"].map(t=>e.l(t))).then(()=>t(35127)))}]);
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.