{
  "namespace": "store_inventory",

  "sign_in_button@common_buttons.light_text_form_fitting_button": {
    "size": [ "100%c", "100%" ],
    "$anchor": "top_left",
    "$pressed_button_name": "button.signin",
    "$button_text": "store.xbl.signin",
    "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel",
    "$button_type_panel": "common_buttons.width_fitting_button_content_panel",
    "$button_content": "common_buttons.new_ui_binding_button_label",
    "$button_size_override": [ "100%c", "100%" ],
    "$button_offset": [ 0, -0.5 ],
    "bindings": [
      {
        "binding_name": "#show_signin_button",
        "binding_name_override": "#visible"
      }
    ],
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "focused"
      }
    ]
  },

  "no_xbl_and_local_content_warning_panel": {
    "type": "panel",
    "size": [ "100% - 2px", "100%c" ],
    "bindings": [
      {
        "binding_name": "#show_no_xbl_and_local_content_warning",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "padding_content_padding_stack": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "background_and_content_panel@common_store.banner_fill": {
                "size": [ "100%", "100%c" ],
                "controls": [
                  {
                    "content_panel": {
                      "type": "stack_panel",
                      "orientation": "vertical",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "top_padding": {
                            "type": "panel",
                            "size": [ "100%", 4 ]
                          }
                        },
                        {
                          "horizontal_stack": {
                            "type": "stack_panel",
                            "orientation": "horizontal",
                            "size": [ "100%", "100%cm" ],
                            "layer": 2,
                            "controls": [
                              {
                                "left_padding": {
                                  "type": "panel",
                                  "size": [ 4, 0 ]
                                }
                              },
                              {
                                "no_xbl_icon": {
                                  "type": "image",
                                  "size": [ 13, 20 ],
                                  "texture": "textures/ui/ErrorGlyph"
                                }
                              },
                              {
                                "icon_padding_warning": {
                                  "type": "panel",
                                  "size": [ 4, 0 ]
                                }
                              },
                              {
                                "warning_and_sign_in_stack": {
                                  "type": "stack_panel",
                                  "orientation": "vertical",
                                  "size": [ "fill", "100%c" ],
                                  "controls": [
                                    {
                                      "warning_label": {
                                        "type": "label",
                                        "max_size": [ "100%", "100%c" ],
                                        "text": "store.sign_in_warning.no_xbl_and_local_content",
                                        "font_type": "smooth",
                                        "color": "$body_text_color"
                                      }
                                    },
                                    {
                                      "label_padding_button": {
                                        "type": "panel",
                                        "size": [ "100%", 4 ]
                                      }
                                    },
                                    {
                                      "sign_in_button_panel": {
                                        "type": "panel",
                                        "size": [ "100%", 16 ],
                                        "visible": "$is_pregame",
                                        "controls": [
                                          {
                                            "sign_in_button@store_inventory.sign_in_button": {
                                              "anchor_from": "top_right",
                                              "anchor_to": "top_right",
                                              "focus_enabled": true,
                                              "$new_ui_label_offset": [ 0, 0 ],
                                              "$text_alignment": "center",
                                              "$anchor": "center",
                                              "bindings": []
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "warning_padding_edge": {
                                  "type": "panel",
                                  // this is the icon_padding_warning size + no_xbl_icon size
                                  "size": [ 17, 0 ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "bottom_padding": {
                            "type": "panel",
                            "size": [ "100%", 4 ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "bottom_padding": {
                "type": "panel",
                "size": [ "100%", 4 ]
              }
            }
          ]
        }
      }
    ]
  },

  "no_xbl_and_no_local_conent_warning_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100% - 2px", "100%c" ],
    "bindings": [
      {
        "binding_name": "#show_no_xbl_and_no_local_content_warning",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "image_and_description_bg_panel@common_store.banner_fill": {
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "image_and_description_panel": {
                "type": "panel",
                "size": [ "100% - 8px", "100%c" ],
                "controls": [
                  {
                    "image_and_description_stack": {
                      "type": "stack_panel",
                      "orientation": "vertical",
                      "size": [ "100%", "100%c" ],
                      "layer": 2,
                      "controls": [
                        {
                          "top_padding": {
                            "type": "panel",
                            "size": [ "100%", 4 ]
                          }
                        },
                        {
                          "warning_image_and_label_1": {
                            "type": "stack_panel",
                            "orientation": "horizontal",
                            "size": [ "100%", "100%cm" ],
                            "controls": [
                              {
                                "xbl_image_center_panel": {
                                  "type": "panel",
                                  "size": [ "100%c", 160 ],
                                  "inherit_max_sibling_height": true,
                                  "controls": [
                                    {
                                      "xbl_sign_in_image": {
                                        "type": "image",
                                        "keep_ratio": false,
                                        "size": [ "93%y", 160 ],
                                        "texture": "textures/ui/inventory_warning_xbox"
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "xbl_image_padding_warning": {
                                  "type": "panel",
                                  "size": [ 8, 0 ]
                                }
                              },
                              {
                                "warning_label_centering_panel": {
                                  "type": "panel",
                                  "size": [ "fill", "100%c" ],
                                  "inherit_max_sibling_height": true,
                                  "controls": [
                                    {
                                      "warning_label_stack": {
                                        "type": "stack_panel",
                                        "orientation": "vertical",
                                        "size": [ "100%", "100%c" ],
                                        "controls": [
                                          {
                                            "top_padding": {
                                              "type": "panel",
                                              "size": [ "100%", 4 ]
                                            }
                                          },
                                          {
                                            "warning_label_line_1": {
                                              "type": "label",
                                              "max_size": [ "90%", "default" ],
                                              "text": "store.sign_in_warning.no_xbl_and_no_local_content.line1",
                                              "font_type": "smooth",
                                              "color": "$body_text_color"
                                            }
                                          },
                                          {
                                            "line_1_padding_line_2": {
                                              "type": "panel",
                                              "size": [ "100%", 4 ]
                                            }
                                          },
                                          {
                                            "warning_label_line_2": {
                                              "type": "label",
                                              "max_size": [ "90%", "default" ],
                                              "text": "store.sign_in_warning.no_xbl_and_no_local_content.line2",
                                              "font_type": "smooth",
                                              "color": "$body_text_color"
                                            }
                                          },
                                          {
                                            "line_2_padding_line_3": {
                                              "type": "panel",
                                              "size": [ "100%", 4 ]
                                            }
                                          },
                                          {
                                            "warning_label_line_3": {
                                              "type": "label",
                                              "max_size": [ "90%", "100%c" ],
                                              "text": "store.sign_in_warning.no_xbl_and_no_local_content.line3",
                                              "font_type": "smooth",
                                              "color": "$body_text_color"
                                            }
                                          },
                                          {
                                            "line_3_padding_line_4": {
                                              "type": "panel",
                                              "size": [ "100%", 4 ]
                                            }
                                          },
                                          {
                                            "warning_label_line_4": {
                                              "ignored": "$use_short_upsell_message",
                                              "type": "label",
                                              "max_size": [ "90%", "100%c" ],
                                              "text": "store.sign_in_warning.no_xbl_and_no_local_content.line4",
                                              "font_type": "smooth",
                                              "color": "$body_text_color"
                                            }
                                          },
                                          {
                                            "xbl_image_padding_warning": {
                                              "type": "panel",
                                              "size": [ "100%", 4 ]
                                            }
                                          },
                                          {
                                            "sign_in_button_centering_panel": {
                                              "type": "panel",
                                              "size": [ "90%", "100%c" ],
                                              "visible": "$is_pregame",
                                              "controls": [
                                                {
                                                  "sigh_in_button@store_inventory.sign_in_button": {
                                                    "size": [ "70%", "100%c" ],
                                                    "min_size": [ "70%", 30 ],
                                                    "focus_enabled": true,
                                                    "$button_text": "store.xbl.signinOrSignUp",
                                                    "$button_state_panel": "common_buttons.new_ui_height_fitting_button_panel",
                                                    "$button_type_panel": "common_buttons.height_fitting_button_content_panel",
                                                    "$button_content": "common_buttons.new_ui_binding_button_label",
                                                    "$button_text_max_size": [ "100%", "100%c" ],
                                                    "$button_size_override": [ "100%", "100%c" ],
                                                    "$button_min_size_override": [ "100%", 30 ],
                                                    "$button_border_min_size_override": [ "100%", 30 ],
                                                    "$button_image_min_size_override": [ "100% - 2px", 28 ],
                                                    "$button_offset": [ 0, 0 ],
                                                    "$text_alignment": "center",
                                                    "$anchor": "center",
                                                    "bindings": []
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "bottom_padding": {
                            "type": "panel",
                            "size": [ "100%", 4 ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "bottom_padding": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      }
    ]
  },

  "inventory_sign_in_panel": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "$button_focus_precedence": 10,
    "controls": [
      {
        "no_xbl_and_local_content_warning_panel@store_inventory.no_xbl_and_local_content_warning_panel": {}
      },
      {
        "no_xbl_and_no_local_conent_warning_panel@store_inventory.no_xbl_and_no_local_conent_warning_panel": {}
      }
    ]
  },

  //--------------------------------------------------------------------------------
  // Left Side
  //--------------------------------------------------------------------------------

  "divider_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "top_pad": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "divider@common.horizontal_divider": {}
      },
      {
        "bottom_pad": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      }
    ]
  },

  "right_image": {
    "type": "image",
    "size": [ 8, 8 ],
    "texture": "textures/ui/arrowRight"
  },

  "down_image": {
    "type": "image",
    "size": [ 8, 8 ],
    "texture": "textures/ui/arrowDown"
  },

  "section_toggle_base@common_toggles.light_image_toggle_collection": {
    "size": [ "100%", 20 ],
    "$radio_toggle_group": true,
    "$toggle_name": "navigation_tab",

    "$toggle_state_binding_name": "#toggle_state",
    "$toggle_tab_focus_binding_type": "global",
    "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence",
    "$toggle_on_hover_binding_type": "global",
    "$toggle_on_hover_binding_name": "#toggle_on_hover"
  },

  "owned_toggle@store_inventory.section_toggle_base": {
    "$button_content": "store_inventory.owned_dropdown_content",
    "$toggle_view_binding_name": "owned_toggle",
    "$toggle_group_forced_index": 0
  },

  "current_toggle@store_inventory.section_toggle_base": {
    "$button_content": "store_inventory.current_dropdown_content",
    "$toggle_view_binding_name": "current_toggle",
    "$toggle_group_forced_index": 1
  },

  "removed_toggle@store_inventory.section_toggle_base": {
    "$button_content": "store_inventory.removed_dropdown_content",
    "$toggle_view_binding_name": "removed_toggle",
    "$toggle_group_forced_index": 2
  },

  "subscriptions_toggle@store_inventory.section_toggle_base": {
    "$button_content": "store_inventory.subscriptions_text_panel",
    "$toggle_view_binding_name": "view_subscriptions_button_toggle",
    "$toggle_group_forced_index": 3
  },

  "inventory_left_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "anchor_from": "top_middle",
    "anchor_to": "top_middle",
    "size": [ "100% - 10px", "100%c" ],
    "layer": 3,
    "focus_container": true,
    "use_last_focus": false,
    "$focus_id": "left_side",
    "$focus_override_right": "right_side",
    "focus_navigation_mode_left": "",
    "focus_navigation_mode_right": "",
    "focus_navigation_mode_down": "",
    "focus_navigation_mode_up": "",
    "controls": [
      {
        "top_pad": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "owned_toggle@store_inventory.owned_toggle": {}
      },
      {
        "owned_dropdown_box_panel": {
          "type": "image",
          "size": [ "100%", "100%c" ],
          "texture": "textures/ui/screen_background",
          "alpha": "$fill_alpha",
          "$fill_alpha|default": 0.8,
          "variables": [
            {
              "requires": "$is_holographic",
              "$fill_alpha": 1.0
            }
          ],
          "layer": 2,
          "controls": [
            {
              "owned_dropdown_box@store_inventory.dropdown_box": {
                "$dropdown_collection_name": "owned_items_collection"
              }
            }
          ]
        }
      },
      {
        "divider_0@store_inventory.divider_panel": {
          "layer": 2,
          "bindings": [
            {
              "binding_name": "#realms_enabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "realms_plus_panel": {
          "type": "image",
          "texture": "textures/ui/screen_background",
          "alpha": "$fill_alpha",
          "$fill_alpha|default": 0.6,
          "variables": [
            {
              "requires": "$is_holographic",
              "$fill_alpha": 1.0
            }
          ],
          "size": [ "100%", "100%cm" ],
          "layer": 2,
          "bindings": [
            {
              "binding_name": "#realms_enabled",
              "binding_name_override": "#visible"
            }
          ],
          "controls": [
            {
              "realms_plus_stack_panel@store_inventory.realms_plus_stack_panel": {}
            },
            {
              "border": {
                "type": "image",
                "size": [ "100%", "100%sm" ],
                "texture": "textures/ui/square_image_border_white",
                "color": "$realms_plus_border_color",
                "layer": 3
              }
            }
          ]
        }
      },
      {
        "divider_1@store_inventory.divider_panel": {
          "layer": 3,
          "bindings": [
            {
              "binding_name": "#realms_enabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "subscriptions_toggle@store_inventory.subscriptions_toggle": {
          "bindings": [
            {
              "binding_name": "#realms_enabled",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "subscriptions_text_panel": {
    "type": "panel",
    "size": [ "100% - 6px", "100%c" ],
    "controls": [
      {
        "subscriptions_text@common.minecraftTenLabel": {
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "offset": [ 0, -2 ],
          "size": [ "default", 10 ],
          "max_size": [ "100%", 10 ],
          "text": "store.inventory.button.subscriptions",
          "color": "$text_color"
        }
      }
    ]
  },

  "realms_plus_stack_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "section_title": {
          "type": "image",
          "size": [ "100%", 20 ],
          "texture": "textures/ui/purple_gradient",
          "tiled": "y",
          "layer": 1,
          "controls": [
            {
              "border": {
                "type": "image",
                "size": [ "100%", "100%" ],
                "texture": "textures/ui/square_image_border_white",
                "color": "$realms_plus_border_color",
                "layer": 4
              }
            },
            {
              "section_title_label@common.minecraftTenLabel": {
                "type": "label",
                "size": [ "default", 10 ],
                "anchor_from": "left_middle",
                "anchor_to": "left_middle",
                "offset": [ 5, -1 ],
                "max_size": [ "100%", 10 ],
                "text": "store.realmsPlus",
                "color": "$generic_button_text_color",
                "layer": 3
              }
            },
            {
              "particles": {
                "type": "image",
                "size": [ 20, 20 ],
                "texture": "textures/ui/realms_particles",
                "anchor_from": "right_middle",
                "anchor_to": "right_middle",
                "offset": [ -10, 0 ],
                "layer": 2
              }
            }
          ]
        }
      },
      {
        "dropdown_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "dropdown_stack_panel": {
                "type": "stack_panel",
                "orientation": "vertical",
                "size": [ "100% - 8px", "100%c" ],
                "controls": [
                  {
                    "pad_0": {
                      "type": "panel",
                      "size": [ "100%", 4 ]
                    }
                  },
                  {
                    "current_toggle@store_inventory.current_toggle": {
                      "focus_container": true,
                      "use_last_focus": false,
                      "$focus_id": "current_toggle"
                    }
                  },
                  {
                    "current_dropdown_box_panel": {
                      "type": "panel",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "current_dropdown_box@store_inventory.dropdown_box": {
                            "$dropdown_collection_name": "current_items_collection"
                          }
                        }
                      ]
                    }
                  },
                  {
                    "pad_1": {
                      "type": "panel",
                      "size": [ "100%", 4 ]
                    }
                  },
                  {
                    "removed_toggle@store_inventory.removed_toggle": {
                      "focus_container": true,
                      "use_last_focus": false,
                      "$focus_id": "removed_toggle"
                    }
                  },
                  {
                    "removed_dropdown_box_panel": {
                      "type": "panel",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "removed_dropdown_box@store_inventory.dropdown_box": {
                            "$dropdown_collection_name": "removed_items_collection"
                          }
                        }
                      ]
                    }
                  },
                  {
                    "pad_2": {
                      "type": "panel",
                      "size": [ "100%", 5 ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "dropdown_button_content": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "use_priority": true,
    "size": [ "100% - 6px", 15 ],
    "controls": [
      {
        "title_label@common.minecraftTenLabel": {
          "priority": 0,
          "size": [ "default", 10 ],
          "max_size": [ "fill", 10 ],
          "text": "$title_text",
          "color": "$text_color",
          "text_alignment": "left"
        }
      },
      {
        "pad_0": {
          "priority": 0,
          "type": "panel",
          "size": [ "fill", "100%" ]
        }
      },
      {
        "icon_panel": {
          "priority": 2,
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "block_icon": {
                "type": "image",
                "size": "$icon_size",
                "texture": "$icon_texture"
              }
            }
          ]
        }
      },
      {
        "pad_1": {
          "priority": 2,
          "type": "panel",
          "size": [ 4, "100%" ]
        }
      },
      {
        "count_panel": {
          "priority": 1,
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "max_size": [ "50%", "100%" ],
          "controls": [
            {
              "count": {
                "type": "label",
                "size": [ "default", 10 ],
                "text": "#collection_count",
                "color": "$text_color",
                "bindings": [
                  {
                    "binding_collection_name": "$dropdown_collection_name",
                    "binding_name": "#collection_count",
                    "binding_type": "collection"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "pad_2": {
          "priority": 1,
          "type": "panel",
          "size": [ 5, "100%" ]
        }
      },
      {
        "right_carrot": {
          "priority": 0,
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "right@store_inventory.right_image": {
                "offset": [ -2, 0 ],
                "color": "$text_color"
              }
            }
          ],
          "bindings": [
            {
              "binding_collection_name": "$dropdown_collection_name",
              "binding_name": "(not #subcategories_visible)",
              "binding_name_override": "#visible",
              "binding_type": "collection"
            }
          ]
        }
      },
      {
        "down_carrot": {
          "priority": 0,
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "down@store_inventory.down_image": {
                "offset": [ -2, 0 ],
                "color": "$text_color"
              }
            }
          ],
          "bindings": [
            {
              "binding_collection_name": "$dropdown_collection_name",
              "binding_name": "#subcategories_visible",
              "binding_name_override": "#visible",
              "binding_type": "collection"
            }
          ]
        }
      }
    ]
  },

  "owned_dropdown_content@store_inventory.dropdown_button_content": {
    "$title_text": "store.inventory.dropdown.owned",
    "$icon_texture|default": "textures/ui/creative_icon",
    "$icon_size": [ 20, 16 ],
    "$dropdown_collection_name": "owned_items_collection"
  },

  "current_dropdown_content@store_inventory.dropdown_button_content": {
    "$title_text": "store.inventory.dropdown.current",
    "$icon_texture|default": "textures/ui/realmsIcon",
    "$icon_size": [ 11, 14 ],
    "$dropdown_collection_name": "current_items_collection"
  },

  "removed_dropdown_content@store_inventory.dropdown_button_content": {
    "$title_text": "store.inventory.dropdown.removed",
    "$icon_texture|default": "textures/ui/realmsIcon",
    "$icon_size": [ 11, 14 ],
    "$dropdown_collection_name": "removed_items_collection"
  },

  "dropdown_box": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100% - 8px", "100%c" ],
    "bindings": [
      {
        "binding_collection_name": "$dropdown_collection_name",
        "binding_name": "#subcategories_visible",
        "binding_name_override": "#visible",
        "binding_type": "collection"
      }
    ],
    "controls": [
      {
        "top_pad": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "all@store_inventory.category_panel_button": {
          "$category_label": "gui.all",
          "$category_icon": "textures/ui/glyph_mashup_pack",
          "$category_count": "#collection_count",
          "$category_pressed_button_name": "button.all",
          "$icon_visible": "#collections_icon_visible"
        }
      },
      {
        "divider_0@store_inventory.divider_panel": {
          "layer": 2
        }
      },
      {
        "skins@store_inventory.category_panel_button": {
          "$category_label": "store.search.filter.skinPacks",
          "$category_icon": "textures/ui/glyph_skin_pack",
          "$category_count": "#skins_count",
          "$category_pressed_button_name": "button.skins",
          "$icon_visible": "#category_skins_icon_visible"
        }
      },
      {
        "divider_1@store_inventory.divider_panel": {
          "layer": 2
        }
      },
      {
        "worlds@store_inventory.category_panel_button": {
          "$category_label": "store.search.filter.worldTemplates",
          "$category_icon": "textures/ui/glyph_world_template",
          "$category_count": "#worlds_count",
          "$category_pressed_button_name": "button.worlds",
          "$icon_visible": "#category_worlds_icon_visible"
        }
      },
      {
        "divider_2@store_inventory.divider_panel": {
          "layer": 2
        }
      },
      {
        "textures@store_inventory.category_panel_button": {
          "$category_label": "store.search.filter.texturePacks",
          "$category_icon": "textures/ui/glyph_resource_pack",
          "$category_count": "#textures_count",
          "$category_pressed_button_name": "button.textures",
          "$icon_visible": "#category_textures_icon_visible"
        }
      },
      {
        "divider_3@store_inventory.divider_panel": {
          "layer": 2
        }
      },
      {
        "mashups@store_inventory.category_panel_button": {
          "$category_label": "store.search.filter.mashupPacks",
          "$category_icon": "textures/ui/glyph_mashup_pack",
          "$category_count": "#mashups_count",
          "$category_pressed_button_name": "button.mashups",
          "$icon_visible": "#category_mashups_icon_visible"
        }
      },
      {
        "bottom_pad": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      }
    ]
  },

  "category_panel_button@common.button": {
    "size": [ "100%", "100%c + 4px" ],
    "$pressed_button_name": "$category_pressed_button_name",
    "property_bag": {
      "#collection_name": "$dropdown_collection_name"
    },
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$category_pressed_button_name",
        "mapping_type": "pressed"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$category_pressed_button_name",
        "mapping_type": "pressed"
      }
    ],
    "controls": [
      {
        "default@store_inventory.category_stack_panel": {}
      },
      {
        "hover@store_inventory.category_stack_panel": {
          "$color": "$store_play_button_hover"
        }
      },
      {
        "pressed@store_inventory.category_stack_panel": {
          "$color": "$store_play_button_hover"
        }
      }
    ]
  },

  "category_stack_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%", 10 ],
    "$color|default": "$generic_button_text_color",
    "controls": [
      {
        "text": {
          "type": "label",
          "size": [ "default", "100%" ],
          "max_size": [ "50%", "100%" ],
          "text": "$category_label",
          "color": "$color"
        }
      },
      {
        "fill_pad": {
          "type": "panel",
          "size": [ "fill", "100%" ]
        }
      },
      {
        "icon": {
          "type": "image",
          "size": [ 10, 10 ],
          "texture": "$category_icon",
          "color": "$color",
          "visible": "$icon_visible",
          "bindings": [
            {
              "binding_type": "collection",
              "binding_collection_name": "$dropdown_collection_name",
              "binding_name": "$icon_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "pad_1": {
          "type": "panel",
          "size": [ 2, "100%" ]
        }
      },
      {
        "number": {
          "type": "label",
          "size": [ "default", "100%" ],
          "max_size": [ "50% - 15px", "100%" ],
          "text": "$category_count",
          "color": "$color",
          "bindings": [
            {
              "binding_name": "$category_count",
              "binding_type": "collection",
              "binding_collection_name": "$dropdown_collection_name"
            }
          ]
        }
      }
    ]
  },


  //--------------------------------------------------------------------------------
  // Right Side
  //--------------------------------------------------------------------------------

  "seach_object@common_store.search_object": {
    "$has_section_above_search_panel": true,
    "$upper_section_conent": "store_inventory.inventory_sign_in_panel",
    "$store_offer_grid_prefix": "",
    "$store_offer_grid_item_size": [ "33.3333%", "56.25%x + 36px" ],
    "$store_offer_grid_bindings": [
      {
        "binding_name": "#max_grid_offers",
        "binding_name_override": "#maximum_grid_items"
      },
      {
        "binding_name": "#grid_list_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "list_panel": {
    "type": "input_panel",
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "controls": [
      {
        "list_panel_content": {
          "type": "panel",
          "bindings": [
            {
              "binding_type": "view",
              "source_control_name": "progress_loading",
              "source_property_name": "(not #visible)",
              "target_property_name": "#visible",
              "resolve_sibling_scope": true
            }
          ],
          "controls": [
            {
              "search_and_offers_grid_scroll_panel@common.scrolling_panel": {
                "anchor_from": "top_left",
                "anchor_to": "top_left",
                "$scrolling_pane_size": [ "100%", "100%" ],
                "$scroll_size": [ 5, "100% - 8px" ],
                "$scrolling_content": "store_inventory.seach_object",
                "$scroll_bar_left_padding_size": [ 2, 0 ],
                "$scroll_bar_right_padding_size": [ 0, 0 ],
                "$show_background": false,
                "$bar_visible": true
              }
            }
          ]
        }
      },
      {
        "progress_loading@common_store.progress_loading": {
          "layer": 100,
          "bindings": [
            {
              "binding_name": "#page_loading_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "view",
        "source_control_name": "$toggle_binding",
        "source_property_name": "#toggle_state",
        "target_property_name": "#visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "items_content_section@store_inventory.list_panel": {
    "$toggle_binding": "owned_toggle",
    "$store_offer_grid_collection_name": "items_collection",
    "$offer_collection_prefix": "items"
  },

  "subscriptions_content_section": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100% - 4px", "100%" ],
    "controls": [
      {
        "left_pad": {
          "type": "panel",
          "size": [ 4, "100%" ]
        }
      },
      {
        "search_and_offers_grid_scroll_panel@common.scrolling_panel": {
          "$scrolling_pane_size": [ "100%", "100%" ],
          "$scroll_size": [ 5, "100% - 4px" ],
          "$scrolling_content": "general_section.view_subscriptions_section",
          "$scroll_bar_left_padding_size": [ 0, 0 ],
          "$scroll_bar_right_padding_size": [ 4, 0 ],
          "$show_background": false,
          "$bar_visible": true
        }
      }
    ]
  },

  "right_pane_factory": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%" ],
    "collection_name": "right_pane_factory_collection",
    "factory": {
      "name": "inventory_section_factory",
      "control_ids": {
        "items_collection_tab": "@store_inventory.items_content_section",
        "subscriptions_tab": "@store_inventory.subscriptions_content_section"
      },
      "factory_variables": [
        "$store_factory_clipping_event",
        "$store_factory_collection_details",
        "$store_factory_binding_type",
        "$store_factory_collection_prefix",
        "$store_factory_collection_name",
        "$store_header_size"
      ]
    },
    "bindings": [
      {
        "binding_name": "#inventory_section_content",
        "binding_name_override": "#collection_length"
      }
    ]
  },

  "content_area": {
    "type": "panel",
    "size": [ "fill", "100%" ],
    "layer": 1,
    "focus_container": true,
    "use_last_focus": true,
    "$focus_id": "right_side",
    "focus_navigation_mode_left": "none",
    "focus_navigation_mode_right": "stop",
    "focus_navigation_mode_down": "contained",
    "focus_navigation_mode_up": "contained",
    "controls": [
      {
        "control": {
          "type": "stack_panel",
          "size": [ "100%", "100%" ],
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "controls": [
            {
              "right_pane_factory@store_inventory.right_pane_factory": {}
            }
          ]
        }
      }
    ]
  },


  //--------------------------------------------------------------------------------
  // Screen
  //--------------------------------------------------------------------------------
  "main_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%", "100%" ],
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "controls": [
      {
        "inventory_left_panel": {
          "type": "panel",
          "size": [ "30%", "100%" ],
          "controls": [
            {
              "inventory_left_image": {
                "type": "image",
                "size": [ "100%", "100%" ],
                "texture": "textures/ui/verticalgradient",
                "tiled": "x",
                "$fill_alpha|default": 0.6,
                "alpha": "$fill_alpha",
                "variables": [
                  {
                    "requires": "$is_holographic",
                    "$fill_alpha": 1.0
                  }
                ],
                "layer": 1
              }
            },
            {
              "bottom_left_particles": {
                "type": "image",
                "size": [ "100%", "133.33%x" ],
                "texture": "textures/ui/particles2",
                "anchor_from": "bottom_middle",
                "anchor_to": "bottom_middle",
                "layer": 2
              }
            },
            {
              "left_scrolling_panel@common.scrolling_panel": {
                "$scrolling_content_anchor_from": "top_middle",
                "$scrolling_content_anchor_to": "top_middle",
                "$scrolling_content": "store_inventory.inventory_left_panel",
                "$show_background": false,
                "$scroll_size": [ "5px", "100% - 8px" ],
                "$scroll_bar_left_padding_size": [ 4, 0 ],
                "layer": 3
              }
            }
          ]
        }
      },
      {
        "divider_panel": {
          "type": "panel",
          "size": [ "100%c", "100% + 1px" ],
          "controls": [
            {
              "main_divider": {
                "type": "image",
                "size": [ 3, "100%" ],
                "offset": [ 0, -1 ],
                "tiled": "y",
                "texture": "textures/ui/HowToPlayDivider",
                "layer": 10
              }
            }
          ]
        }
      },
      {
        "inventory_right_panel@store_inventory.content_area": {}
      }
    ]
  },

  "store_inventory_screen_main_panel": {
    "type": "panel",
    "controls": [
      {
        "main_content_view@sidebar_navigation.sidebar_view": {
          "$sidebar_main_view_content": "store_inventory.main_panel"
        }
      },
      {
        "sort_and_filter_modals@common_store.sort_and_filter_menu_modals": {}
      }
    ]
  },

  "store_search_screen_content": {
    "type": "panel",
    "alpha": "@common_store.screen_fade_in_alpha_anim",
    "propagate_alpha": true,
    "disable_anim_fast_forward": true,
    "$store_factory_clipping_event": "#inventory_grid_clip_event",
    "controls": [
      {
        "main_panel@common_store.store_header_with_coins": {
          "$child_control": "store_inventory.store_inventory_screen_main_panel",
          "$button_text": "store.title"
        }
      },
      {
        "popup_dialog_factory": {
          "type": "factory",
          "control_ids": {
            "no_store_connection": "@common_store.popup_dialog__no_store_connection",
            "restore_popup": "@common_store.popup_dialog__restore_popup",
            "restore_failed": "@common_store.popup_dialog__restore_failed"
          }
        }
      }
    ]
  },

  "store_inventory_screen@common_store.store_base_screen": {
    "button_mappings": [
      {
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.controller_secondary_select",
        "to_button_id": "button.search",
        "mapping_type": "global",
        "ignored": "$is_on_3p_server"
      },
      {
        "from_button_id": "button.controller_select",
        "to_button_id": "button.coin_wallet",
        "mapping_type": "global"
      }
    ],
    "$default_text_color": [ 0.3, 0.3, 0.3 ],
    "$screen_content": "store_inventory.store_search_screen_content",
    "$header_safezone_control": "common_store.store_top_bar_filler",
    "$header_bar_control": "common_store.store_top_bar",
    "$screen_background_control": "common_store.store_background",
    "$is_full_screen_layout": true,
    "$ignore_inventory_button": "$is_sidebar_navigation_enabled",
    "variables": [
      {
        "requires": "(not $use_animation)",
        "$screen_animations": [],
        "$background_animations": []
      },
      {
        "requires": "($use_animation or (not $is_sidebar_navigation_enabled))",
        "$screen_animations": [
          "@common.screen_exit_animation_pop_offset",
          "@common.screen_exit_animation_pop_fade"
        ],
        "$background_animations": []
      }
    ]
  }

}
