PageSourceSearch

https://www.elle.com/_assets/fre/scopes/hdm/_next/static/chunks/50783-bfcd866dc37e6349.js

js elle.com collected 2026-09-24 07:04:50 UTC 5,281 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50783],{50783:(e,r,t)=>{t.d(r,{A:()=>l});var i=t(93682),n=t(88667);t(58332);var a=t(71055);function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(null,arguments)}function l(e){let r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach(function(r){(0,i.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({id:"",isDisabled:!1,isChecked:!1,isRequired:!1,value:"",helperMessage:"",errorMessage:"",onChange:null,onFocus:null,onBlur:null,sxProps:{}},e);return a.createElement(n.A,s({type:"checkbox"},r))}},58332:(e,r,t)=>{t(88667)},88667:(e,r,t)=>{t.d(r,{A:()=>O});var i=t(53520),n=t(78880);t(60290);var a=t(49726),o=t(38536),s=t(28270),l=t(42832),c=e=>(0,l.A)(e)&&!["isChecked","isDisabled","isError"].includes(e),d=s.Ay,u=(0,o.A)("label",{shouldForwardProp:c,target:"eehkfzr7"})(d("switch-label-container",{display:"flex",alignItems:"center",position:"relative",minHeight:"1rem",padding:"0.25rem .5rem",borderRadius:"xxxs",width:"fit-content",outline:"thin dashed transparent",outlineColor:({hasError:e})=>e&&"globalColorError","&:focus-within":{outlineColor:"black"},cursor:({isDisabled:e})=>e?"not-allowed":"pointer"}),""),h=(0,o.A)("div",{shouldForwardProp:c,target:"eehkfzr6"})(d("checkbox-input-wrapper",{display:"flex",alignItems:"center",justifyContent:"start",height:"iconSize.xxs",width:"iconSize.xxs",marginRight:"xs",outline:"thin solid black",outlineColor:({isDisabled:e})=>e&&"grey",borderRadius:".125rem",background:({isChecked:e,isDisabled:r})=>e&&!r&&"black"||r&&"greyXlight"||"white"}),""),p=(0,o.A)("input",{shouldForwardProp:c,target:"eehkfzr5"})(d("checkbox-input",{appearance:"none",width:"iconSize.xl",height:"iconSize.xl",padding:"1rem {l}",ml:"-1rem",outline:"none",cursor:({disabled:e})=>e?"not-allowed":"pointer"}),""),b=(0,o.A)(a.A,{target:"eehkfzr4"})(d("switch-field-message",{padding:({isRadio:e})=>e?"0 2.15rem {xxs}":"",mt:({isRadio:e})=>e&&0}),""),g=(0,o.A)("div",{shouldForwardProp:c,target:"eehkfzr3"})(d("radio-check-icon",{background:({isChecked:e,isDisabled:r})=>e&&!r&&"black"||r&&"grey"||"transparent",borderRadius:"50%",height:"iconSize.xxxs",m:"auto",width:"iconSize.xxxs"}),""),m=(0,o.A)(n.A,{target:"eehkfzr2"})(d("checkbox-check-icon",{width:"iconSize.xxs",height:"iconSize.xxs",position:"absolute",left:"0.5rem",pointerEvents:"none",primary:({isDisabled:e})=>e?"greyXdark":"white",secondary:"2"}),""),k=(0,o.A)("span",{shouldForwardProp:c,target:"eehkfzr1"})(d("switch-label-text",{display:"inline-block",p:"{xxs} 0",fontFamily:"var(--type-font-family-primary)",lineHeight:"lineheight-md",color:({isDisabled:e})=>e&&"greyXdark"}),"");(0,o.A)("span",{target:"eehkfzr0"})(d("switch-input-required",{color:"globalColorError",marginLeft:"xxxs"}),"");var f=t(70370),x=t(71055),y=t(71055);let w=["name","id","inputLabel","isRequired","isDisabled","isChecked","value","type","helperMessage","errorMessage","onChange","onFocus","onBlur","sxProps","sxPropsInput","sxPropsInputWrapper","themeKey"];function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(null,arguments)}function O(e){let{name:r,id:t="",inputLabel:n,isRequired:a=!1,isDisabled:o=!1,isChecked:s=!1,value:l="",type:c,helperMessage:d="",errorMessage:O="",onChange:P=null,onFocus:C=null,onBlur:E=null,sxProps:D={},sxPropsInput:A={},sxPropsInputWrapper:j={},themeKey:z=""}=e,_=(0,i.A)(e,w),F=(0,x.useRef)(null),R=(0,x.useId)(),S=t||`${R}-input`,$=()=>`${S}-message`,I="radio"===c;return y.createElement(y.Fragment,null,y.createElement(u,v({id:`${S}-label`,sx:D,hasError:!!O&&!I,__themeKey:`${z}-${c}-label`,"data-theme-key":"switch-label-container"},_),y.createElement(h,{id:`${S}-wrapper`,isDisabled:o,isChecked:s,__themeKey:`${c}-input-wrapper`,sx:j,"data-theme-key":"checkbox-input-wrapper"},s?y.createElement("checkbox"===c?m:g,{isChecked:s,isDisabled:o,__themeKey:`${c}-check-icon`,alt:"checked"}):null,y.createElement(p,{id:S,ref:F,type:c,name:r,value:l,checked:s,"aria-checked":s,disabled:o,error:O,onChange:e=>{e.preventDefault(),e.stopPropagation(),null==P||null==F.current||o||("checkbox"===c&&P(F.current.checked,t,e),"radio"===c&&P(e,t),F.current.focus({focusVisible:!0}))},onFocus:C,onBlur:E,"aria-describedby":d||O?$():void 0,"aria-invalid":!!O,__themeKey:`${z}-${c}-input`,sx:A,"data-theme-key":"checkbox-input"})),y.createElement(k,{isDisabled:o,"data-theme-key":"switch-label-text"},n,!I&&a?y.createElement(f.T,null,"*"):null)),!I&&O||d?y.createElement(b,{isRadio:I,id:$(),isError:O?!I:null,message:I?d:O||d,"data-theme-key":"switch-field-message"}):null)}}}]);

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.