1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67493,e=>{"use strict";let r,t;e.i(47167);var o=e.i(43476);function n(e,r){return e&&!r?e:!e&&r?r:e||r?{...e,...r}:void 0}let a={};function s(e,r,t,o,n){if(!t&&!o&&!n&&!e)return l(r);let a=l(e);return r&&(a=i(a,r)),t&&(a=i(a,t)),o&&(a=i(a,o)),n&&(a=i(a,n)),a}function l(e){return c(e)?{...u(e,a)}:function(e){let r={...e};for(let e in r){let t=r[e];d(e,t)&&(r[e]=m(t))}return r}(e)}function i(e,r){return c(r)?u(r,e):function(e,r){if(!r)return e;for(let t in r){let o=r[t];switch(t){case"style":e[t]=n(e.style,o);break;case"className":e[t]=b(e.className,o);break;default:d(t,o)?e[t]=function(e,r){return r?e?(...t)=>{let o=t[0];if(f(o)){p(o);let n=r(...t);return o.baseUIHandlerPrevented||e?.(...t),n}let n=r(...t);return e?.(...t),n}:m(r):e}(e[t],o):e[t]=o}}return e}(e,r)}function d(e,r){let t=e.charCodeAt(0),o=e.charCodeAt(1),n=e.charCodeAt(2);return 111===t&&110===o&&n>=65&&n<=90&&("function"==typeof r||void 0===r)}function c(e){return"function"==typeof e}function u(e,r){return c(e)?e(r):e??a}function m(e){return e?(...r)=>{let t=r[0];return f(t)&&p(t),e(...r)}:e}function p(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function b(e,r){return r?e?r+" "+e:r:e}function f(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}let g=function(e,...r){let t=new URL("https://base-ui.com/production-error");return t.searchParams.set("code",e.toString()),r.forEach(e=>t.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${t} for the full message.`};var h=e.i(71645);let x={};function v(e,r){let t=h.useRef(x);return t.current===x&&(t.current=e(r)),t}function y(e,r,t,o){var n,a,s,l,i;let d=v(w).current;return n=d,a=e,s=r,l=t,i=o,(n.refs[0]!==a||n.refs[1]!==s||n.refs[2]!==l||n.refs[3]!==i)&&k(d,[e,r,t,o]),d.callback}function w(){return{callback:null,cleanup:null,refs:[]}}function k(e,r){if(e.refs=r,r.every(e=>null==e)){e.callback=null;return}e.callback=t=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=t){let o=Array(r.length).fill(null);for(let e=0;e<r.length;e+=1){let n=r[e];if(null!=n)switch(typeof n){case"function":{let r=n(t);"function"==typeof r&&(o[e]=r);break}case"object":n.current=t}}e.cleanup=()=>{for(let e=0;e<r.length;e+=1){let t=r[e];if(null!=t)switch(typeof t){case"function":{let r=o[e];"function"==typeof r?r():t(null);break}case"object":t.current=null}}}}}}let j=parseInt(h.version,10);function z(e){if(!h.isValidElement(e))return null;let r=e.props;return(j>=19?r?.ref:e.ref)??null}Object.freeze([]);let N=Object.freeze({}),A=Symbol.for("react.lazy");function F(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=function e(r){var t,o,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r)if(Array.isArray(r)){var a=r.length;for(t=0;t<a;t++)r[t]&&(o=e(r[t]))&&(n&&(n+=" "),n+=o)}else for(o in r)r[o]&&(n&&(n+=" "),n+=o);return n}(e))&&(o&&(o+=" "),o+=r);return o}let C=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,S=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),$=[],E=(e,r,t)=>{if(0==e.length-r)return t.classGroupId;let o=e[r],n=t.nextPart.get(o);if(n){let t=E(e,r+1,n);if(t)return t}let a=t.validators;if(null===a)return;let s=0===r?e.join("-"):e.slice(r).join("-"),l=a.length;for(let e=0;e<l;e++){let r=a[e];if(r.validator(s))return r.classGroupId}},_=(e,r)=>{let t=S();for(let o in e)O(e[o],t,o,r);return t},O=(e,r,t,o)=>{let n=e.length;for(let a=0;a<n;a++)T(e[a],r,t,o)},T=(e,r,t,o)=>{"string"==typeof e?D(e,r,t):"function"==typeof e?I(e,r,t,o):B(e,r,t,o)},D=(e,r,t)=>{(""===e?r:P(r,e)).classGroupId=t},I=(e,r,t,o)=>{G(e)?O(e(o),r,t,o):(null===r.validators&&(r.validators=[]),r.validators.push({classGroupId:t,validator:e}))},B=(e,r,t,o)=>{let n=Object.entries(e),a=n.length;for(let e=0;e<a;e++){let[a,s]=n[e];O(s,P(r,a),t,o)}},P=(e,r)=>{let t=e,o=r.split("-"),n=o.length;for(let e=0;e<n;e++){let r=o[e],n=t.nextPart.get(r);n||(n=S(),t.nextPart.set(r,n)),t=n}return t},G=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,U=[],R=(e,r,t,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),W=/\s+/,M=e=>{let r;if("string"==typeof e)return e;let t="";for(let o=0;o<e.length;o++)e[o]&&(r=M(e[o]))&&(t&&(t+=" "),t+=r);return t},V=[],H=e=>{let r=r=>r[e]||V;return r.isThemeGetter=!0,r},L=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,K=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,J=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Q=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ee=e=>K.test(e),er=e=>!!e&&!Number.isNaN(Number(e)),et=e=>!!e&&Number.isInteger(Number(e)),eo=e=>e.endsWith("%")&&er(e.slice(0,-1)),en=e=>J.test(e),ea=()=>!0,es=e=>Y.test(e)&&!Q.test(e),el=()=>!1,ei=e=>X.test(e),ed=e=>Z.test(e),ec=e=>!em(e)&&!ey(e),eu=e=>eC(e,e_,el),em=e=>L.test(e),ep=e=>eC(e,eO,es),eb=e=>eC(e,eT,er),ef=e=>eC(e,eI,ea),eg=e=>eC(e,eD,el),eh=e=>eC(e,e$,el),ex=e=>eC(e,eE,ed),ev=e=>eC(e,eB,ei),ey=e=>q.test(e),ew=e=>eS(e,eO),ek=e=>eS(e,eD),ej=e=>eS(e,e$),ez=e=>eS(e,e_),eN=e=>eS(e,eE),eA=e=>eS(e,eB,!0),eF=e=>eS(e,eI,!0),eC=(e,r,t)=>{let o=L.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},eS=(e,r,t=!1)=>{let o=q.exec(e);return!!o&&(o[1]?r(o[1]):t)},e$=e=>"position"===e||"percentage"===e,eE=e=>"image"===e||"url"===e,e_=e=>"length"===e||"size"===e||"bg-size"===e,eO=e=>"length"===e,eT=e=>"number"===e,eD=e=>"family-name"===e,eI=e=>"number"===e||"weight"===e,eB=e=>"shadow"===e,eP=((e,...r)=>{let t,o,n,a,s=e=>{let r=o(e);if(r)return r;let a=((e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:a}=r,s=[],l=e.trim().split(W),i="";for(let e=l.length-1;e>=0;e-=1){let r=l[e],{isExternal:d,modifiers:c,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=t(r);if(d){i=r+(i.length>0?" "+i:i);continue}let b=!!p,f=o(b?m.substring(0,p):m);if(!f){if(!b||!(f=o(m))){i=r+(i.length>0?" "+i:i);continue}b=!1}let g=0===c.length?"":1===c.length?c[0]:a(c).join(":"),h=u?g+"!":g,x=h+f;if(s.indexOf(x)>-1)continue;s.push(x);let v=n(f,b);for(let e=0;e<v.length;++e){let r=v[e];s.push(h+r)}i=r+(i.length>0?" "+i:i)}return i})(e,t);return n(e,a),a};
1return a=l=>{var i;let d;return o=(t={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null),n=(n,a)=>{t[n]=a,++r>e&&(r=0,o=t,t=Object.create(null))};return{get(e){let r=t[e];return void 0!==r?r:void 0!==(r=o[e])?(n(e,r),r):void 0},set(e,r){e in t?t[e]=r:n(e,r)}}})((i=r.reduce((e,r)=>r(e),e())).cacheSize),parseClassName:(e=>{let{prefix:r,experimentalParseClassName:t}=e,o=e=>{let r,t=[],o=0,n=0,a=0,s=e.length;for(let l=0;l<s;l++){let s=e[l];if(0===o&&0===n){if(":"===s){t.push(e.slice(a,l)),a=l+1;continue}if("/"===s){r=l;continue}}"["===s?o++:"]"===s?o--:"("===s?n++:")"===s&&n--}let l=0===t.length?e:e.slice(a),i=l,d=!1;return l.endsWith("!")?(i=l.slice(0,-1),d=!0):l.startsWith("!")&&(i=l.slice(1),d=!0),R(t,d,i,r&&r>a?r-a:void 0)};if(r){let e=r+":",t=o;o=r=>r.startsWith(e)?t(r.slice(e.length)):R(U,!1,r,void 0,!0)}if(t){let e=o;o=r=>t({className:r,parseClassName:e})}return o})(i),sortModifiers:(d=new Map,i.orderSensitiveModifiers.forEach((e,r)=>{d.set(e,1e6+r)}),e=>{let r=[],t=[];for(let o=0;o<e.length;o++){let n=e[o],a="["===n[0],s=d.has(n);a||s?(t.length>0&&(t.sort(),r.push(...t),t=[]),r.push(n)):t.push(n)}return t.length>0&&(t.sort(),r.push(...t)),r}),...(e=>{let r=(e=>{let{theme:r,classGroups:t}=e;return _(t,r)})(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var t;let r,o,n;return -1===(t=e).slice(1,-1).indexOf(":")?void 0:(o=(r=t.slice(1,-1)).indexOf(":"),(n=r.slice(0,o))?"arbitrary.."+n:void 0)}let o=e.split("-"),n=+(""===o[0]&&o.length>1);return E(o,n,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=o[e],n=t[e];if(r){if(n){let e=Array(n.length+r.length);for(let r=0;r<n.length;r++)e[r]=n[r];for(let t=0;t<r.length;t++)e[n.length+t]=r[t];return e}return r}return n||$}return t[e]||$}}})(i)}).cache.get,n=t.cache.set,a=s,s(l)},(...e)=>a(((...e)=>{let r,t,o=0,n="";for(;o<e.length;)(r=e[o++])&&(t=M(r))&&(n&&(n+=" "),n+=t);return n})(...e))})(()=>{let e=H("color"),r=H("font"),t=H("text"),o=H("font-weight"),n=H("tracking"),a=H("leading"),s=H("breakpoint"),l=H("container"),i=H("spacing"),d=H("radius"),c=H("shadow"),u=H("inset-shadow"),m=H("text-shadow"),p=H("drop-shadow"),b=H("blur"),f=H("perspective"),g=H("aspect"),h=H("ease"),x=H("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...y(),ey,em],k=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],z=()=>[ey,em,i],N=()=>[ee,"full","auto",...z()],A=()=>[et,"none","subgrid",ey,em],F=()=>["auto",{span:["full",et,ey,em]},et,ey,em],C=()=>[et,"auto",ey,em],S=()=>["auto","min","max","fr",ey,em],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...z()],O=()=>[ee,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],T=()=>[ee,"screen","full","dvw","lvw","svw","min","max","fit",...z()],D=()=>[ee,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],I=()=>[e,ey,em],B=()=>[...y(),ej,eh,{position:[ey,em]}],P=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",ez,eu,{size:[ey,em]}],U=()=>[eo,ew,ep],R=()=>["","none","full",d,ey,em],W=()=>["",er,ew,ep],M=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[er,eo,ej,eh],q=()=>["","none",b,ey,em],K=()=>["none",er,ey,em],J=()=>["none",er,ey,em],Y=()=>[er,ey,em],Q=()=>[ee,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[en],breakpoint:[en],color:[ea],container:[en],"drop-shadow":[en],ease:["in","out","in-out"],font:[ec],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[en],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[en],shadow:[en],spacing:["px",er],text:[en],"text-shadow":[en],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ee,em,ey,g]}
vendor: 6,090 bytes, line 1
1],container:["container"],columns:[{columns:[er,em,ey,l]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{"inset-s":N(),start:N()}],end:[{"inset-e":N(),end:N()}],"inset-bs":[{"inset-bs":N()}],"inset-be":[{"inset-be":N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[et,"auto",ey,em]}],basis:[{basis:[ee,"full","auto",l,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[er,ee,"auto","initial","none",em]}],grow:[{grow:["",er,ey,em]}],shrink:[{shrink:["",er,ey,em]}],order:[{order:[et,"first","last","none",ey,em]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...D()]}],"min-block-size":[{"min-block":["auto",...D()]}],"max-block-size":[{"max-block":["none",...D()]}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",t,ew,ep]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,eF,ef]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eo,em]}],"font-family":[{font:[ek,eg,r]}],"font-features":[{"font-features":[em]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,ey,em]}],"line-clamp":[{"line-clamp":[er,"none",ey,eb]}],leading:[{leading:[a,...z()]}],"list-image":[{"list-image":["none",ey,em]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ey,em]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...M(),"wavy"]}],"text-decoration-thickness":[{decoration:[er,"from-font","auto",ey,ep]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[er,"auto",ey,em]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ey,em]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ey,em]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:P()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},et,ey,em],radial:["",ey,em],conic:[et,ey,em]},eN,ex]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:U()}
1],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-bs":[{"border-bs":W()}],"border-w-be":[{"border-be":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...M(),"hidden","none"]}],"divide-style":[{divide:[...M(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}
vendor: 5,715 bytes, line 1
1],"divide-color":[{divide:I()}],"outline-style":[{outline:[...M(),"none","hidden"]}],"outline-offset":[{"outline-offset":[er,ey,em]}],"outline-w":[{outline:["",er,ew,ep]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",c,eA,ev]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",u,eA,ev]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[er,ep]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",m,eA,ev]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[er,ey,em]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[er]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[ey,em]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":y()}],"mask-image-conic-pos":[{"mask-conic":[er]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:P()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ey,em]}],filter:[{filter:["","none",ey,em]}],blur:[{blur:q()}],brightness:[{brightness:[er,ey,em]}],contrast:[{contrast:[er,ey,em]}],"drop-shadow":[{"drop-shadow":["","none",p,eA,ev]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",er,ey,em]}],"hue-rotate":[{"hue-rotate":[er,ey,em]}],invert:[{invert:["",er,ey,em]}],saturate:[{saturate:[er,ey,em]}],sepia:[{sepia:["",er,ey,em]}],"backdrop-filter":[{"backdrop-filter":["","none",ey,em]}],"backdrop-blur":[{"backdrop-blur":q()}],"backdrop-brightness":[{"backdrop-brightness":[er,ey,em]}],"backdrop-contrast":[{"backdrop-contrast":[er,ey,em]}],"backdrop-grayscale":[{"backdrop-grayscale":["",er,ey,em]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[er,ey,em]}],"backdrop-invert":[{"backdrop-invert":["",er,ey,em]}],"backdrop-opacity":[{"backdrop-opacity":[er,ey,em]}],"backdrop-saturate":[{"backdrop-saturate":[er,ey,em]}],"backdrop-sepia":[{"backdrop-sepia":["",er,ey,em]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ey,em]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[er,"initial",ey,em]}],ease:[{ease:["linear","initial",h,ey,em]}],delay:[{delay:[er,ey,em]}],animate:[{animate:["none",x,ey,em]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,ey,em]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:K()}],"rotate-x":[{"rotate-x":K()}],"rotate-y":[{"rotate-y":K()}],"rotate-z":[{"rotate-z":K()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:Y()}],"skew-x":[{"skew-x":Y()}],"skew-y":[{"skew-y":Y()}],transform:[{transform:[ey,em,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ey,em]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ey,em]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[er,ew,ep,eb]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function eG(...e){return eP(F(e))}let eU=(r="group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",t={variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}},e=>{var o;if((null==t?void 0:t.variants)==null)return F(r,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:n,defaultVariants:a}=t,s=Object.keys(n).map(r=>{let t=null==e?void 0:e[r],o=null==a?void 0:a[r];if(null===t)return null;let s=C(t)||C(o);return n[r][s]}),l=e&&Object.entries(e).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{});return F(r,s,null==t||null==(o=t.compoundVariants)?void 0:o.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...l}[r]):({...a,...l})[r]===t})?[...e,t,o]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)});function eR({className:e,variant:r="default",render:t,...o}
1){var d;return function(e,r,t={}){let o=r.render,d=function(e,r={}){var t,o,d;let{className:c,style:u,render:m}=e,{state:p=N,ref:f,props:g,stateAttributesMapping:h,enabled:x=!0}=r,j=x?"function"==typeof c?c(p):c:void 0,A=x?"function"==typeof u?u(p):u:void 0,F=x?function(e,r){let t={};for(let o in e){let n=e[o];if(r?.hasOwnProperty(o)){let e=r[o](n);null!=e&&Object.assign(t,e);continue}!0===n?t[`data-${o.toLowerCase()}`]="":n&&(t[`data-${o.toLowerCase()}`]=n.toString())}return t}(p,h):N,C=x&&g?function(e){if(Array.isArray(e)){if(0===e.length)return a;if(1===e.length)return l(e[0]);let r=l(e[0]);for(let t=1;t<e.length;t+=1)r=i(r,e[t]);return r}return s(void 0,e)}(g):void 0,S=x?n(F,C)??{}:N;if("u">typeof document)if(x)if(Array.isArray(f)){let e;t=[S.ref,z(m),...f],o=e=v(w).current,d=t,(o.refs.length!==d.length||o.refs.some((e,r)=>e!==d[r]))&&k(e,t),S.ref=e.callback}else S.ref=y(S.ref,z(m),f);else y(null,null);return x?(void 0!==j&&(S.className=b(S.className,j)),void 0!==A&&(S.style=n(S.style,A)),S):N}(r,t);return!1===t.enabled?null:function(e,r,t,o){if(r){if("function"==typeof r)return r(t,o);let e=s(t,r.props);e.ref=t.ref;let n=r;return n?.$$typeof===A&&(n=h.Children.toArray(r)[0]),h.cloneElement(n,e)}if(e&&"string"==typeof e){var n,a;return n=e,a=t,"button"===n?(0,h.createElement)("button",{type:"button",...a,key:a.key}):"img"===n?(0,h.createElement)("img",{alt:"",...a,key:a.key}):h.createElement(n,a)}throw Error(g(8))}(e,o,d,t.state??N)}((d={defaultTagName:"span",props:s({className:eG(eU({variant:r}),e)},o),render:t,state:{slot:"badge",variant:r}}).defaultTagName??"div",d,d)}function eW({className:e,size:r="default",...t}){return(0,o.jsx)("div",{"data-slot":"card","data-size":r,className:eG("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...t})}function eM({className:e,...r}){return(0,o.jsx)("div",{"data-slot":"card-header",className:eG("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",e),...r})}function eV({className:e,...r}){return(0,o.jsx)("div",{"data-slot":"card-title",className:eG("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}function eH({className:e,...r}){return(0,o.jsx)("div",{"data-slot":"card-content",className:eG("px-4 group-data-[size=sm]/card:px-3",e),...r})}var eL=e.i(9165),eq=e.i(26732);let eK={critical:"bg-red-500/20 text-red-400 border-red-500/30",high:"bg-orange-500/20 text-orange-400 border-orange-500/30",medium:"bg-yellow-500/20 text-yellow-400 border-yellow-500/30",low:"bg-blue-500/20 text-blue-400 border-blue-500/30",info:"bg-gray-500/20 text-gray-400 border-gray-500/30"};function eJ(e,r){return`sekrd_note_${e}_${r}`}e.s(["FindingCard",0,function({finding:e,scanId:r,locked:t=!1,unlockHref:n="/auth/signin"}){let{status:a}=(0,eq.useSession)(),s="authenticated"===a,[l,i]=(0,h.useState)(!1),[d,c]=(0,h.useState)(""),[u,m]=(0,h.useState)(!1),[p,b]=(0,h.useState)(!1),[f,g]=(0,h.useState)(!1),[x,v]=(0,h.useState)(!1),[y,w]=(0,h.useState)(!1),[k,j]=(0,h.useState)("");(0,h.useEffect)(()=>{if(r)try{let t=localStorage.getItem(eJ(r,e.id));t&&(c(t),m(!0))}catch{}},[r,e.id]);let z=e.fix_prompts?.fix||(e.fix_prompts?Object.values(e.fix_prompts)[0]:""),N=async()=>{if(s){w(!0),j("");try{let t=await (0,eL.authFetch)("https://api.sekrd.com/api/v1/tickets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subject:`Finding dispute: ${e.title}`,message:`Finding: ${e.title} 2Rule: ${e.rule_id||"(unspecified)"} 3Severity: ${e.severity} 4Confidence: ${e.confidence||""} 5Provider: ${e.provider} 6Scan ID: ${r||"unknown"} 7Evidence: ${e.evidence||"none"} 8 9User note: ${d||"(no note)"}`,category:"security",rule_id:e.rule_id})});if(!t.ok){let e=`HTTP ${t.status}`;try{let r=await t.json();r&&"object"==typeof r&&("string"==typeof r.message&&r.message?e=r.message:"string"==typeof r.error&&r.error&&(e=r.error))}catch{}throw Error(e)}v(!0)}catch(e){j(e instanceof Error?e.message.slice(0,120):"Failed to send dis
9pute")}finally{w(!1)}}};return(0,o.jsxs)(eW,{className:"bg-[#111113] border-[#2C2C2E]",children:[(0,o.jsxs)(eM,{className:"pb-3",children:[(0,o.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,o.jsx)(eV,{className:"text-base text-[#F5F5F7]",children:e.title}),(0,o.jsx)(eR,{variant:"outline",className:eK[e.severity],children:e.severity})]}),(0,o.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,o.jsx)("p",{className:"text-sm text-[#86868B]",children:e.provider}),e.platform_issue&&(0,o.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-[#48484A]/30 text-[#86868B] border border-[#48484A]/50",children:"platform default"}),e.rule_id&&(0,o.jsx)("a",{href:`/rules/${e.rule_id}`,className:"text-[10px] px-1.5 py-0.5 rounded bg-[#30D158]/10 text-[#30D158] border border-[#30D158]/30 font-[var(--font-mono)] hover:bg-[#30D158]/20 transition",title:"View this rule in the public rule catalog",children:e.rule_id}),e.cwe&&(0,o.jsx)("a",{href:`https://cwe.mitre.org/data/definitions/${e.cwe.replace(/[^0-9]/g,"")}.html`,target:"_blank",rel:"noopener noreferrer",className:"text-[10px] px-1.5 py-0.5 rounded bg-[#BF5AF2]/10 text-[#BF5AF2] border border-[#BF5AF2]/30 hover:bg-[#BF5AF2]/20 transition",title:"MITRE Common Weakness Enumeration entry",children:e.cwe}),e.owasp_category&&(0,o.jsxs)("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-[#FF9F0A]/10 text-[#FF9F0A] border border-[#FF9F0A]/30",title:"OWASP Top 10 2021 category",children:[(0,o.jsx)("span",{className:"sm:hidden",children:e.owasp_category.split(" ")[0]}),(0,o.jsx)("span",{className:"hidden sm:inline",children:e.owasp_category})]}),e.asvs&&(0,o.jsxs)("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-[#5E5CE6]/10 text-[#5E5CE6] border border-[#5E5CE6]/30 font-[var(--font-mono)]",title:"OWASP Application Security Verification Standard 4.0 requirement",children:["ASVS ",e.asvs]}),e.cvss&&(0,o.jsx)("a",{href:`https://www.first.org/cvss/calculator/3.1#${e.cvss}`,target:"_blank",rel:"noopener noreferrer",className:"text-[10px] px-1.5 py-0.5 rounded bg-[#FF453A]/10 text-[#FF453A] border border-[#FF453A]/30 font-[var(--font-mono)] hover:bg-[#FF453A]/20 transition",title:e.cvss,children:"CVSS v3.1"})]})]}),(0,o.jsxs)(eH,{className:"space-y-3",children:[t?(0,o.jsxs)("div",{className:"rounded-xl border border-[#FFD60A]/30 bg-[#FFD60A]/5 p-4 flex items-start gap-3",children:[(0,o.jsx)("span",{"aria-hidden":!0,className:"text-[#FFD60A] text-lg leading-none",children:"ð"}),(0,o.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,o.jsx)("p",{className:"text-sm text-[#F5F5F7] font-medium",children:"Details + fix prompt hidden"}),(0,o.jsx)("p",{className:"text-xs text-[#A1A1A6] leading-relaxed",children:"Evidence, impact analysis, and the fix prompt are only shown to signed-in users because they may contain sensitive strings we don't want to leak to anyone who opens a shared URL."}),(0,o.jsx)("a",{href:n,className:"inline-block text-[#30D158] hover:underline font-medium text-sm",children:"Sign in (free) to unlock â"})]})]}):(0,o.jsxs)(o.Fragment,{children:[e.description&&(0,o.jsx)("p",{className:"text-sm text-[#A1A1A6] break-words",children:e.description}),e.impact&&(0,o.jsxs)("p",{className:"text-sm text-[#FF453A] break-words whitespace-pre-wrap",children:["Impact: ",e.impact]}),e.evidence&&(0,o.jsx)("pre",{className:"text-[11px] bg-black/50 p-3 rounded-lg text-[#86868B] font-[var(--font-mono)] whitespace-pre-wrap break-all leading-relaxed",children:e.evidence}),e.cost_exposure&&(0,o.jsxs)("p",{className:"text-sm text-[#FFD60A]",children:["Cost exposure: ",e.cost_exposure]}),z&&(0,o.jsxs)("div",{className:"space-y-2",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)("p",{className:"text-xs font-medium text-[#86868B] uppercase tracking-wider",children:"How to fix"}),(0,o.jsx)("button",{type:"button",onClick:()=>{z&&(navigator.clipboard.writeText(z),i(!0),setTimeout(()=>i(!1),2e3))},className:"text-xs text-[#30D158] hover:underline",children:l?"Copied!":"Copy"})]}),(0,o.jsx)("p",{className:"text-xs bg-[#1C1C1E] p-3 rounded-lg text-[#A1A1A6] leading-relaxed border border-[#2C2C2E] whitespace-pre-wrap break-words",children:z})]})]}),!t&&e.references&&e.references.length>0&&(0,o.jsxs)("div",{className:"space-y-1",children:[(0,o.jsx)("p",{className:"text-xs font-medium text-[#86868B] uppercase tracking-wider",children:"References"}),(0,o.jsx)("ul",{className:"text-xs space-y-1",children:e.references.map(e=>{let r=e;try{r=new URL(e).host.replace(/^www\./,"")}catch{}return(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-[#30D158] hover:underline break-all",children:r})},e)})})]}),!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"flex items-center gap-2 pt-1 border-t border-[#2C2C2E]",children:[(0,o.jsx)("button",{type:"button",onClick:()=>m(!u),className:"text-[10px] text-[#48484A] hover:text-[#86868B] transition-colors",children:u?"Hide note":d?"Edit note":"Add note"}),s?(0,o.jsx)("button",{type:"button",onClick:N,disabled:x||y,className:`text-[10px] transition-colors ml-auto ${x?"text-[#30D158]":"text-[#48484A] hover:text-[#86868B] disabled:opacity-50"}`,children:x?"Ticket created":y?"Sendingâ¦":"Dispute"}):(0,o.jsx)("a",{href:"/auth/signin",className:"text-[10px] text-[#48484A] hover:text-[#86868B] transition-colors ml-auto",title:"Sign in to open a supp
9ort ticket about this finding",children:"Sign in to dispute"})]}),k&&(0,o.jsxs)("p",{className:"text-[10px] text-[#FF453A]",children:["Error: ",k]}),u&&(0,o.jsxs)("div",{className:"space-y-2",children:[(0,o.jsx)("textarea",{value:d,onChange:e=>{c(e.target.value),b(!0),g(!1)},placeholder:"Your notes on this finding⦠(saved to this browser only)",rows:3,className:"w-full text-xs bg-black/50 border border-[#2C2C2E] rounded-lg p-2 text-[#A1A1A6] placeholder:text-[#48484A] focus:outline-none focus:border-[#48484A] resize-none"}),(0,o.jsxs)("div",{className:"flex items-center gap-2 text-[10px]",children:[(0,o.jsx)("button",{type:"button",onClick:()=>{if(r)try{d?localStorage.setItem(eJ(r,e.id),d):localStorage.removeItem(eJ(r,e.id)),b(!1),g(!0),setTimeout(()=>g(!1),1500)}catch{}},disabled:!p,className:"px-2 py-1 rounded bg-[#30D158]/20 text-[#30D158] font-medium disabled:opacity-40 disabled:cursor-not-allowed",children:"Save note"}),f&&(0,o.jsx)("span",{className:"text-[#30D158]",children:"Saved"}),p&&!f&&(0,o.jsx)("span",{className:"text-[#FF9F0A]",children:"Unsaved changes"}),!p&&!f&&d&&(0,o.jsx)("span",{className:"text-[#48484A]",children:"Saved to this browser"})]})]})]})]})]})}],67493)}]);
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.