1import{j as t,d as g,B as n}from"./npm.sellpy-design-system.DdsWMDHW.bundle.js";import{r as i}from"./npm.react-hook-form.HNw-giVQ.bundle.js";import{b as u}from"./npm.react-router.BDfxye5A.bundle.js";import{dp as m,a$ as f,dq as c,b0 as y,y as b}from"./index.DWkcZ-_z.bundle.js";import"./npm.apollo-client.CXJpJPbe.bundle.js";import{u as x}from"./npm.react-i18next.BwOa93YU.bundle.js";import"./npm.react-dom.DlIYrMBD.bundle.js";import"./npm.sellpy-commons.B413ARrd.bundle.js";import"./npm.immutable.DTQZtUT4.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.styled-components.CzYR6Qdp.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.lodash.DxN61Y-S.bundle.js";import"./npm.parse.BcWrqAIh.bundle.js";import"./npm.sentry-react.Z7tY98T1.bundle.js";import"./npm.swr.CiJqMJM6.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.B5c9TvV-.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9b630e43-88be-4b99-afea-8517e567c858",e._sentryDebugIdIdentifier="sentry-dbid-9b630e43-88be-4b99-afea-8517e567c858")}catch(e){}{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const h=({label:e,checked:r,toggleFeature:s})=>{const o=i.useId();return t.jsxs("div",{style:{marginBlock:"8px",display:"flex",alignItems:"center",gap:"8px"},children:[t.jsx("input",{type:"checkbox",id:o,checked:r,onChange:a=>s(a.target.checked)}),t.jsx("label",{htmlFor:o,children:e})]})},P=()=>{const e=u(),{t:r}=x("general"),[s,o]=i.useState(()=>m());return t.jsxs("div",{style:{maxWidth:"400px",margin:"auto"},children:[t.jsx(g,{children:r("featureToggle.headline")}),t.jsx("div",{children:f.map(a=>t.jsx(h,{label:a,checked:s.includes(a),toggleFeature:d=>{o(d?l=>[...l,a]:l=>l.filter(p=>p!==a))}},a))}),t.jsxs("div",{style:{display:"flex",flexDirection:"row-reverse",margin:"20px 0"},children:[t.jsx(n,{label:r("featureToggle.save"),style:{margin:"0 10px"},onClick:()=>{c(s),e("/home")}}),t.jsx(n,{label:r("featureToggle.reset"),style:{margin:"0 10px"},variant:"text",onClick:()=>{o(y[b()])}})]})]})};export{P as default}; 2//# sourceMappingURL=Page.B3O_PDZe.bundle.js.map
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.