(window.webpackJsonp=window.webpackJsonp||[]).push([[274],{368:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='\x3c!-- Start save graph modal --\x3e\n\n<div class="modal-header">\n    <button type="button" class="close" ng-click="cancel()"></button>\n    <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body">\n    <form novalidate name="form" id="saveGraphForm">\n        <input id="wb-graphviz-savegraph-name" required type="text" ng-model="graph.name" class="form-control"\n               ng-change="graphExists = false"\n               placeholder="{{\'save.graph.enter.name\' | translate}}" ng-maxlength="100"/>\n        <label for="share-graph"\n               gdb-tooltip="{{\'save.graph.visible.graph\' | translate}}">\n            <input id="share-graph" type="checkbox" ng-model="graph.shared">\n            {{\'save.graph.share.graph\' | translate}}\n        </label>\n        <input style="height: 0; border: 0; padding: 0; margin: 0;" autofocus/>\n        <br>\n        <div ng-show="form.$error.maxlength">\n            <div class="alert alert-danger" style="margin-top: 5px;">{{\'save.graph.name.too.long\' | translate}}</div>\n        </div>\n        <div ng-show="form.$error.required.length">\n            <div ng-hide="graph.name" class="alert alert-danger" style="margin-top: 5px;">{{\'empty.name.alert\' | translate}}</div>\n        </div>\n        <div ng-hide="form.$error.required.length" ng-if="graphExists" class="alert alert-danger"\n             style="margin-top: 5px;">{{\'save.graph.name\' | translate}} <strong>&#39;{{graph.name}}&#39;</strong> {{\'save.graph.exists\' | translate}}\n        </div>\n    </form>\n</div>\n<div class="modal-footer">\n    <button type="button" class="btn btn-secondary" ng-click="cancel()">{{\'common.cancel.btn\' | translate}}</button>\n    <button ng-if="mode == \'update\'" id="wb-graphviz-savegraph-submit2" class="btn btn-tertiary" ng-click="saveNew()" type="button">{{\'save.graph.save.as\' | translate}}</button>\n    <button id="wb-graphviz-savegraph-submit" form="saveGraphForm" class="btn btn-primary" ng-click="ok()" type="submit">{{okButtonText}}</button>\n</div>\n\n\x3c!-- End save graph modal --\x3e\n\n';return __p}}}]);