<commit_before><span class="blueprint-designer-header" ng-controller="designerCtrl">
  <ol class="breadcrumb">
    <li>
      <a ui-sref="^"> <span class="fa fa-angle-double-left"/>&nbsp;{{'Back to Blueprints'|translate}}</a>
    </li>
    <li class="active"> <strong translate>Blueprint Editor: </strong>
      <input type="text" class="blueprint-name-input" ng-model="blueprint.name" ng-change="blueprintNameChange()" placeholder="{{'Untitled Blueprint'|translate}}">
      <button class="btn btn-primary" type="button" ng-click="editDetails()" data-toggle="tooltip" data-placement="bottom" title="{{'Edit Blueprint Details'|translate}}" translate>Details</button>
      <button class="btn btn-primary" type="button" ng-click="saveBlueprint()" ng-class="{'disabled': blueprintUnchanged()}" data-toggle="tooltip" data-placement="bottom" title="{{'Save Blueprint'|translate}}" translate>Save</button>
      <button class="btn btn-default" type="button" tooltip="{{'Permanently delete the blueprint'|translate}}" tooltip-placement="bottom"
              confirmation
              confirmation-if="true"
              confirmation-title="{{'Delete Blueprint'|translate}}"
              confirmation-message="{{'Confirm, would you like to delete this blueprint?'|translate}}"
              confirmation-ok-text="{{'Yes, Delete Blueprint'|translate}}"
              confirmation-on-ok="deleteBlueprint()"
              confirmation-ok-style="primary"
              confirmation-show-cancel="true" translate>Delete
      </button>
    </li>
  </ol>

  <pf-notification-list></pf-notification-list>

  <div class="blueprint-designer-container">

    <div class="toolbar">
      <button id="toggleToolbox" class="btn btn-primary" type="button" ng-click="showToolbox()" data-toggle="tooltip" data-placement="bottom" title="Add Service Item To Canvas" translate>Add Item</button>
    </div>

    <div class="toolbox-canvas-container"
         ng-controller="canvasCtrl"
         mouse-capture>

      <div data-drop="true" data-jqyoui-options jqyoui-droppable="{onDrop:'dropCallback'}" style="height: 100%; width:100%">
        <flow-chart class="canvas" chart="chartViewModel"></flow-chart>
      </div>

      <div class="toolbox-container" id="toolbox" ng-if="toolboxVisible">

        <tabset>
          <tab ng-repeat="tab in tabs" heading="" active="tab.active">
            <tab-heading>
              <div class="tab-pre-title">{{tab.preTitle}}</div>
              <div class="tab-title" ng-class="{'tab-single-line':tab.preTitle == null}">{{tab.title}}</div>
            </tab-heading>
            <tabset id="subtabs" ng-if="tab.subtabs != null">
              <tab ng-repeat="subtab in tab.subtabs" heading="{{subtab.title}}" active="subtab.active">
                <ul class="catalog-items-list">
                  <li class="catalog-item" ng-repeat="item in subtab.items | filter:searchText"
                    data-drag="true" jqyoui-draggable="{onStart:'startCallback(item)'}" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}"
                    ng-click="addNodeByClick(item)">
                    <img ng-if="item.image" src="{{item.image}}">
                    <i ng-if="item.bundle" class="fa fa-gift"></i>
                    {{ item.title }}
                  </li>
                </ul>
              </tab>
            </tabset>
            <!- Primary Tabs without SubTabs (Bundles) -->
            <ul class="catalog-items-list" ng-if="tab.subtabs == null">
              <li class="catalog-item" ng-repeat="item in tab.items"
                  data-drag="true" jqyoui-draggable="{onStart:'startCallback(item)'}" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}"
                  ng-click="addNodeByClick(item)"><commit_msg>SDUI: Fix Designer Toolbox filtering of Bundles<commit_after><span class="blueprint-designer-header" ng-controller="designerCtrl">
  <ol class="breadcrumb">
    <li>
      <a ui-sref="^"> <span class="fa fa-angle-double-left"/>&nbsp;{{'Back to Blueprints'|translate}}</a>
    </li>
    <li class="active"> <strong translate>Blueprint Editor: </strong>
      <input type="text" class="blueprint-name-input" ng-model="blueprint.name" ng-change="blueprintNameChange()" placeholder="{{'Untitled Blueprint'|translate}}">
      <button class="btn btn-primary" type="button" ng-click="editDetails()" data-toggle="tooltip" data-placement="bottom" title="{{'Edit Blueprint Details'|translate}}" translate>Details</button>
      <button class="btn btn-primary" type="button" ng-click="saveBlueprint()" ng-class="{'disabled': blueprintUnchanged()}" data-toggle="tooltip" data-placement="bottom" title="{{'Save Blueprint'|translate}}" translate>Save</button>
      <button class="btn btn-default" type="button" tooltip="{{'Permanently delete the blueprint'|translate}}" tooltip-placement="bottom"
              confirmation
              confirmation-if="true"
              confirmation-title="{{'Delete Blueprint'|translate}}"
              confirmation-message="{{'Confirm, would you like to delete this blueprint?'|translate}}"
              confirmation-ok-text="{{'Yes, Delete Blueprint'|translate}}"
              confirmation-on-ok="deleteBlueprint()"
              confirmation-ok-style="primary"
              confirmation-show-cancel="true" translate>Delete
      </button>
    </li>
  </ol>

  <pf-notification-list></pf-notification-list>

  <div class="blueprint-designer-container">

    <div class="toolbar">
      <button id="toggleToolbox" class="btn btn-primary" type="button" ng-click="showToolbox()" data-toggle="tooltip" data-placement="bottom" title="Add Service Item To Canvas" translate>Add Item</button>
    </div>

    <div class="toolbox-canvas-container"
         ng-controller="canvasCtrl"
         mouse-capture>

      <div data-drop="true" data-jqyoui-options jqyoui-droppable="{onDrop:'dropCallback'}" style="height: 100%; width:100%">
        <flow-chart class="canvas" chart="chartViewModel"></flow-chart>
      </div>

      <div class="toolbox-container" id="toolbox" ng-if="toolboxVisible">

        <tabset>
          <tab ng-repeat="tab in tabs" heading="" active="tab.active">
            <tab-heading>
              <div class="tab-pre-title">{{tab.preTitle}}</div>
              <div class="tab-title" ng-class="{'tab-single-line':tab.preTitle == null}">{{tab.title}}</div>
            </tab-heading>
            <tabset id="subtabs" ng-if="tab.subtabs != null">
              <tab ng-repeat="subtab in tab.subtabs" heading="{{subtab.title}}" active="subtab.active">
                <ul class="catalog-items-list">
                  <li class="catalog-item" ng-repeat="item in subtab.items | filter:searchText"
                    data-drag="true" jqyoui-draggable="{onStart:'startCallback(item)'}" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}"
                    ng-click="addNodeByClick(item)">
                    <img ng-if="item.image" src="{{item.image}}">
                    <i ng-if="item.bundle" class="fa fa-gift"></i>
                    {{ item.title }}
                  </li>
                </ul>
              </tab>
            </tabset>
            <!- Primary Tabs without SubTabs (Bundles) -->
            <ul class="catalog-items-list" ng-if="tab.subtabs == null">
              <li class="catalog-item" ng-repeat="item in tab.items | filter:searchText"
                  data-drag="true" jqyoui-draggable="{onStart:'startCallback(item)'}" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}"
                  ng-click="addNodeByClick(item)">
{'fraction_non_alphanumeric': 0.1729551451187335, 'fraction_numerical': 0.0015831134564643799, 'mean_word_length': 3.0345928685470995, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, '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': '6954882', 'n_tokens_mistral': 2259, 'n_tokens_neox': 2186, 'n_words': 394}