"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[6009],{6009:(e,l,a)=>{a.r(l),a.d(l,{default:()=>i});var t=a(86087),r=a(27723),d=a(4219);const i=e=>{const{updateField:l,setChangedField:a}=(0,d.default)(),i=(t,r)=>{let d={...e.field.value};d[t]=r,l(e.field.id,d),a(e.field.id,d)},m=e.field.value.hasOwnProperty("top")?e.field.value.top:e.field.default.top,n=e.field.value.hasOwnProperty("right")?e.field.value.right:e.field.default.right,p=e.field.value.hasOwnProperty("bottom")?e.field.value.bottom:e.field.default.bottom,u=e.field.value.hasOwnProperty("left")?e.field.value.left:e.field.default.left;return e.field.value.hasOwnProperty("type")?e.field.value.type:e.field.default.type,(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"cmplz-borderradius-label"},e.label),(0,t.createElement)("div",{className:"cmplz-borderradius-control"},(0,t.createElement)("div",{className:"cmplz-borderradius-element"},(0,t.createElement)("div",{className:"cmplz-borderradius-element-label"},(0,r.__)("Top","complianz-gdpr")),(0,t.createElement)("input",{type:"number",key:"1",onChange:e=>i("top",e.target.value),value:m})),(0,t.createElement)("div",{className:"cmplz-borderradius-element"},(0,t.createElement)("div",{className:"cmplz-borderradius-element-label"},(0,r.__)("Right","complianz-gdpr")),(0,t.createElement)("input",{type:"number",key:"2",onChange:e=>i("right",e.target.value),value:n})),(0,t.createElement)("div",{className:"cmplz-borderradius-element"},(0,t.createElement)("div",{className:"cmplz-borderradius-element-label"},(0,r.__)("Bottom","complianz-gdpr")),(0,t.createElement)("input",{type:"number",key:"3",onChange:e=>i("bottom",e.target.value),value:p})),(0,t.createElement)("div",{className:"cmplz-borderradius-element"},(0,t.createElement)("div",{className:"cmplz-borderradius-element-label"},(0,r.__)("Left","complianz-gdpr")),(0,t.createElement)("input",{type:"number",key:"4",onChange:e=>i("left",e.target.value),value:u})),(0,t.createElement)("div",{className:"cmplz-borderradius-inputtype"},(0,t.createElement)("div",{className:"cmplz-borderradius-inputtype-pixel "},"px"))))}}}]);