1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09f3b-a323-7762-a6ea-4529ad859d5e")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2967],{42363:(e,r,t)=>{t.d(r,{B8:()=>s,Kz:()=>l,W7:()=>o,Zs:()=>a});var i=t(28805);let l=[{n:1,label:"Gaming"},{n:2,label:"Television"},{n:3,label:"Whiteboard"},{n:4,label:"Wanted Poster"},{n:5,label:"Recorder"}].map(e=>{let{n:r,label:t}=e;return{id:`frame${r}`,label:t,url:`https://cdn.diy.org/post-frames/frame${r}.png`,preview:`https://cdn.diy.org/post-frame-previews/${r}.png`}}),a=e=>{var r;return"none"===e?"":(null==(r=l.find(r=>r.id===e))?void 0:r.url)??""},o=[{id:"none",label:"None",swatchColor:i.A.primary.white,labelColor:i.A.primary.x_light,showIcon:!0,filterCSS:"none",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"},{id:"blackWhite",label:"Black & White",swatchColor:"var(--color-secondary-grey-4)",labelColor:i.A.primary.x_light,filterCSS:"grayscale(1)",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"},{id:"sepia",label:"Sepia",swatchColor:"#9c7b54",labelColor:i.A.primary.white,filterCSS:"sepia(1) saturate(0.9)",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"},{id:"nightVision",label:"Night Vision",swatchColor:"#1b5e20",labelColor:i.A.primary.white,filterCSS:"grayscale(0.2) brightness(1.2) contrast(1.35) saturate(1.4) hue-rotate(90deg)",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"},{id:"inverted",label:"Inverted",swatchColor:"#2b2b2b",labelColor:i.A.primary.white,filterCSS:"invert(1) contrast(1.05)",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"},{id:"kaleidoscope",label:"Kaleidoscope",swatchColor:"#8a2be2",labelColor:i.A.primary.white,filterCSS:"contrast(1.25) saturate(1.6) hue-rotate(140deg) drop-shadow(0 0 6px rgba(138,43,226,0.35))",previewImageUrl:"https://cdn.diy.org/posting-flow/YetiFilterPreview.png"}],s={none:"none",blackWhite:"grayscale(1)",sepia:"sepia(1) saturate(0.9)",nightVision:"grayscale(0.2) brightness(1.2) contrast(1.35) saturate(1.4) hue-rotate(90deg)",inverted:"invert(1) contrast(1.05)",kaleidoscope:"contrast(1.25) saturate(1.6) hue-rotate(140deg) drop-shadow(0 0 6px rgba(138,43,226,0.35))"}},62967:(e,r,t)=>{t.r(r),t.d(r,{FilterSettingsPanel:()=>h,default:()=>p});var i=t(95155);t(12115);
1var l=t(15239),a=t(5231),o=t(51499),s=t(20803),n=t(42363),d=t(93505);let c=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("g",{opacity:"0.9",children:(0,i.jsx)("path",{d:"M8.625 15.375L15.375 8.625M12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21Z",stroke:"var(--color-secondary-grey-1)",strokeWidth:"3",strokeLinecap:"round"})})}),h=e=>{var r;let{onClose:t}=e,{canvasFilter:h,setCanvasFilter:p}=(0,d.dv)(),g=(null==(r=Object.entries(n.B8).find(e=>{let[,r]=e;return r===h}))?void 0:r[0])??"none";return(0,i.jsx)(a.m,{title:"Filters",onClose:t,children:(0,i.jsx)("div",{style:{minWidth:360},children:(0,i.jsxs)(s.b,{gap:8,scrollStep:116,arrowButtonSize:32,arrowIconSize:16,arrowLeftPosition:8,arrowRightPosition:8,arrowYOffset:-14,scrollDependency:n.W7.length,children:[(0,i.jsx)("div",{style:{minWidth:"8px"}}),n.W7.map(e=>{let r=g===e.id,t=e.previewImageUrl&&void 0!==e.filterCSS;return(0,i.jsx)(o.D,{onClick:()=>{var r;return r=e.id,void p(n.B8[r])},isSelected:r,label:e.label,ariaLabel:`Select ${e.label} filter`,width:100,height:100,children:e.showIcon?(0,i.jsx)("div",{className:"flex items-center justify-center h-full w-full",children:(0,i.jsx)(c,{})}):t?(0,i.jsx)(l.default,{src:e.previewImageUrl,alt:e.label,fill:!0,className:"object-cover",sizes:"100px",style:{filter:"none"===e.filterCSS?"none":e.filterCSS,transform:"scale(1.1)"},loading:"eager",fetchPriority:"high"}):(0,i.jsx)("div",{className:"h-full w-full",style:{backgroundColor:e.swatchColor}})},e.id)}),(0,i.jsx)("div",{style:{minWidth:"8px"}})]})})})},p=h}}]); 2//# chunkId=01a09f3b-a323-7762-a6ea-4529ad859d5e
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.