1try{let 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]="ee6e529e-96f0-4f80-8170-87f2d02b4397",e._sentryDebugIdIdentifier="sentry-dbid-ee6e529e-96f0-4f80-8170-87f2d02b4397")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8434],{67243:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/typography",function(){return n(11437)}])},10671:function(e,t,n){"use strict";var i=n(85893),l=n(72945),o=n(29438),r=n(80495),a=n(59745),s=n(59524),d=n(34549);n(67294);var c=n(70942),u=n.n(c),h=n(27603),p=n(98675);t.Z=e=>{let{name:t,label:n,options:c,value:x,onChange:g,onBlur:b,className:m,disabled:f,hideLabel:v,isValid:j,validationMessage:y}=e,w=(0,h.Fg)().radio;return(0,i.jsxs)(l.Z,{component:"fieldset",className:m,disabled:f,error:!j,"data-sentry-element":"FormControl","data-sentry-component":"RadioGroup","data-sentry-source-file":"RadioGroup.tsx",children:[n&&!v&&(0,i.jsx)(a.Z,{component:"legend",children:n}),(0,i.jsx)(d.Z,{"aria-label":n||t,name:t,value:x,onChange:g,onBlur:b,"data-sentry-element":"MuiRadioGroup","data-sentry-source-file":"RadioGroup.tsx",children:c.map(e=>{let{value:n,label:l}=e;return(0,i.jsx)(o.Z,{"data-qa":"".concat(t,"-").concat(n),value:n,label:u()(l),control:(0,i.jsx)(s.Z,{disableRipple:!0,checkedIcon:(0,i.jsx)(p.YJ,{...w}),icon:(0,i.jsx)(p.JO,{...w})})},n)})}),!j&&y&&(0,i.jsx)(r.Z,{children:y})]})}},98675:function(e,t,n){"use strict";n.d(t,{D:function(){return x},EJ:function(){return p},JO:function(){return m},PA:function(){return g},YJ:function(){return b}});var i=n(85893),l=n(72945),o=n(29438),r=n(59524),a=n(34549),s=n(26400);n(67294);var d=n(27603),c=n(5973),u=n(58436),h=n(1375);let p=(0,d.ZP)(l.Z).withConfig({componentId:"sc-bdfeaf07-0"})([""]),x=(0,d.ZP)(o.Z).withConfig({componentId:"sc-bdfeaf07-1"})(["&.MuiFormControlLabel-root{align-items:center;margin:0;.MuiFormControlLabel-label{",";cursor:pointer;}}"],(0,c.cY)("body",20));(0,d.ZP)(a.Z).withConfig({componentId:"sc-bdfeaf07-2"})(["> ","{margin-bottom:10px;}"],x);let g=(0,d.ZP)(r.Z).withConfig({componentId:"sc-bdfeaf07-3"})(["&.MuiRadio-root{",";cursor:pointer;margin-right:10px;stroke-width:1px;color:",";padding:0;&.Mui-checked{box-shadow:none;color:",";& + .MuiFormControlLabel-label{font-weight:",";}}&.Mui-disabled{color:",";svg,circle{stroke:",";fill:",";}}input,svg{user-select:all;margin:-2px;}&&:hover{background-color:transparent;}&.Mui-focusVisible{","}}"],h.V,e=>e.theme.radio.outline,e=>e.theme.radio.fill,e=>e.theme.radio.checkedLabelWeight,e=>e.theme.inputDisabled.text,e=>e.theme.inputDisabled.text,e=>e.theme.inputDisabled.text,u.j),b=e=>{let{fill:t,outline:n,fillRadius:l}=e;return(0,i.jsxs)(s.Z,{viewBox:"-2 -2 24 24","data-sentry-element":"SvgIcon","data-sentry-component":"CheckedIcon","data-sentry-source-file":"radioSharedStyles.tsx",children:[(0,i.jsx)("circle",{fillOpacity:"0",stroke:n,cx:"9.5",cy:"9.5",r:"9","data-sentry-element":"circle","data-sentry-source-file":"radioSharedStyles.tsx"}),(0,i.jsx)("circle",{fill:t,cx:"9.5",cy:"9.5",r:l,"data-sentry-element":"circle","data-sentry-source-file":"radioSharedStyles.tsx"})]})},m=e=>{let{outline:t}=e;return(0,i.jsx)(s.Z,{viewBox:"-2 -2 24 24","data-sentry-element":"SvgIcon","data-sentry-component":"Icon","data-sentry-source-file":"radioSharedStyles.tsx",children:(0,i.jsx)("circle",{fillOpacity:"0",stroke:t,cx:"9.5",cy:"9.5",r:"9","data-sentry-element":"circle","data-sentry-source-file":"radioSharedStyles.tsx"})})}},11437:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{__N_SSP:function(){return R},default:function(){return E}});var l=n(85893),o=n(27603),r=n(67294),a=n(25646),s=n(8581),d=n(82945),c=n(5973),u=n(97843);let h=o.ZP.div.withConfig({componentId:"sc-a79f4e30-0"})(["margin-bottom:12px;div{margin-top:12px;}button{margin-right:12px;}"]),p=()=>{let[e,t]=(0,r.useState)(!1);return(0,l.jsxs)("div",{"data-sentry-component":"Buttons","data-sentry-source-file":"Buttons.tsx",children:[(0,l.jsx)(d.Z,{name:"disabled",onChange:()=>t(e=>!e),checked:e,label:"disabled",disabled:!1,className:"","data-sentry-element":"ToggleSwitch","data-sentry-source-file":"Buttons.tsx"}
1),Object.entries(u.Ed).map(t=>{var n;let[i,o]=t,r=null===(n=(0,a.pF)(o))||void 0===n?void 0:n.Theme;return(0,l.jsx)(h,{children:(0,l.jsxs)(r,{children:[(0,l.jsx)(c.Fb,{as:"h1",bold:!0,children:o}),(0,l.jsxs)("div",{children:[(0,l.jsx)(s.Z,{primary:!0,disabled:e,children:"Primary"}),(0,l.jsx)(s.Z,{secondary:!0,disabled:e,children:"Secondary"}),(0,l.jsx)(s.Z,{inverted:!0,disabled:e,children:"Inverted"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(s.Z,{variant:"black",disabled:e,children:"Black"}),(0,l.jsx)(s.Z,{variant:"brand",disabled:e,children:"Brand"}),(0,l.jsx)(s.Z,{variant:"outline",disabled:e,children:"Outline"}),(0,l.jsx)(s.Z,{variant:"link",disabled:e,children:"Link"}),(0,l.jsx)(s.Z,{variant:"sale",disabled:e,children:"Sale"})]}),(0,l.jsxs)("div",{style:{backgroundColor:"black",padding:20},children:[(0,l.jsx)(s.Z,{variant:"white",disabled:e,children:"White"}),(0,l.jsx)(s.Z,{variant:"outline-white",disabled:e,children:"Outline white"}),(0,l.jsx)(s.Z,{variant:"link-white",disabled:e,children:"Link white"})]})]})},o)})]})};var x=n(60417);let g=o.ZP.div.withConfig({componentId:"sc-cc41da52-0"})(["",";margin-bottom:5px;min-height:20px;line-height:20px;span{font-weight:bold;margin-left:10px;}"],e=>{let{color:t}=e;return"background-color: ".concat(t)}),b=o.ZP.div.withConfig({componentId:"sc-cc41da52-1"})(["margin-bottom:20px;border:3px solid red;padding:20px;"]),m=e=>{var t;let{}=e,n=(0,o.Fg)(),i=null==n?void 0:null===(t=n.color)||void 0===t?void 0:t.global;return(0,l.jsx)(l.Fragment,{children:Object.entries(i).map(e=>{let[t,n]=e,i=Object.entries(n);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Fb,{as:"h2",bold:!0,children:(0,x.sentenceCase)(t)}),i.map(e=>{let[t,n]=e;return(0,l.jsxs)(g,{color:n,children:[(0,x.sentenceCase)(t),(0,l.jsx)("span",{children:n})]},t)})]})})})},f=()=>(0,l.jsx)("div",{"data-sentry-component":"Colors","data-sentry-source-file":"Colors.tsx",children:Object.entries(u.Ed).map(e=>{var t;let[n,i]=e,o=null===(t=(0,a.pF)(i))||void 0===t?void 0:t.Theme;return(0,l.jsx)("div",{children:(0,l.jsx)(o,{children:(0,l.jsxs)(b,{children:[(0,l.jsx)(c.Fb,{as:"h1",bold:!0,children:i}),(0,l.jsx)(m,{})]})})},i)})});var v=n(10671),j=n(71838),y=n(27288),w=n(69291),k=n(81073),S=n(13457),Z=n(30195);let C={PD:"Primadonna",MJ:"Marie jo",LINCHERIE:"Lincherie","R&P":"Rigby & Peller",SARDA:"Sarda",B2B:"B2B"},I=e=>{let{children:t}=e,n=(0,o.Fg)();return(0,l.jsx)(S.Z,{theme:(0,Z.Z)(n.muiTheme),"data-sentry-element":"MuiThemeProvider","data-sentry-component":"MaterialTheme","data-sentry-source-file":"withThemeVariants.tsx",children:t})},M={disabled:!1,isValid:!0,validationMessage:null},F=(i=e=>{let{themeLabel:t,isDarkMode:n}=e,[i,o]=(0,r.useState)(M),a=[{value:"none",label:"None"},{value:"CSV",label:"CSV"},{value:"XLS",label:"XLS"},{value:"XLSX",label:"XLSX"}],[s,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)(a[0]),h=e=>{let t=e.target.value;u("string"==typeof t?a.find(e=>e.value===t):t)};return(0,l.jsxs)("div",{style:{padding:"5px",width:"25%",display:"inline-block",border:"1px solid red",height:"100%"},"data-sentry-component":"InputFieldsComponent","data-sentry-source-file":"InputFields.tsx",children:[(0,l.jsx)("h1",{children:t}),(0,l.jsxs)("div",{style:{padding:"20px"},children:[(0,l.jsx)("button",{onClick:()=>{o(e=>({...e,disabled:!1,isValid:!1,validationMessage:"Example validation message here"}))},children:"Error state"}),(0,l.jsx)("button",{onClick:()=>{o(e=>({...e,disabled:!0,isValid:!0,validationMessage:null}))},children:"Disabled state"}),(0,l.jsx)("button",{onClick:()=>{o(M),u(a[0])},children:"Default state"})]}),(0,l.jsx)(j.Z,{placeholder:"Type your name here",label:"Textfield",...i,"data-sentry-element":"TextInput","data-sentry-source-file":"InputFields.tsx"}),(0,l.jsx)("div",{style:{padding:"10px 0px"}}),(0,l.jsx)(k.Z,{name:"select",label:"Select",options:a,onChange:h,value:null==c?void 0:c.value,allowEmpty:!1,...i,"data-sentry-element":"Select","data-sentry-source-file":"InputFields.tsx"}),(0,l.jsx)("div",{style:{padding:"10px 0px"}}),(0,l.jsx)(y.ZP,{value:c,label:"Autocomplete",onChange:h,options:a,...i,"data-sentry-element":"AutoComplete","data-sentry-source-file":"InputFields.tsx"}),(0,l.jsx)("div",{style:{padding:"10px 0px"}}),(0,l.jsx)(v.Z,{label:"Radio group",options:a,name:"Radio group",onChange:h,value:null==c?void 0:c.value,...i,"data-sentry-element":"RadioGroup","data-sentry-source-file":"InputFields.tsx"}),(0,l.jsx)("div",{style:{padding:"10px 0px"}}),(0,l.jsx)(w.Z,{name:"checkbox-".concat(t),label:"Checkbox",onChange:e=>d(e.target.checked),checked:s,"data-qa":"checkbox",...i,"data-sentry-element":"Checkbox","data-sentry-source-file":"InputFields.tsx"})]})},e=>{let{...t}=e;return Object.entries(C).map(e=>{var n;let[o,r]=e,s=null===(n=(0,a.pF)(o))||void 0===n?void 0:n.Theme;return(0,l.jsx)(s,{children:(0,l.jsx)(I,{children:(0,l.jsx)(i,{...t,themeLabel:r})})},o)})});var P=n(85388),B=n(47322),O=n(39166);let _=o.ZP.div.withConfig({componentId:"sc-58c44f0a-0"})(["margin:80px 0;*{white-space:nowrap;}"]),T=(0,o.ZP)(O.il).withConfig({componentId:"sc-58c44f0a-1"})(["background-color:gray;"]),L={body:c.uT,head:c.Fb,link:c.rU,caption:c.YS,display:c.sS,button:e=>(0,l.jsx)(c.ZT,{type:"button",...e})};var R=!0,E=()=>{var e,t;let n=(0,o.Fg)(),i=Object.entries(null==n?void 0:null===(e=n.typography)||void 0===e?void 0:e.types),{width:r}=(0,B.Z)(),s=null===(t=Object.entries(P.AV).reverse().find(e=>{let[t,n]=e;return r>=n&&["sm","md","lg","xl"].includes(t)}))||void 0===t?void 0:t[0];return(0,l.jsxs)(a.z8.Layout,{children:[(0,l.jsx)(O.il,{children:(0,l.jsx)(p,{})}),(0,l.jsx)(O.il,{children:(0,l.jsx)(F,{})}),(0,l.jsx)(T,{children:(0,l.jsx)(F,{isDarkMode:!0})}),(0,l.jsx)(O.il,{children:i.map(e=>{let[t,n]=e,i=L[t]||(()=>null),o=null==n?void 0:n.color,r=null==n?void 0:n.fontWeight,a=null==n?void 0:n.boldFontWeight,d=Object.keys(null==n?void 0:n.sizes).sort();return(0,l.jsx)(_,{children:d.map(e=>{var d,c;let{fontSize:u,lineHeight:h,fontWeight:p,boldFontWeight:x}=(null==n?void 0:null===(c=n.sizes)||void 0===c?void 0:null===(d=c[e])||void 0===d?void 0:d[s])||{};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(i,{size:e,color:o,children:[t,"-",e,"-",s," ",u,"|",h,"|",p||r]},e),(0,l.jsxs)(i,{size:e,color:o,bold:!0,children:[t,"-",e,"-bold-",s," ",u,"|",h,"|",x||a]},e)]})})},t)})}),(0,l.jsx)(O.il,{children:(0,l.jsx)(f,{})})]})}},82945:function(e,t,n){"use strict";var i=n(85893),l=n(29438),o=n(39326),r=n(42275),a=n(45697),s=n.n(a);n(67294);var d=n(27603),c=n(31095),u=n(58436),h=n(49244);let p=(0,d.ZP)(o.Z).withConfig({componentId:"sc-d0e7f852-0"})(["margin-bottom:5px;.MuiButtonBase-root,.MuiButtonBase-root:focus,.MuiButtonBase-root:hover,.MuiButtonBase-root.Mui-checked:hover,.MuiButtonBase-root.Mui-checked:focus{background-color:inherit;}
1.MuiFormControlLabel-root{margin:0;}.MuiSwitch-input{left:0;width:100%;}.MuiSwitch-root{width:","px;height:","px;padding:0;background-color:",";border-radius:20px;",";overflow:visible;.MuiSwitch-switchBase{top:","px;left:","px;background:white;padding:2px;&:hover{background:white;}&.Mui-checked{transform:translateX( ","px );}}.MuiSwitch-track{background-color:transparent !important;}.Mui-focusVisible{",";}}.MuiFormControlLabel-label{margin-left:10px;",";font-family:",";color:",";text-transform:uppercase;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"],e=>e.theme.toggleSwitch.width,e=>e.theme.toggleSwitch.height,e=>e.theme.toggleSwitch.backgroundOff,e=>e.checked&&(0,d.iv)(["background-color:",";"],e=>e.theme.toggleSwitch.backgroundOn),e=>e.theme.toggleSwitch.spacing,e=>e.theme.toggleSwitch.spacing,e=>e.theme.toggleSwitch.width-e.theme.toggleSwitch.height,u.j,(0,h.JB)(14),e=>e.theme.font.secondary,e=>e.theme.toggleSwitch.mainLabel),x=(0,d.iv)(["background:white;border-radius:100%;width:","px;
1height:","px;"],e=>e.theme.toggleSwitch.thumbSize,e=>e.theme.toggleSwitch.thumbSize),g=(0,d.ZP)(c.ZP).attrs(()=>({name:"featherCheck"})).withConfig({componentId:"sc-d0e7f852-1"})(["",";color:",";"],x,e=>e.theme.toggleSwitch.iconOn),b=(0,d.ZP)(c.ZP).attrs(()=>({name:"featherX"})).withConfig({componentId:"sc-d0e7f852-2"})(["",";color:",";"],x,e=>e.theme.toggleSwitch.iconOff),m=e=>{let{label:t,checked:n,onChange:o,disabled:a,className:s,name:d,...c}=e;return(0,i.jsx)(p,{...c,row:!0,className:s,checked:n,children:(0,i.jsx)(l.Z,{disabled:a,name:d,control:(0,i.jsx)(r.Z,{checked:n,onChange:o,disableRipple:!0,checkedIcon:(0,i.jsx)(g,{}),icon:(0,i.jsx)(b,{})}),label:t})})};m.propTypes={onChange:s().func,checked:s().bool.isRequired,className:s().string,disabled:s().bool,label:s().string,name:s().string},m.defaultProps={onChange:()=>{},checked:!1,className:null,disabled:!1,label:null,name:null},t.Z=m},58436:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});let i=(0,n(27603).iv)(["outline:auto 2px Highlight;outline:auto 5px -webkit-focus-ring-color;"])}},function(e){e.O(0,[828,7735,7288,2888,9774,179],function(){return e(e.s=67243)}),_N_E=e.O()}]);
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.