1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33715],{33715:(e,t,n)=>{n.r(t),n.d(t,{HijabIcon:()=>s,default:()=>l});var a=n(95155),r=n(12115);function s(e){let{className:t="w-4 h-4"}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C8.8 2 6.2 4.47 6.2 7.52c0 2.1-.74 5.95-3.14 8.92-.75.92-1.12 1.38-1.05 1.8.07.43.47.69 1.27 1.21 5.24 3.4 12.2 3.4 17.44 0 .8-.52 1.2-.78 1.27-1.2.07-.43-.3-.89-1.05-1.81-2.4-2.97-3.14-6.82-3.14-8.92C17.8 4.47 15.2 2 12 2zm0 3.5c-2.5 0-4.5 2-4.5 4.5s2 4.5 4.5 4.5 4.5-2 4.5-4.5-2-4.5-4.5-4.5z"})})}function l(e){let{enabled:t,onChange:n,variant:l="compact",className:i=""}=e,[c,u]=(0,r.useState)(!1),d=(0,r.useRef)(void 0);return((0,r.useEffect)(()=>()=>clearTimeout(d.current),[]),"full"===l)?(0,a.jsx)(o,{enabled:t,onChange:n}):(0,a.jsxs)("div",{className:"relative group/hijab",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{u(!0),clearTimeout(d.current),d.current=setTimeout(()=>u(!1),5e3),n(!t)},className:"flex items-center gap-1.5 px-2.5 py-1.5 rounded-full border transition-all duration-200 ".concat(t?"border-neutral-800 bg-neutral-800 text-white shadow-sm":"border-neutral-200 bg-white text-neutral-500 hover:border-neutral-300 hover:text-neutral-700"," ").concat(i),children:[(0,a.jsx)(s,{className:"w-3.5 h-3.5 transition-colors ".concat(t?"text-white":"text-neutral-400 group-hover/hijab:text-neutral-600")}),(0,a.jsx)("span",{className:"text-xs font-medium select-none",children:"Hijab"}),(0,a.jsx)("span",{className:"inline-block w-1.5 h-1.5 rounded-full transition-colors ".concat(t?"bg-emerald-400":"bg-neutral-300")})]}),(0,a.jsxs)("div",{className:"absolute bottom-full mb-2 pointer-events-none z-50\n right-0 sm:right-auto sm:left-1/2 sm:-translate-x-1/2\n transition-opacity duration-200\n ".concat(c?"opacity-100":"opacity-0","\n sm:group-hover/hijab:opacity-100"),children:[(0,a.jsxs)("div",{className:"bg-neutral-900 text-white rounded-xl px-3 py-2 shadow-xl whitespace-nowrap text-center",children:[(0,a.jsx)("p",{className:"text-xs font-bold ".concat(t?"text-emerald-400":"text-neutral-300"),children:t?"Hijab Mode Enabled":"Hijab Mode Disabled"}),(0,a.jsx)("p",{className:"text-[10px] text-white/70 mt-0.5",children:t?"Selected model will wear a hijab":"Selected model won't wear hijab"})]}),(0,a.jsx)("div",{className:"flex justify-center sm:justify-center",children:(0,a.jsx)("div",{className:"w-2 h-2 bg-neutral-900 rotate-45 -mt-1 mr-3 sm:mr-0"})})]})]})}function o(e){let{enabled:t,onChange:n}=e;return(0,a.jsx)("button",{type:"button",role:"switch","aria-checked":t,onClick:()=>n(!t),className:"relative inline-flex h-6 w-11 shrink-0 items-center rounded-full border-2 border-transparent transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-neutral-500 focus-visible:ring-offset-2 ".concat(t?"bg-neutral-800":"bg-neutral-200"),children:(0,a.jsx)("span",{className:"pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow-sm ring-0 transition-transform duration-200 ".concat(t?"translate-x-5":"translate-x-0.5")})})}}}]);
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.