<commit_before>!!!
%html{:lang => "en", "ng-csp": "no-unsafe-eval" }
  %head{"data-hook" => "admin_inside_head"}
    = render :partial => 'spree/admin/shared/head'

  %body.admin
    - if content_for?(:main_ng_app_name)
      - if content_for?(:main_ng_ctrl_name)
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe, "ng-controller" => yield(:main_ng_ctrl_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
      - else
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
    - else
      = render :partial => 'spree/layouts/admin_body'<commit_msg>Add `admin-v2` on admin body if `admin_style_v2` feature toggled on<commit_after>!!!
%html{:lang => "en", "ng-csp": "no-unsafe-eval" }
  %head{"data-hook" => "admin_inside_head"}
    = render :partial => 'spree/admin/shared/head'

  %body.admin{ "class": ("admin-v2" if feature?(:admin_style_v2, spree_current_user)) }
    - if content_for?(:main_ng_app_name)
      - if content_for?(:main_ng_ctrl_name)
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe, "ng-controller" => yield(:main_ng_ctrl_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
      - else
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
    - else
      = render :partial => 'spree/layouts/admin_body'
{'fraction_non_alphanumeric': 0.17326057298772168, 'fraction_numerical': 0.002728512960436562, 'mean_word_length': 3.584375, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5614647', 'n_tokens_mistral': 548, 'n_tokens_neox': 542, 'n_words': 81}