{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "version": "0.1.0",
    "name": "premium/content-switcher",
    "title": "Content Switcher",
    "category": "premium-blocks",
    "textdomain": "premium-blocks-for-gutenberg",
    "description": "Toggle between two different content using Premium Content Switcher Block.",
    "keywords": [
        "content",
        "switcher",
        "content switcher"
    ],
    "attributes": {
        "blockId": {
            "type": "string"
        },
        "align": {
            "type": "object",
            "default": {
                "Desktop": "",
                "Tablet": "",
                "Mobile": ""
            },
            "isStyle": true
        },
        "showLabel": {
            "type": "boolean",
            "default": true
        },
        "firstLabel": {
            "type": "string",
            "default": "Content #1"
        },
        "secondLabel": {
            "type": "string",
            "default": "Content #2"
        },
        "firstLabelIcon": {
            "type": "string",
            "default": "fe_sun"
        },
        "firstLabelIconType": {
            "type": "string",
            "default": "icon"
        },
        "firstLabelImageID": {
            "type": "string",
            "default": ""
        },
        "firstLabelImageURL": {
            "type": "string",
            "default": ""
        },
        "firstLabelLottieURl": {
            "type": "string",
            "default": ""
        },
        "firstLabelLoop": {
            "type": "boolean",
            "default": true
        },
        "firstLabelReversedir": {
            "type": "boolean",
            "default": false
        },
        "firstLabelSvgUrl": {
            "type": "string",
            "default": ""
        },
        "firstAlt": {
            "type": "string",
            "default": ""
        },
        "secondLabelIcon": {
            "type": "string",
            "default": "fe_moon"
        },
        "secondLabelIconType": {
            "type": "string",
            "default": "icon"
        },
        "secondLabelImageID": {
            "type": "string",
            "default": ""
        },
        "secondLabelImageURL": {
            "type": "string",
            "default": ""
        },
        "secondLabelLottieURl": {
            "type": "string",
            "default": ""
        },
        "secondLabelLoop": {
            "type": "boolean",
            "default": true
        },
        "secondLabelReversedir": {
            "type": "boolean",
            "default": false
        },
        "secondLabelSvgUrl": {
            "type": "string",
            "default": ""
        },
        "secondAlt": {
            "type": "string",
            "default": ""
        },
        "controllerTwoBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "auto",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "firstIconColor": {
            "type": "string",
            "default": ""
        },
        "secondIconColor": {
            "type": "string",
            "default": ""
        },
        "showFirstToggleIcon": {
            "type": "boolean",
            "default": false
        },
        "showSecondToggleIcon": {
            "type": "boolean",
            "default": false
        },
        "display": {
            "type": "string",
            "default": "inline",
            "isStyle": true
        },
        "labelTag": {
            "type": "string",
            "default": "h3"
        },
        "labelStyles": {
            "type": "object",
            "default": {
                "firstLabelColor": "",
                "secondLabelColor": "",
                "firstLabelBGColor": "",
                "secondLabelBGColor": "",
                "firstLabelInactiveColor": "",
                "secondLabelInactiveColor": ""
            },
            "isStyle": true
        },
        "firstLabelPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "secondLabelPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "containerPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "containerMargin": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "switchSize": {
            "type": "object",
            "default": {
                "Desktop": 15,
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            },
            "isStyle": true
        },
        "containerRadius": {
            "type": "number",
            "default": "",
            "isStyle": true
        },
        "containerRadiusUnit": {
            "type": "string",
            "default": "%",
            "isStyle": true
        },
        "switchRadius": {
            "type": "number",
            "default": 50,
            "isStyle": true
        },
        "switchRadiusUnit": {
            "type": "string",
            "default": "px",
            "isStyle": true
        },
        "labelSpacing": {
            "type": "object",
            "default": {
                "Desktop": 15,
                "Tablet": "",
                "Mobile": "",
                "unit": "px"
            },
            "isStyle": true
        },
        "containerShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "switchShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "firstLabelShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0"
            },
            "isStyle": true
        },
        "firstLabelBoxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "firstLabelTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "textTransform": "",
                "textDecoration": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            },
            "isStyle": true
        },
        "firstLabelborder": {
            "type": "object",
            "default": {
                "borderColor": "",
                "borderType": "",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "secondLabelTypography": {
            "type": "object",
            "default": {
                "fontWeight": "Default",
                "fontStyle": "",
                "textTransform": "",
                "textDecoration": "",
                "letterSpacing": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontFamily": "Default",
                "lineHeight": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": "px"
                },
                "fontSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": "",
                    "unit": {
                        "Desktop": "px",
                        "Tablet": "px",
                        "Mobile": "px"
                    }
                }
            },
            "isStyle": true
        },
        "secondLabelShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0"
            },
            "isStyle": true
        },
        "secondLabelBoxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "secondLabelborder": {
            "type": "object",
            "default": {
                "borderColor": "",
                "borderType": "",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "containerBoxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "containerborder": {
            "type": "object",
            "default": {
                "borderColor": "",
                "borderType": "",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "controllerOneBackground": {
            "type": "object",
            "default": {
                "backgroundType": "solid",
                "backgroundColor": "var(--pbg-global-color1,#0085BA)",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "auto",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "switcherBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "switcherTwoBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "containerBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "center center",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "cover",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "switchType": {
            "type": "string",
            "default": "rounded",
            "isStyle": true
        },
        "boxBackground": {
            "type": "object",
            "default": {
                "backgroundType": "",
                "backgroundColor": "",
                "backgroundImageID": "",
                "backgroundImageURL": "",
                "backgroundPosition": {
                    "Desktop": "center center",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundRepeat": {
                    "Desktop": "no-repeat",
                    "Tablet": "",
                    "Mobile": ""
                },
                "backgroundSize": {
                    "Desktop": "cover",
                    "Tablet": "",
                    "Mobile": ""
                },
                "fixed": false,
                "gradientLocationOne": "0",
                "gradientColorTwo": "#777",
                "gradientLocationTwo": "100",
                "gradientAngle": "180",
                "gradientPosition": "center center",
                "gradientType": "linear"
            },
            "isStyle": true
        },
        "boxBoxShadow": {
            "type": "object",
            "default": {
                "color": "transparent",
                "blur": "10",
                "horizontal": "0",
                "vertical": "0",
                "position": ""
            },
            "isStyle": true
        },
        "boxBorder": {
            "type": "object",
            "default": {
                "borderType": "solid",
                "borderColor": "var(--pbg-global-color4, #e1e1e1)",
                "borderRadius": {
                    "Desktop": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                },
                "borderWidth": {
                    "Desktop": {
                        "top": 1,
                        "right": 1,
                        "bottom": 1,
                        "left": 1
                    },
                    "Tablet": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "Mobile": {
                        "top": "",
                        "right": "",
                        "bottom": "",
                        "left": ""
                    },
                    "link": true
                }
            },
            "isStyle": true
        },
        "boxPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "5",
                    "right": "5",
                    "bottom": "5",
                    "left": "5"
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "switcherPadding": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "10",
                    "right": "20",
                    "bottom": "10",
                    "left": "20"
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        },
        "switcherMargin": {
            "type": "object",
            "default": {
                "Desktop": {
                    "top": "5",
                    "right": "5",
                    "bottom": "5",
                    "left": "5"
                },
                "Tablet": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "Mobile": {
                    "top": "",
                    "right": "",
                    "bottom": "",
                    "left": ""
                },
                "unit": {
                    "Desktop": "px",
                    "Tablet": "px",
                    "Mobile": "px"
                },
                "link": true
            },
            "isStyle": true
        }
    },
    "editorScript": "pbg-blocks-js",
    "editorStyle": "premium-blocks-editor-css"
}