"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[5316],{5316(e,l,a){a.r(l),a.d(l,{default:()=>i});var s=a(1609),t=a(6087),c=a(6723);const i=(0,t.memo)(({field:e})=>(0,s.createElement)("label",{className:`rwmb-switch-label rwmb-switch-label--${e.style||"rounded"}`},(0,s.createElement)("input",{className:"rwmb-switch",type:"checkbox",checked:!!e.std,onChange:c.Zi}),(0,s.createElement)("div",{className:"rwmb-switch-status"},(0,s.createElement)("span",{className:"rwmb-switch-slider"}),(0,s.createElement)("span",{className:"rwmb-switch-on"},e.on_label),(0,s.createElement)("span",{className:"rwmb-switch-off"},e.off_label))),(e,l)=>e.field.style===l.field.style&&e.field.on_label===l.field.on_label&&e.field.off_label===l.field.off_label&&e.field.std===l.field.std)}}]);