PageSourceSearch

https://skinbar7.com/_next/static/chunks/3889-f7dec9e78f36d7d7.js

js skinbar7.com collected 2026-10-08 01:37:31 UTC 22,567 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4b88da5f-9412-4b1a-9202-d72e35114668",e._sentryDebugIdIdentifier="sentry-dbid-4b88da5f-9412-4b1a-9202-d72e35114668")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3889],{1856:(e,t,a)=>{a.d(t,{T:()=>s});var l=a(78777);a(43469);var n=a(57821);function s(e){let{className:t,...a}=e;return(0,l.jsx)("textarea",{"data-slot":"textarea",className:(0,n.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...a})}},12586:(e,t,a)=>{a.d(t,{Cf:()=>m,Es:()=>x,HM:()=>u,L3:()=>h,LC:()=>g,ZJ:()=>c,c7:()=>p,lG:()=>i,rr:()=>f,zM:()=>d});var l=a(78777);a(43469);var n=a(94323),s=a(84804),r=a(57821),o=a(78094);function i(e){let{...t}=e;return(0,l.jsx)(n.bL,{"data-slot":"dialog",...t})}function d(e){let{...t}=e;return(0,l.jsx)(n.l9,{"data-slot":"dialog-trigger",...t})}function c(e){let{...t}=e;return(0,l.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function u(e){let{...t}=e;return(0,l.jsx)(n.bm,{"data-slot":"dialog-close",...t})}function g(e){let{className:t,...a}=e;return(0,l.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,r.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function m(e){let{className:t,children:a,showCloseButton:o=!0,...i}=e;return(0,l.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,l.jsx)(g,{}),(0,l.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,r.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",t),...i,children:[a,o&&(0,l.jsxs)(n.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,l.jsx)(s.A,{}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function p(e){let{className:t,...a}=e;return(0,l.jsx)("div",{"data-slot":"dialog-header",className:(0,r.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function x(e){let{className:t,showCloseButton:a=!1,children:s,...i}=e;return(0,l.jsxs)("div",{"data-slot":"dialog-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...i,children:[s,a&&(0,l.jsx)(n.bm,{asChild:!0,children:(0,l.jsx)(o.$,{variant:"outline",children:"Close"})})]})}function h(e){let{className:t,...a}=e;return(0,l.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,r.cn)("text-lg leading-none font-semibold",t),...a})}function f(e){let{className:t,...a}=e;return(0,l.jsx)(n.VY,{"data-slot":"dialog-description",className:(0,r.cn)("text-muted-foreground text-sm",t),...a})}},12812:(e,t,a)=>{a.d(t,{J:()=>r});var l=a(78777);a(43469);var n=a(3507),s=a(57821);function r(e){let{className:t,...a}=e;return(0,l.jsx)(n.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},27020:(e,t,a)=>{let l;a.d(t,{TRPCReactProvider:()=>f,F:()=>h});var n=a(78777),s=a(43469),r=a(6248),o=a(45531),i=a(84897),d=a(84441),c=a(28870),u=a(36763);function g(){var e;let t=(0,c.useRouter)(),a=(0,r.useQueryClient)(),{data:l,isPending:n}=u.y.useSession(),o=(0,s.useRef)(void 0);return(0,s.useEffect)(()=>{var e,s;if(n)return;let r=null!=(s=null==l||null==(e=l.user)?void 0:e.id)?s:null,i=o.current;o.current=r,void 0!==i&&i!==r&&(a.clear(),null===r&&t.refresh())},[null==l||null==(e=l.user)?void 0:e.id,n,a,t]),null}var m=a(93645),p=a(68405);let x=new Set(["UNAUTHORIZED","FORBIDDEN","NOT_FOUND","BAD_REQUEST","METHOD_NOT_SUPPORTED","TIMEOUT","CONFLICT","PRECONDITION_FAILED","PAYLOAD_TOO_LARGE","UNPROCESSABLE_CONTENT","TOO_MANY_REQUESTS","CLIENT_CLOSED_REQUEST"]);a(71174);let h=(0,i.pY)();function f(e){let t=(null!=l||(l=new m.E({defaultOptions:{queries:{staleTime:3e4,retry:(e,t)=>{let a=function(e){if("object"!=typeof e||null===e)return;let t=e.data;if("object"!=typeof t||null===t)return;let a=t.code;return"string"==typeof a?a:void 0}(t);return!(a&&x.has(a))&&e<3}}
1,dehydrate:{serializeData:d.Ay.serialize,shouldDehydrateQuery:e=>(0,p.XS)(e)||"pending"===e.state.status},hydrate:{deserializeData:d.Ay.deserialize}}})),l),[a]=(0,s.useState)(()=>h.createClient({links:[(0,o.$H)({enabled:e=>"down"===e.direction&&e.result instanceof Error}),(0,o.N9)({transformer:d.Ay,url:window.location.origin+"/api/trpc",headers:()=>{let e=new Headers;return e.set("x-trpc-source","nextjs-react"),e}})]}));return(0,n.jsxs)(r.QueryClientProvider,{client:t,children:[(0,n.jsx)(g,{}),(0,n.jsx)(h.Provider,{client:a,queryClient:t,children:e.children})]})}},36763:(e,t,a)=>{a.d(t,{y:()=>s});var l=a(91462),n=a(6639);let s=(0,a(46482).M)({plugins:[(0,l.Z)(),(0,n.kw)()]})},55138:(e,t,a)=>{a.d(t,{TR:()=>p,bq:()=>g,eb:()=>x,gC:()=>m,l6:()=>d,mi:()=>h,s3:()=>c,yv:()=>u});var l=a(78777);a(43469);var n=a(97263),s=a(52590),r=a(5352),o=a(42067),i=a(57821);function d(e){let{...t}=e;return(0,l.jsx)(n.bL,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,l.jsx)(n.YJ,{"data-slot":"select-group",...t})}function u(e){let{...t}=e;return(0,l.jsx)(n.WT,{"data-slot":"select-value",...t})}function g(e){let{className:t,size:a="default",children:r,...o}=e;return(0,l.jsxs)(n.l9,{"data-slot":"select-trigger","data-size":a,className:(0,i.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...o,children:[r,(0,l.jsx)(n.In,{asChild:!0,children:(0,l.jsx)(s.A,{className:"size-4 opacity-50"})})]})}function m(e){let{className:t,children:a,position:s="item-aligned",align:r="center",container:o,...d}=e;return(0,l.jsx)(n.ZL,{container:null!=o?o:void 0,children:(0,l.jsxs)(n.UC,{"data-slot":"select-content",className:(0,i.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:s,align:r,...d,children:[(0,l.jsx)(f,{}),(0,l.jsx)(n.LM,{className:(0,i.cn)("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,l.jsx)(b,{})]})})}function p(e){let{className:t,...a}=e;return(0,l.jsx)(n.JU,{"data-slot":"select-label",className:(0,i.cn)("text-muted-foreground px-2 py-1.5 text-xs",t),...a})}function x(e){let{className:t,children:a,...s}=e;return(0,l.jsxs)(n.q7,{"data-slot":"select-item",className:(0,i.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...s,children:[(0,l.jsx)("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,l.jsx)(n.VF,{children:(0,l.jsx)(r.A,{className:"size-4"})})}),(0,l.jsx)(n.p4,{children:a})]})}function h(e){let{className:t,...a}=e;return(0,l.jsx)(n.wv,{"data-slot":"select-separator",className:(0,i.cn)("bg-border pointer-events-none -mx-1 my-1 h-px",t),...a})}function f(e){let{className:t,...a}=e;return(0,l.jsx)(n.PP,{"data-slot":"select-scroll-up-button",className:(0,i.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,l.jsx)(o.A,{className:"size-4"})})}function b(e){let{className:t,...a}=e;return(0,l.jsx)(n.wn,{"data-slot":"select-scroll-down-button",className:(0,i.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,l.jsx)(s.A,{className:"size-4"})})}},62671:(e,t,a)=>{a.d(t,{E:()=>i});var l=a(78777);a(43469);var n=a(93622),s=a(51343),r=a(57821);let o=(0,s.F)("inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline",success:"border-green-600/20 bg-green-50 text-green-700 dark:border-green-500/20 dark:bg-green-500/10 dark:text-green-400",warning:"border-amber-600/20 bg-amber-50 text-amber-700 dark:border-amber-500/20 dark:bg-amber-500/10 dark:text-amber-400"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:a="default",asChild:s=!1,...i}=e,d=s?n.DX:"span";return(0,l.jsx)(d,{"data-slot":"badge","data-variant":a,className:(0,r.cn)(o({variant:a}),t),...i})}},93535:(e,t,a)=>{a.r(t),a.d(t,{GalleryRenderer:()=>c});var l=a(78777),n=a(43469),s=a(84804),r=a(57821),o=a(12586);function i(e){let{caption:t,style:a}=e;return t?"hover"===a?(0,l.jsx)("div",{className:"pointer-events-none absolute right-0 bottom-0 left-0 bg-black/70 p-2 text-sm text-white opacity-0 transition-opacity group-hover:opacity-100",children:t}):(0,l.jsx)("div",{className:"absolute right-0 bottom-0 left-0 bg-black/70 p-2 text-sm text-white",children:t}):null}function d(e,t){var a,l;let n=null!=(l=null!=(a=e.altText)?a:e.caption)?l:"image ".concat(t+1);return"View ".concat(n," larger")}function c(e){var t,a,r,i,d;let{gallery:c,showTitle:h=!1,showDescription:f=!1,titleClassName:b="text-3xl font-bold mb-2",descriptionClassName:v="text-gray-600 mb-8"}
1=e,[y,j]=(0,n.useState)(null),w=e=>{c.enableLightbox&&j(e)},N=()=>j(null),k=()=>{null!==y&&j((y+1)%c.images.length)},C=()=>{null!==y&&j((y-1+c.images.length)%c.images.length)};(0,n.useEffect)(()=>{if(null===y)return;let e=e=>{"Escape"===e.key&&N(),"ArrowRight"===e.key&&k(),"ArrowLeft"===e.key&&C()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[y]);let T=null!==y?c.images[y]:null;return(0,l.jsxs)("div",{className:"not-prose gallery-container",children:[(h||f)&&(0,l.jsxs)("div",{className:"gallery-header mb-6",children:[h&&(null==c?void 0:c.name)&&(0,l.jsx)("h2",{className:b,children:null==c?void 0:c.name}),f&&(null==c?void 0:c.description)&&(0,l.jsx)("p",{className:v,children:null==c?void 0:c.description})]}),(()=>{switch(c.layout){case"grid":default:return(0,l.jsx)(u,{gallery:c,onImageClick:w});case"masonry":return(0,l.jsx)(g,{gallery:c,onImageClick:w});case"carousel":return(0,l.jsx)(m,{gallery:c,onImageClick:w});case"collage":return(0,l.jsx)(p,{gallery:c,onImageClick:w});case"justified":return(0,l.jsx)(x,{gallery:c,onImageClick:w})}})(),c.enableLightbox&&null!==y&&T&&(0,l.jsx)(o.lG,{open:!0,onOpenChange:N,children:(0,l.jsxs)(o.Cf,{className:"max-w-7xl p-0",children:[(0,l.jsx)(o.L3,{className:"sr-only",children:"Image ".concat(y+1," of ").concat(c.images.length).concat((null!=(a=null!=(t=T.altText)?t:T.caption)?a:c.name)?": ".concat(null!=(i=null!=(r=T.altText)?r:T.caption)?i:c.name):"")}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("img",{src:T.url,alt:null!=(d=T.altText)?d:"",className:"h-auto max-h-[90vh] w-full object-contain"}),c.showCaptions&&T.caption&&(0,l.jsx)("div",{className:"absolute right-0 bottom-0 left-0 bg-black/70 p-4 text-white",children:T.caption}),(0,l.jsx)("button",{type:"button",onClick:C,"aria-label":"Previous image",className:"absolute top-1/2 left-4 -translate-y-1/2 rounded-full bg-black/50 p-2 text-white hover:bg-black/70",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"←"})}),(0,l.jsx)("button",{type:"button",onClick:k,"aria-label":"Next image",className:"absolute top-1/2 right-4 -translate-y-1/2 rounded-full bg-black/50 p-2 text-white hover:bg-black/70",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})}),(0,l.jsx)("button",{type:"button","aria-label":"Close lightbox",onClick:N,className:"absolute top-4 right-4 rounded-full bg-black/50 p-2 text-white hover:bg-black/70",children:(0,l.jsx)(s.A,{className:"h-6 w-6","aria-hidden":"true"})})]})]})})]})}function u(e){var t,a;let{gallery:n,onImageClick:s}=e,o=null!=(t=n.captionStyle)?t:"overlay",c="below"===o,u=function(e){switch(e){case"4:3":return"aspect-[4/3]";case"16:9":return"aspect-video";case"3:4":return"aspect-[3/4]";case"original":return"aspect-auto";default:return"aspect-square"}}(n.aspectRatio),g=n.enableLightbox;return(0,l.jsx)("div",{className:(0,r.cn)("grid",(a=n.columns)>=5?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5":4===a?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4":3===a?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3":2===a?"grid-cols-1 sm:grid-cols-2":"grid-cols-1"),style:{gap:"".concat(n.gap,"px")},children:n.images.map((e,t)=>{var a,m;return(0,l.jsxs)("div",{className:(0,r.cn)(c?"flex flex-col":"","group"),children:[g?(0,l.jsxs)("button",{type:"button","aria-label":d(e,t),className:"relative w-full cursor-pointer overflow-hidden rounded-lg transition-transform duration-200 group-hover:scale-105 ".concat(u),onClick:()=>s(t),children:[(0,l.jsx)("img",{src:e.url,alt:null!=(a=e.altText)?a:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-lg object-cover"}),n.showCaptions&&!c&&(0,l.jsx)(i,{caption:e.caption,style:o})]}):(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-lg ".concat(u),children:[(0,l.jsx)("img",{src:e.url,alt:null!=(m=e.altText)?m:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-lg object-cover"}),n.showCaptions&&!c&&(0,l.jsx)(i,{caption:e.caption,style:o})]}),n.showCaptions&&c&&e.caption&&(0,l.jsx)("p",{className:"mt-1 text-sm text-gray-700",children:e.caption})]},e.id)})})}function g(e){var t,a;let{gallery:n,onImageClick:s}=e,r=null!=(t=n.captionStyle)?t:"overlay",o="below"===r,c=n.enableLightbox;return(0,l.jsx)("div",{className:(a=n.columns)>=5?"columns-1 sm:columns-2 md:columns-3 lg:columns-4 xl:columns-5":4===a?"columns-1 sm:columns-2 md:columns-3 lg:columns-4":3===a?"columns-1 sm:columns-2 md:columns-3"
1:2===a?"columns-1 sm:columns-2":"columns-1",style:{columnGap:"".concat(n.gap,"px")},children:n.images.map((e,t)=>{var a,u;return(0,l.jsxs)("div",{className:"group break-inside-avoid",style:{marginBottom:"".concat(n.gap,"px")},children:[c?(0,l.jsxs)("button",{type:"button","aria-label":d(e,t),className:"relative w-full cursor-pointer overflow-hidden rounded-lg",onClick:()=>s(t),children:[(0,l.jsx)("img",{src:e.url,alt:null!=(a=e.altText)?a:"",loading:"lazy",decoding:"async",className:"h-auto w-full rounded-[inherit] transition-transform group-hover:scale-110"}),n.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}):(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-lg",children:[(0,l.jsx)("img",{src:e.url,alt:null!=(u=e.altText)?u:"",loading:"lazy",decoding:"async",className:"h-auto w-full rounded-[inherit] transition-transform group-hover:scale-110"}),n.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}),n.showCaptions&&o&&e.caption&&(0,l.jsx)("p",{className:"mt-1 text-sm text-gray-700",children:e.caption})]},e.id)})})}function m(e){var t,a;let{gallery:s,onImageClick:r}=e,[o,i]=(0,n.useState)(0),c=s.images[o];return(0,l.jsxs)("div",{className:"relative",children:[s.enableLightbox?(0,l.jsx)("button",{type:"button","aria-label":d(c,o),className:"aspect-video w-full cursor-pointer overflow-hidden rounded-lg",onClick:()=>r(o),children:(0,l.jsx)("img",{src:c.url,alt:null!=(t=c.altText)?t:"",className:"h-full w-full object-cover transition-transform duration-300"})}):(0,l.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg",children:(0,l.jsx)("img",{src:c.url,alt:null!=(a=c.altText)?a:"",className:"h-full w-full object-cover transition-transform duration-300"})}),s.showCaptions&&c.caption&&(0,l.jsx)("div",{className:"mt-2 text-center text-sm text-gray-700",children:c.caption}),s.images.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button",onClick:()=>i((o-1+s.images.length)%s.images.length),"aria-label":"Previous image",className:"absolute top-1/2 left-4 -translate-y-1/2 rounded-full bg-black/50 p-2 text-white hover:bg-black/70",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"←"})}),(0,l.jsx)("button",{type:"button",onClick:()=>i((o+1)%s.images.length),"aria-label":"Next image",className:"absolute top-1/2 right-4 -translate-y-1/2 rounded-full bg-black/50 p-2 text-white hover:bg-black/70",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})}),(0,l.jsx)("div",{className:"mt-4 flex justify-center gap-2",children:s.images.map((e,t)=>(0,l.jsx)("button",{type:"button","aria-label":"Go to image ".concat(t+1),"aria-pressed":t===o,onClick:()=>i(t),className:"h-2 w-2 rounded-full transition-colors ".concat(t===o?"bg-gray-900":"bg-gray-300")},t))})]})]})}function p(e){var t;let{gallery:a,onImageClick:n}=e,s=a.gap,r=null!=(t=a.captionStyle)?t:"overlay",o="below"===r,c=a.enableLightbox;return(0,l.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3",style:{gap:"".concat(s,"px")},children:a.images.map((e,t)=>{var s,u;return(0,l.jsxs)("div",{className:o?"flex flex-col":"",style:0===t?{gridColumn:"span 2",gridRow:"span 2"}:void 0,children:[c?(0,l.jsxs)("button",{type:"button","aria-label":d(e,t),className:"group relative w-full cursor-pointer overflow-hidden rounded-lg",style:0===t?{aspectRatio:"1",height:"100%"}:{aspectRatio:"1/1"},onClick:()=>n(t),children:[(0,l.jsx)("img",{src:e.url,alt:null!=(s=e.altText)?s:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-[inherit] object-cover transition-transform group-hover:scale-110"}
1),a.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}):(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-lg",style:0===t?{aspectRatio:"1",height:"100%"}:{aspectRatio:"1/1"},children:[(0,l.jsx)("img",{src:e.url,alt:null!=(u=e.altText)?u:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-[inherit] object-cover transition-transform group-hover:scale-110"}),a.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}),a.showCaptions&&o&&e.caption&&(0,l.jsx)("p",{className:"mt-1 text-sm text-gray-700",children:e.caption})]},e.id)})})}function x(e){var t;let{gallery:a,onImageClick:n}=e,s=a.gap,r=null!=(t=a.captionStyle)?t:"overlay",o="below"===r,c=a.enableLightbox;return(0,l.jsx)("div",{className:"flex flex-wrap",style:{gap:"".concat(s,"px")},children:a.images.map((e,t)=>{var s,u;return(0,l.jsxs)("div",{className:o?"flex flex-col":"",style:o?{flexGrow:1,minWidth:"150px"}:{height:"".concat(220,"px"),flexGrow:1,minWidth:"150px"},children:[c?(0,l.jsxs)("button",{type:"button","aria-label":d(e,t),className:"group relative w-full cursor-pointer overflow-hidden rounded-lg",style:o?{height:"".concat(220,"px")}:{height:"100%",width:"100%"},onClick:()=>n(t),children:[(0,l.jsx)("img",{src:e.url,alt:null!=(s=e.altText)?s:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-[inherit] object-cover transition-transform group-hover:scale-110"}
1),a.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}):(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-lg",style:o?{height:"".concat(220,"px")}:{height:"100%",width:"100%"},children:[(0,l.jsx)("img",{src:e.url,alt:null!=(u=e.altText)?u:"",loading:"lazy",decoding:"async",className:"h-full w-full rounded-[inherit] object-cover transition-transform group-hover:scale-110"}),a.showCaptions&&!o&&(0,l.jsx)(i,{caption:e.caption,style:r})]}),a.showCaptions&&o&&e.caption&&(0,l.jsx)("p",{className:"mt-1 text-sm text-gray-700",children:e.caption})]},e.id)})})}}}]);

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.