PageSourceSearch

https://www.cineleman.fr/GenderField-e94cc8a18fe30c55c03a.js

js cineleman.fr collected 2026-09-27 01:36:59 UTC 1,787 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkw7420_fc7366ff_2969_482a_8030_06e71c01e556=self.webpackChunkw7420_fc7366ff_2969_482a_8030_06e71c01e556||[]).push([[652],{86795:function(e,a,l){l.r(a),l.d(a,{default:function(){return m}});var r=l(86326),n=l(86329),u=l(20141);var o={selectMenu:{"& + svg":{fill:"currentColor"},":invalid":{color:"rgba(0,0,0,.5)"}}};const d=e=>{let{id:a,name:l,defaultValue:r,value:n,onChange:d,onBlur:t,children:s,required:i=!0}=e;return(0,u.Y)(u.l6,{id:a,name:l,defaultValue:r,onChange:d,sx:o.selectMenu,onBlur:t,required:i,value:n},s)};var t=(0,r.memo)(d);const s={genderOptions:["male","female"]};var i=(0,l(97553).YK)({male:{id:"loyalty.form.field.gender.male-label",defaultMessage:"Male"},female:{id:"loyalty.form.field.gender.female-label",defaultMessage:"Female"},unknown:{id:"loyalty.form.field.gender.other-label",defaultMessage:"Other"},unspecified:{id:"loyalty.form.field.gender.other-label",defaultMessage:"Other"},undisclosed:{id:"loyalty.form.field.gender.undisclosed-label",defaultMessage:"Prefer not to say"}});const f=e=>"undisclosed"===e?"unknown":e,c=e=>{let{id:a,name:l,value:o,onChange:d,onBlur:c,display:m="select","aria-required":g}=e;const{formatMessage:v}=(0,n.A)(),h=(0,r.useMemo)((()=>s.genderOptions.map((e=>({label:v(i[e]),value:f(e)})))),[]);switch(m){case"select":return(0,u.Y)(t,{id:a,name:l,value:o,"aria-required":g,onChange:e=>{d(e.currentTarget.value)},onBlur:c,required:!1},(0,u.Y)("option",{value:""}),h.map((e=>(0,u.Y)("option",{value:e.value,key:e.value},e.label))));case"radio":return(0,u.Y)(u.so,{sx:{gap:8}},h.map((e=>(0,u.Y)(u.JU,{key:e.value,sx:{display:"flex",width:"auto"}},(0,u.Y)(u.sx,{value:e.value,name:l,"aria-required":g,onChange:e=>{d(e.currentTarget.value)},onBlur:c,required:!1}),e.label))))}};var m=(0,r.memo)(c)}}]);

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.