{
  "namespace": "common_store",

  //--------------------------------------------------------------------------------
  // Controls
  //--------------------------------------------------------------------------------

  "store_base_screen@common.base_screen": {
    "$ratings_visible_after_x_reviews": 5,

    "$store_factory_clipping_event": "none",
    "$store_factory_collection_details|default": "none",
    "$store_factory_binding_type|default": "global",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": ""
  },

  "label": {
    "type": "label",
    "color": "$body_text_color",
    "size": [ "100%", "14px" ],
    "anchor_from": "top_left",
    "anchor_to": "top_left"
  },

  "offer_image_panel": {
    "type": "image",
    "layer": 6,

    "$offer_image_collection_details|default": "none",
    "$offer_image_binding_collection_name|default": "",
    "$offer_image_binding_collection_prefix|default": "",
    "$offer_image_binding_name|default": "",
    "$offer_image_binding_type|default": "none",
    "bindings": [
      {
        "binding_type": "$offer_image_collection_details",
        "binding_collection_name": "$offer_image_binding_collection_name",
        "binding_collection_prefix": "$offer_image_binding_collection_prefix"
      },
      {
        "binding_type": "$offer_image_binding_type",
        "binding_name": "$offer_image_binding_name",
        "binding_name_override": "#visible",
        "binding_collection_name": "$offer_image_binding_collection_name"
      }
    ]
  },

  "banner_fill": {
    "type": "image",
    "texture": "textures/ui/Banners",
    "$banner_fill_alpha|default": 1.0,
    "alpha": "$banner_fill_alpha"
  },

  "store_description_background": {
    "type": "image",
    "texture": "textures/ui/store_banner_no_border",
    "$description_background_alpha|default": 1.0,
    "alpha": "$description_background_alpha"
  },

  "ribbon_bar_text_background": {
    "type": "image",
    "$description_background_alpha|default": 1.0,
    "alpha": "$description_background_alpha",
    "$background_hoverstate_texture_swap|default": "",
    "variables": [
      {
        "requires": "$default_state",
        "$background_hoverstate_texture_swap": "textures/ui/store_banner_no_border"
      },
      {
        "requires": "$hover_state",
        "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover"
      },
      {
        "requires": "$pressed_state",
        "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover"
      },
      {
        "requires": "$locked_state",
        "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover"
      }
    ],
    "texture": "$background_hoverstate_texture_swap"
  },

  "ribbon_bar_red_hover_text_background": {
    "type": "image",
    "$description_background_alpha|default": 1.0,
    "alpha": "$description_background_alpha",
    "$background_hoverstate_texture_swap|default": "",
    "variables": [
      {
        "requires": "$default_state",
        "$background_hoverstate_texture_swap": "textures/ui/store_banner_no_border"
      },
      {
        "requires": "$hover_state",
        "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover"
      },
      {
        "requires": "$pressed_state",
        "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover"
      },
      {
        "requires": "$locked_state",
        "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover"
      }
    ],
    "texture": "$background_hoverstate_texture_swap"
  },
  "store_background": {
    "type": "image",
    "texture": "textures/ui/screen_background",
    "$fill_alpha|default": 0.6,
    "variables": [
      {
        "requires": "$is_holographic",
        "$fill_alpha": 1.0
      }
    ],
    "alpha": "$fill_alpha"
  },

  "coin_icon": {
    "type": "image",
    "texture": "textures/ui/MCoin",
    "size": [ 11, 11 ]
  },

  "tag": {
    "type": "image",
    "$tag_texture|default": "textures/ui/newOffersIcon",
    "$tag_text|default": "",
    "texture": "$tag_texture",
    "size": [ "100%c + 4px", 15 ],
    "controls": [
      {
        "new_offer_label": {
          "type": "label",
          "size": [ "default", 10 ],
          "offset": [ 0, 1 ],
          "text": "$tag_text",
          "color": "$new_offer_icon_text_color",
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "layer": 1,
          "tts_name": "accessibility.store.tag",
          "tts_control_type_order_priority": 1002, // To be read after the button control type
          "tts_value_order_priority": 1001
        }
      }
    ]
  },

  "marketplace_error_icon": {
    "type": "image",
    "texture": "textures/ui/ErrorGlyph",
    "size": [ 12, 12 ]
  },

  "new_offer_icon@common_store.tag": {
    "$tag_texture": "textures/ui/newOffersIcon",
    "$tag_text": "store.new.icon",
    "$tag_tts_control_header": "accessibility.start.new"
  },

  "status_new_offer_icon@common_store.new_offer_icon": {
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "offset": [ -2, -3 ],
    "layer": 15,
    "visible": false
  },

  "update_balloon_icon": {
    "type": "image",
    "layer": 15,
    "texture": "textures/ui/update",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "offset": "$update_icon_offset",
    "size": [ 11, 21 ],
    "visible": false
  },

  "status_icon_panel": {
    "type": "panel",
    "layer": 15,
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "size": [ 21, 21 ],
    "$grid_collection_name|default": "",

    "$status_icon_factory_collection_details|default": "none",
    "$status_icon_factory_collection_prefix|default": "",
    "$status_icon_factory_collection_name|default": "",

    "controls": [
      {
        "new_offer_icon@common_store.status_new_offer_icon": {
          "bindings": [
            {
              "binding_type": "$status_icon_factory_collection_details",
              "binding_collection_name": "$status_icon_factory_collection_name",
              "binding_collection_prefix": "$status_icon_factory_collection_prefix"
            },
            {
              "binding_type": "$offer_binding_type",
              "binding_collection_name": "$offer_collection_name",
              "binding_name": "#new_offer_icon_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "update_icon@common_store.update_balloon_icon": {
          "bindings": [
            {
              "binding_type": "$status_icon_factory_collection_details",
              "binding_collection_name": "$status_icon_factory_collection_name",
              "binding_collection_prefix": "$status_icon_factory_collection_prefix"
            },
            {
              "binding_type": "$offer_binding_type",
              "binding_collection_name": "$offer_collection_name",
              "binding_name": "#update_icon_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "prompt_icon": {
    "type": "image",
    "size": [ 16, 11 ],
    "$offer_collection_name|default": "offer_collection",
    "bindings": [
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#prompt_icon_visible",
        "binding_name_override": "#visible"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#prompt_icon_texture",
        "binding_name_override": "#texture"
      },
      {
        "binding_type": "collection_details",
        "binding_collection_name": "$offer_collection_name",
        "binding_collection_prefix": "category"
      }
    ]
  },

  "plus_icon": {
    "type": "image",
    "layer": 2,
    "texture": "textures/ui/ThinPlus",
    "size": [ 7, 7 ],
    "color": "$glyph_color"
  },

  "bang_icon": {
    "type": "image",
    "layer": 2,
    "texture": "textures/ui/bang_icon",
    "size": [ 2, 8 ],
    "color": "$glyph_color"
  },

  "user_icon_small": {
    "type": "image",
    "layer": 2,
    "size": [ 9, 9 ],
    "$user_icon_texture_swap|default": "",
    "variables": [
      {
        "requires": "$default_state",
        "$user_icon_texture_swap": "textures/ui/user_icon_small"
      },
      {
        "requires": "$hover_state",
        "$user_icon_texture_swap": "textures/ui/user_icon_white"
      },
      {
        "requires": "$pressed_state",
        "$user_icon_texture_swap": "textures/ui/user_icon_white"
      },
      {
        "requires": "$locked_state",
        "$user_icon_texture_swap": "textures/ui/user_icon_white"
      }
    ],
    "texture": "$user_icon_texture_swap"
  },

  "user_icon_hover": {
    "type": "image",
    "layer": 2,
    "texture": "textures/ui/user_icon_white",
    "size": [ 9, 9 ]
  },

  "gamepad_store_helper": {
    "type": "panel",
    "size": [ "100%c", 26 ],
    "offset": [ 0, 0 ],
    "$gamepad_helper_icon_description_text_color": "$light_glyph_default_color",
    "$gamepad_helper_icon_description_shadow": false,
    "$icon_description_bind": "#button_back_description",
    "$gamepad_store_helper_button|default": "gamepad_helper_button@common.gamepad_helper_b",
    "controls": [
      { "$gamepad_store_helper_button": {} }
    ]
  },

  "purchase_coins_panel": {
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "$add_coin_not_visible|default": false,
    "$purchase_button_offset|default": [ 0, 0 ],
    "offset": "$purchase_button_offset",
    "controls": [
      {
        "plus_button@common_buttons.light_content_button": {
          "size": [ 72, 17 ],
          "offset": "$button_offset",
          "layer": 3,
          "ignored": "$add_coin_not_visible",
          "$button_state_panel": "common_store.wallet_button_panel",
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "button_mappings": [
            {
              "from_button_id": "button.menu_select",
              "to_button_id": "button.coin_wallet",
              "mapping_type": "pressed"
            },
            {
              "from_button_id": "button.menu_ok",
              "to_button_id": "button.coin_wallet",
              "mapping_type": "focused"
            }
          ]
        }
      }
    ]
  },

  "inventory_panel": {
    "ignored": "$ignore_inventory_button",
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "$add_coin_not_visible|default": false,
    "controls": [
      {
        "inventory_button@common_buttons.light_content_button": {
          "size": [ "100%c", 17 ],
          "offset": "$button_offset",
          "layer": 3,
          "$button_state_panel": "common_store.xbl_status_panel",
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "$is_inventory_screen|default": false,
          "$focus_id": "inventory_button",
          "$focus_override_left": "back_button",
          "variables": [
            {
              "requires": "($is_inventory_screen or $is_on_3p_server)",
              "$pressed_button_name": ""
            },
            {
              "requires": "(not $is_inventory_screen and not $is_on_3p_server)",
              "$pressed_button_name": "button.my_account"
            }
          ]
        }
      }
    ]
  },

  "bar_animation": {
    "anim_type": "flip_book",
    "initial_uv": [ 0, 0 ],
    "frame_count": 10,
    "frame_step": 64,
    "fps": 10,
    "reversible": true,
    "easing": "linear"
  },

  "progress_loading_bars": {
    "type": "image",
    "layer": 1,
    "texture": "textures/ui/loading_bar",
    "$progress_loading_bars_anchor|default": "center",
    "anchor_from": "$progress_loading_bars_anchor",
    "anchor_to": "$progress_loading_bars_anchor",
    "uv_size": [ 64, 8 ],
    "size": [ "100% - 4px", "8%x" ],
    "max_size": [ 64, 8 ],
    "uv": "@common_store.bar_animation",
    "disable_anim_fast_forward": true,
    "color": [ 0.7, 0.7, 0.7, 1.0 ]
  },

  "failure_text_wait_animation": {
    "anim_type": "wait",
    "$failure_timeout|default": 5.0,
    "duration": "$failure_timeout",
    "next": "@common_store.failure_text_alpha_animation"
  },

  "failure_text_alpha_animation": {
    "anim_type": "alpha",
    "easing": "linear",
    "from": 0,
    "to": 1
  },

  "progress_loading": {
    "type": "panel",
    "size": [ "100%", "100%" ],

    "$hide_failure_text|default": false,
    "$use_sibling_scope|default": true,
    "$hide_progress_loading_outline|default": false,
    "$baseLayer|default": 2,

    "controls": [
      {
        "progress_loading_outline@common_store.banner_fill": {
          "visible": "(not $hide_progress_loading_outline)"
        }
      },
      {
        "stack_panel": {
          "type": "stack_panel",
          "orientation": "vertical",
          "controls": [
            {
              "centerer_0": {
                "type": "panel",
                "size": [ "100%", "100%c" ],
                "controls": [
                  {
                    "store_failure_text": {
                      "type": "label",
                      "layer": "($baseLayer + 1)",
                      "color": "$body_text_color",
                      "text_alignment": "center",
                      "ignored": "$hide_failure_text",
                      "size": [ "100%-4px", "default" ],
                      "text": "store.connection.failed.body",
                      "alpha": 0,
                      "anims": [
                        "@common_store.failure_text_wait_animation"
                      ]
                    }
                  }
                ]
              }
            },
            {
              "centerer_1": {
                "type": "panel",
                "size": [ "100%", "100%c" ],
                "controls": [
                  {
                    "progress_loading_bars@common_store.progress_loading_bars": {
                      "layer": "($baseLayer + 1)"
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "view",
        "source_control_name": "$source_control_name",
        "source_property_name": "$source_property_name",
        "target_property_name": "#visible",
        "resolve_sibling_scope": "$use_sibling_scope"
      }
    ]
  },

  "store_empty_progress_bar_icon": {
    "type": "image",
    "texture": "textures/ui/experiencebarempty"
  },

  "store_full_progress_bar_icon": {
    "type": "image",
    "texture": "textures/ui/experiencebarfull",
    "clip_direction": "left",
    "clip_pixelperfect": false,
    "$progress_bindings|default": [
      {
        "binding_name": "#progress_percentage",
        "binding_name_override": "#clip_ratio",
        "binding_type": "global"
      }
    ],
    "bindings": "$progress_bindings"
  },

  "store_progress_bar_nub": {
    "type": "image",
    "texture": "textures/ui/experiencenub",
    "tiled": true
  },

  "store_progress_bar_icon": {
    "type": "panel",
    "controls": [
      {
        "empty_progress_bar_icon@common_store.store_empty_progress_bar_icon": {
          "layer": 1,
          "visible": "#progress_visible",
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_name": "#progress_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "progress_percent_panel": {
          "type": "panel",
          "layer": 2,
          "visible": "#progress_visible",
          "controls": [
            {
              "full_progress_bar_icon@common_store.store_full_progress_bar_icon": {
                "layer": 2
              }
            },
            {
              "progress_bar_nub@common_store.store_progress_bar_nub": {
                "size": [ "100% - 10px", 5 ],
                "layer": 3
              }
            }
          ],
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_name": "#progress_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "screen_contents_with_gamepad_helpers": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "$gamepad_helpers_layer|default": 10,
    "controls": [
      {
        "dialog_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            { "dialog@$dialog_panel": {} }
          ]
        }
      },
      {
        "padding": {
          "type": "panel",
          "size": [ "100%", 10 ]
        }
      },
      {
        "gamepad_helpers_panel": {
          "type": "panel",
          "layer": "$gamepad_helpers_layer",
          "size": [ "100%", "100%c" ],
          "controls": [
            { "gamepad_helpers_a_and_b@common.gamepad_helpers_a_and_b": {} }
          ]
        }
      }
    ]
  },

  "hero_offer_collection_padding": {
    "type": "panel",
    "size": [ "fill", "100%" ],
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$hero_offer_binding_type",
        "binding_collection_name": "$hero_offer_collection_name",
        "binding_name": "#is_offer_collection_query",
        "binding_name_override": "#visible"
      }
    ]
  },

  "text_strike_through": {
    "type": "image",
    "tiled": true,
    "texture": "textures/ui/strikethru",
    "color": "$dark_button_secondary_default_text_color"
  },

  "markdown_banner": {
    "type": "image",
    "$banner_texture|default": "textures/ui/saleflag",
    "texture": "$banner_texture"
  },

  "markdown_triangle": {
    "type": "image",
    "$triangle_texture|default": "textures/ui/saleflagtriangle",
    "texture": "$triangle_texture",
    "bilinear": true
  },

  "timer_panel": {
    "type": "panel",
    "size": [ "100%c + 2px", "100%" ],

    "$timer_field_count_to_show|default": 1,
    "property_bag": {
      "#timer_field_count_to_show": "$timer_field_count_to_show"
    },

    "$timer_bindings|default": [
      {
        "binding_name": "$time_text_binding_name",
        "binding_condition": "always_when_visible"
      }
    ],
    "controls": [
      {
        "timer": {
          "type": "label",
          "$timer_visible|default": false,
          "ignored": "(not $timer_visible)",
          "$time_text_binding_name|default": "#offer_timer_label",
          "text": "$time_text_binding_name",
          "size": [ "default", 10 ],
          "offset": [ 1, -0.5 ],
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "$timer_label_color|default": "$light_button_default_text_color",
          "color": "$timer_label_color",
          "layer": 1,
          "font_type": "smooth",
          "bindings": "$timer_bindings"
        }
      }
    ]
  },

  "store_offer_type_icon": {
    "type": "image",
    "size": [ 7, 7 ],
    "layer": 10,
    "color": "$icon_color",
    "texture": "$offer_icon_texture_path",
    "bilinear": true
  },

  "realms_plus_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/realmportal_small",
    "size": [ 6, 8 ]
  },

  "resource_pack_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/glyph_resource_pack"
  },

  "skinpack_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/glyph_skin_pack"
  },

  "world_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/glyph_world_template"
  },

  "mashup_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/glyph_mashup_pack"
  },

  "realms_icon@common_store.store_offer_type_icon": {
    "$offer_icon_texture_path": "textures/ui/glyph_realms"
  },

  "realms_banner_icon": {
    "type": "image",
    "texture": "textures/ui/realmsIcon",
    "size": [ "78%y", "100%" ],
    "bilinear": true
  },

  "realms_plus_expiration": {
    "type": "panel",
    "size": [ "100%", "20% + 1px" ],
    "offset": [ 0, 0.5 ],
    "visible": false,
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "controls": [
      {
        "background": {
          "type": "image",
          "size": [ "100%", "100%" ],
          "anchor_from": "bottom_middle",
          "anchor_to": "bottom_middle",
          "texture": "textures/ui/purple_gradient",
          "tiled": "y",
          "layer": 3
        }
      },
      {
        "contents": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100% - 2px", "100% - 2px" ],
          "layer": 5,
          "controls": [
            {
              "realms_icon@common_store.realms_banner_icon": {}
            },
            {
              "pad_0": {
                "type": "panel",
                "size": [ 2, "100%" ]
              }
            },
            {
              "text_panel": {
                "type": "panel",
                "size": [ "fill", "100%" ],
                "controls": [
                  {
                    "text": {
                      "type": "label",
                      "size": [ "100%", "default" ],
                      "color": "$body_text_color",
                      "font_type": "smooth",
                      "text": "#realms_expiration_label",
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$offer_binding_type",
                          "binding_collection_name": "$offer_collection_name",
                          "binding_name": "#realms_expiration_label"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "particles": {
          "type": "image",
          "size": [ "100%y", "100%" ],
          "texture": "textures/ui/realms_particles",
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "offset": [ -10, 0 ],
          "layer": 4
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#realm_expiration_banner_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "pack_icon_stack": {
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "$icon_stack_visibility_type|default": "none",
    "$icon_stack_visibility|default": "",
    "$icon_stack_visibility_collection|default": "",
    "$icon_color|default": "$store_offer_type_icon_color",
    "controls": [
      {
        "pack_icon_stack_factory@common_store.pack_icon_stack_factory": {}
      }
    ]
  },

  "pack_icon_stack_factory": {
    "type": "stack_panel",
    "size": [ "100%c + 2px", "100%" ],
    "$pack_icon_stack_factory_offset|default": [ 0, 1 ],
    "offset": "$pack_icon_stack_factory_offset",
    "ignored": "$is_purchase_button",
    "orientation": "horizontal",
    "$pack_icon_factory_collection_name|default": "pack_icons",
    "factory": {
      "name": "store_icon_factory",
      "control_ids": {
        "realms_icon": "@common_store.realms_icon",
        "mashup_icon": "@common_store.mashup_icon",
        "world_icon": "@common_store.world_icon",
        "skinpack_icon": "@common_store.skinpack_icon",
        "resource_pack_icon": "@common_store.resource_pack_icon",
        "realms_plus_icon": "@common_store.realms_plus_icon"
      },
      "factory_variables": [
        "$icon_color"
      ]
    },
    "collection_name": "$pack_icon_factory_collection_name",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$icon_stack_visibility_type",
        "binding_collection_name": "$icon_stack_visibility_collection",
        "binding_name": "$icon_stack_visibility",
        "binding_name_override": "#visible"
      },
      {
        "binding_type": "$icon_stack_visibility_type",
        "binding_collection_name": "$icon_stack_visibility_collection",
        "binding_name": "#pack_icon_section_content",
        "binding_name_override": "#collection_length",
        "binding_condition": "visible"
      }
    ]
  },

  "markdown_background": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "$markdown_label|default": "common.empty_panel",
    "anchor_from": "bottom_left",
    "anchor_to": "bottom_left",
    "$banner_size|default": [ "100%c + 4px", "100%" ],
    "$timer_visible|default": false,
    "$icon_color": "$store_sales_banner_text_color",
    "controls": [
      {
        "banner_panel": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "banner@common_store.markdown_banner": {
                "size": "$banner_size",
                "layer": 1,
                "controls": [
                  {
                    "banner_content_stack_panel": {
                      "type": "stack_panel",
                      "orientation": "horizontal",
                      "size": [ "100%c", "100%" ],
                      "controls": [
                        {
                          "timer_panel@common_store.timer_panel": {}
                        },
                        {
                          "pack_icon_panel": {
                            "type": "panel",
                            "size": [ "100%c", "100%" ],
                            "controls": [
                              {
                                "pack_icon_stack@common_store.pack_icon_stack": {
                                  "offset": [ 0, 2 ],
                                  "$icon_stack_visibility": "#pack_icon_sale_section_visible"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "markdown_panel": {
                            "type": "panel",
                            "size": [ "100%c", "100%" ],
                            "controls": [
                              {
                                "markdown_label@$markdown_label": {}
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "triangle_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "$triangle_offset|default": [ -1, 0 ],
          "$triangle_size|default": [ "50%y", "100%" ],
          "controls": [
            {
              "triangle@common_store.markdown_triangle": {
                "size": "$triangle_size",
                "offset": "$triangle_offset",
                "layer": 2
              }
            }
          ]
        }
      }
    ]
  },

  "store_top_bar": {
    "type": "image",
    "texture": "textures/ui/StoreTopBar",
    "size": [ "100%", 23 ]
  },

  "store_top_bar_filler": {
    "type": "image",
    "texture": "textures/ui/StoreTopBarFiller"
  },

  "direction_button_panel": {
    "type": "panel",
    "$direction_gamepad_button_helper|default": "gamepad_helper@common.gamepad_helper_right_bumper",
    "controls": [
      {
        "chevron_image@common.chevron_image": {
          "bindings": [
            {
              "binding_name": "(not #is_using_gamepad)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "$direction_gamepad_button_helper": {
          "offset": [ 0, 4 ],
          "anchor_from": "center",
          "anchor_to": "center",
          "$hide_description|default": true,
          "$gamepad_helper_icon_size|default": [ 18, 18 ],
          "$gamepad_helper_layer": 10
        }
      }
    ]
  },

  "cycle_pack_button@common_buttons.light_content_button": {
    "ignored": "$ignore_cycle_buttons",
    
    "$button_content": "common_store.direction_button_panel",

    "$cycle_pack_button_factory_collection_details|default": "none",
    "$cycle_pack_button_factory_collection_prefix|default": "",
    "$cycle_pack_button_factory_collection_name|default": "",

    "$cycle_pack_button_collection_details|default": "none",
    "$cycle_pack_button_collection|default": "",

    "$cycle_pack_button_binding_type|default": "global",
    "$cycle_pack_button_enabled|default": "#cycle_pack_button",

    "$cycle_pack_bindings|default": [
      {
        "binding_type": "$cycle_pack_button_factory_collection_details",
        "binding_collection_name": "$cycle_pack_button_factory_collection_name",
        "binding_collection_prefix": "$cycle_pack_button_factory_collection_prefix"
      },
      {
        "binding_type": "$cycle_pack_button_collection_details",
        "binding_collection_name": "$cycle_pack_button_collection"
      },
      {
        "binding_type": "$cycle_pack_button_binding_type",
        "binding_collection_name": "$cycle_pack_button_collection",
        "binding_name": "$cycle_pack_button_enabled",
        "binding_name_override": "#enabled"
      },
      {
        "binding_name": "(not #is_using_gamepad)",
        "binding_name_override": "#focus_enabled"
      }
    ],

    "$cycle_pack_enabled_source_control_name|default": "",
    "$cycle_pack_enabled_source_property_name|default": "",
    "$cycle_pack_enabled_use_sibling_scope|default": false,
    "variables": [
      {
        "requires": "((not $cycle_pack_enabled_source_control_name = '') and (not $cycle_pack_enabled_source_property_name = ''))",
        "$cycle_pack_bindings": [
          {
            "binding_type": "$cycle_pack_button_factory_collection_details",
            "binding_collection_name": "$cycle_pack_button_factory_collection_name",
            "binding_collection_prefix": "$cycle_pack_button_factory_collection_prefix"
          },
          {
            "binding_type": "$cycle_pack_button_collection_details",
            "binding_collection_name": "$cycle_pack_button_collection"
          },
          {
            "binding_type": "view",
            "source_control_name": "$cycle_pack_enabled_source_control_name",
            "source_property_name": "$cycle_pack_enabled_source_property_name",
            "target_property_name": "#enabled",
            "resolve_sibling_scope": "$cycle_pack_enabled_use_sibling_scope"
          },
          {
            "binding_name": "(not #is_using_gamepad)",
            "binding_name_override": "#focus_enabled"
          }
        ]
      }
    ],

    "bindings": "$cycle_pack_bindings"
  },

  "cycle_pack_left_button@common_store.cycle_pack_button": {
    "anchor_from": "bottom_left",
    "anchor_to": "bottom_left",
    "$chevron_image_name": "textures/ui/chevron_left",
    "$pressed_button_name": "button.cycle_pack_left",
    "$cycle_pack_button_enabled|default": "#cycle_pack_left_button_enabled",
    "$direction_gamepad_button_helper": "gamepad_helper@common.gamepad_helper_left_bumper"
  },

  "cycle_pack_right_button@common_store.cycle_pack_button": {
    "anchor_from": "bottom_right",
    "anchor_to": "bottom_right",
    "$chevron_image_name": "textures/ui/chevron_right",
    "$pressed_button_name": "button.cycle_pack_right",
    "$cycle_pack_button_enabled|default": "#cycle_pack_right_button_enabled"
  },

  "restore_purchases@common_buttons.light_text_button": {
    "anchor_from": "center",
    "anchor_to": "center",
    "$pressed_button_name": "button.restore_store",
    "$button_text": "skins.restore.button"
  },

  "back_content_panel": {
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "controls": [
      {
        "back_button@common.back_title_button": {
          "offset": [ 0, -1 ],
          "layer": 200, //This should always be on top, let's ensure that
          "$focus_id": "back_button"
        }
      }
    ]
  },

  "unlock_with_coins_button_stack_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", 11 ],
    "$button_text_max_size": [ "default", 10 ], // Without this there is an unsolvable layout since the parent is 100%c
    "$button_text_binding_type|default": "none",
    "$button_binding_condition|default": "none",
    "$button_text_grid_collection_name|default": "",

    "controls": [
      { "unlock_text@common_buttons.new_ui_binding_button_label": {} },
      {
        "padding_1": {
          "type": "panel",
          "size": [ 1, "100%" ]
        }
      },
      {
        "coin_panel": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "$coin_visible|default": "",
          "$coin_binding_type|default": "none",
          "controls": [
            {
              "coin@common_store.coin_icon": {
                "offset": [ 0, -1 ],
                "bindings": [
                  {
                    "binding_type": "$coin_binding_type",
                    "binding_name": "$coin_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "store_dialog_with_coin_header@common_dialogs.main_panel_no_buttons": {
    "$use_custom_title_control": true,
    "$custom_title_label": "common_store.coins_with_title",
    "$text_name|default": "",
    "$title_size": [ "100% - 14px", 10 ],
    "$title_panel|default": "common_store.store_coins_title_label"
  },

  "store_coins_title_label@common_dialogs.standard_title_label": {
    "size": [ "100% - 78px", 10 ],
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "text_alignment": "center",
    "offset": [ 63, -1 ]
  },

  "home_button_content": {
    "type": "image",
    "size": [ 13, 11 ],
    "texture": "textures/ui/store_home_icon"
  },

  "home_button_panel": {
    "ignored": "($is_on_3p_server or $ignore_home_button)",
    "type": "panel",
    "size": [ 19, "100%" ],
    "bindings": [
      {
        "binding_name": "#store_home_button_visible",
        "binding_name_override": "#visible",
        "binding_condition": "once"
      }
    ],
    "controls": [
      {
        "home_button@common_buttons.light_content_button": {
          "size": [ "100%", 17 ],
          "layer": 3,
          "offset": [ 0, -1 ],
          "$pressed_button_name": "button.store_home",
          "$button_content": "common_store.home_button_content"
        }
      }
    ]
  },

  "search_header_stack": {
    "ignored": "($is_on_3p_server or $ignore_search)",
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "controls": [
      {
        "gamepad_helper_y_alignment_hack": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "gamepad_helper_y@common.gamepad_helper_y": {
                "$hide_description|default": true,
                "offset": [ 4, -5 ],
                "anchor_from": "top_left",
                "anchor_to": "top_left",
                "bindings": [
                  {
                    "binding_name": "#gamepad_helper_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "store_layout_search_button@store_layout.store_layout_ribbon_search_button": {
          "size": [ 17, 17 ]
        }
      },
      {
        "padding0": {
          "type": "panel",
          "size": [ 2, "100%" ]
        }
      }
    ]
  },

  "store_header_with_coins": {
    "type": "stack_panel",
    "size": [ "100%", "100%" ],
    "$store_header_size|default": [ "100%", 23 ],
    "$is_inventory_screen|default": false,
    "$ignore_home_button|default": false,
    "$ignore_inventory_button|default": false,
    "$ignore_search|default": false,
    "controls": [
      {
        "top_bar@common_store.store_top_bar": {
          "size": "$store_header_size",
          "focus_container": true,
          "use_last_focus": false,
          "focus_wrap_enabled": false,
          "focus_nagivation_mode_up": "stop",
          "focus_nagivation_mode_right": "stop",
          "controls": [
            {
              "title_stack_panel": {
                "type": "stack_panel",
                "size": [ "100%", 19 ],
                "orientation": "horizontal",
                "controls": [
                  {
                    "padding1": {
                      "type": "panel",
                      "size": [ 2, "100%" ]
                    }
                  },
                  { "back_button_content_panel@common_store.back_content_panel": {} },
                  {
                    "padding2": {
                      "type": "panel",
                      "size": [ 10, "100%" ]
                    }
                  },
                  {
                    "header_title_panel@common.screen_header_title_panel": {
                      "layer": 1,
                      "$screen_header_title_binding_type": "global"
                    }
                  },
                  {
                    "padding3": {
                      "type": "panel",
                      "size": [ 5, "100%" ]
                    }
                  },
                  { "home_button@common_store.home_button_panel": {} },
                  {
                    "padding4": {
                      "type": "panel",
                      "size": [ 5, "100%" ]
                    }
                  },
                  {
                    "status_and_coins@common_store.status_with_coins": {
                      "$top_status_and_coins_visible_binding_type|default": "none",
                      "$top_status_and_coins_visible_binding|default": "",
                      "bindings": [
                        {
                          "binding_type": "$top_status_and_coins_visible_binding_type",
                          "binding_name": "$top_status_and_coins_visible_binding",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "padding5": {
                      "type": "panel",
                      "size": [ 2, "100%" ]
                    }
                  },
                  { "search_header_stack@common_store.search_header_stack": {} }
                ]
              }
            }
          ]
        }
      },
      {
        "child_control@$child_control": {
          "size": [ "100%", "fill" ],
          "layer": 2
        }
      }
    ]
  },

  "status_with_coins": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "$padding_size": [ 2, "100%" ],
    "controls": [
      {
        "inventory_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "layer": 2,
          "controls": [
            {
              "inventory_button@common_store.inventory_panel": {
                "offset": [ 0, -1 ]
              }
            }
          ]
        }
      },
      {
        "padding0": {
          "type": "panel",
          "size": "$padding_size",
          "ignored": "$ignore_3rd_party_servers"
        }
      },
      {
        "coin_balance_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "coin_balance_panel@common_store.purchase_coins_panel": {
                "offset": [ 0, -1 ],
                "layer": 1
              }
            }
          ]
        }
      }
    ]
  },

  "status_with_coins_no_stack": {
    "type": "panel",
    "size": [ "100%", "100%" ],
    "controls": [
      {
        "inventory_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "layer": 2,
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "controls": [
            {
              "inventory_button@common_store.inventory_panel": {
                "offset": [ 0, -1 ]
              }
            }
          ]
        }
      },
      {
        "coin_balance_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "controls": [
            {
              "coin_balance_panel@common_store.purchase_coins_panel": {
                "offset": [ 0, -1 ],
                "layer": 1
              }
            }
          ]
        }
      }
    ]
  },

  "coins_with_title": {
    "type": "panel",
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "controls": [
      {
        "coin_balance_panel@common_store.purchase_coins_panel": {
          "offset": [ 0, -4 ],
          "layer": 5,
          "anchor_from": "top_left",
          "anchor_to": "top_left"
        }
      },
      {
        "title_panel@$title_panel": {
        }
      }
    ]
  },

  "wallet_button_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "layer": 2,
    "size": [ "100%c", 17 ],
    "controls": [
      {
        "plus_image@common_buttons.new_ui_button_panel": {
          "$button_size_override|default": [ 17, 17 ],
          "$button_content": "common_store.plus_icon",
          "$wallet_plus_image_bindings|default": [
            {
              "binding_name": "(not #gamepad_helper_visible)",
              "binding_name_override": "#visible"
            }
          ],
          "bindings": "$wallet_plus_image_bindings"
        }
      },
      {
        "gamepad_helper_x_alignment_hack": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "gamepad_helper_x@common.gamepad_helper_x": {
                "$hide_description|default": true,
                "offset": [ 4, -5 ],
                "$wallet_gamepad_helper_bindings|default": [
                  {
                    "binding_name": "#gamepad_helper_visible",
                    "binding_name_override": "#visible"
                  }
                ],
                "bindings": "$wallet_gamepad_helper_bindings"
              }
            }
          ]
        }
      },
      {
        "purchase_coin_panel_alignment_hack": {
          "type": "panel",
          "size": [ "100%c", 17 ],
          "controls": [
            {
              "purchase_coin_panel@common_store.coin_balance_panel": {
                "size": [ 47, 13 ],
                "offset": [ 0, 2 ],
                "anchor_from": "top_left",
                "anchor_to": "top_left"
              }
            }
          ]
        }
      }
    ]
  },

  "coin_balance_panel@common_store.ribbon_bar_text_background": {
    "size": [ 58, "100%" ],
    "controls": [
      {
        "coin_purchase_in_progress_panel": {
          "type": "panel",
          "size": [ 30, "default" ],
          "offset": [ 2, 0 ],
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",
          "controls": [
            {
              "coin_purchase_in_progress@common_store.progress_loading_bars": {
                "size": [ "100%", "100%" ],
                "anchor_from": "center",
                "anchor_to": "center"
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#coin_purchase_in_progress",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "coin_balance_text": {
          "type": "label",
          "font_type": "smooth",
          "layer": 4,
          "size": [ 42, 14 ],
          "offset": [ -14, 1.5 ], // x offset around minecoin icon
          "text": "#coin_balance",
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "text_alignment": "right",
          "bindings": [
            {
              "binding_type": "global",
              "binding_name": "#coin_balance",
              "binding_condition": "always_when_visible"
            },
            {
              "binding_name": "(not #coin_purchase_in_progress)",
              "binding_name_override": "#visible"
            }
          ],
          "$text_color_swap|default": "",
          "variables": [
            {
              "requires": "$default_state",
              "$text_color_swap": "$coin_color"
            },
            {
              "requires": "$hover_state",
              "$text_color_swap": "$main_header_text_color"
            },
            {
              "requires": "$pressed_state",
              "$text_color_swap": "$main_header_text_color"
            },
            {
              "requires": "$locked_state",
              "$text_color_swap": "$main_header_text_color"
            }
          ],
          "color": "$text_color_swap"
        }
      },
      {
        "coin_icon@common_store.coin_icon": {
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "$coin_icon_offset|default": [ -2, 0 ],
          "offset": "$coin_icon_offset",
          "layer": 3
        }
      }
    ]
  },

  "my_account_button_content": {
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "controls": [
      {
        "my_account_content": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%c", "100%" ],
          "layer": 2,
          "controls": [
            {
              "user_icon": {
                "type": "image",
                "size": [ "120%y", "100%" ],
                "texture": "textures/ui/user_icon"
              }
            },
            {
              "my_account_label_panel": {
                "type": "stack_panel",
                "orientation": "horizontal",
                "size": [ "100%c", "100%" ],
                "controls": [
                  {
                    "padding": {
                      "type": "panel",
                      "size": [ 4, "100%" ]
                    }
                  },
                  {
                    "my_account_center_label": {
                      "type": "panel",
                      "size": [ "100%c", "100%" ],
                      "controls": [
                        {
                          "my_account_label": {
                            "type": "label",
                            "size": [ "default", "default" ],
                            "max_size": [ "100%c", 10 ],
                            "text": "store.myAccount",
                            "color": "$text_color"
                          }
                        }
                      ]
                    }
                  }
                ],
                "bindings": [
                  {
                    "binding_name": "(not #show_xbl_profile_info)",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "xbl_status_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", 17 ],
    "controls": [
      {
        "player_profile": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "status_panel@common_store.xbl_player_status_panel": {
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "#show_xbl_profile_info",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "no_player_profile": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "status_panel@common_store.no_xbl_player_status_panel": {}
            }
          ],
          "bindings": [
            {
              "binding_name": "(not #show_xbl_profile_info)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "no_xbl_and_content_owned_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "status_panel@common_store.content_owned_no_xbl_panel": {}
            }
          ],
          "bindings": [
            {
              "binding_name": "(not #show_xbl_profile_info)",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "xbl_player_status_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "anchor_from": "right_middle",
    "anchor_to": "right_middle",
    "controls": [
      {
        "gamer_pic_with_bevel": {
          "type": "panel",
          "size": [ 17, 17 ],
          "layer": 5,
          "controls": [
            {
              "player_pic": {
                "type": "image",
                "size": [ 17, 17 ],
                "bindings": [
                  {
                    "binding_name": "#gamer_pic_texture",
                    "binding_name_override": "#texture"
                  },
                  {
                    "binding_name": "#gamer_pic_file_source",
                    "binding_name_override": "#texture_file_system"
                  }
                ]
              }
            },
            {
              "player_pic_bevel": {
                "type": "image",
                "size": [ 17, 17 ],
                "layer": 4,
                "$icon_bevel_hoverstate_texture_swap|default": "",
                "variables": [
                  {
                    "requires": "$default_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel"
                  },
                  {
                    "requires": "$hover_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover"
                  },
                  {
                    "requires": "$pressed_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover"
                  },
                  {
                    "requires": "$locked_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover"
                  }
                ],
                "texture": "$icon_bevel_hoverstate_texture_swap"
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "(not #update_icon_visible)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "updates_with_bevel": {
          "type": "panel",
          "size": [ 17, 17 ],
          "controls": [
            {
              "update_glyph@common_store.bang_icon": {
                "layer": 5
              }
            },
            {
              "updates_bevel": {
                "type": "image",
                "size": [ 17, 17 ],
                "layer": 4,
                "$icon_bevel_hoverstate_texture_swap|default": "",
                "variables": [
                  {
                    "requires": "$default_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel"
                  },
                  {
                    "requires": "$hover_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_hover"
                  },
                  {
                    "requires": "$pressed_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_pressed"
                  },
                  {
                    "requires": "$locked_state",
                    "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_pressed"
                  }
                ],
                "texture": "$icon_bevel_hoverstate_texture_swap"
              }
            }
          ],
          "bindings": [
            {
              "binding_name": "(#update_icon_visible)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },

      {
        "label_alignment_pannel": {
          "type": "panel",
          "size": [ "100%c", "100% -4px" ],
          "controls": [
            {
              "label_panel@common_store.ribbon_bar_text_background": {
                "size": [ "100%c + 2px", "100%" ],
                "offset": [ 0, 2 ], // To line up with the coin balance text
                "controls": [
                  {
                    "gamertag_label": {
                      "type": "label",
                      "font_type": "smooth",
                      "text_alignment": "right",
                      "text": "#gamertagpacks",
                      "color": "$body_text_color",
                      "layer": 2,
                      "bindings": [
                        {
                          "binding_name": "#gamertagpacks"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "no_xbl_player_status_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "bindings": [
      {
        "binding_name": "(not #has_local_content)",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "user_image_alignment_hack": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "user_image@common_buttons.new_ui_button_panel": {
                "$button_size_override": [ 17, 17 ],
                "$button_content": "common_store.user_icon_small",
                "$border_visible": true
              }
            }
          ]
        }
      },
      {
        "no_xbl_player_status_label_alignment_pannel": {
          "type": "panel",
          "size": [ "100%c", "100% -4px" ],
          "controls": [
            {
              "label_panel@common_store.ribbon_bar_text_background": {
                "size": [ "100%c + 4px", "100%" ],
                "offset": [ 0, 2 ], // To line up with the coin balance text
                "controls": [
                  {
                    "gamertag_label": {
                      "type": "label",
                      "font_type": "smooth",
                      "text_alignment": "right",
                      "size": [ "default", "default" ],
                      "text": "store.inventory.no.xbl",
                      "color": "$body_text_color",
                      "layer": 2
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "content_owned_no_xbl_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "bindings": [
      {
        "binding_name": "(#has_local_content)",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "no_xbl_content_owned_alignment_hack": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "warning_with_bevel": {
                "type": "panel",
                "size": [ 17, 17 ],
                "controls": [
                  {
                    "warning_glyph@common_store.bang_icon": {
                      "layer": 5
                    }
                  },
                  {
                    "warning_bevel": {
                      "type": "image",
                      "size": [ 17, 17 ],
                      "layer": 4,
                      "$icon_bevel_hoverstate_texture_swap|default": "",
                      "variables": [
                        {
                          "requires": "$default_state",
                          "$icon_bevel_hoverstate_texture_swap": "textures/ui/unsynced_bevel"
                        },
                        {
                          "requires": "$hover_state",
                          "$icon_bevel_hoverstate_texture_swap": "textures/ui/unsynced_bevel_hover"
                        },
                        {
                          "requires": "$pressed_state",
                          "$icon_bevel_hoverstate_texture_swap": "textures/ui/unsynced_bevel_pressed"
                        },
                        {
                          "requires": "$locked_state",
                          "$icon_bevel_hoverstate_texture_swap": "textures/ui/unsynced_bevel_pressed"
                        }
                      ],
                      "texture": "$icon_bevel_hoverstate_texture_swap"
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "no_xbl_content_owned_label_alignment_pannel": {
          "type": "panel",
          "size": [ "100%c", "100% -4px" ],
          "controls": [
            {
              "no_xbl_content_owned_label_panel@common_store.ribbon_bar_red_hover_text_background": {
                "size": [ "100%c + 4px", "100%" ],
                "offset": [ 0, 2 ], // To line up with the coin balance text
                "controls": [
                  {
                    "gamertag_label": {
                      "type": "label",
                      "font_type": "smooth",
                      "text_alignment": "right",
                      "size": [ "default", "default" ],
                      "text": "store.inventory.no.xbl",
                      "color": "$body_text_color",
                      "layer": 2
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "xbl_button_content": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "offset": [ 0, -1 ],
    "controls": [
      {
        "xbl_icon": {
          "type": "image",
          "texture": "textures/ui/xbox4",
          "size": [ 9, 9 ]
        }
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ 1, "100%" ]
        }
      },
      {
        "disconnected_label": {
          "type": "label",
          "size": [ "default", "default" ],
          "text": "store.xbl.disconnected",
          "color": "$text_color"
        }
      },
      {
        "padding_1": {
          "type": "panel",
          "size": [ 1, "100%" ]
        }
      },
      {
        "error_icon_panel": {
          "type": "panel",
          "size": [ "100%c", "100%c" ],
          "controls": [
            {
              "error_icon": {
                "type": "image",
                "texture": "textures/ui/ErrorGlyph",
                "size": [ 7, 10 ],
                "offset": [ 0, -1 ]
              }
            }
          ]
        }
      }
    ]
  },

  "disclaimer_panel": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "legal_text_label": {
          "type": "label",
          "size": [ "100% - 2px", "default" ],
          "offset": [ 2, -1 ],
          "layer": 10,
          "color": "$body_text_color",
          "font_type": "smooth",
          "$disclaimer_font_scale_factor|default": 0.68,
          "font_scale_factor": "$disclaimer_font_scale_factor",
          "text": "#purchase_with_currency_disclaimer",
          "bindings": [
            {
              "binding_name": "#purchase_with_currency_disclaimer"
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#currency_purchase_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "grey_bar_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ 17, "100%" ],
    "controls": [
      {
        "color_panel": {
          "type": "panel",
          "size": [ 12, "100%" ],
          "controls": [
            {
              "grey_bar": {
                "type": "image",
                "size": [ "100%", "100%" ],
                "layer": 1,
                "texture": "textures/ui/white_background",
                "keep_ratio": false,
                "tiled": true,
                "color": "$carousel_unselected"
              }
            },
            {
              "green_bar": {
                "type": "image",
                "size": [ "100%", "100%" ],
                "layer": 2,
                "texture": "textures/ui/white_background",
                "keep_ratio": false,
                "tiled": true,
                "color": "$carousel_selected",
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_name": "#this_page_selected",
                    "binding_name_override": "#visible",
                    "binding_type": "collection",
                    "binding_collection_name": "carousel_bar_collection"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "pad": {
          "type": "panel",
          "size": [ 5, "100%" ]
        }
      }
    ]
  },

  //--------------------------------------------------------------------------------
  // Content
  //--------------------------------------------------------------------------------

  "store_offer_item_title_panel": {
    "type": "panel",
    "size": [ "100%", 10 ],

    "$offer_title_binding_type|default": "global",
    "$offer_title_collection_name|default": "",

    "controls": [
      // this is done due to size and max size bug
      {
        "offer_collection_title@common_store.store_offer_title": {
          "text_alignment": "center",
          "$store_offer_title_visible_binding": "#is_offer_collection_query"
        }
      },
      {
        "offer_title@common_store.store_offer_title": {}
      }
    ]
  },

  "store_offer_item_creator_panel": {
    "ignored": "$ignore_creator",
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%", 10 ],
    "layer": 2,

    "$offer_title_binding_type|default": "global",
    "$offer_title_collection_name|default": "",

    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_title_binding_type",
        "binding_name": "#is_creator_label_visible",
        "binding_collection_name": "$offer_title_collection_name",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "pack_icon_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "pack_icon_stack@common_store.pack_icon_stack": {
                "offset": [ 0, 1 ],
                "anchor_from": "top_right",
                "anchor_to": "top_right",
                "$icon_stack_visibility": "#pack_icon_section_visible",
                "$icon_stack_visibility_type": "$offer_title_binding_type",
                "$icon_stack_visibility_collection": "$offer_title_collection_name",
                "$is_purchase_button": false
              }
            }
          ]
        }
      },
      {
        "creator_label": {
          "type": "label",
          "size": [ "fill", "100%" ],
          "text": "#creator_label",
          "color": "$store_author_text_color",
          "font_type": "smooth",
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$offer_title_binding_type",
              "binding_collection_name": "$offer_title_collection_name",
              "binding_name": "#creator_label"
            }
          ]
        }
      }
    ]
  },

  "featured_key_art": {
    "type": "panel",
    "controls": [
      {
        "bg@common_store.banner_fill": {
          "layer": 3,
          "$featured_texture_path|default": "#key_art_texture_path",
          "$featured_texture_file_system|default": "#key_art_texture_file_system",
          "$featured_item_does_not_meet_requirements|default": "#item_does_not_meet_requirements",
          "$new_featured_offer|default": "#new_offer_icon_visible",
          "controls": [
            {
              "featured_key_art": {
                "type": "image",
                "layer": 4,
                "size": [ "100% - 2px", "100% - 2px" ],
                "bilinear": true,
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "$featured_texture_path",
                    "binding_name_override": "#texture"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "$featured_texture_file_system",
                    "binding_name_override": "#texture_file_system"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "$featured_item_does_not_meet_requirements",
                    "binding_name_override": "#grayscale"
                  }
                ]
              }
            },
            {
              "progress_loading@common_store.progress_loading": {
                "size": [ "100%", "100%" ],
                "$source_control_name": "featured_key_art",
                "$source_property_name": "(#texture = '')",
                "anchor_from": "top_middle",
                "anchor_to": "top_middle",
                "$hide_failure_text": true
              }
            },
            {
              "new_offer_icon@common_store.status_new_offer_icon": {
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "$new_featured_offer",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "focus_border@common.square_image_border_white": {
          "color": "$border_color",
          "layer": 9
        }
      }
    ]
  },

  "price_panel": {
    "type": "stack_panel",
    "size": [ "100%c", 11 ],
    "orientation": "horizontal",
    "controls": [
      {
        "price_label_panel": {
          "type": "panel",
          "size": [ "100%c", 11 ],
          "controls": [
            {
              "price@common_store.label": {
                "size": [ "default", 10 ],
                "text": "#offer_prompt_text",
                "font_type": "smooth",
                "offset": [ 1, -1 ],
                "color": "$coin_color",
                "anchor_from": "bottom_right",
                "anchor_to": "bottom_right",
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "#offer_prompt_text"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_name": "#offer_prompt_text_visibility",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "padding": {
          "type": "panel",
          "size": [ 2, "100%" ]
        }
      },
      {
        "featured_icon_panel": {
          "type": "panel",
          "size": [ "100%c", 11 ],
          "controls": [
            {
              "featured_offer_coin_icon@common_store.coin_icon": {
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "#offer_coin_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "vertical_padding_4": {
    "type": "panel",
    "size": [ 0, 4 ]
  },

  "vertical_padding_2": {
    "type": "panel",
    "size": [ 0, 2 ]
  },

  "footer": {
    "type": "panel",
    "visible": "$requires_restore_button",
    "size": [ "100%", "100%c + 4px" ],
    "clip_state_change_event": "$store_factory_clipping_event",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      }
    ],
    "controls": [
      {
        "restore_purchases@common_store.restore_purchases": {
          "size": [ "28%", 30 ]
        }
      }
    ]
  },

  "store_section_factory": {
    "type": "stack_panel",
    "anchor_from": "top_middle",
    "anchor_to": "top_middle",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],

    "$store_factory_clipping_event": "factory_section_shown",

    "$store_factory_collection_details": "collection_details",
    "$store_factory_binding_type": "collection",
    "$store_factory_collection_prefix": "factory",
    "$store_factory_collection_name": "factory_collection",
    "$is_realms_plus_screen|default": false,
    "$content_offer_panel_size|default": [ "100% - 48px", "100%" ],
    "$realms_chevron_binding_name|default": "#realms_chevron_visibility",
    "$realm_expiration_banner_visible|default": "#realm_expiration_banner_visible",
    "$realms_expiration_label|default": "#realms_expiration_label",
    "$ignore_search_offer_content": true,

    "factory": {
      "name": "store_section_factory",
      "control_ids": {
        "empty": "@common.empty_panel_size_y_0",
        "vertical_padding_4_section": "@common_store.vertical_padding_4",
        "vertical_padding_2_section": "@common_store.vertical_padding_2",
        "promo_row": "@store_layout.promo_row_panel",
        "hero_carousel": "@common_store.hero_carousel_panel",
        "hero_row": "@common_store.hero_row_panel",
        "hero_row_l2": "@common_store.hero_row_l2_panel",
        "single_page_row": "@common_store.single_page_row_panel",
        "store_row": "@common_store.store_row_panel",
        "store_offer_grid": "@common_store.store_offer_grid_panel",
        "footer_section": "@common_store.footer",
        "nav_button_section": "@store_layout.nav_button_grid_panel",
        "description_section": "@pdp.description_section",
        "summary_section": "@pdp.summary_factory_object",
        "search_bar_section": "@common_store.search_object",
        "screenshot_carousel_section": "@pdp.screenshot_carousel_factory_object",
        "skin_pack_section": "@pdp.skin_pack_section_factory_object",
        "panorama_section": "@pdp.panorama_view_factory_object",
        "ratings_section": "@pdp.ratings_factory_object",
        //"recently_viewed_section": "@pdp.recently_viewed_factory_object",
        //"related_items_section": "@pdp.related_items_factory_object",
        "bundle_summary_section": "@pdp.bundle_summary_factory_object",
        "bundle_upsell_section": "@pdp.bundles_upsell_factory_object",
        "gift_promo_banner": "@common_store.promo_banner_panel"
      },
      "factory_variables": [
        "$ignore_search_offer_content",
        "$ratings_visible_after_x_reviews",
        "$store_factory_clipping_event",
        "$store_factory_collection_details",
        "$store_factory_collection_prefix",
        "$store_factory_collection_name",
        "$store_factory_binding_type",
        "$is_realms_plus_screen",
        "$content_offer_panel_size",
        "$realms_chevron_binding_name",
        "$realm_expiration_banner_visible",
        "$realms_expiration_label",
        "$is_mashup"
      ]
    },
    "collection_name": "$store_factory_collection_name",
    "bindings": [
      {
        "binding_name": "#store_section_content",
        "binding_name_override": "#collection_length"
      }
    ]
  },

  "rtx_label": {
    "type": "panel",
    "size": [ "100%", "20%" ],
    "anchor_from": "bottom_left",
    "anchor_to": "bottom_left",
    "controls": [
      {
        "banner": {
          "type": "image",
          "$banner_size|default": [ 20, 14 ],
          "size": "$banner_size",
          "texture": "textures/ui/RTX_Label",
          "layer": 2,
          "controls": [
            {
              "icon": {
                "type": "image",
                "layer": 3,
                "size": [ "default", "default" ],
                "offset": [ -3, 0 ],
                "max_size": [ "70%", "70%" ],
                "texture": "textures/ui/RTX_Sparkle"
              }
            }
          ]
        }
      }
    ]

  },

  "store_offer_grid_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c + 4px" ],
    "controls": [
      {
        "header@common_store.style_header": {}
      },
      {
        "centering_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "store_offer_grid_content@store_item_list.store_offer_grid": {
                "size": [ "100% - 6px", "100%c" ],
                "$store_offer_grid_prefix": "offer",
                "$store_offer_grid_collection_name": "offer_collection",
                "anchor_from": "center",
                "anchor_to": "center"
              }
            }
          ]
        }
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "divider@common.section_divider": {
          "ignored": "(not $is_realms_plus_screen)"
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "$store_factory_binding_type",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "#offer_collection_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "hero_carousel_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c + 5px" ],
    "$store_factory_collection_name": "carousel_collection",
    "property_bag": {
      "timer_duration": 8
    },
    "bindings": [
      {
        "binding_type": "collection",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "#timer_duration"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "#is_hero_carousel_visible",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "top_panel": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100% - 50px", "100%cm - 10px" ],
          "controls": [
            {
              "left_button_panel": {
                "type": "panel",
                "size": [ 25, "100%sm" ],
                "controls": [
                  {
                    "left_button@common_buttons.light_content_button": {
                      "size": [ 15, 20 ],
                      "$pressed_button_name": "button.navigate_carousel_left",
                      "$button_content": "play.left_arrow_icon",
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "main_panel_factory@common_store.carousel_factory": {
                "$hero_row_size": [ "100%", "28.125%x + 24.5px" ],
                "$whole_panel_focus_override_right": "carousel_right_button"
              }
            },
            {
              "right_button_panel": {
                "type": "panel",
                "size": [ 25, "100%sm" ],
                "controls": [
                  {
                    "right_button@common_buttons.light_content_button": {
                      "size": [ 15, 20 ],
                      "$pressed_button_name": "button.navigate_carousel_right",
                      "$button_content": "play.right_arrow_icon",
                      "$focus_id": "carousel_right_button",
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "bottom_panel": {
          "type": "panel",
          "size": [ "100%", 20 ],
          "controls": [
            {
              "grey_bar_factory_panel": {
                "type": "stack_panel",
                "orientation": "horizontal",
                "size": [ "100%c", 5 ],
                "offset": [ 5, 0 ],
                "layer": 2,
                "factory": {
                  "name": "grey_bar_factory",
                  "control_ids": {
                    "hero_row": "@common_store.grey_bar_panel"
                  },
                  "factory_variables": [
                    "$store_factory_collection_name"
                  ]
                },
                "collection_name": "carousel_bar_collection",
                "bindings": [
                  {
                    "binding_name": "#grey_bar_section_content",
                    "binding_name_override": "#collection_length",
                    "binding_type": "collection",
                    "binding_collection_name": "$store_factory_collection_name"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "divider_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "divider@common.horizontal_divider": {
                "size": [ "100%- 10px", 1 ]
              }
            }
          ]
        }
      }
    ]
  },

  "carousel_factory": {
    "type": "stack_panel",
    "anchor_from": "top_middle",
    "anchor_to": "top_middle",
    "size": [ "100%", "100%c" ],

    "$store_factory_clipping_event": "factory_section_shown",
    "$store_factory_collection_details": "collection_details",
    "$store_factory_binding_type": "collection",
    "$store_factory_collection_prefix": "factory",
    "$store_factory_collection_name": "factory_collection",
    "$is_realms_plus_screen|default": false,
    "$content_offer_panel_size|default": [ "100% - 48px", "100%c" ],
    "$realms_chevron_binding_name|default": "#realms_chevron_visibility",
    "$realm_expiration_banner_visible|default": "#realm_expiration_banner_visible",
    "$realms_expiration_label|default": "#realms_expiration_label",

    "factory": {
      "name": "carousel_factory",
      "control_ids": {
        "hero_row": "@common_store.hero_row_panel"
      },
      "factory_variables": [
        "$whole_panel_focus_override_right",
        "$ratings_visible_after_x_reviews",
        "$store_factory_clipping_event",
        "$store_factory_collection_details",
        "$store_factory_collection_prefix",
        "$store_factory_collection_name",
        "$store_factory_binding_type",
        "$is_realms_plus_screen",
        "$content_offer_panel_size",
        "$realms_chevron_binding_name",
        "$realm_expiration_banner_visible",
        "$realms_expiration_label"
      ]
    },
    "collection_name": "$store_factory_collection_name",
    "bindings": [
      {
        "binding_name": "#carousel_section_content",
        "binding_name_override": "#collection_length",
        "binding_type": "collection",
        "binding_collection_name": "$store_factory_collection_name"
      }
    ]
  },

  "hero_row_l2_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c + 4px" ],
    "$ignore_creator": true,
    "$pressed_button_name": "button.select_offer",
    "controls": [
      {
        "header@common_store.style_header": {}
      },
      {
        "centering_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "l2_featured_stack": {
                "type": "stack_panel",
                "orientation": "horizontal",
                // Adjusted Y slightly after min/max came into RI to take up remaining pixel gap
                // Calculation based upon scaling four 16:9 images to maintain layout and aspect ratio
                // Formula as follows: ((100%x) * (100/177.78)/3) + 27px
                "size": [ "100% - 4px", "18.7498%x + 22px" ],
                "clip_state_change_event": "$store_factory_clipping_event",
                "$offer_size": [ "33.333% - 2px", "100%" ],
                "$offer_collection_details": "collection_details",
                "$offer_binding_type": "collection",
                "$offer_collection_prefix": "offer",
                "$offer_collection_name": "hero_row_l2_collection",
                "collection_name": "hero_row_l2_collection",

                "$content_offer_texture_type": "key_art",

                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  }
                ],
                "controls": [
                  {
                    "padding_0": {
                      "type": "panel",
                      "size": [ 1, "100%" ]
                    }
                  },
                  {
                    "featured_item_1@common_store.store_offer_grid_item": {
                      "size": "$offer_size",
                      "collection_index": 0
                    }
                  },
                  {
                    "padding_1": {
                      "type": "panel",
                      "size": [ 2, "100%" ]
                    }
                  },
                  {
                    "featured_item_2@common_store.store_offer_grid_item": {
                      "size": "$offer_size",
                      "collection_index": 1
                    }
                  },
                  {
                    "padding_2": {
                      "type": "panel",
                      "size": [ 2, "100%" ]
                    }
                  },
                  {
                    "featured_item_3@common_store.store_offer_grid_item": {
                      "size": "$offer_size",
                      "collection_index": 2
                    }
                  },
                  {
                    "padding_3": {
                      "type": "panel",
                      "size": [ 1, "100%" ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "divider@common.section_divider": {
          "ignored": "(not $is_realms_plus_screen)"
        }
      }
    ]
  },

  "hero_row_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c + 4px" ],

    "$store_factory_collection_details|default": "none",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": "",

    "$hero_offer_collection_details|default": "collection_details",
    "$hero_offer_binding_type|default": "collection",
    "$hero_offer_collection_prefix|default": "offer",
    "$hero_offer_collection_name|default": "hero_row_collection",

    "controls": [
      {
        "header@common_store.style_header": {}
      },
      {
        "centering_panel": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "featured_stack": {
                "type": "stack_panel",
                "orientation": "horizontal",
                "$hero_row_size|default": [ "100% - 8px", "28.125%x + 24.5px" ], // The y value is = ((100%)/177.78%)*50% for the 16:9 aspect ratio of the key art taking up half the screen width
                "size": "$hero_row_size",
                "collection_name": "$hero_offer_collection_name",
                "clip_state_change_event": "$store_factory_clipping_event",
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  }
                ],
                "controls": [
                  {
                    "hero_offer@common_buttons.single_image_with_border_button": {
                      "size": [ "50% + 42px", "100%" ],
                      "collection_index": 0,
                      "$button_content": "common_store.hero_offer",
                      "$pressed_button_name": "button.select_offer",
                      "$button_focus_precedence": 5,
                      "$button_content_size": [ "100%", "100%" ],
                      "$border_visible": false,
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$hero_offer_collection_details",
                          "binding_collection_name": "$hero_offer_collection_name",
                          "binding_collection_prefix": "$hero_offer_collection_prefix"
                        }
                      ]
                    }
                  },
                  {
                    "padding_0": {
                      "type": "panel",
                      "size": [ 4, "100%" ]
                    }
                  },
                  {
                    "hero_offer_grid@common_store.hero_offer_grid": {}
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "divider@common.section_divider": {
          "ignored": "(not $is_realms_plus_screen)"
        }
      }
    ]
  },

  "hero_offer": {
    "type": "panel",
    "controls": [
      {
        "featured_key_art@common_store.featured_key_art": {
          "size": [ "100%", "100%" ]
        }
      },
      {
        "rtx_label@common_store.rtx_label": {
          "anchor_from": "bottom_left",
          "anchor_to": "bottom_left",
          "size": [ 20, 15 ],
          "offset": [ 1, 0 ],
          "layer": 6,
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$hero_offer_binding_type",
              "binding_collection_name": "$hero_offer_collection_name",
              "binding_name": "#rtx_label_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "offer_description_area@common_store.store_description_background": {
          "anchor_from": "bottom_right",
          "anchor_to": "bottom_right",
          "$description_background_alpha": 0.9,
          "size": [ 120, "100%c" ],
          "layer": 8,
          "controls": [
            {
              "hero_offer_description_details@common_store.hero_offer_description_details": {}
            }
          ],
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            }
          ]
        }
      }
    ]
  },

  "hero_offer_details_title": {
    "type": "label",
    "size": [ "default", 10 ],
    "max_size": [ "100%", 10 ],
    "text": "#title_label",
    "color": "$body_text_color",
    "font_type": "smooth",
    "layer": 1,
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$hero_offer_binding_type",
        "binding_name": "#title_label",
        "binding_collection_name": "$hero_offer_collection_name"
      }
    ]
  },

  "hero_offer_description_details": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100% - 4px", 35.75 ],
    "offset": [ -2, 0 ],
    "anchor_from": "bottom_right",
    "anchor_to": "bottom_right",

    "$timer_field_count_to_show": 2,

    "$ignore_creator|default": false,
    "$offer_title_binding_type": "$hero_offer_binding_type",
    "$offer_title_collection_name": "$hero_offer_collection_name",
    "$is_purchase_button": false,
    "controls": [
      {
        "hero_offer_collection_padding_top@common_store.hero_offer_collection_padding": {
          "type": "panel",
          "size": [ "100%", "fill" ]
        }
      },
      {
        "hero_title_stack": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", 10 ],
          "controls": [
            {
              "hero_offer_collection_title_padding_left@common_store.hero_offer_collection_padding": {
                "size": [ "fill", "100%" ]
              }
            },
            {
              "title@common_store.hero_offer_details_title": {}
            },
            {
              "hero_offer_collection_title_padding_right@common_store.hero_offer_collection_padding": {
                "size": [ "fill", "100%" ]
              }
            }
          ]
        }
      },
      {
        "hero_offer_collection_padding_bottom@common_store.hero_offer_collection_padding": {
          "type": "panel",
          "size": [ "100%", "fill" ]
        }
      },
      {
        "progress@common_store.hero_offer_download_progress": {
          "size": [ "100%", 24 ],
          "layer": 6
        }
      },
      {
        "creator_label@common_store.store_offer_item_creator_panel": {}
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ "100%", 2 ],
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$hero_offer_binding_type",
              "binding_collection_name": "$hero_offer_collection_name",
              "binding_name": "#is_creator_label_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "ratings_and_coins": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", 13 ],
          "layer": 2,
          "controls": [
            {
              "sales_markdown_percentage_panel": {
                "type": "panel",
                "size": [ "100%c", 12 ],
                "anchor_from": "left_middle",
                "anchor_to": "left_middle",
                "$timer_visible": true,
                "controls": [
                  {
                    "realmsPlus_chevron@realmsPlus_content.realms_plus_content_chevron": {
                      "offset": [ -2, 1 ],
                      "$default_state": false,
                      "$hover_state": false,
                      "$pressed_state": false,
                      "layer": 10,
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$hero_offer_binding_type",
                          "binding_name": "$realms_chevron_binding_name",
                          "binding_collection_name": "$hero_offer_collection_name",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "markdown_background@common_store.markdown_background": {
                      "layer": 9, // Needs to be a higher layer than the strikethru text
                      "$markdown_label": "common_store.hero_offer_sale_markdown",
                      "offset": [ -2, 1 ],
                      "$icon_stack_visibility_collection": "$hero_offer_collection_name",
                      "$icon_stack_visibility_type": "$hero_offer_binding_type",
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$hero_offer_binding_type",
                          "binding_collection_name": "$hero_offer_collection_name",
                          "binding_name": "#offer_markdown_visible",
                          "binding_name_override": "#visible"
                        }
                      ],
                      "$timer_bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$hero_offer_binding_type",
                          "binding_collection_name": "$hero_offer_collection_name",
                          "binding_name": "$time_text_binding_name",
                          "binding_condition": "always_when_visible"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "ratings_panel": {
                "type": "panel",
                "size": [ "100%c", "100%" ],
                "controls": [
                  {
                    "ratings@common_store.ratings_description": {
                      "offset": [ 0, -0.5 ],

                      "$rating_text_factory_collection_details": "$store_factory_collection_details",
                      "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix",
                      "$rating_text_factory_collection_name": "$store_factory_collection_name",

                      "$rating_text_binding_type": "$hero_offer_binding_type",
                      "$rating_text_collection_name": "$hero_offer_collection_name"
                    }
                  }
                ],
                "property_bag": {
                  "#visible_after_x_ratings": "$ratings_visible_after_x_reviews"
                },
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "#ratings_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "pack_icon_panel": {
                "type": "panel",
                "size": [ "100%c", "100%" ],
                "controls": [
                  {
                    "pack_icon_stack@common_store.pack_icon_stack": {
                      "$icon_stack_visibility": "#hero_featured_pack_icon_section_visible",
                      "$icon_stack_visibility_type": "$hero_offer_binding_type",
                      "$icon_stack_visibility_collection": "$hero_offer_collection_name",
                      "$is_purchase_button": false,
                      "offset": [ 0, 2 ]
                    }
                  }
                ]
              }
            },
            {
              "fill_padding": {
                "type": "panel",
                "size": [ "fill", "100%" ]
              }
            },
            {
              "offer_price_markdown_panel@common_store.offer_price_markdown_panel": {
                "$offer_binding_type": "$hero_offer_binding_type",
                "$offer_collection_name": "$hero_offer_collection_name"
              }
            },
            {
              "price_panel": {
                "type": "panel",
                "size": [ "100%c", "100%" ],
                "controls": [
                  {
                    "price@common_store.price_panel": {
                      "offset": [ 0, -1 ],
                      "anchor_from": "bottom_right",
                      "anchor_to": "bottom_right"
                    }
                  }
                ],
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$hero_offer_binding_type",
                    "binding_collection_name": "$hero_offer_collection_name",
                    "binding_name": "(not #is_offer_collection_query)",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "padding_1": {
          "type": "panel",
          "size": [ "100%", 0.75 ],
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$hero_offer_binding_type",
              "binding_collection_name": "$hero_offer_collection_name",
              "binding_name": "(not #is_offer_collection_query)",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "hero_offer_download_progress": {
    "type": "panel",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$hero_offer_binding_type",
        "binding_collection_name": "$hero_offer_collection_name",
        "binding_name": "#progress_visible",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "label": {
          "type": "label",
          "color": "$body_text_color",
          "layer": 7,
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "size": [ "100%", "100%" ],
          "offset": [ 3, 2 ],
          "text": "#offer_download_progress_label",
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$hero_offer_binding_type",
              "binding_collection_name": "$hero_offer_collection_name",
              "binding_name": "#offer_download_progress_label"
            }
          ]
        }
      },
      {
        "bar@common_store.store_progress_bar_icon": {
          "size": [ "100% - 4px", 5 ],
          "offset": [ 2, -2 ],
          "anchor_from": "bottom_left",
          "anchor_to": "bottom_left",
          "$progress_bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$hero_offer_binding_type",
              "binding_collection_name": "$hero_offer_collection_name",
              "binding_name": "#hero_progress_percentage",
              "binding_name_override": "#clip_ratio"
            }
          ]
        }
      }
    ]
  },

  "rating_text_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100%c", "100%" ],
    "offset": [ 0, 1 ],
    "$rating_panel_anchor|default": "center",
    "anchor_from": "$rating_panel_anchor",
    "anchor_to": "$rating_panel_anchor",

    "$control_id|default": "",

    // factory binding vars
    "$rating_text_factory_collection_details|default": "none",
    "$rating_text_factory_collection_prefix|default": "",
    "$rating_text_factory_collection_name|default": "",

    // rating binding vars
    "$rating_text_visible_binding|default": "#rating_text_visible",
    "$rating_text_binding_type|default": "global",
    "$rating_text_collection_name|default": "",

    "$rating_text_ignore_left_padding|default": false,
    "$rating_text_padding_size|default": [ 1, "100%" ],
    "$rating_label_text_binding|default": "#rating_text",
    "$rating_star_offset|default": [ 0, -1 ],
    "controls": [
      {
        "left_padding": {
          "ignored": "$rating_text_ignore_left_padding",
          "type": "panel",
          "size": "$rating_text_padding_size"
        }
      },
      {
        "star_panel": {
          "type": "panel",
          "size": [ "100%c", "100%" ],
          "controls": [
            {
              "rating_star": {
                "type": "image",
                "offset": "$rating_star_offset",
                "layer": 1,
                "color": "$store_rating_text_panel_color",
                "texture": "textures/ui/ratings_fullstar",
                "size": [ 8, 8 ],
                "bilinear": true
              }
            }
          ]
        }
      },
      {
        "middle_padding": {
          "type": "panel",
          "size": [ 2, "100%" ]
        }
      },
      {
        "rating_label": {
          "type": "label",
          "size": [ "default", "100%" ],
          "layer": 1,
          "font_type": "smooth",
          "color": "$store_rating_text_panel_color",
          "text": "$rating_label_text_binding",
          "bindings": [
            {
              "binding_type": "$rating_text_factory_collection_details",
              "binding_collection_name": "$rating_text_factory_collection_name",
              "binding_collection_prefix": "$rating_text_factory_collection_prefix"
            },
            {
              "binding_type": "$rating_text_binding_type",
              "binding_collection_name": "$rating_text_collection_name",
              "binding_name": "$rating_label_text_binding"
            }
          ]
        }
      }
    ],
    "property_bag": {
      "#visible_after_x_ratings": "$ratings_visible_after_x_reviews",
      "control_id": "$control_id"
    },
    "bindings": [
      {
        "binding_type": "$rating_text_factory_collection_details",
        "binding_collection_name": "$rating_text_factory_collection_name",
        "binding_collection_prefix": "$rating_text_factory_collection_prefix"
      },
      {
        "binding_type": "$rating_text_binding_type",
        "binding_collection_name": "$rating_text_collection_name",
        "binding_name": "$rating_text_visible_binding",
        "binding_name_override": "#visible"
      }
    ]
  },

  "ratings_description": {
    "type": "panel",
    "size": [ "fill", "100%" ],
    "controls": [
      {
        "rating_text_panel@common_store.rating_text_panel": {
          "$offer_collection_name": "",
          "$offer_category_collection_name": "",
          "$rating_panel_anchor": "left_middle",
          "$rating_text_ignore_left_padding": true
        }
      }
    ]
  },

  "hero_offer_grid": {
    "type": "stack_panel",
    "size": [ "fill", "100%" ],
    "orientation": "vertical",
    "$is_hero_offer": true,
    "$ignore_creator": true,
    "$offer_background_asset": "common_store.store_description_background",
    "$frame_size": [ "100%", "100%" ],
    "$pressed_button_name": "button.select_offer",

    "$timer_field_count_to_show": 1,

    "$offer_collection_details": "collection_details",
    "$offer_binding_type": "$hero_offer_binding_type",
    "$offer_collection_prefix": "$hero_offer_collection_prefix",
    "$offer_collection_name": "$hero_offer_collection_name",
    "$whole_panel_focus_override_right|default": "FOCUS_OVERRIDE_STOP",

    "$timer_bindings|default": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "$time_text_binding_name",
        "binding_condition": "always_when_visible"
      },
      {
        "binding_type": "collection_details",
        "binding_collection_name": "$offer_collection_name"
      }
    ],
    "controls": [
      {
        "row_1": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "50% - 2px" ],
          "collection_name": "$offer_collection_name",
          "controls": [
            {
              "offer_1@common_store.store_offer_grid_item": {
                "size": [ "50% - 2px", "100%" ],
                "collection_index": 1
              }
            },
            {
              "padding_0": {
                "type": "panel",
                "size": [ 4, "100%" ]
              }
            },
            {
              "offer_2@common_store.store_offer_grid_item": {
                "size": [ "50% - 2px", "100%" ],
                "collection_index": 2,
                "$focus_override_right": "$whole_panel_focus_override_right"
              }
            }
          ]
        }
      },
      {
        "padding_0": {
          "type": "panel",
          "size": [ "100%", 4 ]
        }
      },
      {
        "row_2": {
          "type": "stack_panel",
          "orientation": "horizontal",
          "size": [ "100%", "50% - 2px" ],
          "collection_name": "$offer_collection_name",
          "controls": [
            {
              "offer_1@common_store.store_offer_grid_item": {
                "size": [ "50% - 2px", "100%" ],
                "collection_index": 3
              }
            },
            {
              "padding_0": {
                "type": "panel",
                "size": [ 4, "100%" ]
              }
            },
            {
              "offer_2@common_store.store_offer_grid_item": {
                "size": [ "50% - 2px", "100%" ],
                "collection_index": 4,
                "$focus_override_right": "$whole_panel_focus_override_right"
              }
            }
          ]
        }
      }
    ]
  },

  "offer_download_progress": {
    "type": "panel",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#progress_visible",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "label": {
          "type": "label",
          "font_type": "smooth",
          "color": "$body_text_color",
          "layer": 7,
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "size": [ "100%", "100%" ],
          "offset": [ 3, 2 ],
          "text": "#offer_download_progress_label",
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_name": "#offer_download_progress_label",
              "binding_type": "$offer_binding_type",
              "binding_collection_name": "$offer_collection_name"
            }
          ]
        }
      },
      {
        "bar@common_store.store_progress_bar_icon": {
          "size": [ "100% - 4px", 5 ],
          "offset": [ 2, -2 ],
          "anchor_from": "bottom_left",
          "anchor_to": "bottom_left",
          "$progress_bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$offer_binding_type",
              "binding_collection_name": "$offer_collection_name",
              "binding_name": "#progress_percentage",
              "binding_name_override": "#clip_ratio"
            }
          ]
        }
      }
    ]
  },

  //--------------------------------------------------------------------------------
  // Promotion (Holiday 2020)
  //--------------------------------------------------------------------------------

  "promo_banner_button_content": {
    "type": "panel",
    "size": [ "100%c", "100%" ],
    "controls": [
      {
        "promo_banner_button@common.minecraftTenLabel": {
          "size": [ "default", "default" ],
          "offset": [ 0, -1 ],
          "text": "#banner_button_text",
          "color": "$text_color",
          "font_scale_factor": 0.8,
          "bindings": [
            {
              "binding_name": "#banner_button_text"
            },
            {
              "binding_name": "#promo_page_is_ready",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "progress_loading_bars@common_store.progress_loading_bars": {
          "color": "$light_button_default_text_color",
          "size": [ "100%sm - 4px", "8%x" ],
          "bindings": [
            {
              "binding_name": "(not #promo_page_is_ready)",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "promo_banner_image": {
    "type": "image",
    "size": [ "100%", "17%x" ],
    "texture": "textures/ui/background_with_border",
    "layer": 1
  },

  "promo_banner_title@common.minecraftTenLabel": {
    "size": [ "default", "default" ],
    "color": "$body_text_color",
    "text": "#banner_title_text",
    "font_scale_factor": 1.2,
    "bindings": [
      {
        "binding_name": "#banner_title_text"
      }
    ]
  },

  "promo_banner_panel": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "promo_banner_panel_content": {
          "type": "panel",
          "size": [ "100% - 8px", "100%cm + 8px" ],
          "controls": [
            {
              "banner_full_button@common.button": {
                "size": [ "100%", "100%sm" ],
                "layer": 3,
                "$focus_id": "banner_full_button",
                "$focus_override_down": "banner_button",
                "$pressed_button_name": "button.promotion_page",
                "bindings": [
                  {
                    "binding_name": "#promo_page_is_ready",
                    "binding_name_override": "#enabled"
                  }
                ],
                "controls": [
                  { "default@common.empty_panel": {} },
                  { "hover@common.empty_panel": {} },
                  { "pressed@common.empty_panel": {} }
                ]
              }
            },
            {
              "banner_image@common_store.promo_banner_image": {}
            },
            {
              "banner_text_panel": {
                "type": "stack_panel",
                "orientation": "vertical",
                "size": [ "40%", "fill" ],
                "offset": [ 5, 5 ],
                "anchor_from": "top_left",
                "anchor_to": "top_left",
                "layer": 2,
                "controls": [
                  {
                    "banner_title@common_store.promo_banner_title": {}
                  },
                  {
                    "banner_description": {
                      "type": "label",
                      "size": [ "100%", "default" ],
                      "font_type": "smooth",
                      "font_scale_factor": 0.8,
                      "color": "$body_text_color",
                      "text": "#banner_description_text",
                      "bindings": [
                        {
                          "binding_name": "#banner_description_text"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "banner_button@common_buttons.light_content_button": {
                "size": [ "100%c", 16 ],
                "min_size": [ "40%", 16 ],
                "max_size": [ "100%", 16 ],
                "offset": [ 5, -8 ],
                "anchor_from": "bottom_left",
                "anchor_to": "bottom_left",
                "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel",
                "$button_type_panel": "common_buttons.width_fitting_button_content_panel",
                "$button_content": "common_store.promo_banner_button_content",
                "$button_size_override": [ "100%c + 8px", "100%" ],
                "$anchor": "bottom_left",
                "layer": 4,
                "$focus_id": "banner_button",
                "$focus_override_up": "banner_full_button",
                "$pressed_button_name": "button.promotion_page",
                "bindings": [
                  {
                    "binding_name": "#promo_page_is_ready",
                    "binding_name_override": "#enabled"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  //--------------------------------------------------------------------------------
  // Content offer carousel
  //--------------------------------------------------------------------------------

  "content_offer_key_art": {
    "type": "image",
    "size": [ "100% - 2px", "100% - 2px" ],
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "collection_details",
        "binding_collection_name": "category_collection",
        "binding_collection_prefix": "category"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "('#' + $content_offer_texture_type + '_texture_path')",
        "binding_name_override": "#texture"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "('#' + $content_offer_texture_type + '_texture_file_system')",
        "binding_name_override": "#texture_file_system"
      },
      {
        "binding_name": "#item_does_not_meet_requirements",
        "binding_name_override": "#grayscale",
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name"
      }
    ]
  },

  "realms_plus_padding": {
    "type": "panel",
    "size": [ 2, "100%" ],
    "ignored": "(not $is_realms_plus_screen)"
  },

  "content_offer_panel": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": "$content_offer_panel_size",
    "collection_name": "$offer_collection_name",
    "controls": [
      {
        "offer_item_1@common_store.store_offer_grid_item": {
          "collection_index": 0,
          "$focus_override_left": "FOCUS_OVERRIDE_STOP"
        }
      },
      {
        "padding_0@common_store.realms_plus_padding": {}
      },
      {
        "offer_item_2@common_store.store_offer_grid_item": {
          "collection_index": 1
        }
      },
      {
        "padding_1@common_store.realms_plus_padding": {}
      },
      {
        "offer_item_3@common_store.store_offer_grid_item": {
          "collection_index": 2
        }
      },
      {
        "padding_2@common_store.realms_plus_padding": {}
      },
      {
        "offer_item_4_panel": {
          "type": "panel",
          "size": [ "25%", "100%" ],
          "collection_index": 3,
          "$focus_override_right": "FOCUS_OVERRIDE_STOP",
          "controls": [
            {
              "show_more@common_store.store_offer_grid_show_more": {
                "size": [ "100%", "100%" ]
              }
            },
            {
              "offer_item_4@common_store.store_offer_grid_item": {
                "size": [ "100%", "100%" ]
              }
            }
          ]
        }
      }
    ]
  },

  //--------------------------------------------------------------------------------
  // Store offer carousel
  //--------------------------------------------------------------------------------

  "store_offer_key_art": {
    "type": "image",
    "bilinear": true,
    "size": [ "100% - 2px", "100% - 15px" ],
    "$content_offer_texture_type|default": "thumbnail",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "('#' + $content_offer_texture_type + '_texture_path')",
        "binding_name_override": "#texture"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "('#' + $content_offer_texture_type + '_texture_file_system')",
        "binding_name_override": "#texture_file_system"
      },
      {
        "binding_name": "#item_does_not_meet_requirements",
        "binding_name_override": "#grayscale",
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name"
      }
    ]
  },

  "store_offer_grid_show_more": {
    "type": "panel",
    "size": [ "25%", "100%" ],

    // offer binding vars
    "$offer_binding_type|default": "global",
    "$offer_collection_name|default": "",

    // offer factory binding vars (for offers that are created within a factory)
    "$store_factory_collection_details|default": "none",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": "",


    "controls": [
      {
        "frame@common_store.banner_fill": {
          "size": [ "100% - 2px", "100%" ],
          "layer": 3,
          "controls": [
            {
              "title": {
                "type": "label",
                "size": [ "100%", 10 ],
                "text": "#show_more_text",
                "color": "$body_text_color",
                "font_type": "smooth",
                "text_alignment": "center",
                "layer": 1,
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$offer_binding_type",
                    "binding_name": "#show_more_text",
                    "binding_collection_name": "$offer_collection_name"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "offer_button@common.button": {
          "layer": 4,
          "default_control": "",
          "$pressed_button_name": "button.show_more_offers",
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            }
          ],
          "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": "pressed"
            },
            {
              "from_button_id": "button.menu_tab_right",
              "to_button_id": "button.cycle_offer_right",
              "mapping_type": "focused"
            },
            {
              "from_button_id": "button.menu_tab_left",
              "to_button_id": "button.cycle_offer_left",
              "mapping_type": "focused"
            }
          ],
          "controls": [
            {
              "hover@common.focus_border_white": {
                "controls": [
                  {
                    "key_art_size_panel": {
                      "type": "panel",
                      "size": [ "100% - 2px", "56.25%x" ],
                      "offset": [ 0, 1 ],
                      "anchor_from": "top_middle",
                      "anchor_to": "top_middle",
                      "layer": 1
                    }
                  }
                ]
              }
            },
            {
              "pressed@common.focus_border_white": {
                "controls": [
                  {
                    "key_art_size_panel": {
                      "type": "panel",
                      "size": [ "100% - 2px", "56.25%x" ],
                      "offset": [ 0, 1 ],
                      "anchor_from": "top_middle",
                      "anchor_to": "top_middle",
                      "layer": 1
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#show_more_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "row_offer_sale_markdown": {
    "type": "label",
    "color": "$store_sales_banner_text_color",
    "size": [ "default", 10 ],
    "offset": [ 1, 0 ],
    "font_type": "smooth",
    "text": "#offer_markdown_percentage",
    "font_scale_factor": 1,
    "layer": 4,
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_name": "#offer_markdown_percentage",
        "binding_collection_name": "$offer_collection_name"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_name": "#offer_markdown_visible",
        "binding_collection_name": "$offer_collection_name",
        "binding_name_override": "#visible"
      }
    ]
  },

  "hero_offer_sale_markdown": {
    "type": "label",
    "color": "$store_sales_banner_text_color",
    "size": [ "default", 10 ],
    "offset": [ 1, -0.5 ],
    "text": "#offer_markdown_percentage",
    "font_type": "smooth",
    "layer": 4,
    "anchor_from": "right_middle",
    "anchor_to": "right_middle",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$hero_offer_binding_type",
        "binding_collection_name": "$hero_offer_collection_name",
        "binding_name": "#offer_markdown_percentage"
      },
      {
        "binding_type": "$hero_offer_binding_type",
        "binding_collection_name": "$hero_offer_collection_name",
        "binding_name": "#offer_markdown_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "offer_price_markdown_panel": {
    "type": "panel",
    "size": [ "100%c + 6px", "100%" ],
    "$offer_price_offset|default": [ 0, 2 ],
    "$offer_price_strikethru_offset|default": [ 0, -1 ],
    "$price_string|default": "",
    "$offer_strikethrough_price_visible_binding|default": "#offer_strikethrough_price_visible",
    "controls": [
      {
        "offer_price": {
          "type": "label",
          "color": "$dark_button_secondary_default_text_color",
          "size": [ "default", "100%" ],
          "offset": "$offer_price_offset",
          "text": "#offer_full_price",
          "font_type": "smooth",
          "layer": 4, // place behind sale banner when possible
          "bindings": [
            {
              "binding_type": "$store_factory_collection_details",
              "binding_collection_name": "$store_factory_collection_name",
              "binding_collection_prefix": "$store_factory_collection_prefix"
            },
            {
              "binding_type": "$offer_binding_type",
              "binding_name": "#offer_full_price",
              "binding_collection_name": "$offer_collection_name"
            },
            {
              "binding_type": "$offer_binding_type",
              "binding_name": "$offer_strikethrough_price_visible_binding",
              "binding_collection_name": "$offer_collection_name",
              "binding_name_override": "#visible"
            }
          ],
          "controls": [
            {
              "text_strike_through@common_store.text_strike_through": {
                "size": [ "100% + 2px", 0.5 ],
                "offset": "$offer_price_strikethru_offset",
                "bindings": [
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$offer_binding_type",
                    "binding_name": "#offer_markdown_visible",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "store_offer_title": {
    "type": "label",
    "$offer_title_size|default": [ "100%", 10 ],
    "size": "$offer_title_size",
    "text": "#title_label",
    "text_alignment": "left",
    "color": "$body_text_color",
    "font_type": "smooth",
    "$is_hero_offer|default": false,
    "layer": 1,
    "$store_offer_title_visible_binding|default": "(not #is_offer_collection_query)",
    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "$store_offer_title_visible_binding",
        "binding_name_override": "#visible"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#title_label"
      }
    ]
  },

  "store_offer_key_art_frame@common_store.store_description_background": {
    "type": "panel",
    "size": [ "100%", "56.25%x + 2px" ],
    "layer": 3,
    "controls": [
      {
        "key_art@common_store.store_offer_key_art": {
          "size": [ "100% - 2px", "100% - 2px" ],
          "offset": [ 0, 1 ],
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "layer": 1,
          "controls": [
            {
              "key_art_frame@common.square_image_border_white": {
                "size": [ "100% + 2px", "100%" ],
                "color": [ 0, 0, 0 ],
                "layer": 3
              }
            },
            {
              "realms_plus_expiration_banner@common_store.realms_plus_expiration": {}
            }
          ]
        }
      },
      {
        "progress_loading@common_store.progress_loading": {
          "size": [ "100%", "100%" ],
          "$source_control_name": "key_art",
          "$source_property_name": "(#texture = '')",
          "offset": [ 0, 1 ],
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "layer": 4,
          "$hide_failure_text": true
        }
      }
    ]
  },

  "store_offer_grid_item": {
    "type": "panel",
    "size": [ "25%", "100%" ],

    "$ignore_creator|default": false,
    "$is_hero_offer|default": false,
    "$ignore_durable_status_content|default": false,
    "$timer_visible|default": false,
    "$offer_background_asset|default": "common_store.store_description_background",
    "$frame_size|default": [ "100% - 2px", "100%" ],
    "$is_purchase_button": false,

    // offer binding vars
    "$offer_collection_details|default": "none",
    "$offer_binding_type|default": "global",
    "$offer_collection_name|default": "",
    "$offer_collection_prefix|default": "",

    // offer factory binding vars (for offers that are created within a factory)
    "$store_factory_collection_details|default": "none",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": "",

    "$store_offer_grid_item_bindings|default": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$offer_binding_type",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#valid_offer_index",
        "binding_name_override": "#visible"
      }
    ],

    "variables": [
      {
        "requires": "$is_hero_offer",
        "$description_size": [ "100%", 20 ],
        "$store_offer_grid_item_bindings": []
      },
      {
        "requires": "(not $is_hero_offer)",
        "$description_size": [ "100%", 30 ]
      }
    ],

    "bindings": "$store_offer_grid_item_bindings",

    "controls": [
      {
        "frame@$offer_background_asset": {
          "size": "$frame_size",
          "layer": 3,
          "controls": [
            {
              "key_art@common_store.store_offer_key_art": {
                "size": [ "100% - 2px", "56.25%x" ],
                "offset": [ 0, 1 ],
                "anchor_from": "top_middle",
                "anchor_to": "top_middle",
                "layer": 1,
                "controls": [
                  {
                    "key_art_frame@common.square_image_border_white": {
                      "size": [ "100% + 2px", "100% + 2px" ],
                      "color": [ 0, 0, 0 ],
                      "layer": 3
                    }
                  },
                  {
                    "realms_plus_expiration_banner@common_store.realms_plus_expiration": {}
                  }
                ]
              }
            },
            {
              "progress_loading@common_store.progress_loading": {
                "size": [ "100%", "56.25%x" ],
                "$source_control_name": "key_art",
                "$source_property_name": "(#texture = '')",
                "offset": [ 0, 1 ],
                "anchor_from": "top_middle",
                "anchor_to": "top_middle",
                "layer": 4,
                "$hide_failure_text": true
              }
            },
            {
              "progress@common_store.offer_download_progress": {
                "size": "$description_size",
                "anchor_from": "bottom_middle",
                "anchor_to": "bottom_middle",
                "layer": 6
              }
            },
            {
              "durable_offer_info_panel": {
                "type": "stack_panel",
                "orientation": "vertical",
                "size": [ "100%", "100%c" ],
                "anchor_from": "bottom_left",
                "anchor_to": "bottom_left",
                "controls": [
                  {
                    "title_label_padding_stack": {
                      "type": "panel",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "title_label_vert_stack_panel": {
                            "type": "stack_panel",
                            "orientation": "vertical",
                            "size": [ "100% - 6px", "100%c" ],
                            "$offer_title_binding_type": "$offer_binding_type",
                            "$offer_title_collection_name": "$offer_collection_name",
                            "$title_padding_size|default": [ "100%", 14 ],
                            "controls": [
                              {
                                "title@common_store.store_offer_item_title_panel": {}
                              },
                              {
                                "offer_collection_bottom_title_padding": {
                                  "type": "panel",
                                  "variables": [
                                    {
                                      "requires": "$is_hero_offer",
                                      "$title_padding_size": [ "100%", 7 ]
                                    }
                                  ],
                                  "size": "$title_padding_size",
                                  "bindings": [
                                    {
                                      "binding_type": "$store_factory_collection_details",
                                      "binding_collection_name": "$store_factory_collection_name",
                                      "binding_collection_prefix": "$store_factory_collection_prefix"
                                    },
                                    {
                                      "binding_type": "$offer_binding_type",
                                      "binding_collection_name": "$offer_collection_name",
                                      "binding_name": "#is_offer_collection_query_and_not_sale_collection",
                                      "binding_name_override": "#visible"
                                    }
                                  ]
                                }
                              },
                              {
                                "creator_label@common_store.store_offer_item_creator_panel": {}
                              },
                              {
                                "offer_price_info_panel": {
                                  "type": "stack_panel",
                                  "orientation": "horizontal",
                                  "size": [ "100%", 12 ],
                                  "ignored": "(not $ignore_durable_status_content)",
                                  "controls": [
                                    {
                                      "realms_plus_panel": {
                                        "type": "panel",
                                        "size": [ "100%c", "100%c" ],
                                        "controls": [
                                          {
                                            "realmsPlus_chevron@realmsPlus_content.realms_plus_content_chevron": {
                                              "layer": 10,
                                              "offset": [ -3, 4 ], // polish hack - aligns the banner to be flush with the bottom of the background panel
                                              "bindings": [
                                                {
                                                  "binding_type": "$store_factory_collection_details",
                                                  "binding_collection_name": "$store_factory_collection_name",
                                                  "binding_collection_prefix": "$store_factory_collection_prefix"
                                                },
                                                {
                                                  "binding_type": "$offer_binding_type",
                                                  "binding_name": "$realms_chevron_binding_name",
                                                  "binding_collection_name": "$offer_collection_name",
                                                  "binding_name_override": "#visible"
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    // ToDo: make the chevron and sales banner work together when dynamic scaling is completed
                                    {
                                      "sales_banner": {
                                        "type": "stack_panel",
                                        "orientation": "horizontal",
                                        "size": [ "100%", 12 ],
                                        "controls": [

                                          {
                                            "sales_markdown_percentage_panel": {
                                              "type": "panel",
                                              "size": [ "100%c", 12 ],
                                              "ignored": "$is_realms_plus_screen",
                                              "controls": [
                                                {
                                                  "markdown_background@common_store.markdown_background": {
                                                    "size": [ "100%c", 12 ],
                                                    "offset": [ -3, 2.5 ], // polish hack - aligns the banner to be flush with the bottom of the background panel
                                                    "layer": 9, // Needs to be a higher layer than the strikethru text
                                                    "$markdown_label": "common_store.row_offer_sale_markdown",
                                                    "$timer_visible": false,
                                                    "$icon_stack_visibility_collection": "$offer_collection_name",
                                                    "$icon_stack_visibility_type": "$offer_binding_type"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "fill_panel_with_markdown": {
                                              "type": "stack_panel",
                                              "orientation": "horizontal",
                                              "size": [ "fill", "100%" ],
                                              "ignored": "$is_realms_plus_screen",
                                              "controls": [
                                                {
                                                  "fill_markdown_panel_left": {
                                                    "type": "panel",
                                                    "size": [ "fill", "100%" ]
                                                  }
                                                },
                                                {
                                                  "markdown_panel@common_store.offer_price_markdown_panel": {
                                                    "$offer_price_offset": [ 0, 3 ]
                                                  }
                                                },
                                                {
                                                  "padding_markdown_panel_right": {
                                                    "type": "panel",
                                                    "size": [ 2, "100%" ]
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "offer_prompt_panel": {
                                              "type": "panel",
                                              "size": [ "100%c", 12 ],
                                              "controls": [
                                                {
                                                  "offer_status_text": {
                                                    "type": "label",
                                                    "color": "$coin_color",
                                                    "size": [ "default", 10 ],
                                                    "offset": [ 0, 0.5 ],
                                                    "text": "#offer_prompt_text",
                                                    "font_type": "smooth",
                                                    "layer": 4,
                                                    "bindings": [
                                                      {
                                                        "binding_type": "$store_factory_collection_details",
                                                        "binding_collection_name": "$store_factory_collection_name",
                                                        "binding_collection_prefix": "$store_factory_collection_prefix"
                                                      },
                                                      {
                                                        "binding_type": "$offer_binding_type",
                                                        "binding_name": "#offer_prompt_text",
                                                        "binding_collection_name": "$offer_collection_name"
                                                      },
                                                      {
                                                        "binding_type": "$offer_binding_type",
                                                        "binding_name": "#offer_prompt_text_visibility",
                                                        "binding_collection_name": "$offer_collection_name",
                                                        "binding_name_override": "#visible"
                                                      }
                                                    ]
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "padding_3": {
                                              "type": "panel",
                                              "size": [ 1, "100%" ]
                                            }
                                          },
                                          {
                                            "coin_panel": {
                                              "type": "panel",
                                              "size": [ "100%c", "100%c" ],
                                              "controls": [
                                                {
                                                  "offer_coin_icon@common_store.coin_icon": {
                                                    "layer": 5,
                                                    "offset": [ 1, 3 ],
                                                    "bindings": [
                                                      {
                                                        "binding_type": "$store_factory_collection_details",
                                                        "binding_collection_name": "$store_factory_collection_name",
                                                        "binding_collection_prefix": "$store_factory_collection_prefix"
                                                      },
                                                      {
                                                        "binding_type": "$offer_binding_type",
                                                        "binding_collection_name": "$offer_collection_name",
                                                        "binding_name": "#offer_coin_visible",
                                                        "binding_name_override": "#visible"
                                                      }
                                                    ]
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ],
                                        "bindings": [
                                          {
                                            "binding_type": "$store_factory_collection_details",
                                            "binding_collection_name": "$store_factory_collection_name",
                                            "binding_collection_prefix": "$store_factory_collection_prefix"
                                          },
                                          {
                                            "binding_type": "$offer_binding_type",
                                            "binding_name": "#offer_markdown_visible",
                                            "binding_collection_name": "$offer_collection_name",
                                            "binding_name_override": "#visible"
                                          }
                                        ]
                                      }
                                    }
                                  ],
                                  "bindings": [
                                    {
                                      "binding_type": "$store_factory_collection_details",
                                      "binding_collection_name": "$store_factory_collection_name",
                                      "binding_collection_prefix": "$store_factory_collection_prefix"
                                    },
                                    {
                                      "binding_type": "$offer_binding_type",
                                      "binding_name": "(not #progress_visible)",
                                      "binding_collection_name": "$offer_collection_name",
                                      "binding_name_override": "#visible"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "no_durable_status_padding": {
                            "ignored": "(not $ignore_durable_status_content)",
                            "type": "panel",
                            "size": [ "100%", 4 ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "offer_status_panel": {
                      "ignored": "$ignore_durable_status_content",
                      "type": "stack_panel",
                      "orientation": "horizontal",
                      "size": [ "100%", 13 ],
                      "anchor_from": "bottom_left",
                      "anchor_to": "bottom_left",
                      "use_priority": true,
                      "bindings": [
                        {
                          "binding_type": "$store_factory_collection_details",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_collection_prefix": "$store_factory_collection_prefix"
                        },
                        {
                          "binding_type": "$offer_binding_type",
                          "binding_collection_name": "$offer_collection_name",
                          "binding_name": "#offer_status_panel_visible",
                          "binding_name_override": "#visible"
                        }
                      ],
                      "controls": [
                        {
                          "rtx_label@common_store.rtx_label": {
                            "size": [ 20, 14 ],
                            "bindings": [
                              {
                                "binding_type": "$store_factory_collection_details",
                                "binding_collection_name": "$store_factory_collection_name",
                                "binding_collection_prefix": "$store_factory_collection_prefix"
                              },
                              {
                                "binding_type": "$offer_binding_type",
                                "binding_collection_name": "$offer_collection_name",
                                "binding_name": "#rtx_label_visible",
                                "binding_name_override": "#visible"
                              }
                            ]
                          }
                        },
                        {
                          "realms_plus_panel": {
                            "type": "panel",
                            "size": [ 16, 12 ],
                            "priority": 0,
                            "controls": [
                              {
                                "realmsPlus_chevron@realmsPlus_content.realms_plus_content_chevron": {
                                  "layer": 10,
                                  "offset": [ 0, 1.25 ] // polish hack - aligns the banner to be flush with the bottom of the background panel
                                }
                              },
                              {
                                // Add yellow banner behind the Chevron, visible when we are in a sale (markdown)
                                "sales_banner_background@common_store.markdown_banner": {
                                  "size": [ "100%", "100%" ],
                                  "offset": [ 0, 1.25 ],
                                  "layer": 9,
                                  "bindings": [
                                    {
                                      "binding_type": "$store_factory_collection_details",
                                      "binding_collection_name": "$store_factory_collection_name",
                                      "binding_collection_prefix": "$store_factory_collection_prefix"
                                    },
                                    {
                                      // TODO: This likely needs to be changed to link directly to the sales_banner visibility below.
                                      "binding_type": "$offer_binding_type",
                                      "binding_name": "#offer_markdown_visible",
                                      "binding_collection_name": "$offer_collection_name",
                                      "binding_name_override": "#visible"
                                    }
                                  ]
                                }
                              }
                            ],
                            "bindings": [
                              {
                                "binding_type": "$store_factory_collection_details",
                                "binding_collection_name": "$store_factory_collection_name",
                                "binding_collection_prefix": "$store_factory_collection_prefix"
                              },
                              {
                                "binding_type": "$offer_binding_type",
                                "binding_name": "#realms_chevron_visibility",
                                "binding_collection_name": "$offer_collection_name",
                                "binding_name_override": "#visible"
                              }
                            ]
                          }
                        },
                        {
                          "sales_banner": {
                            "type": "stack_panel",
                            "orientation": "horizontal",
                            "size": [ "100%c", "100%" ],
                            "priority": 2,
                            "controls": [
                              {
                                "sales_markdown_percentage_panel": {
                                  "type": "panel",
                                  "size": [ "100%c", "100%" ],
                                  "controls": [
                                    {
                                      "markdown_background@common_store.markdown_background": {
                                        "size": [ "100%c", 12 ],
                                        "offset": [ 0, 0.25 ], // polish hack - aligns the banner to be flush with the bottom of the background panel
                                        "layer": 9, // Needs to be a higher layer than the strikethru text
                                        "$markdown_label": "common_store.row_offer_sale_markdown",
                                        "$timer_visible": false,
                                        "$icon_stack_visibility_collection": "$offer_collection_name",
                                        "$icon_stack_visibility_type": "$offer_binding_type"
                                      }
                                    }
                                  ]
                                }
                              }
                            ],
                            "bindings": [
                              {
                                "binding_type": "$store_factory_collection_details",
                                "binding_collection_name": "$store_factory_collection_name",
                                "binding_collection_prefix": "$store_factory_collection_prefix"
                              },
                              {
                                "binding_type": "$offer_binding_type",
                                "binding_name": "#offer_markdown_visible",
                                "binding_collection_name": "$offer_collection_name",
                                "binding_name_override": "#visible"
                              }
                            ]
                          }
                        },
                        {
                          "ratings": {
                            "type": "panel",
                            "size": [ "100%c", "100%" ],
                            "$rating_text_padding_size": [ 3, "100%" ],
                            "priority": 4,
                            "bindings": [
                              {
                                "binding_type": "$store_factory_collection_details",
                                "binding_collection_name": "$store_factory_collection_name",
                                "binding_collection_prefix": "$store_factory_collection_prefix"
                              },
                              {
                                "binding_type": "$offer_binding_type",
                                "binding_name": "#ratings_visible",
                                "binding_collection_name": "$offer_collection_name",
                                "binding_name_override": "#visible"
                              }
                            ],
                            "controls": [
                              {
                                "rating_text_panel@common_store.rating_text_panel": {
                                  // factory binding vars
                                  "$rating_text_factory_collection_details": "$store_factory_collection_details",
                                  "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix",
                                  "$rating_text_factory_collection_name": "$store_factory_collection_name",

                                  "$rating_text_binding_type": "$offer_binding_type",
                                  "$rating_text_collection_name": "$offer_collection_name"
                                }
                              }
                            ]
                          }
                        },
                        {
                          "pack_icon_panel": {
                            "type": "panel",
                            "size": [ "100%c + 2px", "100%" ],
                            "priority": 3,
                            "controls": [
                              {
                                "pack_icon_stack@common_store.pack_icon_stack": {
                                  "offset": [ 0, 2 ],
                                  "anchor_from": "top_right",
                                  "anchor_to": "top_right",
                                  "$icon_stack_visibility": "#bundle_or_hero_pack_icon_section_visible",
                                  "$icon_stack_visibility_type": "$offer_binding_type",
                                  "$icon_stack_visibility_collection": "$offer_collection_name",
                                  "$is_purchase_button": false
                                }
                              }
                            ]
                          }
                        },
                        {
                          "fill_markdown_panel_left": {
                            "type": "panel",
                            "size": [ "fill", "100%" ]
                          }
                        },
                        {
                          "markdown_panel@common_store.offer_price_markdown_panel": {
                            "$offer_price_offset": [ 0, 2 ]
                          }
                        },
                        {
                          "padding_markdown_panel_right": {
                            "type": "panel",
                            "size": [ 2, "100%" ]
                          }
                        },
                        {
                          "offer_prompt_panel": {
                            "type": "stack_panel",
                            "orientation": "horizontal",
                            "anchor_from": "bottom_left",
                            "anchor_to": "bottom_left",
                            "size": [ "100%c", 11 ],
                            "priority": 1,
                            "controls": [
                              {
                                "offer_status_text_panel": {
                                  "type": "panel",
                                  "size": [ "100%c", "100%" ],
                                  "controls": [
                                    {
                                      "offer_status_text": {
                                        "type": "label",
                                        "color": "$coin_color",
                                        "size": [ "default", 10 ],
                                        "offset": [ 0, 0.5 ],
                                        "text": "#offer_prompt_text",
                                        "font_type": "smooth",
                                        "layer": 4,
                                        "bindings": [
                                          {
                                            "binding_type": "$store_factory_collection_details",
                                            "binding_collection_name": "$store_factory_collection_name",
                                            "binding_collection_prefix": "$store_factory_collection_prefix"
                                          },
                                          {
                                            "binding_type": "$offer_binding_type",
                                            "binding_name": "#offer_prompt_text",
                                            "binding_collection_name": "$offer_collection_name"
                                          },
                                          {
                                            "binding_type": "$offer_binding_type",
                                            "binding_name": "#offer_prompt_text_visibility",
                                            "binding_collection_name": "$offer_collection_name",
                                            "binding_name_override": "#visible"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              {
                                "padding_3": {
                                  "type": "panel",
                                  "size": [ 1, "100%c" ]
                                }
                              },
                              {
                                "coin_panel": {
                                  "type": "panel",
                                  "size": [ "100%c", "100%c" ],
                                  "controls": [
                                    {
                                      "offer_coin_icon@common_store.coin_icon": {
                                        "layer": 5,
                                        "offset": [ 1, 1 ],
                                        "bindings": [
                                          {
                                            "binding_type": "$store_factory_collection_details",
                                            "binding_collection_name": "$store_factory_collection_name",
                                            "binding_collection_prefix": "$store_factory_collection_prefix"
                                          },
                                          {
                                            "binding_type": "$offer_binding_type",
                                            "binding_collection_name": "$offer_collection_name",
                                            "binding_name": "#offer_coin_visible",
                                            "binding_name_override": "#visible"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "padding_6": {
                            "type": "panel",
                            "size": [ 2, "100%" ]
                          }
                        },
                        {
                          "timer_panel": {
                            "type": "panel",
                            "size": [ "100%c", "100%" ],
                            "controls": [
                              {
                                "sale_timer@common_store.timer_panel": {
                                  "$timer_label_color": "$dark_button_default_text_color",
                                  "bindings": [
                                    {
                                      "binding_type": "$store_factory_collection_details",
                                      "binding_collection_name": "$store_factory_collection_name",
                                      "binding_collection_prefix": "$store_factory_collection_prefix"
                                    },
                                    {
                                      "binding_type": "$offer_binding_type",
                                      "binding_name": "#is_collection_query_on_sale",
                                      "binding_collection_name": "$offer_collection_name",
                                      "binding_name_override": "#visible"
                                    }
                                  ],
                                  "$timer_bindings|default": [
                                    {
                                      "binding_type": "$store_factory_collection_details",
                                      "binding_collection_name": "$store_factory_collection_name",
                                      "binding_collection_prefix": "$store_factory_collection_prefix"
                                    },
                                    {
                                      "binding_type": "$offer_binding_type",
                                      "binding_collection_name": "$offer_collection_name",
                                      "binding_name": "$time_text_binding_name",
                                      "binding_condition": "always"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "padding_2": {
                            "type": "panel",
                            "size": [ 2, "100%" ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border
            // around the content rather than create 3 sets of each control when only the border changes
            {
              "offer_button@common.button": {
                "layer": 4,
                "default_control": "",
                "$pressed_button_name|default": "button.select_offer",

                "tts_inherit_siblings": true,

                "bindings": [
                  {
                    "binding_type": "$offer_collection_details",
                    "binding_collection_name": "$offer_collection_name"
                  },
                  {
                    "binding_type": "$store_factory_collection_details",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_collection_prefix": "$store_factory_collection_prefix"
                  },
                  {
                    "binding_type": "$offer_collection_details",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_collection_prefix": "$offer_collection_prefix"
                  }
                ],
                "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": "pressed"
                  },
                  {
                    "from_button_id": "button.menu_tab_right",
                    "to_button_id": "button.cycle_offer_right",
                    "mapping_type": "focused"
                  },
                  {
                    "from_button_id": "button.menu_tab_left",
                    "to_button_id": "button.cycle_offer_left",
                    "mapping_type": "focused"
                  }
                ],
                "controls": [
                  {
                    "hover": {
                      "type": "panel",
                      "controls": [
                        {
                          "key_art_size_panel": {
                            "type": "panel",
                            "size": [ "100% - 2px", "56.25%x" ],
                            "offset": [ 0, 1 ],
                            "anchor_from": "top_middle",
                            "anchor_to": "top_middle",
                            "layer": 1,
                            "controls": [
                              {
                                "key_art_frame@common.square_image_border_white": {
                                  "size": [ "100% + 2px", "100% + 2px" ],
                                  "layer": 2
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "pressed": {
                      "type": "panel",
                      "controls": [
                        {
                          "key_art_size_panel": {
                            "type": "panel",
                            "size": [ "100% - 2px", "56.25%x" ],
                            "offset": [ 0, 1 ],
                            "anchor_from": "top_middle",
                            "anchor_to": "top_middle",
                            "layer": 1,
                            "controls": [
                              {
                                "key_art_frame@common.square_image_border_white": {
                                  "size": [ "100% + 2px", "100% + 2px" ],
                                  "layer": 2
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "status_icon_panel@common_store.status_icon_panel": {
                      "$update_icon_offset": [ 0, -8 ],

                      "$status_icon_factory_collection_details": "$store_factory_collection_details",
                      "$status_icon_factory_collection_prefix": "$store_factory_collection_prefix",
                      "$status_icon_factory_collection_name": "$store_factory_collection_name"
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "store_section_header_label@common_store.label": {
    "$store_section_header_label_text|default": "#section_header",
    "$store_section_binding_condition|default": "always_when_visible",
    "$store_section_header_font_type|default": "default",
    "text": "$store_section_header_label_text",
    "color": "$store_section_header_text_color",
    "font_type": "$store_section_header_font_type",
    "$store_section_header_label_bindings|default": [
      {
        "binding_type": "collection",
        "binding_collection_name": "factory_collection",
        "binding_name": "$store_section_header_label_text"
      },
      {
        "binding_type": "$store_factory_binding_type",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "$store_section_header_visible_binding",
        "binding_name_override": "#visible",
        "binding_condition": "$store_section_binding_condition"
      }
    ],
    "bindings": "$store_section_header_label_bindings"
  },

  "single_page_row_panel": {
    "type": "panel",
    "size": [ "100%", "100%c + 4px" ],
    "controls": [
      {
        "single_page_row_content@common_store.store_row": {
          "$is_static_row": true,
          "$store_row_carousel_size": [ "100%", "14.0625%x + 33px" ],
          "$content_offer_panel_size": [ "100%", "100%" ]
        }
      }
    ]
  },

  "store_row_panel": {
    "type": "panel",
    "size": [ "100%", "100%c + 4px" ],
    "controls": [
      {
        "store_row_content@common_store.store_row": {}
      }
    ]
  },

  "style_header": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100%", "100%c" ],
    "visible": false,
    "ignored": "$is_realms_plus_screen",
    "property_bag": {
      "#visible": false
    },
    // factory binding vars (for when created within a factory)
    "$store_factory_collection_details|default": "none",
    "$store_factory_binding_type|default": "none",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": "",

    "controls": [
      {
        "row_header": {
          "type": "panel",
          "size": [ "100%", "100%cm" ],

          "controls": [
            {
              "label_panel": {
                "type": "panel",
                "size": [ "100%", "100%cm" ],
                "visible": false,
                "anchor_from": "bottom_left",
                "anchor_to": "bottom_left",
                "bindings": [
                  {
                    "binding_type": "$store_factory_binding_type",
                    "binding_collection_name": "$store_factory_collection_name",
                    "binding_name": "#offer_collection_ready",
                    "binding_name_override": "#visible"
                  }
                ],
                "controls": [
                  {
                    "row_header_label@common_store.store_section_header_label": {
                      "size": [ "90% - 2px", 10 ],
                      "$row_header_offset|default": [ 12, 1 ],
                      "offset": "$row_header_offset",
                      "$store_section_header_visible_binding": "#hide_banner",
                      "$store_section_header_text_color": "$main_header_text_color",
                      "anchor_from": "bottom_left",
                      "anchor_to": "bottom_left"
                    }
                  },
                  {
                    "on_sale_banner": {
                      "type": "image",
                      "texture": "textures/ui/yellow_banner",
                      "size": [ "100%c", 13 ],
                      "$on_sale_banner_offset|default": [ 4, 0 ],
                      "offset": "$on_sale_banner_offset",
                      "anchor_from": "bottom_left",
                      "anchor_to": "bottom_left",
                      "layer": 1,
                      "controls": [
                        {
                          "padding_panel": {
                            "type": "panel",
                            "size": [ "100%c - 50%y + 24px", "100%" ],
                            "controls": [
                              {
                                "sales_row_header_label@common_store.store_section_header_label": {
                                  "size": [ "default", 10 ],
                                  "offset": [ 12, 0.5 ],
                                  "anchor_from": "left_middle",
                                  "anchor_to": "left_middle",
                                  "$store_section_header_visible_binding": "#show_banner",
                                  "$store_section_header_text_color": "$store_sales_banner_text_color",
                                  "layer": 1
                                }
                              },
                              {
                                "triangle": {
                                  "type": "image",
                                  "texture": "textures/ui/saleflagtriangle",
                                  "size": [ "50%y", 13 ],
                                  "offset": [ -1, 0 ],
                                  "anchor_from": "right_middle",
                                  "anchor_to": "left_middle",
                                  "bilinear": true
                                }
                              }
                            ]
                          }
                        }
                      ],
                      "bindings": [
                        {
                          "binding_type": "$store_factory_binding_type",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_name": "#show_banner",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "time_remaining_label@common_store.label": {
                      "anchor_from": "bottom_right",
                      "anchor_to": "bottom_right",
                      "size": [ "default", 10 ],
                      "offset": [ -3, 1 ],
                      "text": "#time_remaining_label",
                      "text_alignment": "right",
                      "layer": 3,
                      "bindings": [
                        {
                          "binding_type": "$store_factory_binding_type",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_name": "#time_remaining_label",
                          "binding_condition": "always"
                        },
                        {
                          "binding_type": "$store_factory_binding_type",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_name": "#show_timer",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "row_carousel_padding": {
          "type": "panel",
          "size": [ "100%", 2 ]
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "$store_factory_binding_type",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "#section_title_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "store_row": {
    "type": "panel",
    "size": [ "100%", "100%c" ],

    "clip_state_change_event": "$store_factory_clipping_event",

    // factory binding vars (for when created within a factory)
    "$store_factory_collection_details|default": "none",
    "$store_factory_collection_prefix|default": "",
    "$store_factory_collection_name|default": "",

    "bindings": [
      {
        "binding_type": "$store_factory_collection_details",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_collection_prefix": "$store_factory_collection_prefix"
      },
      {
        "binding_type": "$store_factory_binding_type",
        "binding_collection_name": "$store_factory_collection_name",
        "binding_name": "#store_row_visible",
        "binding_name_override": "#visible"
      }
    ],
    "controls": [
      {
        "content": {
          "type": "stack_panel",
          "$store_row_size|default": [ "100% - 8px", "100%c" ],
          "$store_row_offset|default": [ 4, 0 ],
          "$on_sale_banner_offset": [ 0, 0 ],
          "size": "$store_row_size",
          "offset": "$store_row_offset",
          "anchor_from": "left_middle",
          "anchor_to": "left_middle",

          "$is_static_row|default": false,
          "$ignore_cycle_buttons|default": false,
          "variables": [
            {
              "requires": "($is_realms_plus_screen or $is_static_row)",
              "$ignore_cycle_buttons": true
            }
          ],

          "controls": [
            {
              "header@common_store.style_header": {}
            },
            {
              "carousel_panel": {
                "type": "panel",
                // Adjusted Y slightly after min/max came into RI to take up remaining pixel gap
                // Calculation based upon scaling four 16:9 images to maintain layout and aspect ratio
                // Formula as follows: ((100%x) * (100/177.78)/4) + 27px
                "$store_row_carousel_size|default": [ "100%", "14.0623%x + 27px" ],
                "size": "$store_row_carousel_size",

                "$cycle_pack_button_factory_collection_details": "$store_factory_collection_details",
                "$cycle_pack_button_factory_collection_prefix": "$store_factory_collection_prefix",
                "$cycle_pack_button_factory_collection_name": "$store_factory_collection_name",

                "controls": [
                  {
                    "progress_loading@common_store.progress_loading": {
                      "layer": 15,
                      "$hide_failure_text": true,
                      "bindings": [
                        {
                          "binding_type": "$store_factory_binding_type",
                          "binding_collection_name": "$store_factory_collection_name",
                          "binding_name": "(not #offer_collection_ready)",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "cycle_pack_left_button@common_store.cycle_pack_left_button": {
                      "$pressed_button_name": "button.cycle_offer_left",
                      "size": [ 23, "100%" ]
                    }
                  },
                  {
                    "offer_grid@common_store.content_offer_panel": {
                      "$offer_collection_details": "collection_details",
                      "$offer_binding_type": "collection",
                      "$offer_collection_prefix": "offer",
                      "$offer_collection_name": "offer_collection"
                    }
                  },
                  {
                    "cycle_pack_right_button@common_store.cycle_pack_right_button": {
                      "$pressed_button_name": "button.cycle_offer_right",
                      "size": [ 23, "100%" ]
                    }
                  }
                ]
              }
            },
            {
              "padding_0": {
                "type": "panel",
                "size": [ "100%", 2 ]
              }
            },
            {
              "page_indicator": {
                "ignored": "$ignore_cycle_buttons",
                "type": "stack_panel",
                "orientation": "horizontal",
                "size": [ "100%", 2 ],
                "controls": [
                  {
                    "padding": {
                      "type": "panel",
                      "size": [ "fill", "100%" ]
                    }
                  },
                  { "page_indicator@common_store.page_indicator_panel": {} }
                ]
              }
            },
            {
              "padding_1": {
                "type": "panel",
                "size": [ "100%", 4 ],
                "ignored": "(not $ignore_cycle_buttons)"
              }
            },
            {
              "divider@common.section_divider": {
                "ignored": "(not $is_realms_plus_screen)"
              }
            }
          ]
        }
      }
    ]
  },

  "page_indicator_panel": {
    "type": "panel",
    "size": [ 23, "100%" ],
    "controls": [
      {
        "first_of_three@common_store.page_indicator": {
          "texture": "textures/ui/first_of_three",
          "$indicator_binding_name": "#first_of_three_visible",
          "visible": false
        }
      },
      {
        "second_of_three@common_store.page_indicator": {
          "texture": "textures/ui/second_of_three",
          "$indicator_binding_name": "#second_of_three_visible",
          "visible": false
        }
      },
      {
        "third_of_three@common_store.page_indicator": {
          "texture": "textures/ui/third_of_three",
          "$indicator_binding_name": "#third_of_three_visible",
          "visible": false
        }
      },
      {
        "first_of_two@common_store.page_indicator": {
          "texture": "textures/ui/first_of_two",
          "$indicator_binding_name": "#first_of_two_visible",
          "visible": false
        }
      },
      {
        "second_of_two@common_store.page_indicator": {
          "texture": "textures/ui/second_of_two",
          "$indicator_binding_name": "#second_of_two_visible",
          "visible": false
        }
      }
    ]
  },

  "page_indicator": {
    "type": "image",
    "size": [ 8, 2 ],

    "$indicator_factory_collection_details": "$store_factory_collection_details",
    "$indicator_factory_collection_name": "$store_factory_collection_name",
    "$indicator_factory_collection_prefix": "$store_factory_collection_prefix",

    "bindings": [
      {
        "binding_type": "$indicator_factory_collection_details",
        "binding_collection_name": "$indicator_factory_collection_name",
        "binding_collection_prefix": "$indicator_factory_collection_prefix"
      },
      {
        "binding_name": "$indicator_binding_name",
        "binding_name_override": "#visible"
      }
    ]
  },

  "popup_dialog__no_store_connection@popup_dialog.popup_dialog": {
    "$middle_button_press": "button.close_dialog",
    "$message_text": "skins.buy.noConnection",
    "$middle_button_text": "gui.ok",
    "controls": [
      { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} },
      { "popup_dialog_message@popup_dialog.popup_dialog_message": {} },
      { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} }
    ]
  },

  "popup_dialog__restore_popup@popup_dialog.popup_dialog": {
    "$middle_button_press": "button.close_dialog",
    "$message_text": "store.restore.description",
    "controls": [
      { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} },
      { "popup_dialog_message@popup_dialog.popup_dialog_message": {} }
    ]
  },

  "popup_dialog__restore_failed@popup_dialog.popup_dialog": {
    "$middle_button_press": "button.close_dialog",
    "$message_text": "store.restore.failed",
    "$middle_button_text": "gui.ok",
    "controls": [
      { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} },
      { "popup_dialog_message@popup_dialog.popup_dialog_message": {} },
      { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} }
    ]
  },

  //--------------------------------------------------------------------------------
  // Screen
  //--------------------------------------------------------------------------------

  "screen_fade_in_alpha_anim": {
    "anim_type": "alpha",
    "easing": "out_expo",
    "duration": 1.6,
    "from": 0,
    "to": 1
  },

  //--------------------------------------------------------------------------------
  // Suggested content view
  //--------------------------------------------------------------------------------

  "suggested_content_offers_grid_item": {
    "type": "panel",
    "$offer_collection_name|default": "#suggested_offers_collection",
    "$suggested_offers_grid_item_size|default": [ "33.33333%", "100%" ],
    "size": "$suggested_offers_grid_item_size",
    "$is_hero_offer|default": false,
    "variables": [
      {
        "requires": "$is_hero_offer",
        "$description_size": [ "100%", 20 ]
      },
      {
        "requires": "(not $is_hero_offer)",
        "$description_size": [ "100%", 30 ]
      }
    ],
    "controls": [
      {
        "frame@common_store.banner_fill": {
          // overdraw our width by 1 pixel, to work around a layout/rendering rounding error that can result in an extra 1 pixel space showing up between items or after the last item
          "size": [ "100% + 1px", "100%" ],
          "layer": 3,
          "controls": [
            {
              "key_art@common_store.store_offer_key_art": {
                "size": [ "100% - 2px", "56.25%x" ],
                "offset": [ 0, 1 ],
                "anchor_from": "top_middle",
                "anchor_to": "top_middle",
                "layer": 1,
                "controls": [
                  {
                    "key_art_frame@common.square_image_border_white": {
                      "size": [ "100% + 2px", "100% + 2px" ],
                      "color": [ 0, 0, 0 ],
                      "layer": 2
                    }
                  }
                ]
              }
            },
            {
              "progress_loading@common_store.progress_loading": {
                "size": [ "100%", "56.25%x" ],
                "$source_control_name": "key_art",
                "$source_property_name": "(#texture = '')",
                "offset": [ 0, 1 ],
                "anchor_from": "top_middle",
                "anchor_to": "top_middle",
                "layer": 4,
                "$hide_failure_text": true
              }
            },
            {
              "progress@common_store.offer_download_progress": {
                "size": "$description_size",
                "anchor_from": "bottom_middle",
                "anchor_to": "bottom_middle",
                "layer": 6
              }
            },
            {
              "title_label_panel": {
                "type": "stack_panel",
                "size": [ "100% - 6px", 20 ],
                "offset": [ 3, -2 ],
                "anchor_from": "bottom_left",
                "anchor_to": "bottom_left",
                "controls": [
                  {
                    "title": {
                      "type": "label",
                      "size": [ "100%", 10 ],
                      "text": "#title_label",
                      "color": "$body_text_color",
                      "font_type": "smooth",
                      "layer": 1,
                      "bindings": [
                        {
                          "binding_type": "collection_details",
                          "binding_collection_name": "category_collection",
                          "binding_collection_prefix": "category"
                        },
                        {
                          "binding_type": "collection",
                          "binding_collection_name": "$offer_collection_name",
                          "binding_name": "#title_label"
                        }
                      ]
                    }
                  },
                  {
                    "offer_type": {
                      "type": "label",
                      "size": [ "100%", 10 ],
                      "text": "#offer_type_label",
                      "color": "$body_text_color",
                      "font_type": "smooth",
                      "layer": 1,
                      "bindings": [
                        {
                          "binding_type": "collection_details",
                          "binding_collection_name": "category_collection",
                          "binding_collection_prefix": "category"
                        },
                        {
                          "binding_type": "collection",
                          "binding_collection_name": "$offer_collection_name",
                          "binding_name": "#offer_type_label"
                        }
                      ]
                    }
                  }
                ],
                "bindings": [
                  {
                    "binding_type": "collection_details",
                    "binding_collection_name": "category_collection",
                    "binding_collection_prefix": "category"
                  },
                  {
                    "binding_type": "collection",
                    "binding_name": "(not #progress_visible)",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border
            // around the content rather than create 3 sets of each control when only the border changes
            {
              "offer_button@common.button": {
                "layer": 4,
                "default_control": "",
                "$button.select_offer|default": "button.select_offer",
                "$pressed_button_name": "$button.select_offer",
                "bindings": [
                  {
                    "binding_type": "collection_details",
                    "binding_collection_name": "category_collection"
                  },
                  {
                    "binding_type": "collection_details",
                    "binding_collection_name": "category_collection",
                    "binding_collection_prefix": "category"
                  },
                  {
                    "binding_type": "collection",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_name": "#offer_grid_item_button_focus_id",
                    "binding_name_override": "#focus_identifier"
                  },
                  {
                    "binding_type": "collection",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_name": "#left_most_grid_item_focus_override_left",
                    "binding_name_override": "#focus_change_left"
                  },
                  {
                    "binding_type": "collection",
                    "binding_collection_name": "$offer_collection_name",
                    "binding_name": "#right_most_grid_item_focus_override_right",
                    "binding_name_override": "#focus_change_right",
                    "binding_condition": "visible"
                  }
                ],
                "controls": [
                  {
                    "hover@common.square_image_border_white": {
                      "controls": [
                        {
                          "key_art_size_panel": {
                            "type": "panel",
                            "size": [ "100% - 2px", "56.25%x" ],
                            "offset": [ 0, 1 ],
                            "anchor_from": "top_middle",
                            "anchor_to": "top_middle",
                            "layer": 1,
                            "controls": [
                              {
                                "key_art_frame@common.square_image_border_white": {
                                  "size": [ "100% + 2px", "100% + 2px" ],
                                  "layer": 2
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "pressed@common.square_image_border_white": {
                      "controls": [
                        {
                          "key_art_size_panel": {
                            "type": "panel",
                            "size": [ "100% - 2px", "56.25%x" ],
                            "offset": [ 0, 1 ],
                            "anchor_from": "top_middle",
                            "anchor_to": "top_middle",
                            "layer": 1,
                            "controls": [
                              {
                                "key_art_frame@common.square_image_border_white": {
                                  "size": [ "100% + 2px", "100% + 2px" ],
                                  "layer": 2
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_type": "collection_details",
        "binding_collection_name": "category_collection",
        "binding_collection_prefix": "category"
      },
      {
        "binding_type": "collection",
        "binding_collection_name": "$offer_collection_name",
        "binding_name": "#valid_offer_index",
        "binding_name_override": "#visible"
      }
    ]
  },

  "suggested_content_offers_grid": {
    "type": "grid",
    "$offer_collection_name|default": "#suggested_offers_collection",
    "size": [ "100% - 24px", "100%" ],
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "grid_item_template": "common_store.suggested_content_offers_grid_item",
    "collection_name": "$offer_collection_name",
    "$suggested_offers_grid_dimensions|default": [ 3, 1 ],
    "grid_dimensions": "$suggested_offers_grid_dimensions"
  },

  "more_suggested_content_offers_button@common_buttons.dark_glyph_button": {
    "size": [ 24, "100%" ],
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "layer": 3,
    "$button.more_suggested_content_offers|default": "button.more_suggested_content_offers",
    "$pressed_button_name": "$button.more_suggested_content_offers",
    "$button_content": "common_store.plus_icon"
  },

  "suggested_content_offers_panel_base": {
    "type": "panel",
    "$suggested_offers_panel_size|default": [ "100%", "100%" ],
    "$suggested_content_offers_loading_binding|default": "#suggested_offers_loading",
    "size": "$suggested_offers_panel_size",
    "controls": [
      {
        "content": {
          "type": "panel",
          "size": [ "100% - 2px", "100% - 2px" ],
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "controls": [
            {
              "suggested_content_offers_grid@common_store.suggested_content_offers_grid": {
              }
            },
            {
              "more_suggested_content_offers_button@common_store.more_suggested_content_offers_button": {}
            }
          ],
          "bindings": [
            {
              "binding_name": "(not $suggested_content_offers_loading_binding)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "progress_loading@common_store.progress_loading": {
          "layer": 15,
          "bindings": [
            {
              "binding_name": "$suggested_content_offers_loading_binding",
              "binding_name_override": "#visible"
            }
          ]
        }
      }
    ]
  },

  "suggested_content_offers_panel_3x1@common_store.suggested_content_offers_panel_base": {
    "type": "panel",
    // Calculation based upon scaling three 16:9 images to maintain layout and aspect ratio
    // Formula as follows: ((100%x) * (100/177.78)/3) + 20px
    "$suggested_offers_panel_size": [ "100%", "18.7498%x + 20px" ],
    "$suggested_offers_grid_dimensions": [ 3, 1 ],
    "$suggested_offers_grid_item_size": [ "33.33333%", "100%" ]
  },

  "suggested_content_offers_panel_4x1@common_store.suggested_content_offers_panel_base": {
    "type": "panel",
    // Calculation based upon scaling three 16:9 images to maintain layout and aspect ratio
    // Formula as follows: ((100%x) * (100/177.78)/4) + 20px
    "$suggested_offers_panel_size": [ "100%", "14.0623%x + 20px" ],
    "$suggested_offers_grid_dimensions": [ 4, 1 ],
    "$suggested_offers_grid_item_size": [ "25%", "100%" ]
  },


  //--------------------------------------------------------------------------------
  // Search Objects
  //--------------------------------------------------------------------------------


  "search_text_box_panel": {
    "type": "panel",
    "size": [ "100%", 30 ],
    // dont want text to overlap the clear button
    "$text_edit_clipping_panel_size": [ "100% - 23px", "100%" ],
    "$text_edit_box_label_anchor_point": "left_middle",
    "controls": [
      {
        "search_text_box@common.text_edit_box": {
          "max_length": 50,
          "$text_box_name": "search_text_box",
          "$text_edit_box_enabled_binding_type": "none",
          "$text_edit_box_content_binding_name": "#search_box_text_content",
          "$place_holder_text": "#place_holder_text",
          "$text_edit_box_placeholder_content_binding_name": "#place_holder_text",
          "$text_edit_box_placeholder_binding_condition": "visibility_changed",
          "$enabled": true,

          // focus
          "$focus_override_down": "#search_results_close_focus_id",
          "$focus_override_up": "inventory_button",
          "$focus_override_right": "filter_button",
          "$focus_override_left": "FOCUS_OVERRIDE_STOP"
        }
      },
      {
        "clear_button@common.close_button": {
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "visible": false,
          "layer": 2,
          "focus_enabled": true,
          "$close_button_offset": [ -2, 0 ],
          "$close_button_visible_binding_name": "#search_clear_visible",
          "$close_button_visible_binding_type": "global",
          "button_mappings": [
            {
              "from_button_id": "button.menu_select",
              "to_button_id": "button.search_clear",
              "mapping_type": "pressed"
            },
            {
              "from_button_id": "button.menu_ok",
              "to_button_id": "button.search_clear",
              "mapping_type": "focused"
            }
          ]
        }
      }
    ]
  },

  "search_label_panel": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        // needed to center the label if used in stack panel
        "offset_panel": {
          "type": "panel",
          "size": [ "100%  - 8px", "100%c" ],
          "controls": [
            {
              "label": {
                "type": "label",
                "$label_size|default": [ "100%", "default" ],
                "size": "$label_size",
                "$search_label_text|default": "#search_label_text",
                "text": "$search_label_text",
                "text_alignment": "left",
                "anchor_from": "left_middle",
                "anchor_to": "left_middle",
                "$search_label_color|default": "$body_text_color",
                "color": "$search_label_color",
                "layer": 2,
                "$search_label_panel_bindings|default": [
                  {
                    "binding_name": "$search_label_text"
                  }
                ],
                "bindings": "$search_label_panel_bindings"
              }
            }
          ]
        }
      }
    ]
  },

  "error_text_panel@common_store.banner_fill": {
    "size": [ "100% - 2px", "100%c" ],
    "visible": false,
    "controls": [
      {
        "error_text_content": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "top_padding": {
                "type": "panel",
                "size": [ "100%", 4 ]
              }
            },
            {
              "label_panel@common_store.search_label_panel": {
                "$search_label_text": "#search_error_text",
                "$search_label_color": "$coin_color"
              }
            },
            {
              "bottom_padding": {
                "type": "panel",
                "size": [ "100%", 4 ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#search_error_panel_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  "results_text_panel@common_store.banner_fill": {
    "size": [ "100%", "100%c + 4px" ],
    "visible": false,
    "controls": [
      {
        "results_panel": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "top_padding": {
                "type": "panel",
                "size": [ "100%", 2 ]
              }
            },
            {
              "results_content": {
                "type": "stack_panel",
                "orientation": "horizontal",
                "size": [ "100%", "100%cm" ],
                "controls": [
                  {
                    "label_panel@common_store.search_label_panel": {
                      "size": [ "100% - 38px", "100%c" ],
                      "inherit_max_sibling_height": true,
                      "anchor_to": "left_middle",
                      "anchor_from": "left_middle",
                      "$search_label_text": "#search_results_text"
                    }
                  },
                  {
                    "mid_padding": {
                      "type": "panel",
                      "size": [ "fill", 0 ]
                    }
                  },
                  {
                    "results_close_centering_panel": {
                      "type": "panel",
                      "size": [ 20, 20 ],
                      "inherit_max_sibling_height": true,
                      "controls": [
                        {
                          "results_close_button@common.light_close_button": {
                            "size": [ 20, 20 ],
                            "$close_button_offset": [ 0, 0 ],
                            "focus_enabled": true,
                            "focus_identifier": "#search_results_close_focus_id",
                            "$close_button_to_button_id": "button.close_result_panel",
                            "bindings": [
                              {
                                "binding_name": "#seach_results_close_button_visible",
                                "binding_name_override": "#visible"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "right_padding": {
                      "type": "panel",
                      "size": [ 2, 0 ]
                    }
                  }
                ]
              }
            },
            {
              "bottom_padding": {
                "type": "panel",
                "size": [ "100%", 2 ]
              }
            }
          ]
        }
      }
    ],
    "bindings": [
      {
        "binding_name": "#search_results_panel_visible",
        "binding_name_override": "#visible"
      }
    ]
  },

  //content panels for main filter and sorting buttons
  "filter_logo_content_panel": {
    "type": "panel",
    "size": [ 29, "100%" ],
    "controls": [
      {
        "filter_logo_image": {
          "type": "image",
          "size": [ 17, 17 ],
          "$filter_logo_offset|default": [ 0, 0 ],
          "offset": "$filter_logo_offset",
          "$filter_logo_anchor|default": "left_middle",
          "anchor_from": "$filter_logo_anchor",
          "anchor_to": "$filter_logo_anchor",
          "texture": "textures/ui/store_filter_icon"
        }
      },
      {
        "filter_count_label": {
          "type": "label",
          // only need to display up to "9+"
          "size": [ 12, 10 ],
          "$filter_logo_count_offset|default": [ 1, 2 ],
          "offset": "$filter_logo_count_offset",
          "anchor_from": "bottom_right",
          "anchor_to": "bottom_right",
          "text": "#filter_selected_count",
          "text_alignment": "center",
          "$filter_count_scale|default": 1.0,
          "font_scale_factor": "$filter_count_scale",
          "color": "$text_color",
          "bindings": [
            {
              "binding_condition": "always_when_visible",
              "binding_name": "#filter_selected_count"
            }
          ]
        }
      }
    ]
  },

  "filter_sort_toggle@common_toggles.dark_content_toggle": {
    "$button_size_override": [ "100%", "100% + 1px" ],
    "$toggle_name": "($filter_sort_prefix + _filter_sort_toggle)",
    "$toggle_state_binding_name": "('#' + $filter_sort_prefix + _toggle_check)",
    "$toggle_binding_type": "global",
    "$unchecked_locked_texture": "textures/ui/banners_no_border",
    "$checked_locked_texture": "textures/ui/banners_no_border",
    "$default_texture": "textures/ui/banners_no_border",
    "$hover_texture": "textures/ui/banners_no_border",
    "$pressed_texture": "textures/ui/banners_no_border_dark_hover",
    "$pressed_no_hover_texture": "textures/ui/banners_no_border_dark_hover",
    "$default_text_color": "$dark_toggle_checked_default_text_color",
    "$hover_text_color": "$dark_toggle_checked_hover_text_color",
    "$default_checked_glyph_color": "$dark_glyph_toggle_default_color",
    "$hover_checked_glyph_color": "$dark_glyph_toggle_hover_color",
    "$border_visible": true,
    "$toggle_default_state": true,
    "$is_collection|default": false,
    "variables": [
      {
        "requires": "$is_collection",
        "$toggle_binding_type": "collection",
        "$content_toggle_label_binding_type": "collection"
      }
    ]
  },

  "filter_sort_submenu_scrolling_panel_section": {
    "type": "panel",
    "size": [ "100%", "fill" ],
    "controls": [
      {
        "submenu_scrolling_panel@common.scrolling_panel": {
          "size": "$filter_sort_scrolling_panel_size",
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "$scrolling_pane_offset": [ 0, 0 ],
          "$scroll_size": [ 5, "100% - 4px" ],
          "$scroll_bar_left_padding_size": [ 0, 0 ],
          "$bar_visible": false,
          "$show_background": false
        }
      }
    ]
  },

  "filter_sort_grid_panel": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "$filter_sort_collection_name": "($filter_sort_prefix + '_collection')",
    "$filter_sort_dimension_binding": "('#' + $filter_sort_collection_name + _grid_dimensions)",
    "$filter_button_panel_size|default": [ "100%", 30 ],
    "$filter_button_size|default": [ "100% - 16px", "100%" ],
    "controls": [
      {
        "filter_sort_grid": {
          "type": "stack_panel",
          "size": [ "100% - 16px", "100%c" ],
          "anchor_from": "right_middle",
          "anchor_to": "right_middle",
          "collection_name": "$filter_sort_collection_name",
          "$toggle_grid_collection_name": "$filter_sort_collection_name",
          "$is_collection": true,
          "factory": {
            "name": "filter_factory",
            "control_ids": {
              "filter_button": "@filter_menu.filter_checkbox_no_icon_toggle",
              "realms_plus_filter_button": "@filter_menu.realms_plus_filter",
              "filter_sort_toggle": "@sort_menu.sort_menu_toggle_panel"
            },
            "factory_variables": [
              "$toggle_grid_collection_name",
              "$is_collection",
              "$filter_sort_collection_name",
              "$filter_sort_prefix",
              "$filter_button_panel_size",
              "$filter_button_size"
            ]
          },
          "bindings": [
            {
              "binding_name": "$filter_sort_dimension_binding",
              "binding_name_override": "#collection_length"
            }
          ]
        }
      }
    ]
  },

  "sort_button_content_panel": {
    "type": "image",
    "size": [ 21, 17 ],
    "texture": "textures/ui/store_sort_icon"
  },

  //Panel that includes search text bar, and filter and sort buttons
  "search_panel_filter": {
    "type": "stack_panel",
    "size": [ "100%", 30 ],
    "orientation": "horizontal",
    "controls": [
      {
        "search_text_box@common_store.search_text_box_panel": {
          "size": [ "fill", "100%" ]
        }
      },
      {
        "filter_button@common_buttons.light_content_button": {
          "$pressed_button_name": "button.filter",
          "size": [ 32, "100%" ],
          "$focus_id": "filter_button",
          "$filter_logo_anchor": "center",
          "$filter_count_scale": 0.88,
          "$focus_override_up": "inventory_button",
          "$button_content": "common_store.filter_logo_content_panel"
        }
      },
      {
        "sort_button@common_buttons.light_content_button": {
          "$pressed_button_name": "button.sort",
          "size": [ 32, "100%" ],
          "$focus_override_up": "inventory_button",
          "$button_content": "common_store.sort_button_content_panel"
        }
      }
    ]
  },

  "search_results_and_error_stack": {
    "type": "stack_panel",
    "orientation": "vertical",
    "controls": [
      {
        "mid_padding_1": {
          "type": "panel",
          "size": [ "100%", 4 ],
          "bindings": [
            {
              "binding_name": "#search_error_panel_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "error_text_panel@common_store.error_text_panel": {}
      },
      {
        "mid_padding_2": {
          "type": "panel",
          "size": [ "100%", 4 ],
          "bindings": [
            {
              "binding_name": "#search_results_panel_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "results_text_panel@common_store.results_text_panel": {}
      }
    ]
  },

  //Main Search panel that'll include the 'search_panel_filter' above
  "search_panel": {
    "ignored": "$is_on_3p_server",
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "$content_between_searchbar_and_results|default": "common.empty_panel_size_y_0",
    "controls": [
      {
        "search_panel_content": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "search_text_box@common_store.search_panel_filter": {}
            },
            {
              "content_between_searchbar_and_results@$content_between_searchbar_and_results": {}
            },
            {
              "search_results_and_error_panel@common_store.search_results_and_error_stack": {}
            },
            {
              "bottom_padding": {
                "type": "panel",
                "size": [ "100%", 4 ]
              }
            }
          ]
        }
      }
    ]
  },

  "search_and_offer_content@common.modal_area_panel_base": {
    "size": [ "100%", "100%c" ],
    "anchor_from": "left_middle",
    "anchor_to": "left_middle",
    "$modal_binding_name": "#search_screen_enabled",
    "$search_offer_object|default": "store_item_list.store_offer_grid_panel",
    "$search_offer_content|default": "store_item_list.store_offer_grid",
    "$has_section_above_search_panel|default": false,
    "$ignore_search_offer_content|default": false,
    "controls": [
      {
        "search_and_offer_panel": {
          "type": "panel",
          "size": [ "100% - 4px", "100%c" ],
          "controls": [
            {
              "search_and_offer_content": {
                "type": "stack_panel",
                "orientation": "vertical",
                "size": [ "100%", "100%c + 2px" ],
                "controls": [
                  {
                    "top_padding": {
                      "type": "panel",
                      "size": [ "100%", 4 ]
                    }
                  },
                  {
                    "upper_section_panel": {
                      "ignored": "(not $has_section_above_search_panel)",
                      "type": "panel",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "upper_section@$upper_section_conent": {}
                        }
                      ]
                    }
                  },
                  {
                    "search_panel@common_store.search_panel": {}
                  },
                  {
                    "offer_content_panel": {
                      "ignored": "$ignore_search_offer_content",
                      "type": "panel",
                      "size": [ "100%", "100%c" ],
                      "controls": [
                        {
                          "offer_content@$search_offer_content": {}
                        }
                      ],
                      "bindings": [
                        {
                          "binding_name": "#is_search_offer_list_visible",
                          "binding_name_override": "#visible"
                        }
                      ]
                    }
                  },
                  {
                    "bottom_padding": {
                      "ignored": "$ignore_search_offer_content",
                      "type": "panel",
                      "size": [ "100%", 4 ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },

  "search_object": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "search_object_content@common_store.search_and_offer_content": {}
      }
    ]
  },

  "search_filter_sort_background@common.screen_background": {
    "$search_filter_sort_bg_alpha|default": 0.65,
    "alpha": "$search_filter_sort_bg_alpha"
  },

  "search_filter_background_panel": {
    "type": "panel",
    "controls": [
      {
        "search_filter_sort_background@common_store.search_filter_sort_background": {} // Texture is ignored in VR
      }
    ]
  },

  "close_bg_button@common.button": {
    "layer": 0,
    "focus_enabled": false,
    "$pressed_button_name": "$close_bg_exit_button_name",
    "controls": [
      {
        "default@common_store.search_filter_background_panel": {}
      },
      {
        "hover@common_store.search_filter_background_panel": {}
      },
      {
        "pressed@common_store.search_filter_background_panel": {}
      }
    ],
    "button_mappings": [
      {
        "from_button_id": "button.menu_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.menu_ok",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.menu_secondary_select",
        "to_button_id": "$pressed_button_name",
        "mapping_type": "global"
      }
    ]
  },

  "close_bg_panel": {
    "type": "panel",
    "size": [ "100%", "100%" ],
    "controls": [
      {
        "header_close_button@common_store.close_bg_button": {
          "size": "$store_header_size",
          "offset": [ 0, -23 ],
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "$search_filter_sort_bg_alpha": 0.00
        }
      },
      {
        "main_close_button@common_store.close_bg_button": {}
      }
    ]
  }
}
